code stringlengths 2 1.05M | repo_name stringlengths 5 114 | path stringlengths 4 991 | language stringclasses 1
value | license stringclasses 15
values | size int32 2 1.05M |
|---|---|---|---|---|---|
// spin.js
!function (a, b) {
"object" == typeof exports ? module.exports = b() : "function" == typeof define ? define("commons/spin", [], b) : a.Spinner = b()
}(this, function () {
"use strict";
function a(a, b) {
var c, d = document.createElement(a || "div");
for (c in b)d[c] = b[c];
... | yliyun-team/yli-cmd | test/sea-modules/commons/spin/spin.js | JavaScript | mit | 5,694 |
var _ = require("lodash");
var Msg = require("../../models/msg");
module.exports = function(irc, network) {
var client = this;
irc.on("part", function(data) {
var chan = _.findWhere(network.channels, {name: data.channels[0]});
if (typeof chan === "undefined") {
return;
}
var from = data.nick;
if (from =... | olivierlambert/shout | src/plugins/irc-events/part.js | JavaScript | mit | 844 |
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//------------------------------------------------------... | arunetm/ChakraCore_0114 | test/Bugs/Win8_486977_BranchStrictEqual.js | JavaScript | mit | 774 |
import { buildHelperStream } from 'ember-htmlbars/system/invoke-helper';
import subscribe from 'ember-htmlbars/utils/subscribe';
export default function invokeHelper(morph, env, scope, visitor, params, hash, helper, templates, context) {
let helperStream = buildHelperStream(helper, params, hash, templates, env, scop... | vikram7/ember.js | packages/ember-htmlbars/lib/hooks/invoke-helper.js | JavaScript | mit | 1,260 |
// This file was automatically generated. Do not modify.
'use strict';
goog.provide('Blockly.Msg.mk');
goog.require('Blockly.Msg');
Blockly.Msg.ADD_COMMENT = "Додај коментар:";
Blockly.Msg.CHANGE_VALUE_TITLE = "Смена на вредност:";
Blockly.Msg.CLEAN_UP = "Clean up Blocks"; // untranslated
Blockly.Msg.COLLAPSE_ALL... | renatosierra/rainman | vendor/google-blockly/msg/js/mk.js | JavaScript | mit | 36,577 |
"use strict";import D from"../../Core/DefaultOptions.js";var defaultOptions=D.defaultOptions;import U from"../../Core/Utilities.js";var merge=U.merge;import SU from"./SonificationUtilities.js";import sonificationOptions from"./Options.js";merge(!0,defaultOptions,sonificationOptions);var Sonification={fadeOutDuration:20... | cdnjs/cdnjs | ajax/libs/highcharts/9.3.3/es-modules/Extensions/Sonification/Sonification.min.js | JavaScript | mit | 363 |
/**
* Navbar 1.x depends on jQuery >=1.7 (it uses jQuery.fn.on & jQuery.fn.off).
* We re-implement these in terms of jQuery.fn.bind, jQuery.fn.delegate,
* jQuery.fn.unbind, and jQuery.fn.undelegate.
* This allows us to use Backbone 1.x with Drupal 7's jQuery 1.4.
*/
if (!Drupal.jQuery.fn.on && !Drupal.jQuery.fn.of... | jeroenopdebeeck/Persopal | sites/all/modules/visitor_actions/modules/visitor_actions_ui/js/jquery/ducktape.events.js | JavaScript | gpl-2.0 | 784 |
/*
Copyright (c) 2004-2006, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/community/licensing.shtml
*/
alert("in package");
dojo.provide("foo.*");
| BradNeuberg/hyperscope | release1_1/src/mockups/lib/dojo/tests/widget/acme/__package__.js | JavaScript | gpl-2.0 | 312 |
/*! jQuery UI - v1.10.4 - 2014-03-02
* http://jqueryui.com
* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */
jQuery(function(t){t.datepicker.regional.lv={closeText:"Aizvērt",prevText:"Iepr.",nextText:"Nāk.",currentText:"Šodien",monthNames:["Janvāris","Februāris","Marts","Aprīlis","Maijs","Jūni... | lmerabli/Immo | wp-content/themes/immotheme/jquery-ui-1.10.4.custom/development-bundle/ui/minified/i18n/jquery.ui.datepicker-lv.min.js | JavaScript | gpl-2.0 | 848 |
/**
* @defgroup js_pages_admin
*/
/**
* @file js/pages/admin/ContextsHandler.js
*
* Copyright (c) 2014-2016 Simon Fraser University Library
* Copyright (c) 2000-2016 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* @class ContextsHandler
* @ingroup js_pages_admi... | DeckOfPandas/uk.ac.nsamr.journal | jsamr/lib/pkp/js/pages/admin/ContextsHandler.js | JavaScript | gpl-3.0 | 1,102 |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.messages = exports.ruleName = undefined;
exports.default = function (expectation) {
var checker = (0, _utils.whitespaceChecker)("space", expectation, messages);
return function (root, result) {
var validOptions = (0, _utils... | AmrataRamchandani/moodle | node_modules/stylelint/dist/rules/media-feature-colon-space-after/index.js | JavaScript | gpl-3.0 | 2,071 |
GO.files.FolderPanel = Ext.extend(GO.DisplayPanel,{
model_name : "GO\\Files\\Model\\Folder",
noFileBrowser:true,
editGoDialogId : 'folder',
editHandler : function(){
},
createTopToolbar : function(){
var tbar = GO.files.FilePanel.superclass.createTopToolbar.call(this);
tbar.splice(1,0,{
iconCls: '... | deependhulla/powermail-debian9 | files/rootdir/usr/local/src/groupoffice-6.2/groupoffice-6.2-setup-www/modules/files/FolderPanel.js | JavaScript | gpl-3.0 | 2,478 |
/* ----------------------------------------------------------------------------
* Easy!Appointments - Open Source Web Scheduler
*
* @package EasyAppointments
* @author A.Tselegidis <alextselegidis@gmail.com>
* @copyright Copyright (c) 2013 - 2015, Alex Tselegidis
* @license http://opensource.org/l... | bosz/easyappointments | src/assets/js/general_functions.js | JavaScript | gpl-3.0 | 12,236 |
/*
YUI 3.8.0 (build 5744)
Copyright 2012 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('dataschema-text', function (Y, NAME) {
/**
* Provides a DataSchema implementation which can be used to work with
* delimited text data.
*
* @module dataschema
* @sub... | relipse/cworklog | public_html/js/yui/3.8.0/build/dataschema-text/dataschema-text-debug.js | JavaScript | gpl-3.0 | 6,957 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Lic... | tmhorne/celtx | js/tests/ecma/Date/15.9.2.2-3.js | JavaScript | mpl-2.0 | 3,172 |
({
appDir: '../',
dir: '../../public-build',
baseUrl: 'js',
// We store all the config in one file and reference it from there to prevent
// duplication.
mainConfigFile: './require-config.js',
modules: [
{
name: 'main-hosting',
},
{
name: 'main-instance',
},
{
... | ciudadanointeligente/popit | public/js/app.build.js | JavaScript | agpl-3.0 | 370 |
'use strict';
const path = require('path');
const internal = require('internal');
const utils = require('@arangodb/foxx/manager-utils');
const router = require('@arangodb/foxx/router')();
const basePath = path.resolve(internal.pathForTesting('common'), 'test-data', 'apps', 'minimal-working-service');
const servicePath... | arangodb/arangodb | tests/js/common/test-data/apps/service-service/index.js | JavaScript | apache-2.0 | 647 |
//// [tests/cases/conformance/jsdoc/declarations/jsDeclarationsImportAliasExposedWithinNamespaceCjs.ts] ////
//// [file.js]
/**
* @namespace myTypes
* @global
* @type {Object<string,*>}
*/
const myTypes = {
// SOME PROPS HERE
};
/** @typedef {string|RegExp|Array<string|RegExp>} myTypes.typeA */
/**
* @ty... | Microsoft/TypeScript | tests/baselines/reference/jsDeclarationsImportAliasExposedWithinNamespaceCjs.js | JavaScript | apache-2.0 | 2,080 |
/**
* Copyright 2017 The AMP HTML 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 require... | erwinmombay/amphtml | extensions/amp-viewer-integration/0.1/test/test-keyboard-handler.js | JavaScript | apache-2.0 | 15,763 |
/**
* EasyDrag 1.5 - Drag & Drop jQuery Plug-in
*
* Thanks for the community that is helping the improvement
* of this little piece of code.
*
* For usage instructions please visit http://fromvega.com/scripts
*/
(function($){
// to track if the mouse button is pressed
var isMouseDown = false;
// ... | tempbottle/exit-web-framework | showcase/vcs_admin/src/main/webapp/resources/scripts/jquery.easydrag.js | JavaScript | apache-2.0 | 5,053 |
/*
* Copyright 2017 ThoughtWorks, 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | varshavaradarajan/gocd | server/webapp/WEB-INF/rails/app/assets/javascripts/console_log_observer.js | JavaScript | apache-2.0 | 3,543 |
/**
* @license
* Copyright 2017 The FOAM 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 ... | jacksonic/vjlofvhjfgm | src/foam/box/SocketConnectBox.js | JavaScript | apache-2.0 | 1,503 |
/* Metamodel module and package objects */
var $loadedModules$={};
ex$.$loadedModules$=$loadedModules$;
function $addmod$(mod, modname) {
$loadedModules$[modname] = mod;
}
ex$.$addmod$=$addmod$;
| lucaswerkmeister/ceylon.language | runtime-js/modules.js | JavaScript | apache-2.0 | 197 |
/**
* Copyright 2016 The AMP HTML 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 require... | jdelhommeau/amphtml | extensions/amp-ad-network-gmossp-impl/0.1/test/test-amp-ad-network-gmossp-impl.js | JavaScript | apache-2.0 | 4,918 |
/*
* Copyright 2013 The Polymer Authors. All rights reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE file.
*/
// SideTable is a weak map where possible. If WeakMap is not available the
// association is stored as an expando property.
(function(scope) {
var... | passiweinberger/passiweinberger.github.io | webgl-globe/polymer-globe/polymer/polymer-all/PointerEvents/src/sidetable.js | JavaScript | apache-2.0 | 1,198 |
define(function(require) {
'use strict';
var RepeatButtonState = require('common/enum/repeatButtonState');
var Tooltipable = require('foreground/view/behavior/tooltipable');
var RepeatButtonTemplate = require('text!template/streamControlBar/repeatButton.html');
var RepeatIconTemplate = require('text!templat... | trsouz/StreamusChromeExtension | src/js/foreground/view/streamControlBar/repeatButtonView.js | JavaScript | apache-2.0 | 1,910 |
/*
* /MathJax-v2/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Main.js
*
* Copyright (c) 2009-2018 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 may obtain a copy of the License at
*
* ... | jgraph/drawio | src/main/webapp/math/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Main.js | JavaScript | apache-2.0 | 1,122 |
var share = require('./_share');
var rs = require('robotskirt');
var parser = new rs.Markdown(new rs.HtmlRenderer());
exports.markdown = function(content) {
return parser.render(content);
};
var hlRenderer = new rs.HtmlRenderer([rs.HTML_USE_XHTML]);
hlRenderer.header = share.header;
hlRenderer.blockcode = share.blo... | thcode/nico | lib/sdk/markdown/robotskirt.js | JavaScript | bsd-3-clause | 1,114 |
/**
* jQuery.Intercept - Event Delegation with jQuery
* Copyright (c) 2007 Ariel Flesler (flesler AT hotmail DOT com)
* Licensed under GPL (http://www.opensource.org/licenses/gpl-license.php) license.
* Date: 09/11/2007
*
* @projectDescription Easily make DOM elements, watch for events from it's descendant... | verma-neeraj-in/spaz | vendors/jquery/jquery.intercept.1.0.2.js | JavaScript | bsd-3-clause | 3,453 |
/*!
* jQuery sidebar plugin
* ---------------------
* A stupid simple sidebar jQuery plugin.
*
* Developed with <3 and JavaScript by jillix developers.
* Copyright (c) 2013-14 jillix
* */
(function($) {
/**
* sidebar
* Initialize sidebar on selected elements.
*
* ```js
* $(".my... | keicheng/cdnjs | ajax/libs/jquery-sidebar/3.0.0/jquery.sidebar.js | JavaScript | mit | 4,540 |
exports.up = function(db, callback) {
db.addColumn('ripple_transactions', 'client_resource_id', {
type: 'string',
defaultValue: false
}, callback);
};
exports.down = function(db, callback) {
db.removeColumn('ripple_transactions', 'client_resource_id', {
type: 'string',
defaultValue: false
}, ca... | zealord/gatewayd | lib/data/migrations/20140516211449-add-client-resource-id-to-ripple-transactions.js | JavaScript | isc | 333 |
var debug = require('ghost-ignition').debug('utils:image-size'),
sizeOf = require('image-size'),
url = require('url'),
Promise = require('bluebird'),
request = require('../utils/request'),
utils = require('../utils'),
errors = require('../errors'),
config = require('../config'),
storage ... | ribuluolsrp/RPblog | core/server/utils/image-size.js | JavaScript | mit | 8,428 |
version https://git-lfs.github.com/spec/v1
oid sha256:64cbd3efd4d40bc86997c1f210cfbd8a1dd7762aec21e7c1a461267a4d098dd8
size 2600
| yogeshsaroya/new-cdnjs | ajax/libs/ace/1.1.9/theme-textmate.js | JavaScript | mit | 129 |
import Ember from 'ember';
const { Component } = Ember;
export default Component.extend({
tagName: '' // if wrapped in <div>, the scrollbar doesn't show
});
| joukevandermaas/ember-paper | tests/dummy/app/components/doc-content.js | JavaScript | mit | 161 |
// This module manages the In Progress dialog that comes up when the user clicks something we haven't implemented yet.
(function () { // to wrap use strict
'use strict';
angular.module('BloomLibraryApp.inProgress', ['ui.router'])
.config(function config($urlRouterProvider, $stateProvider) {
});
angular.module(... | Aelazr/BloomLibrary | src/app/modules/inProgress/inProgress.js | JavaScript | mit | 784 |
global.requestAnimationFrame = callback => setTimeout(callback, 0);
| demiazz/fluxxor | test/setup.js | JavaScript | mit | 68 |
/*!
Bootstrap 4 styling wrapper for RowGroup
©2018 SpryMedia Ltd - datatables.net/license
*/
(function(c){"function"===typeof define&&define.amd?define(["jquery","datatables.net-zf","datatables.net-rowgroup"],function(a){return c(a,window,document)}):"object"===typeof exports?module.exports=function(a,b){a||(a=window... | brucevsked/vskeddemolist | vskeddemos/mavenproject/springboot2list/springboot2d3/src/main/resources/static/static/js/plugins/dataTables/RowGroup-1.1.0/js/rowGroup.foundation.min.js | JavaScript | mit | 544 |
/*
Copyright (C) 2010 Google 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.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, softw... | stolus/stolus.github.io | public/js/prettify/lang-scala.js | JavaScript | mit | 1,485 |
var cooking = require('cooking');
var path = require('path');
var config = require('../../build/config');
cooking.set({
entry: {
index: path.join(__dirname, 'index.js')
},
dist: path.join(__dirname, 'lib'),
template: false,
format: 'umd',
moduleName: 'ElPopover',
extends: ['vue2'],
alias: config.al... | furybean/element | packages/popover/cooking.conf.js | JavaScript | mit | 399 |
/*
Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'contextmenu', 'de', {
options: 'Kontextmenüoptionen'
} );
| SeeyaSia/www | web/libraries/ckeditor/plugins/contextmenu/lang/de.js | JavaScript | gpl-2.0 | 230 |
/*! ResponsiveSlides.js v1.32
* http://responsiveslides.com
* http://viljamis.com
*
* Copyright (c) 2011-2012 @viljamis
* Available under the MIT license
*/
/*jslint browser: true, sloppy: true, vars: true, plusplus: true, indent: 2 */
(function ($, window, i) {
$.fn.responsiveSlides = function (options) {
... | SergL/elritmo | wp-content/themes/kora/js/sliders/responsiveslides.js | JavaScript | gpl-2.0 | 9,263 |
/*
moo.fx pack, effects extensions for moo.fx.
by Valerio Proietti (http://mad4milk.net) MIT-style LICENSE
for more info visit (http://moofx.mad4milk.net).
Friday, April 14, 2006
v 1.2.4
*/
//smooth scroll
fx.Scroll = Class.create();
fx.Scroll.prototype = Object.extend(new fx.Base(), {
initialize: function(options) {... | mischler/reason_package | reason_4.0/www/js/SmoothSlideshow/scripts/moo.fx.pack.js | JavaScript | gpl-2.0 | 6,756 |
var util = require('util');
var http = require('http');
var events = require('events');
var Q = require('q');
var Nightwatch = require('../index.js');
function ClientManager() {
events.EventEmitter.call(this);
this.setMaxListeners(0);
}
util.inherits(ClientManager, events.EventEmitter);
ClientManager.prototype.i... | OhmGeek/Wastetopia | tests/IntegrationTests/node_modules/nightwatch/lib/runner/clientmanager.js | JavaScript | gpl-3.0 | 5,321 |
/* 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/. */
var validators = require('./validators')
var HEX_STRING = validators.HEX_STRING
module.exports = function (log, c... | jamonation/fxa-auth-server | routes/util.js | JavaScript | mpl-2.0 | 1,768 |
// [Name] SVGFEOffsetElement-dom-dx-attr.js
// [Expected rendering result] A green circle in the center of the image - and a series of PASS messages
description("Tests dynamic updates of the 'dx' attribute of the SVGFEOffsetElement object")
createSVGTestCase();
var offsetElement = createSVGElement("feOffset");
offset... | youfoh/webkit-efl | LayoutTests/svg/dynamic-updates/script-tests/SVGFEOffsetElement-dom-dx-attr.js | JavaScript | lgpl-2.1 | 1,522 |
v.setCursorPosition(1,3);
v.enter();
v.type("ok");
| hlamer/kate | tests/data/indent/cppstyle/doxygen3/input.js | JavaScript | lgpl-2.1 | 51 |
/**
* Copyright 2013-2021 the original author or authors from the JHipster project.
*
* This file is part of the JHipster project, see https://www.jhipster.tech/
* for more information.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the L... | ctamisier/generator-jhipster | test/jdl/models/jdl-relationship.spec.js | JavaScript | apache-2.0 | 12,561 |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = timesSeries;
var _timesLimit = require('./timesLimit');
var _timesLimit2 = _interopRequireDefault(_timesLimit);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
/**
* The... | ChromeDevTools/devtools-node-modules | third_party/node_modules/karma-typescript/node_modules/async/timesSeries.js | JavaScript | apache-2.0 | 1,057 |
/*
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 to in writing, softw... | mukulmishra18/pdf.js | extensions/chromium/pageAction/background.js | JavaScript | apache-2.0 | 1,515 |
// This file was procedurally generated from the following sources:
// - src/dstr-binding-for-await/obj-ptrn-id-init-fn-name-fn.case
// - src/dstr-binding-for-await/default/for-await-of-async-gen-var.template
/*---
description: SingleNameBinding assigns name to "anonymous" functions (for-await-of statement)
esid: sec-f... | sebastienros/jint | Jint.Tests.Test262/test/language/statements/for-await-of/async-gen-dstr-var-obj-ptrn-id-init-fn-name-fn.js | JavaScript | bsd-2-clause | 2,080 |
define(
({
// Note: this gives a JSHint error about a character being silently deleted, but it will have to be fixed
// later
/* jshint -W100 */
loadingState: "טעינה...",
errorState: "אירעה שגיאה"
})
);
| harbalk/delite | nls/he/loading.js | JavaScript | bsd-3-clause | 233 |
/**
* Pimcore
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://www.pimcore.org/license
*
* @copyright Copyright (c) 2009-2014 pimcore GmbH (http://www.pimcore... | yasarkunduz/pimcore | pimcore/static/js/pimcore/object/tags/abstract.js | JavaScript | bsd-3-clause | 6,502 |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S7.1_A2.2_T2;
* @section: 7.1;
* @assertion: Since the format control character (Cf) are removed before processing regular expression literals,
* one must use a Unicode e... | rapha/sputnik | tests/Unicode/Unicode_218/S7.1_A2.2_T2.js | JavaScript | bsd-3-clause | 1,718 |
var sharedConfig = require('./karma-shared.conf');
module.exports = function(config) {
sharedConfig(config);
config.set({
frameworks: [],
files: [
'build/angular-scenario.js',
'node_modules/karma-ng-scenario/lib/adapter.js',
'build/docs/docs-scenario.js'
],
proxies: {
// a... | 11111000000/angular.js | karma-e2e.conf.js | JavaScript | mit | 610 |
export {default} from 'ember-frost-core/components/frost-textarea'
| vesper2000/ember-frost-core | app/components/frost-textarea.js | JavaScript | mit | 67 |
// @flow
import fs from "fs";
import { makeStrongCache } from "../caching";
export function makeStaticFileCache<T>(
fn: (string, string) => T,
): string => T | null {
return makeStrongCache((filepath, cache) => {
if (cache.invalidate(() => fileMtime(filepath)) === null) {
cache.forever();
return n... | hulkish/babel | packages/babel-core/src/config/files/utils.js | JavaScript | mit | 604 |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastefromword', 'km', {
confirmCleanup: 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', /... | bkahlert/com.bkahlert.nebula | src/com/bkahlert/nebula/widgets/composer/html/plugins/pastefromword/lang/km.js | JavaScript | mit | 531 |
'use strict';
const Schema = require('warehouse').Schema;
module.exports = ctx => {
const Data = new Schema({
_id: {type: String, required: true},
data: Object
});
return Data;
};
| njZhuMin/Blog | node_modules/hexo/lib/models/data.js | JavaScript | gpl-3.0 | 197 |
odoo.define("web.web_client", function () {
return {};
});
odoo.define("web.pseudo_web_client", function (require) {
const FakeWebClient = require("web.web_client");
function makeLegacyWebClientService(legacyEnv) {
const legacyPseudoWebClient = {
dependencies: ["title", "router"],
... | jeremiahyan/odoo | addons/web/static/src/legacy/web_client.js | JavaScript | gpl-3.0 | 1,298 |
var kGenericFontFamilyKeywords = ["serif",
"sans-serif",
"cursive",
"fantasy",
"monospace",
"system",
"emoji",
... | Acidburn0zzz/servo | tests/wpt/web-platform-tests/css/css-fonts/support/font-family-keywords.js | JavaScript | mpl-2.0 | 746 |
CKEDITOR.plugins.setLang("image2","km",{alt:"អត្ថបទជំនួស",btnUpload:"បញ្ជូនទៅកាន់ម៉ាស៊ីនផ្តល់សេវា",captioned:"Captioned image",infoTab:"ពត៌មានអំពីរូបភាព",lockRatio:"អត្រាឡុក",menu:"ការកំណត់រូបភាព",pathName:"image",pathNameCaption:"caption",resetSize:"កំណត់ទំហំឡើងវិញ",resizer:"Click and drag to resize",title:"ការកំណត់រ... | noritnk/otrs | var/httpd/htdocs/js/thirdparty/ckeditor-4.3/plugins/image2/lang/km.js | JavaScript | agpl-3.0 | 625 |
/* */
(function(Buffer) {
var assert = require('assert');
var asn1 = require('../lib/asn1');
var bn = asn1.bignum;
var fixtures = require('./fixtures');
var jsonEqual = fixtures.jsonEqual;
var Buffer = require('buffer').Buffer;
describe('asn1.js error', function() {
describe('encoder', function() {
... | EpitaJS/js-class-2016-episode-2 | jspm_packages/npm/asn1.js@4.5.2/test/error-test.js | JavaScript | unlicense | 5,810 |
describe("chorus.pages.WorkspaceSearchIndexPage", function() {
beforeEach(function() {
this.workspaceId = '101';
this.query = 'foo';
this.page = new chorus.pages.WorkspaceSearchIndexPage(this.workspaceId, "this_workspace", "all", this.query);
this.workspace = this.page.search.workspa... | nvoron23/chorus | spec/javascripts/pages/workspaces/workspace_search_index_page_spec.js | JavaScript | apache-2.0 | 5,691 |
function WPATH(s) {
var index = s.lastIndexOf("/");
var path = -1 === index ? "com.appcelerator.loading/" + s : s.substring(0, index) + "/com.appcelerator.loading/" + s.substring(index + 1);
return path;
}
function Controller() {
new (require("alloy/widget"))("com.appcelerator.loading");
this.__wid... | geomilano/OnlineTrader_v1 | build/iphone/build/Debug-iphonesimulator/Online Trader.app/alloy/widgets/com.appcelerator.loading/controllers/widget.js | JavaScript | apache-2.0 | 1,949 |
L.EditToolbar.Edit = L.Handler.extend({
statics: {
TYPE: 'edit'
},
includes: L.Mixin.Events,
initialize: function (map, options) {
L.Handler.prototype.initialize.call(this, map);
// Set options to the default unless already set
this._selectedPathOptions = options.selectedPathOptions;
// Store the sele... | matthieusb/Cloud-Tournee | war/leaflet/leaflet.draw/src/edit/handler/EditToolbar.Edit.js | JavaScript | apache-2.0 | 7,138 |
/**
* 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.
*
* @providesModu... | wmydz1/react | src/renderers/dom/fiber/wrappers/ReactDOMFiberOption.js | JavaScript | bsd-3-clause | 1,886 |
version https://git-lfs.github.com/spec/v1
oid sha256:0c713f11d5af5948a6813a1f2c7d2516eb66695779cddf2ff8c2bb02e462b2c1
size 2431
| yogeshsaroya/new-cdnjs | ajax/libs/dojo/1.9.7/cldr/nls/en/hebrew.js.uncompressed.js | JavaScript | mit | 129 |
version https://git-lfs.github.com/spec/v1
oid sha256:1ca0f88b73206d041268331ed04e003f4c4c3ab9325a36bb3f18dfc1cc8dccf3
size 1605
| yogeshsaroya/new-cdnjs | ajax/libs/dojo/1.9.7/cldr/nls/ca/chinese.js | JavaScript | mit | 129 |
module.exports={"zones":{"Pacific/Kiritimati":["z",{"wallclock":788918400000,"format":"LINT","abbrev":"LINT","offset":50400000,"posix":788954400000,"save":0},{"wallclock":307584000000,"format":"LINT","abbrev":"LINT","offset":-36000000,"posix":307622400000,"save":0},{"wallclock":-2177452800000,"format":"LINT","abbrev":"... | framewr/distance.io | node_modules/tzwhere/node_modules/timezone/Pacific/Kiritimati.js | JavaScript | mit | 521 |
/*Owner & Copyrights: Vance King Saxbe. A.*//* Copyright (c) <2014> Author Vance King Saxbe. A, and contributors Power Dominion Enterprise, Precieux Consulting and other contributors. Modelled, Architected and designed by Vance King Saxbe. A. with the geeks from GoldSax Consulting and GoldSax Technologies email @vsaxbe... | cloudbearings/GoldenPushIO | plugins/org.apache.cordova.vibration/test/autotest/html/HtmlReporter.js | JavaScript | mit | 3,398 |
/**
@module ember
*/
import { run } from 'ember-metal';
/**
Loads a route, sets up any controllers, and renders any templates associated
with the route as though a real user had triggered the route change while
using your app.
Example:
```javascript
visit('posts/index').then(function() {
// assert so... | jasonmit/ember.js | packages/ember-testing/lib/helpers/visit.js | JavaScript | mit | 952 |
//@flow
var x = 42;
x();
| facebook/flow | tests/flowconfig_ignore/subdirectory/my_untyped/inner_untyped.js | JavaScript | mit | 26 |
// Change this constant to move the tests to your own server.
var SAME_ORIGIN_BASE_URL = "http://www.browserscope.org/security/static/";
var CROSS_ORIGIN_BASE_URL = "http://mirrorrr.browsersrc.com/www.browserscope.org/security/static/";
var NON_APP_ENGINE_BASE_URL = "http://www.browserscope2.org/security/static/";
| t-artistik/browserscope | categories/security/static/config.js | JavaScript | apache-2.0 | 316 |
/**
* @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, StringMapWrapper } from '../facade/collection';
import { hasConstructor, isBlank, isPresent, lo... | psumkin/northshore | ui/node_modules/@angular/forms/src/directives/shared.js | JavaScript | apache-2.0 | 6,246 |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _extends2 = require('babel-runtime/helpers/extends');
var _extends3 = _interopRequireDefault(_extends2);
var _objectWithoutProperties2 = require('babel-runtime/helpers/objectWithoutProperties');
var _objectWithoutProperties3 = _inte... | yaolei/Samoyed | node_modules/material-ui/Card/CardActions.js | JavaScript | apache-2.0 | 3,884 |
/*
* Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you 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.o... | Supun94/carbon-device-mgt-plugins | components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.ui/src/main/resources/jaggeryapps/android-web-agent/app/modules/oauth/token-handler-utils.js | JavaScript | apache-2.0 | 15,738 |
var options = { tail: '\n', raw: true };
var console = require('../../vows/console');
var puts = console.puts(options);
//
// Console JSON reporter
//
this.name = 'json';
this.setStream = function (s) {
options.stream = s;
};
function removeCircularSuite(obj, suite) {
var result = {};
if (typeof obj !== ... | sathiyaanbu/howtobeafinn | www/node_modules/vows/lib/vows/reporters/json.js | JavaScript | apache-2.0 | 723 |
export default (param => {
var _class, _temp;
return _temp = _class = function () {
function App() {
babelHelpers.classCallCheck(this, App);
}
babelHelpers.createClass(App, [{
key: 'getParam',
value: function getParam() {
return param;
}
}]);
return App;
}(), ... | zjmiller/babel | packages/babel-plugin-transform-class-properties/test/fixtures/spec/non-block-arrow-func/expected.js | JavaScript | mit | 482 |
'use strict';
var React = require('react/addons');
var PureRenderMixin = React.addons.PureRenderMixin;
var SvgIcon = require('../../svg-icon');
var CommunicationLocationOff = React.createClass({
displayName: 'CommunicationLocationOff',
mixins: [PureRenderMixin],
render: function render() {
return React.cr... | sparkymat/youhaveto-react | node_modules/material-ui/lib/svg-icons/communication/location-off.js | JavaScript | mit | 781 |
(function() {
var bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototy... | CalCoRE/DataSketch | DataSketchServerUpload/DataSketchWeb/DataSketch.Web/obj/Release/Package/PackageTmp/DataSketchApp3/cslib/modules/datasketch/tools/trash/tool.js | JavaScript | gpl-2.0 | 1,481 |
/*
* Leaflet Search Control 1.3.5
* http://labs.easyblog.it/maps/leaflet-search
*
* https://github.com/stefanocudini/leaflet-search
* https://bitbucket.org/zakis_/leaflet-search
*
* Copyright 2013, Stefano Cudini - stefano.cudini@gmail.com
* Licensed under the MIT license.
*/
L.Control.SearchMarker = L.Marker... | peternixon/opennms-mirror | features/vaadin-node-maps/src/main/java/org/opennms/features/vaadin/nodemaps/internal/gwt/public/leaflet-search/leaflet-search.js | JavaScript | gpl-2.0 | 20,240 |
/* Copyright (c) Business Objects 2006. All rights reserved. */
var L_bobj_crv_MainReport = "\uFEFFHlavn\u00E1 zostava";
// Viewer Toolbar tooltips
var L_bobj_crv_FirstPage = "Prejs\u0165 na prv\u00FA stranu";
var L_bobj_crv_PrevPage = "Prejs\u0165 na predch\u00E1dzaj\u00FAcu stranu";
var L_bobj_crv_NextPage = "Prejs\... | johndavedecano/tanghalangpasigenyo | aspnet_client/system_web/4_0_30319/crystalreportviewers13/js/crviewer/strings_sk.js | JavaScript | gpl-3.0 | 8,943 |
/*!
FixedHeader 3.1.6-dev
©2009-2018 SpryMedia Ltd - datatables.net/license
*/
(function(d){"function"===typeof define&&define.amd?define(["jquery","datatables.net"],function(g){return d(g,window,document)}):"object"===typeof exports?module.exports=function(g,i){g||(g=window);if(!i||!i.fn.dataTable)i=require("datatab... | rhomicom-systems-tech-gh/Rhomicom-ERP-Web | self/cs/plugins/datatables-fixedheader/js/dataTables.fixedHeader.min.js | JavaScript | gpl-3.0 | 7,195 |
var React = require('react');
var KillsRow = React.createClass({
render: function() {
var rest, cols = [], columns = this.props.columns;
if (columns) {
for (var i = 0; i < columns.length; i++) {
var value, props = this.props, info = props.info, player = info.player;
... | Fidaman/Camelot-Unchained | web/controlgame-scoreboard/src/views/killsrow.js | JavaScript | mpl-2.0 | 1,413 |
/**
* Copyright 2019 The AMP HTML 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 require... | prateekbh/amphtml | test/unit/test-hidden-observer.js | JavaScript | apache-2.0 | 3,083 |
//>>built
define("dgrid/extensions/nls/pl/pagination",{status:"${start} - ${end} z ${total} wynik\u00f3w",gotoFirst:"Przejd\u017a do pierwszej strony",gotoNext:"Przejd\u017a do nast\u0119pnej strony",gotoPrev:"Przejd\u017a do poprzedniej strony",gotoLast:"Przejd\u017a do ostatniej strony",gotoPage:"Przejd\u017a do stro... | aconyteds/Esri-Ozone-Map-Widget | vendor/js/esri/arcgis_js_api/library/3.12/3.12compact/dgrid/extensions/nls/pl/pagination.js | JavaScript | apache-2.0 | 353 |
/* jQuery Sorter (Enables Sorting of Portfolio, Service, Slider, Team and Quote items)
-------------------------------------------------------------------------------------------*/
jQuery(document).ready(function ($) {
var postList = $('#post-list');
postList.sortable({
update: function (event, ui) {
... | mandino/birthday2014.bloggingshakespeare.com | wp-content/themes/shakespearebirthday/assets/js/jquery.posttype.sort.js | JavaScript | mit | 1,117 |
var R = require('..');
var eq = require('./shared/eq');
describe('ap', function() {
function mult2(x) { return x * 2; }
function plus3(x) { return x + 3; }
it('interprets [a] as an applicative', function() {
eq(R.ap([mult2, plus3], [1, 2, 3]), [2, 4, 6, 4, 5, 6]);
});
it('interprets ((->) r) as an app... | angeloocana/ramda | test/ap.js | JavaScript | mit | 1,034 |
/*! Bootstrap Growl - v1.0.4 - 2014-01-29
* https://github.com/mouse0270/bootstrap-growl
* Copyright (c) 2014 Remable Designs; Licensed MIT */
;(function($, window, document, undefined) {
"use strict";
var bootstrap_growl_remove = [];
/* http://ifightcrime.github.io/bootstrap-growl/ */
$.growl = function(conten... | myshares/myshares | html/ui_zh/js/3rdparty/growl.js | JavaScript | mit | 4,987 |
describe("toThrow", function() {
it("throws an error when the actual is not a function", function() {
var matcher = jasmineUnderTest.matchers.toThrow();
expect(function() {
matcher.compare({});
matcherComparator({});
}).toThrowError(/Actual is not a Function/);
});
it("fails if actual d... | kamillamagna/NMF_Tool | vendor/bundle/gems/jasmine-core-2.7.0/lib/jasmine-core/spec/core/matchers/toThrowSpec.js | JavaScript | mit | 2,878 |
(function (factory) {
if (typeof module === 'object' && typeof module.exports === 'object') {
var v = factory(require, exports); if (v !== undefined) module.exports = v;
}
else if (typeof define === 'function' && define.amd) {
define(["require", "exports", '@angular/core', '../util/util'], f... | Spect-AR/Spect-AR | node_modules/node_modules/ionic-angular/umd/navigation/url-serializer.js | JavaScript | mit | 11,180 |
/**
* File: ReportAdmin.js
*/
(function($) {
$.entwine('ss', function($){
$('.ReportAdmin .cms-edit-form').entwine({
onsubmit: function(e) {
var url = $.path.parseUrl(document.location.href).hrefNoSearch,
params = this.find(':input[name^=filters]').serializeArray();
params = $.grep(params, functi... | Widdershin/silverstripe-todo | src/cms/javascript/ReportAdmin.js | JavaScript | mit | 531 |
var common = require('../common');
var airbrake = require(common.dir.root).createClient();
var assert = require('assert');
var sinon = require('sinon');
(function testNotifyForUnhandledExceptions() {
sinon.stub(process, 'on');
sinon.stub(airbrake, 'notify');
sinon.stub(airbrake, 'log');
airbrake.handleExcepti... | jirwin/node-airbrake | test/fast/test-handle-exceptions.js | JavaScript | mit | 1,525 |
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'contextmenu', 'bs', {
options: 'Context Menu Options' // MISSING
} );
| gmuro/dolibarr | htdocs/includes/ckeditor/ckeditor/_source/plugins/contextmenu/lang/bs.js | JavaScript | gpl-3.0 | 241 |
{
"a":["niedz.","pon.","wt.","śr.","czw.","pt.","sob."]
,"A":["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"]
,"b":["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru"]
,"B":["stycznia","lutego","marca","kwietnia","maja","czerwca","lipca","sierpnia","września","października... | co-ment/comt | src/cm/media/js/lib/yui/yui3-3.15.0/src/date/lang/datatype-date-format_pl.js | JavaScript | agpl-3.0 | 452 |
var WireMock = {}
WireMock.addMapping = function(mappingSpec, successHandler, errorHandler) {
$.ajax({
url: "/__admin/mappings/new",
type: "POST",
success: successHandler,
error: errorHandler,
dataType: "json",
data: JSON.stringify(mappingSpec)
});
} | kamilszymanski/wiremock | src/main/webapp/__admin/js/wiremock-admin.js | JavaScript | apache-2.0 | 266 |
'use strict';
/**
* @ngdoc function
* @name gapFront.controller:LeaderBoardCtrl
* @description A simple controller to update leader board.
* # LeaderBoardCtrl
* Controller of the gapFront
*/
angular.module('gapFront')
.controller('LeaderBoardCtrl', function ($scope, APIService, IntegrationService) {
Integ... | reedflinch/gridiron-hackathon | www/app/features/leaderBoard/leaderBoard.js | JavaScript | apache-2.0 | 1,261 |
/**
* Visual Blocks Language
*
* Copyright 2012 Google Inc.
* http://blockly.googlecode.com/
*
* 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/LIC... | osdomotics/maier | www/language/common/logic.js | JavaScript | apache-2.0 | 4,221 |
// Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
var startTest = function() {
chrome.test.sendMessage('guest-loaded');
};
chrome.test.getConfig(function(config) {
var guestURL = 'http://localhos... | plxaye/chromium | src/chrome/test/data/extensions/platform_apps/web_view/noprerenderer/main.js | JavaScript | apache-2.0 | 640 |
/**
* Creates a new Lexer for a specific language.
*/
module.exports.Lexer = function(lang) {
return require('./gherkin/lexer/' + lang);
};
/**
* Creates a connect middleware for loading lexer sources (typically for browsers).
*/
module.exports.connect = function(path) {
var gherkinFiles = require('connect').s... | sadu99/ClosetRefresh | node_modules/grunt-cucumber/node_modules/cucumber/node_modules/gherkin/lib/gherkin.js | JavaScript | mit | 533 |