code stringlengths 2 1.05M |
|---|
describe('$firebaseObject', function() {
'use strict';
var $firebaseObject, $utils, $rootScope, $timeout, obj, testutils, $interval, log;
var DEFAULT_ID = 'REC1';
var FIXTURE_DATA = {
aString: 'alpha',
aNumber: 1,
aBoolean: false,
anObject: { bString: 'bravo' }
};
beforeEach(function () {
... |
cordova.define("cordova-plugin-file-transfer.FileTransfer", function(require, exports, module) { /*
*
* 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 owners... |
/**
* @fileoverview Tests for data access methods.
*
* @author danvdk@gmail.com (Dan Vanderkam)
*/
describe("data-api", function() {
var opts, graphDiv;
beforeEach(function() {
document.body.innerHTML = "<div id='graph'></div>";
opts = {
width: 480,
height: 320
};
graphDiv = document.getElementBy... |
import path from 'path';
import assert from 'assert';
import os from 'os';
/**
* file path resolver.
* @example
* let pathResolver = new PathResolver('./src', 'foo/bar.js', 'foo-bar', 'foo/bar.js');
* pathResolver.importPath; // 'foo-bar'
* pathResolver.filePath; // 'src/foo/bar.js'
* pathResolver.resolve('./baz... |
'use strict';
import React from 'react';
import ReactDOM from 'react-dom';
import {getTrackCSS, getTrackLeft, getTrackAnimateCSS} from './trackHelper';
import assign from 'object-assign';
var helpers = {
initialize: function (props) {
const slickList = ReactDOM.findDOMNode(this.list);
var slideCount = Reac... |
"use strict"
var tape = require("tape")
var graphToPolyline = require("../pg2pl.js")
tape("planar-graph-to-polyline", function(t) {
function canonicalizeCycle(cycle) {
var lo = 0
for(var i=0; i<cycle.length; ++i) {
for(var j=0; j<cycle.length; ++j) {
var d = cycle[(i+j)%cycle.length] - cycle[... |
version https://git-lfs.github.com/spec/v1
oid sha256:83a2b23aa41768df30b6d08d6f69d6ecfbee471f0052cb214f10c6d392ab1752
size 190
|
jQuery(function($){$(".sow-cta-base").each(function(){var $$=$(this);var $b=$$.find(".so-widget-sow-button"),$t=$$.find(".sow-cta-text");if($t.outerHeight()>$b.outerHeight()){$b.css("margin-top",($t.outerHeight()-$b.outerHeight())/2)}})}); |
asynctest(
'browser.alien.UnlinkTest',
[
'ephox.mcagar.api.TinyLoader',
'ephox.mcagar.api.TinyApis',
'tinymce.themes.inlite.Theme',
'tinymce.themes.inlite.alien.Unlink',
'ephox.agar.api.Pipeline',
'ephox.agar.api.Step',
'ephox.agar.api.GeneralSteps'
],
function (TinyLoader, TinyApis,... |
module.exports = function(grunt) {
"use strict";
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
jshint: {
all: [
'Gruntfile.js',
'annyang.js',
'sites/facebook.js',
'sites/geektime.js',
],
options: {
"node" ... |
/*
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.image.ThumbnailPicker"]){
dojo._hasResource["dojox.image.ThumbnailPicker"]=true;
dojo.provide(... |
/**
@module ember-data
*/
/**
@class SnapshotRecordArray
@namespace DS
@private
@constructor
@param {Array} snapshots An array of snapshots
@param {Object} meta
*/
export default function SnapshotRecordArray(recordArray, meta, adapterOptions) {
this._snapshots = null;
this._recordArray = recordArray;... |
#!/usr/bin/env node
var fs = require('fs');
var path = require('path');
var hookInputPath = 'misc/validate-commit.js';
var hookOutputPath = '.git/hooks/commit-msg';
if (!fs.existsSync(hookOutputPath)) {
fs.writeFileSync(hookOutputPath, fs.readFileSync(hookInputPath));
fs.chmodSync(hookOutputPath, '0755');
} |
/**
* Copyright 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
'use strict... |
'use strict';
var assert = require('assert');
var fs = require('fs');
var path = require('path');
var glob = require('glob');
var globby = require('globby');
var extend = require('deep-extend');
var File = require('vinyl');
var util = require('../util');
function applyProcessingFunc(process, contents) {
var output ... |
'use strict';
var gulp = require('gulp');
var gutil = require('gulp-util');
var mocha = require('gulp-spawn-mocha');
// runs the tests
gulp.task('coverage', function() {
return gulp.src(['test/**/*.spec.js'], { read: false })
.pipe(mocha({
istanbul: true
}))
.on('error', gutil.log);
});
// quick ... |
module.exports={A:{A:{"1":"B A","2":"H E G C VB"},B:{"1":"D u g I J"},C:{"1":"0 1 2 3 4 5 6 S T U V W X v Z a b c d N f M h i j k l m n o p q r s t y K","2":"TB x F L H E G C B A D u g I J Y O e P Q R RB QB"},D:{"1":"0 1 2 3 4 5 6 F L H E G C B A D u g I J Y O e P Q R S T U V W X v Z a b c d N f M h i j k l m n o p q r... |
// Fine Uploader 5.15.3 - MIT licensed. http://fineuploader.com
(function(global) {
var qq = function(element) {
"use strict";
return {
hide: function() {
element.style.display = "none";
return this;
},
attach: function(type, fn) {
... |
(function() {
'use strict';
angular
.module('app.loadingbar')
.run(loadingbarRun)
;
loadingbarRun.$inject = ['$rootScope', '$timeout', 'cfpLoadingBar'];
function loadingbarRun($rootScope, $timeout, cfpLoadingBar){
// Loading bar transition
// -----------------------... |
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
'use strict... |
/*!
* @copyright Copyright (c) 2016 IcoMoon.io
* @license Licensed under MIT license
* See https://github.com/Keyamoon/svgxuse
* @version 1.1.7
*/
/*jslint browser: true */
/*global XDomainRequest, MutationObserver, window */
(function () {
'use strict';
if (window && window.addEventListener... |
/**
* @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'magicline', 'cs', {
title: 'zde vložit odstavec'
} );
|
async (x,y,) => x
|
Clazz.declarePackage ("javajs.awt.event");
Clazz.load (["javajs.awt.event.Event"], "javajs.awt.event.WindowEvent", null, function () {
c$ = Clazz.declareType (javajs.awt.event, "WindowEvent", javajs.awt.event.Event);
});
|
function socketCallback(testKey, socket, testCase) {
return function() {
testCase.assert.apply(undefined , arguments)
var emitArguments = addArrays([testKey + "EmitReturn"], testCase.returnData)
socket.emit.apply(socket, emitArguments)
}
}
function addArrays(firstArray, secondArray) {
var length = secondAr... |
/*
* @package AJAX_Chat
* @author Sebastian Tschan
* @author Tomasz Topa, http://tomasz.topa.pl/
* @copyright (c) Sebastian Tschan
* @license GNU Affero General Public License
* @link https://blueimp.net/ajax/
*/
// Ajax Chat language Object:
var ajaxChatLang = {
login: '%s wszedł na czat.',
logout: '%s wysz... |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v13.1.1
* @link http://www.ag-grid.com/
* @license MIT
*/
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c ... |
define([], function () {
console.log('this is Common1/another no layer');
results.push('Common1/another:nocache');
});
|
/*! choices.js v2.1.0 | (c) 2016 Josh Johnson | https://github.com/jshjohnson/Choices#readme */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check... |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","fr",{title:"Instructions d'accessibilité",contents:"Contenu de l'aide. Pour fermer ce dialogue, appuyez sur la touche Ech (Echappement).",... |
/*!
* =====================================================
* Mui v1.6.0 (https://github.com/dcloudio/mui)
* =====================================================
*/
/**
* MUI核心JS
* @type _L4.$|Function
*/
var mui = (function(document, undefined) {
var readyRE = /complete|loaded|interactive/;
var idSelectorRE ... |
/**
* @file
* JavaScript behaviors for jQuery UI buttons element integration.
*/
(function ($, Drupal) {
'use strict';
/**
* Create jQuery UI buttons element.
*
* @type {Drupal~behavior}
*/
Drupal.behaviors.webformButtons = {
attach: function (context) {
$(context).find('.js-webform-bu... |
version https://git-lfs.github.com/spec/v1
oid sha256:6626982b42a9ed2bb232f5467262b2bc24737a365606546bcda98414f6ec703a
size 2750
|
"use strict";
(function () {
return 42;
});
"use strict";
arr.map(function (x) {
return x * MULTIPLIER;
});
|
(function (namespace, $) {
"use strict";
var DemoPageMaps = function () {
// Create reference to this instance
var o = this;
// Initialize app when document is ready
$(document).ready(function () {
o.initialize();
});
};
var p = DemoPageMaps.prototype;
// =============================... |
/**
* @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
*/
import { ListWrapper, Map, isListLikeIterable } from '../src/facade/collection';
import { isPresent } from '../src/fa... |
"use strict";
const NamedPropertiesTracker = require("../../lib/jsdom/named-properties-tracker");
function joinIterator(values) {
let joinedValue = "";
for (const val of values().keys()) {
joinedValue += (joinedValue ? "," : "") + val;
}
return joinedValue;
}
exports["get() should return the tracker previ... |
//// Copyright (c) Microsoft Corporation. All rights reserved
(function () {
"use strict";
var DevEnum = Windows.Devices.Enumeration;
var deviceWatcher = null;
var resultCollection = new WinJS.Binding.List([]);
var resultsListView;
var page = WinJS.UI.Pages.define("/html/scenario2_device... |
define("ace/mode/praat_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module) {
"use strict";
var oop = require("../lib/oop");
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
var PraatHighlightRules = function() ... |
'use strict';
var helpers = require('./helpers');
module.exports = function (Target) {
var _ = require('lodash');
Target.prototype.toQuery = function (tz) {
var data = this.toSQL(this._method);
if (!_.isArray(data)) data = [data];
return _.map(data, function (statement) {
return this._formatQue... |
'use strict';
const assert = require('assert');
const restrictToSender = require('../../../../src/services/message/hooks/restrict-to-sender.js');
describe('message restrictToSender hook', function() {
it('hook can be used', function() {
const mockHook = {
type: 'before',
app: {},
params: {},
... |
// MSSQL Table Builder & Compiler
// -------
var inherits = require('inherits');
var TableCompiler = require('../../../schema/tablecompiler');
var helpers = require('../../../helpers');
var Promise = require('../../../promise');
var assign = require('lodash/object/assign');
// Table Compiler
// ------
function Table... |
/**
* jqplot.jquerymobile plugin
* jQuery Mobile virtual event support.
*
* Version: 1.0.5
* Revision: 1122+
*
* Copyright (c) 2011 Takashi Okamoto
* jqPlot is currently available for use in all personal or commercial projects
* under both the MIT (http://www.opensource.org/licenses/mit-license.php) ... |
'use strict';
var chalk = require('chalk');
var Command = require('../models/command');
var Promise = require('../ext/promise');
var Project = require('../models/project');
var SilentError = require('silent-error');
var validProjectName = require('../utilities/valid-project-name');
var n... |
/*
* Copyright GoInstant, Inc. and other contributors. All rights reserved.
* 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
* r... |
YUI.add('widget-htmlparser', function (Y, NAME) {
/**
* Adds HTML Parser support to the base Widget class
*
* @module widget
* @submodule widget-htmlparser
* @for Widget
*/
var Widget = Y.Widget,
Node = Y.Node,
Lang = Y.Lang,
SRC_NODE = "srcNode",
CONTENT_BOX = "contentBox";
/**
* Object hash... |
/**
* Copyright (c) 2016 hustcc
* License: MIT
* Version: v1.0.1
* GitHub: https://github.com/hustcc/canvas-nest.js
**/
! function() {
//封装方法,压缩之后减少文件大小
function get_attribute(node, attr, default_value) {
return node.getAttribute(attr) || default_value;
}
//封装方法,压缩之后减少文件大小
function get_by_... |
describe.skip('flickLeft', function() {
before(h.setup({ url: conf.testPage.gestureTest }));
it('should trigger flickLeft indicator', function(done) {
this.client
.getAttribute('//*[@id="log-gesture-dragleft"]', 'class', function(err, res) {
assert.ifError(err);
... |
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
PIXI._defaultFrame = new PIXI.Rectangle(0,0,1,1);
// an instance of the gl context..
// only one at the moment :/
PIXI.gl;
/**
* the WebGLRenderer is draws the stage and all its content onto a webGL enabled canvas. This renderer should be used for brows... |
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang("language","nb",{button:"Sett språk",remove:"Fjern språk"}); |
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var OuterSubscriber_1 = require('../OuterSubscri... |
(function(root, factory) {
if (typeof module !== 'undefined' && module.exports) {
module.exports = factory();
} else if (typeof define === 'function' && define.amd) {
define([], factory);
} else {
root.canvid = factory();
}
}(this, function() {
function canvid(params) {
... |
/*!
* Validator v0.11.8 for Bootstrap 3, by @1000hz
* Copyright 2016 Cina Saffary
* Licensed under http://opensource.org/licenses/MIT
*
* https://github.com/1000hz/bootstrap-validator
*/
+function ($) {
'use strict';
// VALIDATOR CLASS DEFINITION
// ==========================
function getValue($el) {
... |
import Ember from 'ember';
import TextInputMixin from 'ghost/mixins/text-input';
import boundOneWay from 'ghost/utils/bound-one-way';
import {formatDate} from 'ghost/utils/date-formatting';
const {Component} = Ember;
export default Component.extend(TextInputMixin, {
tagName: 'span',
classNames: 'input-icon ic... |
/*! /support/test/capability/touch 1.1.1 | http://nucleus.qoopido.com | (c) 2016 Dirk Lueth */
!function(e,n){"use strict";function o(o){var t=o.defer();return"ontouchstart"in e||"DocumentTouch"in e&&document instanceof DocumentTouch||n.maxTouchPoints>0||n.msMaxTouchPoints>0?t.resolve():t.reject(),t.pledge}provide(["/d... |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v6.0.0
* @link http://www.ag-grid.com/
* @license MIT
*/
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : ... |
/**
* Crash logger
* Pokemon Showdown - http://pokemonshowdown.com/
*
* Logs crashes, sends an e-mail notification if you've set up
* config.js to do that.
*
* @license MIT license
*/
module.exports = (function () {
var lastCrashLog = 0;
return function (err, description) {
console.log("\nCRASH: " + (err.s... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var TextFieldRole = {
relatedConcepts: [{
module: 'ARIA',
concept: {
name: 'textbox'
}
}, {
module: 'HTML',
concept: {
name: 'input'
}
}, {
module: 'HTML',
concept: {
name: 'input',
... |
/* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/*************************************************************
*
* MathJax/localization/lb/TeX.js
*
* Copyright (c) 2009-2015 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (t... |
/*
* Globalize Culture de-LU
*
* 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 file need t... |
Package.describe({
name: 'rocketchat:slashcommands-asciiarts',
version: '0.0.1',
summary: 'Message pre-processor that will add ascii arts to messages',
git: ''
});
Package.onUse(function(api) {
api.use([
'rocketchat:lib'
]);
api.use('ecmascript');
api.addFiles('gimme.js', ['server', 'client']);
api.addFil... |
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.Hls = f()}})(f... |
/*expected
initial->s1_1->s1_2->s1_3->s1_9->s1_10->s1_12->s1_13;
s1_1->s1_4->s1_6->s1_8->s1_9;
s1_2->s1_13;
s1_9->s1_13;
s1_6->s1_9;
s1_8->s1_11->s1_12;
s1_11->s1_9;
s1_13->final;
*/
switch (a) {
case 0:
foo();
break;
default:
case 1:
case 2:
bar();
break;
case 3:
... |
module.exports={title:"Dolby",slug:"dolby",svg:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Dolby</title><path d="M24,20.352V3.648H0v16.704H24z M18.433,5.806h2.736v12.387h-2.736c-2.839,0-5.214-2.767-5.214-6.194S15.594,5.806,18.433,5.806z M2.831,5.806h2.736c2.839,0,5.214,2.767,5.214,6.1... |
/*! Qoopido.demand 2.1.0 | https://github.com/dlueth/qoopido.demand | (c) 2015 Dirk Lueth */
!function(t){"use strict";function e(e,n,i){function a(e,n,i){t.cookie="demand["+e+"]="+encodeURIComponent(n)+"; expires="+i+"; path=/"}function o(t){for(var e,n,i=0;e=s[i];i++)0===t.indexOf(e.pattern)&&(!n||e.weight>n.weight)&... |
//>>built
define("dojox/gfx/bezierutils",["./_base"],function(_1){
var bu=_1.bezierutils={},_2=0.1;
var _3=bu.tAtLength=function(_4,_5){
var t=0,_6=_4.length==6,_7=0,_8=0,_9=_6?_a:_b;
var _c=function(p,_d){
var _e=0;
for(var i=0;i<p.length-2;i+=2){
_e+=_f(p[i],p[i+1],p[i+2],p[i+3]);
}
var _10=_6?_f(_4[0],_4[1],_4[4],_4... |
/*==================================================
* Compact Event Painter
*==================================================
*/
Timeline.CompactEventPainter = function(params) {
this._params = params;
this._onSelectListeners = [];
this._filterMatcher = null;
this._highlightMatcher = null;
... |
/**
* @fileOverview Kickass library to create and place poppers near their reference elements.
* @version 0.3.7
* @license
* Copyright (c) 2016 Federico Zivolo and contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (... |
(function ($) {
/**
* Portuguese (Brazil) language package
* Translated by @marcuscarvalho6
*/
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
base64: {
'default': 'Por favor insira um código base 64 válido'
},
between: {
... |
/*!
* inferno-compat v0.8.0-alpha2
* (c) 2016 Dominic Gannaway
* Released under the MIT License.
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(factory((global.Infer... |
IntlMessageFormat.__addLocaleData({"locale":"bg","pluralRuleFunction":function (n) {n=Math.floor(n);if(n===1)return"one";return"other";}}); |
/*
This file is part of Ext JS 3.4
Copyright (c) 2011-2013 Sencha Inc
Contact: http://www.sencha.com/contact
GNU General Public License Usage
This file may be used under the terms of the GNU General Public License version 3.0 as
published by the Free Software Foundation and appearing in the file LICENSE included in... |
var Stream = require('stream')
module.exports = MuteStream
// var out = new MuteStream(process.stdout)
// argument auto-pipes
function MuteStream (opts) {
Stream.apply(this)
opts = opts || {}
this.writable = this.readable = true
this.muted = false
this.on('pipe', this._onpipe)
this.replace = opts.replace
... |
/**
* Filters the elements of an observable sequence based on a predicate by incorporating the element's index.
*
* @example
* var res = source.where(function (value) { return value < 10; });
* var res = source.where(function (value, index) { return value < 10 || index < 10; });
* @param {Functio... |
'use strict';
var path = require('path');
var assign = require('object-assign');
var fs = require('graceful-fs');
var mkdirp = require('mkdirp');
var rimraf = require('rimraf');
var tmpDir = require('os').tmpDir();
function CacheSwap(options) {
this.options = assign({
tmpDir: tmpDir,
cacheDirName: 'default... |
module.exports = FormData; |
/*
Highcharts JS v6.0.3 (2017-11-14)
Old IE (v6, v7, v8) module for Highcharts v6+.
(c) 2010-2017 Highsoft AS
Author: Torstein Honsi
License: www.highcharts.com/license
*/
(function(l){"object"===typeof module&&module.exports?module.exports=l:l(Highcharts)})(function(l){(function(d){var u,g;g=d.Chart;var A=d.cre... |
test("one tautology", function() {
ok(true);
});
module("simple tests");
test("increments", function() {
var mike = 0;
ok(mike++ === 0);
ok(mike === 1);
});
test("increments (improved)", function() {
var mike = 0;
equal(mike++, 0);
equal(mike, 1);
});
module("setUp/tearDown", {
setup: function() ... |
/*
AngularJS v1.3.11
(c) 2010-2014 Google, Inc. http://angularjs.org
License: MIT
*/
(function(p,k,q){'use strict';k.module("ngAria",["ng"]).provider("$aria",function(){function b(b,e,c){return function(d,h,f){var l=f.$normalize(e);a[l]&&!f[l]&&d.$watch(f[b],function(d){c&&(d=!d);h.attr(e,d)})}}var a={ariaHidden:!0,... |
/*
Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("specialchar","tt",{euro:"Евро тамгасы",lsquo:"Сул бер иңле куштырнаклар",rsquo:"Уң бер иңле куштырнаклар",ldquo:"Сул ике иңле куштырнаклар",rdquo:"Уң... |
CKEDITOR.plugins.setLang("preview","da",{preview:"Vis eksempel"}); |
"use strict";
function foo() {
true;
blah();
}
|
/**
* console module for app test
*/
var spawn = require('child_process').spawn;
var net = require('net');
var server = global.server;
var port = global.port;
var program = require('commander');
/*
* options:
* argv: the argv of nw
* data: (string|json) data to be sended to control
*
*
*/
export... |
// Copyright 2008 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... |
/*
* bootstrap-table - v1.4.0 - 2014-11-21
* https://github.com/wenzhixin/bootstrap-table
* Copyright (c) 2014 zhixin wen
* Licensed MIT License
*/
!function(a){"use strict";a.extend(a.fn.bootstrapTable.defaults,{formatLoadingMessage:function(){return"Chargement en cours, s´il vous plaît patienter ..."},formatRecordsPe... |
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @provides... |
0e+100 |
/*
* Translated default messages for the jQuery validation plugin.
* Locale: BG (Bulgarian; български език)
*/
$.extend( $.validator.messages, {
required: "Полето е задължително.",
remote: "Моля, въведете правилната стойност.",
email: "Моля, въведете валиден email.",
url: "Моля, въведете валидно URL.",
date: "М... |
"use strict";
exports.__esModule = true;
// istanbul ignore next
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj["default"] = obj;... |
// [new] Blaze.Template([viewName], renderFunction)
//
// `Blaze.Template` is the class of templates, like `Template.foo` in
// Meteor, which is `instanceof Template`.
//
// `viewKind` is a string that looks like "Template.foo" for templates
// defined by the compiler.
/**
* @class
* @summary Constructor for a Templ... |
/**
* The YUI module contains the components required for building the YUI seed
* file. This includes the script loading mechanism, a simple queue, and
* the core utilities for the library.
* @module yui
* @main yui
* @submodule yui-base
*/
if (typeof YUI != 'undefined') {
YUI._YUI = YUI;
}
/**
The YUI gl... |
'use strict';
angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
function getDecimals(n) {
n = n + '';
var i = n.indexOf('.');
return (i == -1) ? 0 : n.length - i - 1;
}
function getVF(n, opt_pre... |
/*!
Copyright (C) 2013 by Andrea Giammarchi
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 use, copy, modify, merge, publish, distr... |
/***************
Details
***************/
/*!
* Velocity.js: Accelerated JavaScript animation.
* @version 0.11.2
* @docs http://VelocityJS.org
* @license Copyright 2014 Julian Shapiro. MIT License: http://en.wikipedia.org/wiki/MIT_License
*/
/****************
Overview
****************/
/*
Velocity's structur... |
/**
* @license AngularJS v1.4.0-rc.2
* (c) 2010-2015 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, angular, undefined) {'use strict';
/**
* @ngdoc module
* @name ngCookies
* @description
*
* # ngCookies
*
* The `ngCookies` module provides a convenient wrapper for reading and writing ... |
var Stream = require('stream');
function createStreamAPI () {
var stream
, processEntry
, done
, handleError
, handleFatalError
, paused = true
, controlled = false
, buffer = []
, closed = false
;
stream = new Stream();
stream.writable = false;
stream.readable = true;
s... |
var app = require('express')(),
toJsonSchema = require('../lib/jsdoc-to-json-schema.js');
app.get('/', function(req, res){
// return JSON schema generated from person.js script comments
toJsonSchema('./examples/person.js', res);
});
app.listen(8080, function(){
console.log('Example app listen... |
const buffer = require('buffer');
const event = require('event');
const v8 = require('v8');
// set predictive heap growth multiplier
const X_PREDICTIVE_HEAP_GROWTH_MULTIPLIER = 2.2;
// determine actual heap size limit
const N_HEAP_SIZE_LIMIT = (() => {
const N_64_MIB = 64 * 1024 * 1024;
let h_stats = v8.getHeapStat... |
module.exports = exports = function(dust){
var _ = require("lodash");
var moment = require("./moment_helpers.js");
var self = this;
dust.helpers["route"] = function(chunk, context, bodies, params){
var path = params.route;
if ( self._ns && self._ns !== "/" ) {
chunk.write(sel... |
import rxjs from 'rxjs'
export class Emitter extends rxjs.Subject {
emit (value) {
return this.next(value)
}
}
export class Dispatcher {
#emitters = new Map()
register (type, emitter) {
this.#emitters.set(type, emitter)
}
addListener (type, listener) {
if (!this.#emitters.has(type)) {
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.