text stringlengths 2 1.04M |
|---|
const Path = require ("path");
const MIMETypes = require ("./mime-types.js");
const HasMaliciousPath = (Options, ReceivedPath) => {
const HasNullByte = ReceivedPath.indexOf('\0') !== -1;
const HasPathTraversal = Path.join(Options.RootFolder, ReceivedPath).indexOf(Options.RootFolder) !== 0;
if (HasNullByte || HasP... |
(function($, _) {
"use strict";
var $pagesDataTable = $(".js-pages-data-table");
var $parentPagesDataTable;
var $selectedParentPageInfo;
var $selectedParentPageRemoveButton;
var selectedParentPageInfoEmptyValueText = "Родительская страница не выбрана";
var selectedParentPageInfoTemplateFunction = doT.te... |
const { prisma } = require("./generated/prisma-client");
const { GraphQLServer } = require("graphql-yoga");
const Query = require("./resolvers/Query");
const Mutation = require("./resolvers/Mutation");
const User = require("./resolvers/User");
const Link = require("./resolvers/Link");
const Subscription = require("./re... |
/*! For license information please see 19f3e1b8e4bef6d86c17e0e7aee2c3863e642f7e-cea09351e1ceb2937972.js.LICENSE.txt */
//# sourceMappingURL=19f3e1b8e4bef6d86c17e0e7aee2c3863e642f7e-cea09351e1ceb2937972.js.map |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var core_1 = require("@angular/core");
var column_info_service_1 = require("../common/column-info.service");
var kendo_angular_l10n_1 = require("@progress/kendo-angular-l10n");
var column_menu_item_base_1 = requ... |
define(["exports", "../../../../lit-element/lit-element.js"], function (_exports, _litElement) {
"use strict";
Object.defineProperty(_exports, "__esModule", {
value: true
});
_exports.MonacoElement = void 0;
function _templateObject2_3ec7a080d1d911ea92952ff2097cf814() {
var data = babelHelpers.tagge... |
/* ************************************************************************
qooxdoo - the new era of web development
http://qooxdoo.org
Copyright:
2011-2012 1&1 Internet AG, Germany, http://www.1und1.de
License:
MIT: https://opensource.org/licenses/MIT
See the LICENSE file in the project'... |
#!/usr/bin/env node
"use strict"
const fs = require('fs');
const BASE_URL="https://github.com/getgauge/gauge/releases/download/",
ARCH_MAPPING = {
"ia32": "x86",
"x64": "x86_64",
"arm64": "arm64"
},
PLATFORM_MAPPING = {
"darwin": "darwin",
"linux": "linux",
... |
import React from 'react'
import PropTypes from 'prop-types'
import clsx from 'clsx'
import { makeStyles } from '@material-ui/core/styles'
import AppBar from '@material-ui/core/AppBar'
import Toolbar from '@material-ui/core/Toolbar'
import IconButton from '@material-ui/core/IconButton'
import IconMenu from '@material... |
/**
* Get looped index depending on number of slides
*/
var _getLoopedId = function(index) {
var numSlides = mfp.items.length;
if(index > numSlides - 1) {
return index - numSlides;
} else if(index < 0) {
return numSlides + index;
}
return index;
},
_replaceCurrTotal = function(text, curr, total) {
... |
/**
* @license Angular v11.0.1
* (c) 2010-2020 Google LLC. https://angular.io/
* License: MIT
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define('@angular/animations', ['exports'], factory) :... |
class SceneLoad2 {
constructor() {
//初始化引擎
Laya3D.init(0, 0);
Laya.stage.scaleMode = Laya.Stage.SCALE_FULL;
Laya.stage.screenMode = Laya.Stage.SCREEN_NONE;
//显示性能面板
Laya.Stat.show();
Laya.Scene3D.load("res/threeDimen/scene/XunLongShi/XunLongShi.ls", Laya.Handler.create(this, function(scene) {
Laya.... |
import React from "react";
import Joke from "../Joke";
import { getJokes } from "../../actions/jokes";
import { useDispatch, useSelector } from "react-redux";
import JokeGrid from "../JokeGrid";
function Explore() {
const jokes = useSelector((state) => state.jokes);
const dispatch = useDispatch();
React.useEffe... |
// Copyright (c) YugaByte, Inc.
import React, { Fragment, Component } from 'react';
import { Row, Col, Alert } from 'react-bootstrap';
import { YBInputField, YBTextInputWithLabel, YBControlledSelectWithLabel, YBSelectWithLabel, YBToggle, YBAddRowButton, YBButton, YBDropZoneWithLabel } from 'components/common/forms/fi... |
let countCol = 0;
const handleColor = (e) => {
e.preventDefault();
$("#aniMessage").animate({width:"hide"},350);
if ($("#colorName").val() == '') {
handleError("All fields are required");
return false;
}
sendAjax('POST', $("#colorForm").attr("action"), $("#colorForm").... |
import { createGlobalStyle } from 'styled-components';
export const GlobalStyles = createGlobalStyle`
*,
*::after,
*::before {
box-sizing: border-box;
}
body {
background: ${({ theme }) => theme.body};
color: ${({ theme }) => theme.text};
}
.social img {
filter: ${({ theme }) => theme... |
import React from 'react';
import { StaticQuery, graphql } from 'gatsby';
import Markdown from 'react-markdown';
import './hbdTosh.scss';
const HBDTOSH = () => {
return (
<StaticQuery
query={query}
render={(data) => {
const post = data.allMarkdownRemark.edges[0];
return (
<div className="hbdTosh">... |
'use strict';
/* ------------------------------------------------------------------------------------------------
CHALLENGE 1
You friend Pat has a chain of stores around the greater Seattle area. He specializes in selling salmon cookies. Pat has data for the hourly sales of cookies per hour for each store. He wants t... |
import React from "react";
import PrimaryLayout from "../layouts/PrimaryLayout";
import Post from "../components/Post";
import {graphql} from 'gatsby';
export default () => {
return(
<PrimaryLayout column="col-xs-6">
<Post
title="sdsdsd"
except="sdsdsddf ff sfd fsf f... |
const assert = require('assert');
const parseLC = require('../../../lib/data/locationConstraintParser');
const AwsClient = require('../../../lib/data/external/AwsClient');
const inMemory = require('../../../lib/data/in_memory/backend').backend;
const DataFileInterface = require('../../../lib/data/file/backend');
const... |
(function(e, a) { for(var i in a) e[i] = a[i]; }(exports, /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
... |
import { Container, Grid } from '@material-ui/core';
import GridContainer from 'components/Grid/GridContainer';
import React from 'react';
import Write from 'views/Components/Editor/Write';
import { Button } from '@material-ui/core';
import { Box } from '@material-ui/core';
import { red } from '../../../ckeditor5 fina... |
import { __assign } from "tslib";
import * as React from 'react';
import { StyledIconBase } from '@styled-icons/styled-icon';
export var Eject = React.forwardRef(function (props, ref) {
var attrs = {
"fill": "currentColor",
"xmlns": "http://www.w3.org/2000/svg",
};
return (React.createElemen... |
global.runIt = function runIt(button) {
if (!global.RunKit) return;
var container = document.createElement('div');
var codeElement = button.parentNode;
var parent = codeElement.parentNode;
parent.insertBefore(container, codeElement);
parent.removeChild(codeElement);
codeElement.removeChild(button);
c... |
'use strict';
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var __chunk_1 = require('../chunk-49d9503c.js');
var React = _interopDefault(require('react'));
require('@carbon/icon-helpers');
require('prop-types');
var RadioButton20 =
/*#__PURE__*/
Re... |
'use strict';
/**
* This directive provides a ability to select items from the given list to the given model.
* Supports both multiple and single select modes.
*
* @author Umed Khudoiberdiev <info@zar.tj>
*/
angular.module('selectItems', ['selectOptions', 'ngSanitize']); |
import React from 'react'
import Enzyme, { shallow } from 'enzyme'
import Adapter from 'enzyme-adapter-react-16'
import Header from '../../components/Header'
const adapter = new Adapter()
Enzyme.configure({ adapter })
const setUp = ({ url = 'http://', loading = false, error = false }) => {
const props = {
url,
... |
import styled from "styled-components"
const blackBorder = "2px solid #000000"
const whiteBorder = "2px solid #fff"
const Button = styled.button`
cursor: pointer;
font-size: 1.6rem;
border: ${({ styleType }) =>
styleType === "secondary" ? blackBorder : whiteBorder};
height: 4rem;
background: ${({ styleT... |
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
var path = require("path");
var loaderUtils = require("loader-utils");
var processCss = require("./processCss");
var getImportPrefix = require("./getImportPrefix");
var compileExports = require("./compile-exports");
var... |
import React, { Component } from "react";
import { View, Text } from "react-native";
class CreateQuestion extends Component {
state = {};
render() {
return (
<View>
<Text>CreateQuestion</Text>
</View>
);
}
}
export default CreateQuestion; |
'use strict'
const { exporter } = require('ipfs-unixfs-exporter')
const mergeOptions = require('merge-options').bind({ ignoreUndefined: true })
const toMfsPath = require('./utils/to-mfs-path')
const errCode = require('err-code')
const withTimeoutOption = require('ipfs-core-utils/src/with-timeout-option')
/**
* @type... |
/* -- DO NOT REMOVE --
* jQuery MDTimePicker v1.0 plugin
*
* Author: Dionlee Uy
* Email: dionleeuy@gmail.com
* Set RTL and improve by Amir Salehi @amiryxe
*
* Date: Tuesday, August 28 2017
*
* @requires jQuery
* -- DO NOT REMOVE -- */
if (typeof jQuery === "undefined") {
throw new Error("MDTimePicker: This ... |
// =========================================================================
// Copyright © 2017 T-Mobile USA, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apa... |
var WIDTH = 640,
HEIGHT = 480;
var app = (function(cellautomaton) {
"use strict";
var App = function(canvas, nb_cells, nb_rows) {
this.canvas = canvas;
this.canvas.width = nb_cells * 5;
this.canvas.height = nb_rows * 5;
this.nb_cells = nb_cells;
this.nb_rows = nb_ro... |
import match from './requirejs-finder/match';
export default function matchEvent(name) {
return match(m => m._name === name);
} |
'use strict';
angular.module('foodMeApp.landingPage', ['ngRoute', 'commonServices'])
.config(['$routeProvider', function($routeProvider) {
$routeProvider.when('/landing_page', {
templateUrl: 'landing_page/landing_page.html',
controller: 'LandingPageCtrl'
});
}])
.controller('LandingPageCtrl', ["$scope", ... |
import React from 'react';
import { render } from 'react-dom';
import { Provider } from 'react-redux';
import { Router, hashHistory } from 'react-router';
import { syncHistoryWithStore } from 'react-router-redux';
import routes from './routes';
import configureStore from './store/configureStore';
import './app.global.c... |
// javascript keywords
const JS_KW = new Set([
"break",
"case",
"class",
"catch",
"const",
"continue",
"debugger",
"default",
"delete",
"do",
"else",
"export",
"extends",
"finally",
"for",
"function",
"if",
"import",
"in",
"instanceof",
"let",
"new",
"return",
"static",
"super",
"switch",
"th... |
var generatorOf = require('../../generator-of');
module.exports = generatorOf(function generator$fantasy$steampunks(type) {
var names1 = type === 1 ? namesFemale : namesMale;
i = Math.floor(this.random() * 10); {
rnd = Math.floor(this.random() * names1.length);
rnd2 = Math.floor(this.random() * names1.length);... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var prisma_lib_1 = require("prisma-client-lib");
var typeDefs = require("./prisma-schema").typeDefs;
var models = [
{
name: "Link",
embedded: false
},
{
name: "User",
embedded: false
}
];
exports.Prisma = prisma_lib_1.... |
export default function(array, f) {
var s = 0,
n = array.length,
a,
i = -1;
if (f == null) {
while (++i < n) if (a = +array[i]) s += a; // Note: zero and null are equivalent.
}
else {
while (++i < n) if (a = +f(array[i], i, array)) s += a;
}
return s;
} |
import React, { useState, useEffect } from "react";
import { useTheme } from "next-themes";
import { useRouter } from "next/router";
function SolanaLogo() {
const { systemTheme, theme, setTheme } = useTheme();
const [mounted, setMounted] = useState(false);
const router = useRouter();
useEffect(() => {
set... |
module.exports = function (router, content) {
// START__####################################################################################################
// File: compensation
// Variable: otherCompensation
router.post('/application/_3-3rd-party-reps/_1-adult/_8-other-comp/other-compensation', function (req,... |
var webpack = require('webpack');
var path = require('path');
var BUILD_DIR = path.resolve(__dirname, 'public');
var APP_DIR = path.resolve(__dirname, 'src');
var config = {
entry: APP_DIR + '/index.jsx',
output: {
path: BUILD_DIR,
filename: 'bundle.js'
},
module : {
loaders : ... |
/* Created by Dominik Herbst on 2016-05-14 */
'use strict';
class MQTask {
constructor(type, id) {
this.type = type;
this.id = id;
this.data = null;
this.state = 'created'; // created, queued, working, finished
this.result = null;
/**
* If >0, the task can timeout while waiting in q... |
/**
* Copyright IBM Corp. 2019, 2020
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*
* Code generated by @carbon/icon-build-helpers. DO NOT EDIT.
*/
import { _ as _objectWithoutProperties, I as Icon, a as _extends } from '../I... |
/* global $, APP */
/* eslint-disable no-unused-vars */
import React from 'react';
import ReactDOM from 'react-dom';
import { I18nextProvider } from 'react-i18next';
import { Provider } from 'react-redux';
import { i18next } from '../../../react/features/base/i18n';
import { PresenceLabel } from '../../../react/featur... |
export class StringUtils {
static capitalize(str) {
return str.charAt(0).toUpperCase() + str.substr(1).toLowerCase();
}
static classize(str) {
return str.split(/_|-/).map(part => StringUtils.capitalize(part)).join('');
}
static camelize(str) {
const [head, ...tail] = str.sp... |
ioradWebWidget.config = {
ENV: 'live', // test or live.
TEST_ROOT_URL: 'test.iorad.com',
LIVE_ROOT_URL: 'iorad.com'
}; |
const router = require('express').Router();
const projectController = require('../../controllers/projectController')
router.route('/')
.get(projectController.findAll)
module.exports = router; |
// Dependencies
const express = require('express');
// Import express-handlebars
const exphbs = require('express-handlebars');
const hbs = exphbs.create({});
const path = require('path');
// Sets up the Express App
const app = express();
const PORT = process.env.PORT || 3001;
// Describe what the following two lines... |
import styled from 'styled-components/native';
import { RectButton } from 'react-native-gesture-handler';
import colors from '../../styles/colors';
export const Container = styled.ScrollView`
background: #fff;
border-radius: 4px;
margin: 15px;
padding: 10px;
`;
export const Products = styled.View``;
export ... |
var NAVTREEINDEX76 =
{
"ovn-sb-idl_8c.html#a7f720d114b0f6055be44724c02a71137":[36,0,0,5,2,8,44],
"ovn-sb-idl_8c.html#a806162aa5c7ee74300e7ea7e7b7dbacc":[36,0,0,5,2,8,166],
"ovn-sb-idl_8c.html#a81a9aa12cb6e7fe911b2d52830e2dd3b":[36,0,0,5,2,8,160],
"ovn-sb-idl_8c.html#a82774d50f579ab5c74db8a3a2d5da7b1":[36,0,0,5,2,8,86],... |
/**
* Shopware 5
* Copyright (c) shopware AG
*
* According to our dual licensing model, this program can be used either
* under the terms of the GNU Affero General Public License, version 3,
* or under a proprietary license.
*
* The texts of the GNU Affero General Public License with an additional
* permission... |
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnPrope... |
var searchData=
[
['select',['select',['../d8/d86/classdcrud_1_1_i_cache.html#a0cf758e1fa585728a92299ce93e01be2',1,'dcrud::ICache']]],
['send',['send',['../dd/dd8/classio_1_1_byte_buffer.html#a905b251fec7f9222fff8b74b9288ede7',1,'io::ByteBuffer']]],
['serialize',['serialize',['../db/df5/classdcrud_1_1_arguments.h... |
var label = "Avatar Embiggenifier";
var version = "1346352641";
var name_single = "Avatar Embiggenifier";
var name_plural = "Avatar Embiggenifiers";
var article = "an";
var description = "";
var is_hidden = false;
var has_info = false;
var has_infopage = false;
var proxy_item = null;
var is_routable = false;
var adjust... |
import expect from 'expect'
import Model from '../../Model'
import Query from '../../Query'
import { sanitizedRaw } from '../../RawRecord'
import * as Q from '../../QueryDescription'
import { appSchema, tableSchema } from '../../Schema'
import { schemaMigrations, createTable, addColumns } from '../../Schema/migrations... |
export const API_URL = 'https://dogsapi.origamid.dev/json';
export function TOKEN_POST(body) {
return {
url: API_URL + '/jwt-auth/v1/token',
options: {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify(body),
},
};
}
export function ... |
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])... |
(function (angular) {
angular
.module('manager')
.directive('messageTypeIcon', messageTypeIcon);
messageTypeIcon.$inject = ['messageTypeConstants'];
function messageTypeIcon(messageTypeConstants) {
return {
restrict: 'EA',
templateUrl: window.applicationBa... |
import { goToGoogleOauthWindow, validateToken, createPlaylist } from "../utils/youtube"
it('gets the video id from a youtube url', () => {
}); |
import { makeStyles } from '@mui/styles';
const styles = makeStyles(theme => ({
subtitle: {
textAlign: 'center',
position: 'relative',
'&::before': {
content: '""',
position: 'absolute',
top: '50%',
left: 0,
right: 0,
h... |
define(function(require){
var $ = require("jquery");
var editormd = require("editormd");
require("../../src/js/languages/en"); // 加载英语语言包
console.log($, editormd);
$.get("./test.md", function(md){
testEditor = editormd("test-editormd", {
width: "90%",
... |
"use strict";
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj ... |
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
"use strict";
var collection_1 = require('../../facade/collection');
var xml = require('./xml_helper');
var _MESSAGES... |
const path = require('path')
const MiniCssExtractPlugin = require('mini-css-extract-plugin')
const CopyPlugin = require('copy-webpack-plugin')
const FixDefaultImportPlugin = require('webpack-fix-default-import-plugin')
const nodeExternals = require('webpack-node-externals')
const production = process.env.NODE_ENV === ... |
/*
Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
(function(){if(window.CKEDITOR&&window.CKEDITOR.dom)return;window.CKEDITOR||(window.CKEDITOR=function(){var a=/(^|.*[\\\/])ckeditor\.js(?:\?.*|;.*)?$/i,d={t... |
module.exports = {
target: 'node',
entry: './src/js/index.js',
output: {
path: __dirname+'/assets/js',
filename: 'bundle.js'
},
module: {
loaders: [
{
test: /\.elm$/,
exclude: [/elm-stuff/, /node_modules/],
loader: 'elm-webpack-loader',
... |
'use strict'
const obj = { foo: "bar" };
console.log(Object.getOwnPropertyDescriptor(obj, 'foo'));
Object.defineProperty(obj, "foo", {writable: false});
console.log(Object.getOwnPropertyDescriptor(obj, 'foo'));
obj.foo = 3; |
/**
* @license
* (c) 2009-2012 Michael Leibman
* michael{dot}leibman{at}gmail{dot}com
* http://github.com/mleibman/slickgrid
*
* Distributed under MIT license.
* All rights reserved.
*
* SlickGrid v2.1
*
* NOTES:
* Cell/row DOM manipulations are done directly bypassing jQuery's DOM manipulation methods.... |
// When the browser is refreshed scroll the window to the top of the page
window.onbeforeunload = () => {
window.scrollTo(0, 0);
}
// Disable right clicking event
document.body.addEventListener('contextmenu', (e) => e.preventDefault());
// Ripple FX onclick window
document.onclick = () => rippleFX(event);
window.onc... |
/*
## Multiseries Panel
*/
define([
'angular',
'app',
'underscore',
'jquery',
'd3'
], function (angular, app, _, $, d3) {
'use strict';
var module = angular.module('kibana.panels.multiseries', []);
app.useModule(module);
var DEBUG = true; //still in debug mode
module.controller('mul... |
webpackHotUpdate(3,{
/***/ 74:
/***/ function(module, exports, __webpack_require__) {
/***/ }
}) |
import AwsDeviceFarmLauncher from './launcher';
export default class AwsDeviceFarmService {}
export const launcher = AwsDeviceFarmLauncher; |
/**
* Copyright IBM Corp. 2019, 2020
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*
* Code generated by @carbon/icon-build-helpers. DO NOT EDIT.
*/
import { _ as _objectWithoutProperties, I as Icon, a as _extends } from '../I... |
function _arrayLikeToArray(arr, len) {
(null == len || len > arr.length) && (len = arr.length);
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
return arr2;
}
function _toConsumableArray(arr) {
return (function(arr) {
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = exports.CURSOR_COMPATIBILITY_SYMBOL = void 0;
var _immutable = require("immutable");
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configu... |
function basename(path) {
return path.replace(/\\/g,'/').replace( /.*\//, '' );
}
function dirname(path) {
return path.replace(/\\/g,'/').replace(/\/[^\/]*$/, '');
}
function getParameterByName(name) {
name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]");
var regex = new RegExp("[\\?&]" + name + "=([^&#... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var util_1 = require("@antv/util");
var plot_1 = tslib_1.__importDefault(require("../../base/plot"));
var layer_1 = tslib_1.__importDefault(require("./layer"));
var StackedBar = /** @class */ (function (_super) ... |
module.exports = {
helpers: {
foo: function() {
return '';
}
},
context: {
bar: true
},
handlebars:
'{{foo person "person" 1 true foo=bar foo="person" foo=1 foo=true}}'
}; |
var ActionBar = require('com.alcoapps.actionbarextras');
var Moment = require('vendor/moment');
Moment.locale('de');
module.exports = function(_event) {
ActionBar.setTitle('Freifunkerneuigkeiten');
ActionBar.setFont('Roboto Condensed');
ActionBar.setSubtitle(_event.source.title);
ActionBar.subtitleColor = "#444";
... |
/**
* 博客园相关常量
*/
import { getThemeOptions } from 'options/extra'
/* 当前使用的博客园官方皮肤名称 */
export const skinName = window.skinName
/* 访客id */
export const visitorId = window.visitorUserId
/* blog id */
export const blogId = window.currentBlogId
/* blog app */
export const blogApp = window.currentBlogApp
/* 用户头像 */
e... |
import * as options from '../../variables'
import { connect } from 'react-redux'
import PropTypes from 'prop-types'
import { Form } from '@admin'
import React from 'react'
import _ from 'lodash'
class Limits extends React.Component {
static propTypes = {
cid: PropTypes.string,
config: PropTypes.object,
... |
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import {
StyleSheet,
View,
Animated,
Easing,
PanResponder,
ViewPropTypes,
} from 'react-native';
export default class TransformView extends Component {
static propTypes = {
...ViewPropTypes,
containerStyle: ViewPropType... |
/**
* Form
*
* Save all the fields of the form. Submit the form. Display errors.
*/
import api from '../api/form'
import { getFormData, getFormFields, getModalFormFields } from '@/utils/getFormData.js'
import { FORM, NOTIFICATION, LANGUAGE, ATTRIBUTES, PUBLICATION, REVISION } from '../mutations'
import ACTIONS fro... |
var assert = require('assert');
var vis = require('../dist/vis');
var jsdom = require('mocha-jsdom')
var moment = vis.moment;
var timeline = vis.timeline;
var Range = timeline.Range;
var TestSupport = require('./TestSupport');
describe('Timeline Range', function () {
jsdom();
it('should have start default befo... |
module.exports = {
purge: ["./pages/**/*.{js,jsx}", "./components/**/*.{js,jsx}"],
theme: {
extend: {},
screens: {
sm: "640px",
md: "768px",
lg: "1024px",
xl: "1280px",
"2xl": "1536px",
},
colors: ({ colors }) => ({
inherit: colors.inherit,
current: colors.c... |
(function(){
var PKG = {};
return PKG;
})(); |
// All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See http://js.arcgis.com/3.15/esri/copyright.txt and http://www.arcgis.com/apps/webappbuilder/copyright.txt for details.
//>>built
define({"widgets/IncidentAnalysis/nls/strings":{_widgetLabel:"An\u00e1lisis de incidentes",_featureActio... |
/*
{
name: '',
pattern: '',
multiple: false, //or true... once it finds the first section of this it will stop looking if multiple is false
model: [], //more of this pattern inside (nesting, store using name)
process: function (processed, match) {
return {match: match};
},
raw: [],
found: false,
processed: {... |
export const Sizes = {
mobileS: '375px',
mobileM: '425px',
mobileL: '768px',
tablet: '1024px',
laptop: '1440px',
laptopL: '2560px',
desktop: '3000px',
};
export const Devices = {
mobileS: `(max-width: ${Sizes.mobileS})`,
mobileM: `(max-width: ${Sizes.mobileM})`,
mobileL: `(max-width: ${Sizes.mobile... |
import React, { PureComponent, Suspense } from 'react';
import { Layout } from 'antd';
import classNames from 'classnames';
import Link from 'umi/link';
import { connect } from 'dva';
import styles from './index.less';
import PageLoading from '../PageLoading';
import { getDefaultCollapsedSubMenus } from './SiderMenuUti... |
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import ReactGA from 'react-ga';
import { library, dom } from '@fortawesome/fontawesome-svg-core';
import {
faLinkedin,
faFacebook,
faMedium,
faGithubSquare,
faInstagram,
} from '@fortawesome/free-brands-svg-icons';
import {
faMapP... |
var localiza_autor = (function(){
iza_doe_ob1 = {
cod: 'f25',
titulo: 'pato donald',
url: 'https://instaarts.com/wp-content/uploads/2018/07/2356-img1.jpg'
}
iza_doe_ob2 = {
cod: 'f25',
titulo: 'Fitinhas',
... |
const defaultListenPort = 3000;
const portFromEnv = () => {
const x = parseInt(process.env.PORT, 10);
/* istanbul ignore next */
return (x !== null && !isNaN(x)) ? x : defaultListenPort;
};
module.exports = {
"plugins": {
"inert": {
"enable": true
},
"electrodeStaticPaths": {
"enable":... |
/* Copyright 2014 Mozilla Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... |
/*
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); y... |
(function (app) {
'use strict';
app.controller('movieEditCtrl', movieEditCtrl);
movieEditCtrl.$inject = ['$scope', '$location', '$routeParams', 'apiService', 'notificationService', 'fileUploadService'];
function movieEditCtrl($scope, $location, $routeParams, apiService, notificationService, fileUplo... |
jQuery(document).ready(function(){
jQuery("#adminForm").validationEngine();
Joomla.submitform = function(pressbutton)
{
//Unlock the page
holdForm = false;
if (typeof(pressbutton) == 'undefined')
{
jQuery("#adminForm").submit();
return;
}
var parts = pressbutton.split('.');
jQuery("#task")... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.