code stringlengths 2 1.05M |
|---|
var express = require('express');
var app = express();
var rights = require('./rights');
var port = process.env.PORT || 3000;
app.all('*', function (req, res, next) {
res.header("Access-Control-Allow-Origin", "*");
res.header("Access-Control-Allow-Headers", "X-Requested-With");
res.header("Content-Type", "appli... |
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'print', 'hr', {
toolbar: 'Ispiši'
} );
|
(function(D, FORMx) {
/*
======== A Handy Little QUnit Reference ========
http://api.qunitjs.com/
Test methods:
module(name, {[setup][ ,teardown]})
test(name, callback)
expect(numberOfAssertions)
stop(increment)
start(decrement)
Test assertions:
ok(value, [message])
equal(actual, expected, [message])
n... |
/* Base4K encoding for JavaScript
* Copyright (c) 2014 Secomba GmbH
* Licensed under the MIT license (https://raw.githubusercontent.com/secomba/base4k/master/LICENSE)
* Version: 1.0.0
*/
//-----CLASS Base4K---------------------------------------------------------
// version=number (1 or 2)
Base4K = functio... |
import React, {Component, PropTypes} from 'react';
import {Animated, Easing, TextInput, TouchableOpacity, ImagePickerIOS, StyleSheet} from 'react-native';
import Icon from 'react-native-vector-icons/Ionicons';
import {NativeModules} from 'react-native';
import MediaService from '../../services/MediaService';
import { V... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
Ext.define('sisprod.view.WellState.UpdateWellState', {
extend: 'sisprod.view.base.BaseDataWindow',
alias: 'widget.updateWellState',
require: [
'sisprod.view.base.BaseDataWindow'
],
... |
import React from 'react';
import SettingPanel from '../SettingPanel';
import { shallow } from 'enzyme';
describe('Setting Panel Appearance', () => {
let wrapper;
const props = {
markerColorList: [],
backgroundColorList: [],
onSwitcherChange: jest.fn,
markerColor: {},
ba... |
import React from 'react';
import ReactShallowRenderer from 'react-test-renderer/shallow';
import IconButton from 'chamel/Button';
/**
* Test rendering the IconButton
*/
describe("IconButton Component", () => {
// Basic validation that render works in edit mode and returns children
it("Should render", () => {
... |
/* global assert, process, setup, suite, test */
var entityFactory = require('../helpers').entityFactory;
var THREE = require('index').THREE;
suite('standard material', function () {
setup(function (done) {
var el = this.el = entityFactory();
el.setAttribute('material', 'shader: standard');
if (el.hasLoa... |
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, privateMap, value) {
if (!privateMap.has(receiver)) {
throw new TypeError("attempted to set private field on non-instance");
}
privateMap.set(receiver, value);
return value;
};
var __classPrivateFieldGet = ... |
/**
* @license
* Copyright 2017 Google LLC
*
* 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 applicab... |
/**
* combinatorics.js
*
* Licensed under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
*
* @typedef {(number|bigint)} integer
*
* @author: Dan Kogai <dankogai+github@gmail.com>
* References:
* @link: http://www.ruby-doc.org/core-2.0/Array.html#method-i-combination
* @link: ht... |
import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
import * as React from 'react';
import PropTypes from 'prop-types';
import NativeSelectInput from './NativeSelectInput';
import withStyles from '../styles/withStyles';
im... |
/**
* @license Highstock JS v9.3.0 (2021-10-21)
*
* Indicator series type for Highcharts Stock
*
* (c) 2010-2021 Wojciech Chmiel
*
* License: www.highcharts.com/license
*/
'use strict';
(function (factory) {
if (typeof module === 'object' && module.exports) {
factory['default'] = factory;
mo... |
/**
* Tom Select v2.0.1
* Licensed under the Apache License, Version 2.0 (the "License");
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global = typeof globalThis !== 'undef... |
typeof window !== "undefined" &&
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define([], factory);
else if(typeof exports === 'object')
exports["Hls"] = f... |
'use strict'
const test = require('ava')
const JID = require('../lib/JID')
/* eslint-disable no-implicit-coercion, eqeqeq */
test('cocerce to string', t => {
const addr = new JID('foo', 'bar')
t.is(addr + '', addr.toString())
t.is('' + addr, addr.toString())
t.true(addr == addr.toString())
})
test('cocerce ... |
describe("iD.Tree", function() {
describe("#rebase", function() {
it("adds entities to the tree", function() {
var graph = iD.Graph(),
tree = iD.Tree(graph),
node = iD.Node({id: 'n', loc: [1, 1]});
graph.rebase([node], [graph]);
tree.rebas... |
export navigationReducer from './Navigation.reducers';
export default from './Navigation.container';
|
// run-practice-0.js
var blocks = generatePracticeBlocks(levels=[0]);
runTask(blocks); |
// Aliases
var Scheduler = Rx.Scheduler,
ScheduledItem = Rx.internals.ScheduledItem,
SchedulePeriodicRecursive = Rx.internals.SchedulePeriodicRecursive,
PriorityQueue = Rx.internals.PriorityQueue,
inherits = Rx.internals.inherits,
defaultSubComparer = Rx.helpers.defaultSubComparer,
notImple... |
// Auto-generated. Do not edit!
// (in-package hector_uav_msgs.msg)
"use strict";
let _serializer = require('../base_serialize.js');
let _deserializer = require('../base_deserialize.js');
let _finder = require('../find.js');
let std_msgs = _finder('std_msgs');
//----------------------------------------------------... |
var Terrain = require('../../addons/terrainpack/Terrain');
var Vegetation = require('../../addons/terrainpack/Vegetation');
var Forrest = require('../../addons/terrainpack/Forrest');
var Vector3 = require('../../math/Vector3');
var Ajax = require('../../util/Ajax');
var MathUtils = require('../../math/MathUtils');
var ... |
import React from 'react'
import Icon from 'react-icon-base'
const IoSocialRss = props => (
<Icon viewBox="0 0 40 40" {...props}>
<g><path d="m9.4 26.3c2.4 0 4.4 1.9 4.4 4.3s-2 4.4-4.4 4.4-4.4-2-4.4-4.4 2-4.3 4.4-4.3z m-4.4-11.3c10.9 0 20 9.1 20 20h-6.2c0-3.7-1.1-7.3-3.8-10s-6.2-3.7-10-3.7v-6.3z m0-10c16.... |
// @flow
import { createElement } from 'react'
import type { Theme } from './ThemeProvider'
import validAttr from '../utils/validAttr'
import isTag from '../utils/isTag'
import type { RuleSet, Target } from '../types'
import AbstractStyledComponent from './AbstractStyledComponent'
import { CHANNEL } from './ThemePr... |
'use strict';
module.exports = {
app: {
title: 'groovity-library',
description: 'Full-Stack JavaScript with MongoDB, Express, AngularJS, and Node.js',
keywords: 'MongoDB, Express, AngularJS, Node.js'
},
port: process.env.PORT || 3000,
templateEngine: 'swig',
sessionSecret: 'MEAN',
sessionCollection: 'sessi... |
var searchData=
[
['s',['s',['../struct_sim___model_1_1selection__constant.html#a71a6be221724c941d8c04e50bcf4e518',1,'Sim_Model::selection_constant::s()'],['../struct_sim___model_1_1selection__population__specific.html#aee2df85f26d7fdce977b5f06e42fba6a',1,'Sim_Model::selection_population_specific::s()']]],
['s1',['... |
/**
* @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'specialchar', 'es', {
euro: 'Símbolo de euro',
lsquo: 'Comilla simple izquierda',
rsquo: 'Comilla simple derecha',
ldq... |
import Hapi from 'hapi';
import config from '../config';
module.exports = function (options, callback) {
var server = {};
server.options = options;
server.hapi = new Hapi.Server({
connections: {
routes: {
cors: true
}
},
debug: config.debug && process.env.DS_ENV !== 'test' ? {
... |
import template from './login.html';
import controller from './login.controller';
import './login.scss';
let loginComponent = {
restrict: 'E',
bindings: {},
template,
controller,
controllerAs: 'vm'
};
export default loginComponent;
|
var request = require('request');
var _ = require('underscore');
if (!(process.env.CMID && process.env.CMKEY)) {
console.error('Define env vars for CMID and CMKEY');
}
exports.get = function(id, fn) {
request({
url: 'https://api.cloudmine.me/v1/app/'+process.env.CMID+'/text?keys='+id,
headers: {'X-CloudMi... |
var chai = require('chai')
var expect = chai.expect
var hbs = require('../../../../../src/cli').Handlebars
describe('className 1', function() {
it('className compatible with css', function() {
var fn = hbs.compile("{{className value}}");
var res = fn({value: 'this is.a#class name'})
chai.expect(res).to.b... |
// flow-typed signature: 1dc0b13d4d7e5ee4c285b2741863df4b
// flow-typed version: <<STUB>>/babili-webpack-plugin_v^0.1.2/flow_v0.48.0
/**
* This is an autogenerated libdef stub for:
*
* 'babili-webpack-plugin'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to sha... |
import 'antd/lib/popconfirm/style/index'; |
function clampIntRange(num, min, max) {
num = Math.floor(num);
if (num < min) num = min;
if (typeof max !== 'undefined' && num > max) num = max;
return num;
}
exports.BattleStatuses = {
typhoon: {
effectType: 'Weather',
duration: 5,
durationCallback: function(source, effect) {
if (source && source.item ==... |
//>>built
define("dojo/_base/array dojo/dom dojo/_base/lang dojo/topic dojo/_base/window ../focus ../selection ../main".split(" "),function(n,k,l,f,d,b,g,e){b.focus=function(a){if(a){var c="node"in a?a.node:a,h=a.bookmark;a=a.openedForWindow;var g=h?h.isCollapsed:!1;if(c){var f="iframe"==c.tagName.toLowerCase()?c.conte... |
"use strict";
const config = require("../config");
const customConfig = require('../configEdit');
const utils = require("../src/utils");
const qutils = require('../src/queueUtils');
function addApproval (bot, channelID, userTag, userID, command, msg, db, key, ADcontent, reportInfo, trello) {
db.all("SELECT stance FR... |
define(["require", "exports", "jriapp", "./gridDemo"], function (require, exports, RIAPP, DEMO) {
"use strict";
var bootstrap = RIAPP.bootstrap, $http = RIAPP.Utils.http;
function start(mainOptions) {
mainOptions = RIAPP.Utils.core.extend(DEMO.appOptions, mainOptions);
bootstrap.startApp(fun... |
/*! bespoke-forms v0.1.0 © 2013 Mark Dalgleish, Licensed MIT */
!function(a){a.plugins.forms=function(a){a.slides.forEach(function(a){a.addEventListener("keydown",function(a){(/INPUT|TEXTAREA|SELECT/.test(a.target.nodeName)||"true"===a.target.contentEditable)&&a.stopPropagation()})})}}(bespoke); |
// +-----------------------------------------------------------------------+
// | Copyright (c) 2002-2003, Richard Heyes, Harald Radi |
// | All rights reserved. |
// | |
// | Re... |
import createSvgIcon from './utils/createSvgIcon';
import { jsx as _jsx } from "react/jsx-runtime";
export default createSvgIcon([/*#__PURE__*/_jsx("path", {
d: "M10 16H6.5v6H10c.8 0 1.5-.7 1.5-1.5v-3c0-.8-.7-1.5-1.5-1.5zm0 4.5H8v-3h2v3zm6.5-4.5H13v6h1.5v-2h1.1l.9 2H18l-.9-2.1c.5-.3.9-.8.9-1.4v-1c0-.8-.7-1.5-1.5-1.5z... |
var searchData=
[
['x',['x',['../struct__osk__pnt.html#af31f6d3b1fecca2f3972c98467ffdcb4',1,'_osk_pnt::x()'],['../struct__gcmSurface.html#a4553961d0e12cb5634d5d37cad50c863',1,'_gcmSurface::x()']]],
['xer',['xer',['../struct__sys__dbg__ppu__thread__context.html#a8c79f79b2d5db3adbf5201e4211d8849',1,'_sys_dbg_ppu_thre... |
Template.boards.helpers({
boards: function() {
return Boards.find({}, {
sort: ["title"]
});
},
starredBoards: function() {
var cursor = Boards.find({
_id: {
$in: Meteor.user().profile.starredBoards || []
}
}, {
s... |
(function() {
'use strict';
angular.module('material.components.datepicker')
.directive('mdCalendarYear', calendarDirective);
/**
* Height of one calendar year tbody. This must be made known to the virtual-repeat and is
* subsequently used for scrolling to specific years.
*/
var TBODY_HEIGHT = 88... |
import _ from 'lodash'
import cx from 'classnames'
import React, { PropTypes } from 'react'
import {
customPropTypes,
getElementType,
getUnhandledProps,
META,
SUI,
useKeyOnly,
useValueAndKey,
} from '../../lib'
function Progress(props) {
const {
active, attached, autoSuccess, color, children, clas... |
/*jshint browser: true, jasmine: true */
/*global angular, inject, module, $ */
describe('Help service', function () {
'use strict';
var $compile,
$rootScope,
$state,
$window,
bbHelp,
bbHelpConfig,
bbHelpConfigInitialUrl;
function createHelpAjaxSpy(helpWidg... |
import client from '../utils/apiClient'
export const get = () => (
client.get('/api/Currencies')
)
|
import {
filter,
map,
range as range_,
} from 'lodash';
import { Float } from './numbers';
/**
* turn [min, max] domain into array of length
* @param {array} domain - [min, max]
* @param {number} length - intended length of returned array
* @returns {array}
*/
export function linspace(domain, length) {
if... |
#!/usr/bin/env node
const spawn = require("child_process").spawn;
const electron = require("electron");
const argv = [__dirname];
spawn(electron, argv, { stdio: "inherit" });
|
/* global d3*/
let infoTip = null;
/**
* config sets the infoTip (description, item name, and id) is set to be appended to the body under a div tag
* The class for the infoTip is set here as well under 'nodeInfoTip'. All of this is given a default blank text field.
*/
export default function config () {
infoTip =... |
'use strict';
const BaseEmbed = require('./BaseEmbed.js');
/**
* Generates enemy embeds
*/
class ComponentEmbed extends BaseEmbed {
/**
* @param {Genesis} bot - An instance of Genesisad
* @param {Array.<Component>} components - List of components for an item or weapon
*/
constructor(bot, components) {
... |
import EventEmitter from '../util/EventEmitter'
import forEach from '../util/forEach'
import without from '../util/without'
/*
Manages highlights. Used by {@link ui/ScrollPane}.
@class
@param {model/Document} doc document instance
@example
```
var contentHighlights = new Highlights(doc);
```
*/
clas... |
'use strict';
(function() {
// Models Controller Spec
describe('Models Controller Tests', function() {
// Initialize global variables
var ModelsController,
scope,
$httpBackend,
$stateParams,
$location;
// The $resource service augments the response object with methods for updating and deleting the res... |
var searchData=
[
['esp_5fspiffs_5fconfig',['esp_spiffs_config',['../structesp__spiffs__config.html',1,'']]],
['espconn',['espconn',['../structespconn.html',1,'']]],
['event_5finfo_5fu',['Event_Info_u',['../unionEvent__Info__u.html',1,'']]],
['event_5fsoftapmode_5fprobereqrecved_5ft',['Event_SoftAPMode_ProbeReq... |
import Finity from '../../src';
import HandlerMocks from '../support/HandlerMocks';
describe('self-transition', () => {
it('executes actions and global hooks in the correct order with the correct parameters', () => {
const mocks = new HandlerMocks();
const stateMachine = Finity
.configure()
.glo... |
var cornerstone = (function (cornerstone) {
"use strict";
if(cornerstone === undefined) {
cornerstone = {};
}
function getElementData(el, dataType) {
var ee = cornerstone.getEnabledElement(el);
if(ee.data.hasOwnProperty(dataType) === false)
{
ee.data[dataTy... |
// // The stuff below is all for Ember Data:
// // Overwrite ajax to be able to use nice ic-ajax fixtures
// // Use the ActiveModel::Serializers adapter which wraps RESTAdapter
// App.ApplicationAdapter = DS.ActiveModelAdapter.extend({
// ajax: function(url, type, options) {
// options = this.ajaxOptions(url, ty... |
// https://github.com/KhronosGroup/WebGL/blob/master/sdk/demos/google/resources/OESVertexArrayObject.js
var glErrorShadow = { };
function error(msg) {
if (window.console && window.console.error) {
window.console.error(msg);
}
}
function log(msg) {
if (window.console && window.console.log) {
... |
let levels = [
{ name: 'Contributions' },
{ name: 'Locations' },
{ name: 'Sites' },
{ name: 'Samples' },
{ name: 'Specimens' },
{ name: 'Experiments' },
{ name: 'Measurements' }
];
let index = 'magic_v4';
levels[0].views = [ { name: 'Summaries', es: { index: index, type: 'contri... |
/**
* Created by Florin Chelaru ( florin [dot] chelaru [at] gmail [dot] com )
* Date: 9/2/2015
* Time: 2:01 PM
*/
goog.provide('vs.directives.Brushing');
goog.require('vs.directives.Visualization');
goog.require('vs.directives.GraphicDecorator');
goog.require('vs.ui.svg.SvgBrushing');
goog.require('vs.ui.canvas.... |
var searchData=
[
['ftc_2ddocs',['FTC-Docs',['../md_docs__r_e_a_d_m_e.html',1,'']]],
['ftc_2d2014',['FTC-2014',['../md__r_e_a_d_m_e.html',1,'']]]
];
|
/**
* Singpath services.
*
* Note: if a service usage is limited to a component, it should be defined with the component.
*/
'use strict';
import {singpath} from '../module.js';
import * as datastore from'./datastore.js';
import * as routes from './routes.js';
singpath.constant('routes', routes.map);
singpath.fac... |
/*!
* Copyright (c) 2015-2020 Cisco Systems, Inc. See LICENSE file.
*/
import '@webex/internal-plugin-device';
import '@webex/plugin-logger';
import '@webex/plugin-memberships';
import '@webex/plugin-rooms';
import '@webex/plugin-teams';
import WebexCore, {WebexHttpError} from '@webex/webex-core';
import {assert} fr... |
var Cache = require('node-cache');
module.exports = function(app) {
if (app.config.cache.store !== 'memory') return;
app.use(caching());
function caching() {
var store = new Cache(app.config.cache);
return function* (next) {
this.cache = store;
return yield next;
}
}
}; |
// DATA_TEMPLATE: empty_table
oTest.fnStart("oLanguage.sProcessing");
$(document).ready(function () {
/* Check the default */
var oTable = $('#example').dataTable({
"sAjaxSource": "../../../examples/ajax/sources/arrays.txt",
"bProcessing": true
});
var oSettings = oTable.fnSettings();
... |
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
'use strict';
/*
* Uses `Promise.jsm` as a core implementation, with additional sugar
* from previous implementa... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon"));
var _jsxRuntime = require("react/jsx-runtime")... |
var util = require('util');
var assert = require('assert');
module.exports = function(parentType, subTypeName, defaultErrorCode) {
assert(subTypeName, 'subTypeName is required');
//define new error type
var SubType = (function(message, code) {
//handle constructor call without 'new'
if (! (this instanceof S... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon"));
var _jsxRuntime = require("react/jsx-runtime")... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon"));
var _jsxRuntime = require("react/jsx-runtime")... |
import React from 'react';
import PropTypes from 'prop-types';
import styles from './Button.module.scss';
const Button = ({ label }) => {
return (
<button className={styles.wrapper} type="button">
{label}
</button>
);
};
Button.propTypes = {
label: PropTypes.string.isRequired,
... |
// @flow
import yargs from "yargs";
import { resolve } from "path";
yargs.parse("-x");
yargs.parse(["-x"]);
yargs.parse(["-x"], {});
yargs.parse(["-x"], {}, (err, argv, output) => {});
yargs.parse(["-x"], (err, argv, output) => {});
// $FlowExpectedError[incompatible-call]
yargs.parse(["-x"], {}, {});
const argv = y... |
version https://git-lfs.github.com/spec/v1
oid sha256:02aead52067cb5510c7bbe6da24a8c0b880dbe408875b0067fae93af88a9f826
size 59034
|
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2018 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/
var GetBottom = require('../../bounds/GetBottom');
var GetLeft = require('../../bounds/GetLeft');
var SetBottom = requ... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var combine_1 = require("./combine");
/**
* Executes a message against one target function that is rotated with each message.
*/
exports.roundRobin = function () {
var fns = [];
for (var _i = 0; _i < arguments.length; _i++) {
... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon"));
var _jsxRuntime = require("react/jsx-runtime")... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon"));
var _jsxRuntime = require("react/jsx-runtime")... |
/*jshint esversion: 6 */
import {fr} from "./fr_CA.js";
import {en} from "./en_GB.js";
export default function language() {
var language;
switch (Session.get("language")) {
case "fr":
language = fr;
break;
case "en":
language = en;
break;
default:
language = fr;
}
return language;... |
{
for (var i = 0, n = circles.length; i < n; ++i) {
for (var j = i + 1, ci = circles[i], cj; j < n; ++j) {
if (intersects(ci, (cj = circles[j]))) {
return true;
}
}
}
return false;
}
|
const _ = require('underscore');
class GamePipeline {
constructor() {
this.pipeline = [];
this.queue = [];
}
initialise(steps) {
if(!_.isArray(steps)) {
steps = [steps];
}
this.pipeline = steps;
}
get length() {
return this.pipeline.len... |
define({
"taskUrl": "Sichtfeld-Service-URL",
"portalURL": "Geben Sie die URL zu Ihrer ArcGIS Online-Organisation oder zu Portal for ArcGIS an",
"portalURLError": "Die konfigurierte URL zu Ihrer ArcGIS Online-Organisation oder zu Portal for ArcGIS ist ungültig.",
"privilegeError": "Ihre Benutzerrolle kann keine ... |
/*global importScripts, db */
(function () {
'use strict';
importScripts('/node_modules/babel-polyfill/dist/polyfill.js');
importScripts('/dist/db.min.js');
self.onmessage = function (e) {
var dbName = e.data.dbName;
var msg = e.data.message;
var version = e.data.version;
... |
import _isArray from './_isArray';
/**
* This checks whether a function has a [methodname] function. If it isn't an
* array it will execute that function otherwise it will default to the ramda
* implementation.
*
* @private
* @param {Function} fn ramda implemtation
* @param {String} methodname property to chec... |
module.exports = function (gulp, plugins, config) {
return function () {
gulp.src(config.vendors.head)
.pipe(gulp.dest(config.distribution + 'vendors/'))
.on('error', plugins.util.log);
gulp.src(config.vendors.javascript)
.pipe(plugins.concat('vendor.js'))
... |
import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from 'material-ui/SvgIcon';
let Devices = props =>
<SvgIcon {...props}>
<path d="M4 6h18V4H4c-1.1 0-2 .9-2 2v11H0v3h14v-3H4V6zm19 2h-6c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h6c.55 0 1-.45 1-1V9c0-.55-.45-1-1-1zm-1 9h-4v-7h4v7z" />
</SvgIc... |
/* eslint-disable no-unused-vars */
const countOccurences = (v, l) => {
let sum = 0;
for (const value of l) {
if (v === value) {
sum += 1;
}
}
return sum;
};
|
//----------------------------------------------------------------------
//
// This source file is part of the Folktale project.
//
// Licensed under MIT. See LICENCE for full licence information.
// See CONTRIBUTORS for the list of contributors to the project.
//
//-----------------------------------------------------... |
/* */
define( [
"../core",
"../var/rnothtmlwhite",
"./var/acceptData"
], function( jQuery, rnothtmlwhite, acceptData ) {
"use strict";
function Data() {
this.expando = jQuery.expando + Data.uid++;
}
Data.uid = 1;
Data.prototype = {
cache: function( owner ) {
// Check if the owner object already has a cach... |
var UU5 = UU5 || {};
UU5.DocKit = UU5.DocKit || {};
UU5.DocKit.data = UU5.DocKit.data || {};
UU5.DocKit.data.uu5_common_lsi_mixin = {
mixinName: "UU5.Common.LsiMixin",
sourceFile: "../../data/source/uu5-common-lsi-mixin.js",
cssFile: null,
descLSI: {
en: `ToDo!!!`,
cs: `<UU5.Bricks.Blockquote.bgSuccess... |
require.config({
paths: {
'sockjs-client': 'node_modules/sockjs-client/sockjs',
'events-event-emitter': 'node_modules/events-event-emitter/src/event-emitter',
'util-extend': 'node_modules/util-extend/extend',
},
packages: [{
name: 'stream-client',
location: 'src',
... |
var searchData=
[
['coeff',['coeff',['../structfir_inst.html#ad36118e15dd4ea6b2ed6f750e5782431',1,'firInst']]]
];
|
// Copyright (c) 2012 Ecma International. All rights reserved.
// Ecma International makes this code available under the terms and conditions set
// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
// "Use Terms"). Any redistribution of this code must retain the above
// copyright and this n... |
/*= require jquery.waitforimages */
/*= require task_list */
/*= require merge_request_tabs */
(function() {
var bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; };
this.MergeRequest = (function() {
function MergeRequest(opts) {
this.opts = opts != null ? opts : {};
... |
// http://eslint.org/docs/user-guide/configuring
module.exports = {
root: true,
parser: 'babel-eslint',
parserOptions: {
sourceType: 'module'
},
env: {
browser: true,
},
// https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style
extends: 'standard',
// required to li... |
import React from 'react'
import classes from './SponsorsPage.scss'
import SponsorsItem from 'components/SponsorsItem'
import { Row, Col } from 'react-bootstrap'
// import lifelock from 'static/sponsors/lifelock.png'
// import google from 'static/sponsors/google.png'
// import coinbase from 'static/sponsors/coinbase.pn... |
import React, { Component } from 'react';
import { EditorState, convertFromRaw } from 'draft-js';
import Editor from '@draft-js-plugins/editor';
import createVideoPlugin from '@draft-js-plugins/video';
import editorStyles from './editorStyles.module.css';
const videoPlugin = createVideoPlugin();
const { types } = vide... |
YUI.add('primrose-api-test', function (Y) {
Y.namespace('Primrose').APITest = new YUITest.TestCase({
name: "API",
'spyOn: it creates a spy based on the type': function () {
var view = {
render: function () {},
on: function () {}
}, spy;
spy = Y.Primrose.spyOn( view, 'meth... |
// 正解:2
|
var availableSizes = [
{ value: 'Full' },
]
|
/*
Copyright (c) 2010, Linden Research, Inc.
Copyright (c) 2014, Joshua Bell
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to u... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.