code stringlengths 2 1.05M |
|---|
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'bidi', 'pt-br', {
ltr: 'Direção do texto da esquerda para a direita',
rtl: 'Direção do texto da direita para a esquerda'
});
|
var game = new Phaser.Game(800, 600, Phaser.CANVAS, 'phaser-example', { preload: preload, create: create, render: render });
function preload() {
game.load.image('bisley', 'assets/pics/alex-bisleys_horsy_5.png');
}
var picture;
function create() {
game.stage.backgroundColor = '#6688ee';
picture = ga... |
/// <reference path="../../observable.ts"/>
/// <reference path="../../concurrency/scheduler.ts" />
(function () {
var o;
Rx.Observable.repeat(42, 4, Rx.Scheduler.async);
Rx.Observable.repeat(42, null, Rx.Scheduler.async);
Rx.Observable.repeat(42);
});
//# sourceMappingURL=repeat.js.map |
/**
* ag-grid-community - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v21.1.0
* @link http://www.ag-grid.com/
* @license MIT
*/
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.leng... |
/**
* DataZoom component entry
*/
import * as echarts from '../echarts';
import preprocessor from './visualMap/preprocessor';
import './visualMap/typeDefaulter';
import './visualMap/visualEncoding';
import './visualMap/PiecewiseModel';
import './visualMap/PiecewiseView';
import './visualMap/visualMapAction';
echar... |
module.exports = {
kolibriName: 'kolibriCoreAppGlobal',
};
|
define("gridx/core/Cell", [
"dojo/_base/declare"
], function(declare){
return declare(/*===== "gridx.core.Cell", =====*/[], {
// summary:
// Represents a cell of a grid
// description:
// An instance of this class represents a grid cell.
// This class should not be directly instantiated by users. It s... |
//USERS
$(function() {
//DISABLE NAV TAB
$.cms.disableNavTab();
//SAVE AND CONTINUE
$.cms.saveContinue();
}); |
/**
* checks if a given react wrapper wraps an intrinsic element i.e. a DOM node
* @param {import('enzyme').ReactWrapper} reactWrapper
* @returns {boolean} true if the given reactWrapper wraps an intrinsic element
*/
export function wrapsIntrinsicElement(reactWrapper) {
return typeof reactWrapper.type() === 'stri... |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
* @format
*/
'use strict';
const RelayTransformError = require('./RelayTransformError');
const util = require('util');... |
/**
* Module dependencies.
*/
var _ = require('underscore');
var debug = require('debug')('auth0-lock:mode-reset');
var $ = require('../bonzo-augmented');
var Emitter = require('events').EventEmitter;
var create = require('../object-create');
var stop = require('../stop-event');
var bind = require('../bind');
var te... |
// A2Z F15
// Daniel Shiffman
// https://github.com/shiffman/A2Z-F15
// This sheet
// | ----------------|
// | label | number |
// | ----------------|
// | apple | 9 |
// | ----------------|
// | pear | 4 |
// | ----------------|
// | orange | 3 |
// | ----------------|
// Turns into:
// [ { label... |
(function() {
var callWithJQuery;
callWithJQuery = function(pivotModule) {
if (typeof exports === "object" && typeof module === "object") {
return pivotModule(require("jquery"));
} else if (typeof define === "function" && define.amd) {
return define(["jquery"], pivotModule);
} else {
... |
var gulp = require('gulp');
var notify = require('../');
var through = require('through2');
var plumber = require('gulp-plumber');
gulp.task("multiple", function () {
gulp.src("../test/fixtures/*")
.pipe(notify());
});
gulp.task("one", function () {
gulp.src("../test/fixtures/1.txt")
.pipe(notify());... |
angular.module('chat').config(
['$routeProvider',
function($routeProvider) {
$routeProvider.
when('/chat', {
templateUrl: 'chat/views/chat.client.view.html'
});
}
]);
|
/*!
* jQuery JavaScript Library v2.1.1 -ajax,-ajax/jsonp,-ajax/load,-ajax/parseJSON,-ajax/parseXML,-ajax/script,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-deprecated,-dimensions,-event-alias,-offset
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 201... |
/*
* Globalize Culture sms-FI
*
* http://github.com/jquery/globalize
*
* Copyright Software Freedom Conservancy, Inc.
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* This file was generated by the Globalize Culture Generator
* Translation: bugs found in this ... |
angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
$provide.value("$locale", {
"DATETIME_FORMATS": {
"AMPMS": [
"a.m.",
"p.m."
],
"DAY": [
"domingo",
"lunes",
... |
var eq = require('../shared/eq');
var _ = require('../../source/__');
var _curry2 = require('../../source/internal/_curry2');
describe('_curry2', function() {
it('supports R.__ placeholder', function() {
var f = function(a, b) { return [a, b]; };
var g = _curry2(f);
eq(g(1)(2), [1, 2]);
eq(g(1, 2),... |
(function (root) {
"use strict";
var buster = root.buster || require("buster");
var sinon = root.sinon || require("../lib/sinon");
var assert = buster.assert;
var refute = buster.refute;
var fail = buster.referee.fail;
buster.testCase("sinon.stub", {
"is spy": function () {
... |
function runGa4ghTests() {
oauth.google.apiKey = 'AIzaSyDUUAUFpQEN4mumeMNIRWXSiTh5cPtUAD0';
asyncTest("variantSet metadata", function () {
var reader = new igv.Ga4ghVariantReader({
type: "vcf",
url: "https://genomics.googleapis.com/v1",
variantSetId: "1047310825368... |
'use strict';
//Setting up route
angular.module('dashboards').config(['$stateProvider',
function($stateProvider) {
// Dashboards state routing
$stateProvider.
state('listDashboards', {
url: '/dashboards',
templateUrl: 'modules/dashboards/views/list-dashboards.client.view.html'
}).
state('createDashboa... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.TreeTableHeader = void 0;
var _react = _interopRequireWildcard(require("react"));
var _propTypes = _interopRequireDefault(require("prop-types"));
var _classnames = _interopRequireDefault(require("classnames"));
var _DomHandler =... |
tinyMCE.addI18n('zh-cn.simple',{cleanup_desc:"\u6e05\u9664\u65e0\u7528\u4ee3\u7801",redo_desc:"\u6062\u590d(Ctrl Y)",undo_desc:"\u64a4\u9500(Ctrl Z)",numlist_desc:"\u7f16\u53f7\u5217\u8868",bullist_desc:"\u9879\u76ee\u5217\u8868",striketrough_desc:"\u5220\u9664\u7ebf",underline_desc:"\u4e0b\u5212\u7ebf(Ctrl U)",italic_... |
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("popper.js"));
else if(typeof define === 'function' && define.amd)
define(["popper.js"], factory);
else if(typeof exports === 'object')
exports["cytoscapePo... |
/*
* xpath.js
*
* An XPath 1.0 library for JavaScript.
*
* Cameron McCormack <cam (at) mcc.id.au>
*
* This work is licensed under the Creative Commons Attribution-ShareAlike
* License. To view a copy of this license, visit
*
* http://creativecommons.org/licenses/by-sa/2.0/
*
* or send a letter to Creativ... |
/**
* Output widget to vizualize DomainAnnotation object.
* Pavel Novichkov <psnovichkov@lbl.gov>
* @public
*/
(function($, undefined) {
$.KBWidget({
name: 'kbaseDomainAnnotation',
parent: 'kbaseAuthenticatedWidget',
version: '1.0.1',
options: {
domainAnnotationID: ... |
{
_template:"leavemealone",
setObject:[
{
object:"mapmeta",
property:"stage1",
value:{nextLevel:"stage2"}
},
{
object:"mapobjects",
property:"stage1",
value:{
items:[
{objecttype:"player", x:40, y:180, side:1},
{objecttype:"squid", x:80, y:40, side:1},
{objecttype:"squid", x... |
module.exports = function LoadProjectActions(actions) {
actions.load(
require('./routes/generate'),
{
id: 'routes/generate',
uri: require.resolve('./routes/generate')
}
)
}
|
'use strict';
var fs = require('fs');
var broccoli = require('broccoli');
var assert = require('assert');
var templateCompilerFilter = require('../index');
var builder;
describe('templateCompilerFilter', function(){
var sourcePath = 'test/fixtures';
afterEach(function() {
if (builder) {
builder.cleanup... |
/*
Longclick Event
Copyright (c) 2010 Petr Vostrel (http://petr.vostrel.cz/)
Dual licensed under the MIT (MIT-LICENSE.txt)
and GPL (GPL-LICENSE.txt) licenses.
Version: 0.3.2
Updated: 2010-06-22
*/
(function(a){function n(b){a.each("touchstart touchmove touchend touchcancel".split(/ /),function(d,e){b.addEventLis... |
import HelloWorld from '../components/hello-world'
export default function Home() {
return (
<div className="app">
<HelloWorld />
</div>
)
}
|
/**
* @fileoverview Tests for options.
* @author George Zahariev
*/
"use strict";
//------------------------------------------------------------------------------
// Requirements
//------------------------------------------------------------------------------
const assert = require("chai").assert,
options = r... |
module.exports={A:{A:{"2":"H D G E A B fB"},B:{"2":"1 C p J L N I"},C:{"2":"1 3 dB FB F K H D G E A B C p J L N I O P Q R S T U V W X Y Z a b d e f g h i j k l m bB VB","194":"0 2 5 6 7 8 9 n o M q r s t u v w x y z BB CB DB"},D:{"1":"KB IB gB LB MB NB","2":"0 1 3 F K H D G E A B C p J L N I O P Q R S T U V W X Y Z a b... |
/*
Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
if(!dojo._hasResource["dojox.string.BidiComplex"]){
dojo._hasResource["dojox.string.BidiComplex"]=true;
dojo.provide("dojox... |
var lexi = require('../');
var test = require('tape');
test('small numbers', function (t) {
var prev = lexi.pack(0);
for (var n = 1; n < 256*256*16; n ++) {
var cur = lexi.pack(n, 'hex');
if (cur <= prev) t.fail('cur <= prev');
prev = cur;
}
t.end();
});
|
"use strict";
var _getIterator = require("babel-runtime/core-js/get-iterator")["default"];
var _interopRequireDefault = require("babel-runtime/helpers/interop-require-default")["default"];
var _interopRequireWildcard = require("babel-runtime/helpers/interop-require-wildcard")["default"];
exports.__esModule = true;
... |
Object.defineProperty(exports, "__esModule", { value: true });
var file_system_1 = require("../file-system");
exports.debug = true;
var applicationRootPath;
function ensureAppRootPath() {
if (!applicationRootPath) {
applicationRootPath = file_system_1.knownFolders.currentApp().path;
applicationRootP... |
'use strict';
module.exports = function (app) {
class Bar111 extends app.Service {
constructor(ctx) {
super(ctx);
}
* get(name) {
return {
bar: 'bar111',
};
}
}
return Bar111;
};
|
var app = require('express')(),
wizard = require('hmpo-form-wizard'),
steps = require('./steps'),
fields = require('./fields');
app.use(require('hmpo-template-mixins')(fields, { sharedTranslationKey: 'prototype' }));
app.use(wizard(steps, fields, { templatePath: 'prototype_oix_171004/throttle' }));
modul... |
'use strict';
/**
* Starts the test runner which in turn loads test frameworks,
* assertion libraries and then executes tests.
*
* Example Usage:
* gulp test
* gulp test --watch
*/
var gulp = require('gulp'),
chalk = require('chalk'),
args = require('yargs').argv,
common = require('./_common')... |
console.log("Test");
x_a();
function x_a() {
// used before defined
} |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var protractor_1 = require("protractor");
describe('QuickStart E2E Tests', function () {
var expectedMsg = 'Hello Angular';
beforeEach(function () {
protractor_1.browser.get('');
});
it('should display: ' + expectedMsg,... |
module.exports={A:{A:{"2":"H D G E A B fB"},B:{"2":"1 C p J L N I"},C:{"1":"0 1 2 3 5 6 7 8 9 F K H D G E A B C p J L N I O P Q R S T U V W X Y Z a b d e f g h i j k l m n o M q r s t u v w x y z BB CB DB","16":"dB FB bB VB"},D:{"1":"0 2 5 6 7 8 9 u v w x y z BB CB DB GB PB KB IB gB LB MB NB","16":"1 F K H D G E A B C ... |
var mongodb = process.env['TEST_NATIVE'] != null ? require('../../lib/mongodb').native() : require('../../lib/mongodb').pure();
var testCase = require('../../deps/nodeunit').testCase,
mongoO = require('../../lib/mongodb').pure(),
debug = require('util').debug,
inspect = require('util').inspect,
Buffer = requir... |
import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ContentUnarchive = (props) => (
<SvgIcon {...props}>
<path d="M20.55 5.22l-1.39-1.68C18.88 3.21 18.47 3 18 3H6c-.47 0-.88.21-1.15.55L3.46 5.22C3.17 5.57 3 6.01 3 6.5V19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6.5c0-.4... |
var gulp = require('gulp');
// TODO: clean-generated was breaking TeamCity. You need to make sure deployment/PostDeploy.ps1 and *.nuspec are not removed during the clean -AP
gulp.task('build', function (cb) {
require('run-sequence')(
['$clean-generated'],
['$sass', '$ng-templates', '$ng-config'],
... |
/*!
* jQuery JavaScript Library v3.4.1 -ajax,-ajax/jsonp,-ajax/load,-ajax/parseXML,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-event/ajax,-effects,-effects/Tween,-effects/animatedSelector
* https://jquery.com/
*
* Includes Sizzle.js
* https://sizzlejs.com/
*
... |
import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let MapsDirections = (props) => (
<SvgIcon {...props}>
<path d="M21.71 11.29l-9-9c-.39-.39-1.02-.39-1.41 0l-9 9c-.39.39-.39 1.02 0 1.41l9 9c.39.39 1.02.39 1.41 0l9-9c.39-.38.39-1.01 0-1.41zM14 14.5V12h-4v3H8v-4c0-.... |
var appendView = function(view) {
Ember.run(function() { view.appendTo('#qunit-fixture'); });
};
var set = function(object, key, value) {
Ember.run(function() { Ember.set(object, key, value); });
};
var compile = function(template) {
return Ember.Handlebars.compile(template);
};
var buildContainer = function(n... |
tinyMCE.addI18n('pl.pdw',{
desc : 'Show/hide toolbars'
});
|
'use strict';
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.definePrope... |
/**
* (c) jExcel v3.3.3
*
* Author: Paul Hodel <paul.hodel@gmail.com>
* Website: https://bossanova.uk/jexcel/
* Description: Create amazing web based spreadsheets.
*
* This software is distribute under MIT License
*/
'use strict';
if (! jSuites && typeof(require) === 'function') {
var jSuit... |
require('./hello.sass');
const $inject = ['HelloService'];
const Hello = function (helloService) {
const link = $scope => {
$scope.hello = helloService.hello();
};
return {
template: require('./hello.html'),
restrict: 'E',
link,
scope: {}
};
};
Hello.$inject = $inject;
export default Hel... |
'use strict'
var path = require('path')
, fs = require('fs')
, spawn = require('child_process').spawn
, chai = require('chai')
, expect = chai.expect
, should = chai.should()
, environment = require('../../lib/environment')
function find(settings, name) {
var it... |
module.exports = {
'route-matching': function (browser) {
browser
.url('http://localhost:8080/route-matching/')
.waitForElementVisible('#app', 1000)
.assert.count('li a', 10)
.assert.evaluate(function () {
var route = JSON.parse(document.querySelector('pre').textContent)
retu... |
import {observer as emberObserver} from 'ember-metal/mixin';
import run from "ember-metal/run_loop";
import {Binding} from "ember-metal/binding";
import Observable from "ember-runtime/mixins/observable";
import EmberObject from 'ember-runtime/system/object';
/*
NOTE: This test is adapted from the 1.x series of unit ... |
import SpeechRecognizer from './SpeechRecognizer';
import playPlaylist from './utils/playPlaylist';
window.wait(() => {
const speech = new SpeechRecognizer(
['ok player', 'okayplayer', 'hey music', 'yo music'], // Hot Words
['Let\'s', 'can you', 'can you please', 'please'] // Com... |
version https://git-lfs.github.com/spec/v1
oid sha256:04f1e059e7983c5cedf505f9bd7d4543153f5b0003ee86660fc4fa09cc8c55ae
size 5711
|
(function(
// Reliable reference to the global object (i.e. window in browsers).
global,
// Dummy constructor that we use as the .constructor property for
// functions that return Generator objects.
GeneratorFunction,
// Undefined value, more compressible than void 0.
undefined
) {
var hasOwn = Object... |
IntlRelativeFormat.__addLocaleData({"locale":"swc","pluralRuleFunction":function (n,ord){if(ord)return"other";return"other"},"fields":{"year":{"displayName":"Mwaka","relative":{"0":"this year","1":"next year","-1":"last year"},"relativeTime":{"future":{"other":"+{0} y"},"past":{"other":"-{0} y"}}},"month":{"displayName... |
/**
* @author mrdoob / http://mrdoob.com/
*/
THREE.RenderableFace4 = function () {
this.v1 = new THREE.RenderableVertex();
this.v2 = new THREE.RenderableVertex();
this.v3 = new THREE.RenderableVertex();
this.v4 = new THREE.RenderableVertex();
this.centroidWorld = new THREE.Vector3();
this.centroidScreen = ne... |
version https://git-lfs.github.com/spec/v1
oid sha256:e20d962c73974dc59ddf950f145c2bc8e5a5863ccd92936a5cc755c73a3492ec
size 2368
|
/*!
* jQuery UI Button @VERSION
* http://jqueryui.com
*
* Copyright 2014 jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
* http://api.jqueryui.com/button/
*
* Depends:
* jquery.ui.core.js
* jquery.ui.widget.js
*/
(function( $, undefined ) {
var last... |
/**
* @fileoverview Tests for no-unexpected-multiline rule.
* @author Glen Mailer
*/
"use strict";
//------------------------------------------------------------------------------
// Requirements
//------------------------------------------------------------------------------
var rule = require("../../../lib/rule... |
var http = require('http');
var https = require('https');
/* Rpc Client Object
*
* new Client (options)
* - options: json options object
*
* Define: json options object: {
* port: int port of rpc server, default 5080 for http or 5433 for https
* host: string domain name or ip of rpc server, default '127... |
var bezier = require('./');
var Benchmark = require('benchmark');
var fs = require('fs');
var line = JSON.parse(fs.readFileSync(__dirname+'/fixture/bezierIn.geojson'));
var suite = new Benchmark.Suite('turf-bezier');
suite
.add('turf-bezier',function () {
bezier(line, 5000, .85);
})
.on('cycle', function (e... |
import { expect } from 'chai';
import {
getCredentials,
api,
request,
credentials,
} from '../../data/api-data.js';
import { updatePermission } from '../../data/permissions.helper.js';
describe('[Statistics]', function() {
this.retries(0);
before((done) => getCredentials(done));
describe('[/statistics]', () ... |
/*************************************************************
*
* MathJax/localization/qqq/HelpDialog.js
*
* Copyright (c) 2009-2016 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You m... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S15.5.4.11_A8;
* @section: 15.5.4.11;
* @assertion: The String.prototype.replace.length property has the attribute DontEnum;
* @description: Checking if enumerating the Strin... |
import publicDirectives from '../directives/public/index'
import internalDirectives from '../directives/internal/index'
import { compileProps } from './compile-props'
import { parseText, tokensToExp } from '../parsers/text'
import { parseDirective } from '../parsers/directive'
import { parseTemplate } from '../parsers/... |
/**
* Copyright (c) UNA, Inc - https://una.io
* MIT License - https://opensource.org/licenses/MIT
*
* @defgroup Timeline Timeline
* @ingroup UnaModules
*
* @{
*/
function BxTimelinePost(oOptions) {
this._sActionsUri = oOptions.sActionUri;
this._sActionsUrl = oOptions.sActionUrl;
this._sObjName ... |
// Copyright 2010 The Closure Library Authors. All Rights Reserved.
//
// 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 requ... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S11.3.2_A1.1_T4;
* @section: 11.3.2, 11.6.3, 7.3;
* @assertion: Line Terminator between LeftHandSideExpression and "--" is not allowed;
* @description: Checking Line separato... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S11.13.2_A4.2_T1.2;
* @section: 11.13.2, 11.5.2;
* @assertion: The production x /= y is the same as x = x / y;
* @description: Type(x) and Type(y) vary between primitive... |
'use strict';
/**
* Computes a hash of an 'obj'.
* Hash of a:
* string is string
* number is number as string
* object is either result of calling $$hashKey function on the object or uniquely generated id,
* that is also assigned to the $$hashKey property of the object.
*
* @param obj
* @returns {... |
pw.component.register('mutable', function (view, config) {
this.mutation = function (mutation) {
// no socket, just submit the form
if (!window.socket) {
view.node.submit();
return;
}
var datum = pw.util.dup(mutation);
delete datum.__nested;
delete datum.scope;
delete datum.id... |
define([
'dojo/_base/declare', 'dojo/on', 'dojo/_base/Deferred', 'dijit/_Templated',
'dojo/dom-class', 'dojo/dom-construct', 'dijit/_WidgetBase',
'dojo/_base/xhr', 'dojo/_base/lang', 'dojo/dom-attr', 'dojo/query',
'dojo/dom-geometry', 'dojo/dom-style', 'dojo/when'
], function (
declare, on, Deferred, Template... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S11.5.1_A2.1_T3;
* @section: 11.5.1;
* @assertion: Operator x * y uses GetValue;
* @description: If GetBase(y) is null, throw ReferenceError;
*/
//CHECK#1
try {
1 * y;... |
/**
* @fileoverview Validates JSDoc comments are syntactically correct
* @author Nicholas C. Zakas
* @copyright 2014 Nicholas C. Zakas. All rights reserved.
*/
"use strict";
//------------------------------------------------------------------------------
// Requirements
//------------------------------------------... |
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
"use strict";
const RuntimeGlobals = require("./RuntimeGlobals");
const CachedConstDependency = require("./dependencies/CachedConstDependency");
const ConstDependency = require("./dependencies/ConstDependency");
const ... |
//# sourceMappingURL=IOpacityAnimation.js.map |
exports.config = {
chromeOnly: false,
capabilities: {
browserName: 'firefox'
},
specs: ['src/tests/integration/**/*.js'],
baseUrl: 'http://localhost:8001',
framework: 'mocha',
mochaOpts: {
ui: 'bdd',
reporter: 'list',
enableTimeouts: false
}
};
|
'use strict';
const expect = require('chai').expect;
const semver = require('semver');
function assertVersionLock(_deps) {
let deps = _deps || {};
Object.keys(deps).forEach(function(name) {
if (name !== 'ember-cli' &&
semver.valid(deps[name]) &&
semver.gtr('1.0.0', deps[name])) {
// onl... |
var http = require('http');
var fs = require('fs');
var mime = require('mime');
var url = require('url');
var queryString = require('querystring');
var userData = [];
var maxId = 0;
var server = http.createServer(function (request, response) {
var objUrl = url.parse(request.url);
var query = queryString.parse(o... |
var assert = require('assert');
var Checker = require('../../../lib/checker');
var reportAndFix = require('../../lib/assertHelpers').reportAndFix;
describe('rules/require-padding-newlines-after-blocks', function() {
var checker;
beforeEach(function() {
checker = new Checker();
checker.register... |
const ControlledTabs = React.createClass({
getInitialState() {
return {
key: 1
};
},
handleSelect(key) {
alert('selected ' + key);
this.setState({key});
},
render() {
return (
<Tabs activeKey={this.state.key} onSelect={this.handleSelect}>
<Tab eventKey={1} title='Tab ... |
'use strict';
const bestSuggestions = require('./suggest');
const util = require('./util');
const _type = util._type;
const _clone = util._clone;
const v = {};
const _result = (ok, expType, acType, val, warning) => {
if (ok) {
return {ok: true, warning};
}
return {ok: false, type: 'simple', expType, acType... |
/**
* All methods related to the search
*/
jsBackend.search = {
init: function () {
var $synonymBox = $('input.synonymBox')
// synonyms box
if ($synonymBox.length > 0) {
$synonymBox.multipleTextbox({
emptyMessage: jsBackend.locale.msg('NoSynonymsBox'),
errorMessage: utils.string.u... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
var _exportNames = {
cardClasses: true
};
Object.defineProperty(exports, "default", {
enumerable: true,
get: function () {
return _Card.default... |
'use strict';
var React = require('react/addons');
var PureRenderMixin = React.addons.PureRenderMixin;
var SvgIcon = require('../../svg-icon');
var NavigationCheck = React.createClass({
displayName: 'NavigationCheck',
mixins: [PureRenderMixin],
render: function render() {
return React.createElement(
... |
app.directive('shortTimeAgo', function ($interval) {
return {
scope: {
date: '@shortTimeAgo'
},
link: function ($scope, element) {
function shortTime() {
angular.element(element).html(moment($scope.date).fromNow(true)
.replace(/\b([smhdwmy])[a-z]+\b/, '$1')
.replace(/an?/, '1')
.replace... |
UM.registerUI('link image video map formula',function(name){
var me = this, currentRange, $dialog,
opt = {
title: (me.options.labelMap && me.options.labelMap[name]) || me.getLang("labelMap." + name),
url: me.options.UMEDITOR_HOME_URL + 'dialogs/' + name + '/' + name + '.js'
... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _lodash = require('lodash');
var _lodash2 = _interopRequireDefault(_lodash);
var _utilities = require('./../utilities');
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var create = (... |
module.exports={A:{A:{"2":"K C G E YB","1028":"B","1316":"A"},B:{"1":"D w Z I M H"},C:{"1":"0 1 3 5 6 7 8 X Y y a b c d e f L h i j k l m n o p q r s t u v z x","164":"WB AB F J K C G E A B D w Z I M H N O P Q UB OB","516":"R S T U V W"},D:{"1":"0 1 3 5 6 7 8 Y y a b c d e f L h i j k l m n o p q r s t u v z x BB IB DB... |
var get = Ember.get, set = Ember.set;
var rootState, stateName;
module("unit/states - Flags for record states", {
setup: function() {
rootState = DS.RootState;
}
});
var isTrue = function(flag) {
equal(get(rootState, stateName + "." + flag), true, stateName + "." + flag + " should be true");
};
var isFals... |
$(function () {
'use strict';
var $image = $(window.createCropperImage());
$image.cropper({
built: function () {
QUnit.test('methods#rotate', function (assert) {
$image.cropper('rotate', 360);
assert.equal($image.cropper('getImageData').rotate, 0);
$image.cropper('rotate', 9... |
/****************************************************************************
Copyright (c) 2010-2012 cocos2d-x.org
Copyright (c) 2008-2010 Ricardo Quesada
Copyright (c) 2011 Zynga Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software an... |
tinyMCE.addI18n('ru.xhtmlxtras_dlg',{
attribute_label_title:"\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A",
attribute_label_id:"\u0418\u043C\u044F",
attribute_label_class:"\u041A\u043B\u0430\u0441\u0441",
attribute_label_style:"\u0421\u0442\u0438\u043B\u044C",
attribute_label_cite:"\u0426\u0438\u0442\u0430\u0... |
/* flatpickr v4.2.4, @license MIT */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(factory((global.ro = {})));
}(this, (function (exports) { 'use strict';
var fp = typeof wi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.