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 |
|---|---|---|---|---|---|
/*
* Planck.js v0.2.0
*
* Copyright (c) 2016-2018 Ali Shakiba http://shakiba.me/planck.js
* Copyright (c) 2006-2013 Erin Catto http://www.gphysics.com
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from ... | extend1994/cdnjs | ajax/libs/planck-js/0.2.0/planck-with-testbed.js | JavaScript | mit | 463,548 |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'image', 'eo', {
alertUrl: 'Bonvolu tajpi la retadreson de la bildo',
alt: 'Anstataŭiga Teksto',
border: 'Bordero',
btnUpload: 'Sendu al Servilo... | glennyonemitsu/MarkupHiveServer | src/application/static/manager/js/ckeditor/plugins/image/lang/eo.js | JavaScript | mit | 1,029 |
define({
"_widgetLabel": "資訊摘要",
"title": "InfoSummary Widget",
"helpText": "InfoSummary 說明文字",
"expand": "切換圖徵清單",
"logoPrefix": "...的標誌 "
}); | tmcgee/cmv-wab-widgets | wab/2.15/widgets/InfoSummary/nls/zh-tw/strings.js | JavaScript | mit | 187 |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
var _enzymeShallowEqual = _interopRequireDefault(require("enzyme-shallow-equal"));
var _extends2 = _interopRequireDefault(... | cdnjs/cdnjs | ajax/libs/react-dates/21.8.0/components/DateInput.js | JavaScript | mit | 15,594 |
/*
Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'bidi', 'en-gb', {
ltr: 'Text direction from left to right',
rtl: 'Text direction from right to left'
} );
| SeeyaSia/www | web/libraries/ckeditor/plugins/bidi/lang/en-gb.js | JavaScript | gpl-2.0 | 278 |
var util = require("util");
var choreography = require("temboo/core/choreography");
/*
CreateAccount
Creates a Twilio subaccount.
*/
var CreateAccount = function(session) {
/*
Create a new instance of the CreateAccount Choreo. A TembooSession object, containing a valid
set of Temboo cre... | shoultzy/tempProject | node_modules/temboo/Library/Twilio/Accounts.js | JavaScript | gpl-2.0 | 14,517 |
var cpp_static = require("cpp_static");
cpp_static.StaticFunctionTest.static_func();
cpp_static.StaticFunctionTest.static_func_2(1);
cpp_static.StaticFunctionTest.static_func_3(1,2);
cpp_static.StaticMemberTest.static_int = 10;
if (cpp_static.StaticMemberTest.static_int != 10)
throw "error";
| DGA-MI-SSI/YaCo | deps/swig-3.0.7/Examples/test-suite/javascript/cpp_static_runme.js | JavaScript | gpl-3.0 | 295 |
var BUGNUMBER = 1184922;
var summary = "iterator.next() should not be called when after iterator completes";
print(BUGNUMBER + ": " + summary);
var log;
function reset() {
log = "";
}
var obj = new Proxy({}, {
set(that, name, value) {
var v;
if (value instanceof Function || value instanceof Re... | Yukarumya/Yukarum-Redfoxes | js/src/tests/ecma_6/Expressions/destructuring-array-done.js | JavaScript | mpl-2.0 | 6,358 |
/**
* Copyright (C) 2005-2016 Alfresco Software Limited.
*
* This file is part of Alfresco
*
* Alfresco is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | davidcognite/Aikau | aikau/src/main/resources/alfresco/forms/controls/MultipleEntryElementWrapper.js | JavaScript | lgpl-3.0 | 12,689 |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* When the Function constructor is called with arguments p, body the following steps are taken:
* i) Let Result(i) be the first argument
* ii) Let P be ToString(Result(i))
* iii) ... | popravich/typescript | tests/Fidelity/test262/suite/ch15/15.3/15.3.2/S15.3.2.1_A3_T14.js | JavaScript | apache-2.0 | 1,413 |
(function($)
{
var admin = function()
{
return this.init();
};
admin.prototype = {
//properties
/*
* Main admin container
*
* @type jQuery object
*/
$container: null,
/*
* The container for the datatable
*
* @type jQuery object
*/
$tableContainer: null,
/*
* The data ta... | liverbool/n.com | vendor/frozennode/administrator/public/js/admin.js | JavaScript | apache-2.0 | 36,437 |
$(document).ready(function() {
/* initialize the external events
-----------------------------------------------------------------*/
$('#external-events div.external-event').each(function() {
// create an Event Object (http://arshaw.com/fullcalendar/docs/event_data/Event_Object/)
// it doesn'... | baigao2015/freshmommy-console | src/main/webapp/assets/js/full-calendar.js | JavaScript | apache-2.0 | 3,830 |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* The Date.prototype.getSeconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes
*
* @path ch15/15.9/15.9.5/15.9.5.22/S15.9.5.22_A3_T2.js
* @description Checkin... | hippich/typescript | tests/Fidelity/test262/suite/ch15/15.9/15.9.5/15.9.5.22/S15.9.5.22_A3_T2.js | JavaScript | apache-2.0 | 657 |
(function() {
var inputEx = YAHOO.inputEx, Event = YAHOO.util.Event;
/**
* @class Create a textarea input
* @extends inputEx.Field
* @constructor
* @param {Object} options Added options:
* <ul>
* <li>rows: rows attribute</li>
* <li>cols: cols attribute</li>
* </ul>
*/
inputEx.Textarea = function(opt... | rogerthat-platform/rogerthat-backend | src/static/mfd/lib/inputex/js/fields/Textarea.js | JavaScript | apache-2.0 | 3,078 |
/*
* Copyright (C) 2013 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | axinging/chromium-crosswalk | third_party/WebKit/Source/devtools/front_end/timeline/PaintProfilerView.js | JavaScript | bsd-3-clause | 19,285 |
/*
* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/licenses/publicdomain/
*/
var BUGNUMBER = 518103;
var summary = 'partial flat closures must not reach across funargs';
var actual = "no crash";
var expect = actual;
function Timer(){}
Timer.prototype = { initWithCallback: function (... | darkrsw/safe | tests/parser_tests/js/src/tests/ecma_3/FunExpr/regress-545980.js | JavaScript | bsd-3-clause | 970 |
'use strict';
var repeat = require('repeat-string');
module.exports = strong;
/* Stringify a `strong`.
*
* The marker used is configurable by `strong`, which
* defaults to an asterisk (`'*'`) but also accepts an
* underscore (`'_'`):
*
* __foo__
*/
function strong(node) {
var marker = repeat(this.option... | tanzania82/remarks | packages/remark-stringify/lib/visitors/strong.js | JavaScript | mit | 388 |
/*jshint globalstrict: true*/
'use strict';
function addToScope(locals, identifier, instance) {
if (locals && _.isObject(locals.$scope)) {
locals.$scope[identifier] = instance;
} else {
throw 'Cannot export controller as ' + identifier +
'! No $scope object provided via locals';
}
}
function $Contro... | resalisbury/build-your-own-angularjs | src/controller.js | JavaScript | mit | 1,684 |
var x = null;
var o = { p: 0, ...x };
(o.p: empty); // error: number ~> empty
| JonathanUsername/flow | tests/spread/test10.js | JavaScript | mit | 78 |
module.exports = {
'2.2': require('./2_2'),
'_default': require('./2_1'),
'2.1': require('./2_1'),
'2.0': require('./2_0'),
'1.7': require('./1_7'),
'1.6': require('./1_6'),
'2.x': require('./2_x'),
'master': require('./master')
};
| hasanmansur/Tasky | node_modules/mongoosastic/node_modules/elasticsearch/src/lib/apis/browser_index.js | JavaScript | mit | 248 |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S11.8.3_A2.1_T3;
* @section: 11.8.3, 11.8.5;
* @assertion: Operator x <= y uses GetValue;
* @description: If GetBase(y) is null, throw ReferenceError;
*/
//CHECK#1
try ... | seraum/nectarjs | tests/ES3/Conformance/11_Expressions/11.8_Relational_Operators/11.8.3_The_Less_than_or_equal_Operator/S11.8.3_A2.1_T3.js | JavaScript | mit | 538 |
// @flow
import type {Foo} from './foo';
import type {Bar} from './bar';
function f(x: Foo): Bar { return x; }
| claudiopro/flow | tests/find-refs-multi-hop/relatesFooAndBar.js | JavaScript | mit | 113 |
/**
* Copyright (c) 2016-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... | gunaangs/Feedonymous | node_modules/metro-bundler/src/ModuleGraph/test-helpers.js | JavaScript | mit | 696 |
define(function(require, exports, module) {
exports.dirname = function(path) {
if (path[path.length - 1] === '/') {
path = path.substring(0, path.length - 1);
}
var parts = path.split("/");
return parts.slice(0, parts.length - 1).join("/");
};
exports.filename = ... | matthiaskr/zed | app/js/lib/path.js | JavaScript | mit | 775 |
// Connect to MongoDB using Mongoose
var mongoose = require('mongoose');
var db;
if (process.env.VCAP_SERVICES) {
var env = JSON.parse(process.env.VCAP_SERVICES);
db = mongoose.createConnection(env['mongodb-2.2'][0].credentials.url);
} else {
db = mongoose.createConnection('localhost', 'pollsapp');
}
// Get P... | ldong/mean_polls | routes/index.js | JavaScript | mit | 3,343 |
require('../../tool-env/install-babel.js');
var _ = require('underscore');
var assert = require('assert');
var bundler = require('../../isobuild/bundler.js');
var release = require('../../packaging/release.js');
var files = require('../../fs/files.js');
var catalog = require('../../packaging/catalog/catalog.js');
var ... | lorensr/meteor | tools/tests/old/test-bundler-options.js | JavaScript | mit | 5,591 |
/*
YUI 3.12.0 (build 8655935)
Copyright 2013 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add("datasource-function",function(e,t){var n=e.Lang,r=function(){r.superclass.constructor.apply(this,arguments)};e.mix(r,{NAME:"dataSourceFunction",ATTRS:{source:{validat... | m-lassoued/testezp5Repo | web/extension/ezjscore/design/standard/lib/yui/3.12.0/build/datasource-function/datasource-function-min.js | JavaScript | gpl-2.0 | 644 |
/**
* @license
* Visual Blocks Editor
*
* Copyright 2012 Google Inc.
* https://developers.google.com/blockly/
*
* 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.apach... | erasme/griotte | w/static/lib/blockly/core/input.js | JavaScript | gpl-2.0 | 6,448 |
tinyMCE.addI18n('fa.advanced_dlg',{
about_title:"\u062F\u0631\u0628\u0627\u0631\u0647 TinyMCE",
about_general:"\u062F\u0631\u0628\u0627\u0631\u0647",
about_help:"\u0631\u0627\u0647\u0646\u0645\u0627\u06CC\u06CC",
about_license:"\u0644\u06CC\u0633\u0627\u0646\u0633",
about_plugins:"\u0627\u0644\u062D\u0627\u0642\u0627\u... | cheems77/nb | wp-content/plugins/simple-forum/editors/tinymce/themes/advanced/langs/fa_dlg.js | JavaScript | gpl-2.0 | 4,507 |
/**
* Copyright © 2015 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
define([
'Magento_Ui/js/grid/controls/bookmarks/storage'
], function (storage) {
'use strict';
describe('ui/js/grid/controls/bookmarks/storage', function () {
var storageObj;
beforeEach(funct... | FPLD/project0 | vendor/magento/magento2-base/dev/tests/js/jasmine/tests/app/code/Magento/Ui/base/js/grid/controls/bookmarks/storage.test.js | JavaScript | gpl-2.0 | 944 |
var currentMap;
var gmpTempMap;
var gmpMapsArr = [];
var gmpCurrentIcon = 1;
var markerArr = {};
var infoWindows = [];
var gmpNewMapOpts = {};
var disableFormCheck = false;
var geocoder;
var markersToSend = {};
var gmpDropDownObj = {};
var gmpMapEditing = false;
var gmpMapForEdit;
var gmpCurrentMarkerForm = jQuery("#gm... | nikakoss/arsenal-media.net | wp-content/plugins/google-maps-ready/modules/gmap/js/admin.maps.options.js | JavaScript | gpl-2.0 | 34,148 |
/* global plugininstallL10n, tb_click */
/* Plugin Browser Thickbox related JS*/
var tb_position;
jQuery( document ).ready( function( $ ) {
tb_position = function() {
var tbWindow = $( '#TB_window' ),
width = $( window ).width(),
H = $( window ).height() - ( ( 792 < width ) ? 60 : 20 ),
W = ( 792 ... | dipeshpithava/Moneymoves | wp-admin/js/plugin-install.js | JavaScript | gpl-2.0 | 2,340 |
CKEDITOR.dialog.add( 'MWLink', function( editor ) {
{
// need this to use the getSelectedLink function from the plugin
var plugin = CKEDITOR.plugins.link;
var searchTimer;
var OnUrlChange = function() {
var dialog = this.getDialog();
var StartSearch = function() {
var e = d... | adeel/ahmadiwiki | extensions/WYSIWYG/ckeditor/plugins/mediawiki/dialogs/link.js | JavaScript | gpl-2.0 | 9,770 |
import React, { Component } from "react";
import PropTypes from "prop-types";
import classnames from "classnames";
import { Translation } from "/imports/plugins/core/ui/client/components";
class PinterestSocialButton extends Component {
handleClick = (event) => {
event.preventDefault();
if (window) {
... | together-web-pj/together-web-pj | imports/plugins/included/social/client/components/pinterest.js | JavaScript | gpl-3.0 | 1,827 |
import AbstractIndexRoute from 'hospitalrun/routes/abstract-index-route';
import Ember from 'ember';
export default AbstractIndexRoute.extend({
modelName: 'invoice',
pageTitle: 'Invoice Listing',
_getStartKeyFromItem: function(item) {
var billDateAsTime = item.get('billDateAsTime'),
id = this._getPouch... | nerdkid93/hospitalrun-frontend | app/invoices/index/route.js | JavaScript | gpl-3.0 | 1,212 |
// JS_IS_CONSTRUCTING
var g = newGlobal();
do {
new g.String(); // jit::CreateThis passes JS_IS_CONSTRUCTING
} while (!inIon());
// JS_UNINITIALIZED_LEXICAL
function dontAbortWholeCompilation() {
class B {};
class D extends B {
constructor() { super(); }
};
return D;
}
var classImpl = dontAb... | cstipkovic/spidermonkey-research | js/src/jit-test/tests/basic/invokeFunctionMagic.js | JavaScript | mpl-2.0 | 439 |
odoo.define('website.tour.rte', function (require) {
'use strict';
var ajax = require('web.ajax');
var session = require('web.session');
var tour = require('web_tour.tour');
var Wysiwyg = require('web_editor.wysiwyg.root');
var domReady = new Promise(function (resolve) {
$(resolve);
});
var ready = Promise.all([d... | ygol/odoo | addons/website/static/tests/tours/rte.js | JavaScript | agpl-3.0 | 7,379 |
// Copyright 2006 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... | turnonline/maven-optimizer-plugin | src/main/resources/org/ctoolkit/maven/plugins/optimizer/gc_closure/goog/array/array.js | JavaScript | lgpl-2.1 | 48,298 |
// { "framework": "Vue" }
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/****... | MrRaindrop/incubator-weex | android/playground/app/src/main/assets/vue/syntax/script-lifecycle.js | JavaScript | apache-2.0 | 3,880 |
/*!
* UI development toolkit for HTML5 (OpenUI5)
* (c) Copyright 2009-2016 SAP SE or an SAP affiliate company.
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
*/
sap.ui.define(['jquery.sap.global'],
function(jQuery) {
"use strict";
/**
* ResponsiveFlowLayout renderer.
* @namespace
*/
... | SuicidePreventionSquad/SeniorProject | resources/sap/ui/layout/ResponsiveFlowLayoutRenderer-dbg.js | JavaScript | apache-2.0 | 1,327 |
function Thing(flag) {
if (!flag) {
return [4,3];
} else {
return [2,1];
}
}
var result = 0;
for (var i = 0; i < 100000000; i++) {
var o = Thing(i%2);
result += o[0] + o[1];
}
| esbena/jalangi2 | tests/unit/speed7.js | JavaScript | apache-2.0 | 201 |
/*! jQuery UI - v1.10.4 - 2014-01-29
* http://jqueryui.com
* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */
(function(t){var e=/up|down|vertical/,i=/up|left|vertical|horizontal/;t.effects.effect.blind=function(s,n){var a,o,r,l=t(this),h=["position","top","bottom","left","right","height","widt... | CI-WATER/django-tethys_gizmos | tethys_gizmos/static/tethys_gizmos/vendor/jqueryui/development-bundle/ui/minified/jquery.ui.effect-blind.min.js | JavaScript | bsd-2-clause | 956 |
/**
* Sinon.JS 1.9.1, 2014/04/03
*
* @author Christian Johansen (christian@cjohansen.no)
* @author Contributors: https://github.com/cjohansen/Sinon.JS/blob/master/AUTHORS
*
* (The BSD License)
*
* Copyright (c) 2010-2014, Christian Johansen, christian@cjohansen.no
* All rights reserved.
*
* Redistribution ... | notigo/Teresamisu | wp-content/themes/teresamisu/node_modules/grunt-sass/node_modules/node-sass/node_modules/sinon/pkg/sinon-timers-1.9.1.js | JavaScript | gpl-2.0 | 13,388 |
/* jshint node: true */
module.exports = function (environment) {
var ENV = {
modulePrefix: 'azureexplorer',
environment: environment,
baseURL: '/',
locationType: 'hash',
EmberENV: {
FEATURES: {
// Here you can enable experimental features on an e... | Azure/deco | config/environment.js | JavaScript | mit | 2,357 |
'use strict';
module.exports = {
db: 'mongodb://localhost/angle-test',
port: 3001,
app: {
title: 'Angle - Test Environment'
},
facebook: {
clientID: process.env.FACEBOOK_ID || 'APP_ID',
clientSecret: process.env.FACEBOOK_SECRET || 'APP_SECRET',
callbackURL: '/auth/facebook/callback'
},
twitter: {
clie... | blueror815/Node-Mean | config/env/test.js | JavaScript | mit | 1,263 |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'scayt', 'fi', {
btn_about: 'Tietoja oikoluvusta kirjoitetaessa',
btn_dictionaries: 'Sanakirjat',
btn_disable: 'Poista käytöstä oikoluku kirjoite... | liuasliy/rdstourcms | static/ckeditor/ckeditor/plugins/scayt/lang/fi.js | JavaScript | mit | 481 |
import fileType from 'file-type';
const buffer = new Buffer(1);
const array = new Uint8Array(buffer);
const type1 = fileType(buffer);
if (type1) {
type1.ext;
}
const type2 = fileType(array);
// $ExpectError
type2.ext;
if (type2) {
type2.mime;
}
// $ExpectError
fileType('');
| echenley/flow-typed | definitions/npm/file-type_v3.x.x/test_file-type_v3.x.x.js | JavaScript | mit | 282 |
'use strict';
// Create a report about unused icons in a project.
var fs = require('fs');
var path = require('path');
var exec = require('child_process').exec;
var optimist = require('optimist');
var cli = optimist
.usage('Create a report about unused icons in a project.' + '\n' +
'Usage: $0 path/to/your/projec... | eliemichel/fxos-AlphaRemote | shared/gaia-icons/bin/report.js | JavaScript | mit | 2,612 |
/*eslint no-console: 0 */
"use strict";
// wrap returns a function that will invoke the supplied function and print a deprecation warning to the console each
// time it is called.
exports.wrap = function (func, msg) {
var wrapped = function () {
// Watch out for IE7 and below! :(
if (typeof console... | AndrewStrelnik/SkillBranch | node_modules/sinon/lib/sinon/util/core/deprecated.js | JavaScript | mit | 952 |
/*!
* ui-grid - v4.5.0 - 2018-06-15
* Copyright (c) 2018 ; License: MIT
*/
(function () {
angular.module('ui.grid').config(['$provide', function($provide) {
$provide.decorator('i18nService', ['$delegate', function($delegate) {
$delegate.add('es', {
aggregate: {
label: 'Artículos'
... | seogi1004/cdnjs | ajax/libs/angular-ui-grid/4.5.0/i18n/ui-grid.language.es.js | JavaScript | mit | 3,179 |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var Canvas_1 = require("./Canvas");
var EventListeners_1 = require("../Utils/EventListeners");
var Particles_1 = require("./Particles");
var Retina_1 = require("./Retina");
var FrameManager_1 = require("./FrameM... | cdnjs/cdnjs | ajax/libs/tsparticles/1.14.3/Core/Container.js | JavaScript | mit | 9,909 |
jQuery(document).ready(function(){var e=0;if(jQuery.cookie("simplecatch_ad_tab")){e=jQuery.cookie("simplecatch_ad_tab");jQuery.cookie("simplecatch_ad_tab",null)}var t=jQuery("#simplecatch_ad_tabs").tabs({active:e});jQuery("#wpbody-content form").submit(function(){var e=t.tabs("option","active");jQuery.cookie("simplecat... | gdombchik/sfnct | wp-content/themes/simple-catch/functions/panel/admin.min.js | JavaScript | gpl-2.0 | 946 |
/*!
* Bowser - a browser detector
* https://github.com/ded/bowser
* MIT License | (c) Dustin Diaz 2014
*/
| mathieuzen/llnmaps | www/lib/browser/src/copyright.js | JavaScript | gpl-2.0 | 114 |
/**
* The Modern Grid's ViewOptions plugin produces a menu that slides in from the right (by default)
* when you drag your finger or cursor right-to-left over the grid's column headers. The
* menu displays the column header names which represents the order of the grid's columns.
* This allows users to easily re... | turtlerrrrr/myapp | web/src/main/webapp/WEB-INF/app/ext/modern/modern/src/grid/plugin/ViewOptions.js | JavaScript | gpl-2.0 | 17,673 |
// License
// Copyright (c) 2013, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This file is part of the ClearCanvas RIS/PACS open source project.
//
// The ClearCanvas RIS/PACS open source project is free software: you can
// redistribute it and/or modify it under the terms of t... | testdoron/ClearCanvas | Ris/web/js/ris.js | JavaScript | gpl-3.0 | 14,307 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* 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/. */
/**
File Name: global... | JasonGross/mozjs | js/src/tests/ecma_2/Exceptions/global-001.js | JavaScript | mpl-2.0 | 1,112 |
/// Copyright (c) 2009 Microsoft Corporation
///
/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
/// that the following conditions are met:
/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
/// ... | mbouaziz/ML-LambdaJS | tests/ES5conform/TestCases/chapter15/15.4/15.4.4/15.4.4.21/15.4.4.21-5-7.js | JavaScript | lgpl-3.0 | 2,611 |
/*!
* Copyright 2014 Apereo Foundation (AF) Licensed under the
* Educational Community 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://opensource.org/licenses/ECL-2.0
*
* Unless required by applicab... | simong/Hilary | node_modules/oae-content/lib/previews.js | JavaScript | apache-2.0 | 1,728 |
// FHEM Platform Shim for HomeBridge
//
// Remember to add platform to config.json. Example:
// "platforms": [
// {
// 'platform': "FHEM",
// 'name': "FHEM",
// 'server': "127.0.0.1",
// 'port': 8083,
// 'ssl': true,
// 'auth': {'user': "fhem", 'pass': "fhempassword"}... | marsman12019/homebridge | platforms/FHEM.js | JavaScript | apache-2.0 | 57,385 |
(function(a){a.fn.datepicker.dates.de={days:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag","Sonntag"],daysShort:["Son","Mon","Die","Mit","Don","Fre","Sam","Son"],daysMin:["So","Mo","Di","Mi","Do","Fr","Sa","So"],months:["Januar","Februar","März","April","Mai","Juni","Juli","August","Septembe... | strong2much/YiiBooster3 | src/assets/bootstrap-datepicker/js/locales/bootstrap-datepicker.de.min.js | JavaScript | bsd-2-clause | 518 |
"use strict";
var helpers = require("../../helpers/helpers");
exports["Australia/Darwin"] = {
"guess" : helpers.makeTestGuess("Australia/Darwin", { offset: true, abbr: true }),
"1916" : helpers.makeTestYear("Australia/Darwin", [
["1916-12-31T14:30:59+00:00", "00:00:59", "ACST", -570],
["1916-12-31T14:31:00+00:... | Bladefidz/ocfa_yii | vendor/bower-asset/moment-timezone/tests/zones/australia/darwin.js | JavaScript | bsd-3-clause | 1,473 |
"use strict";
var helpers = require("../../helpers/helpers");
exports["Asia/Jakarta"] = {
"guess" : helpers.makeTestGuess("Asia/Jakarta", { offset: true, abbr: true }),
"1923" : helpers.makeTestYear("Asia/Jakarta", [
["1923-12-31T16:39:59+00:00", "23:47:11", "BMT", -25632 / 60],
["1923-12-31T16:40:00+00:00", "... | Bladefidz/ocfa_yii | vendor/bower-asset/moment-timezone/tests/zones/asia/jakarta.js | JavaScript | bsd-3-clause | 1,372 |
/**
* File Name: String/split-003.js
* ECMA Section: 15.6.4.9
* Description: Based on ECMA 2 Draft 7 February 1999
*
* Author: christine@netscape.com
* Date: 19 February 1999
*/
/*
* Since regular expressions have been part of JavaScript since 1.2, there
* ... | frivoal/presto-testo | core/standards/scripts/jstest-futhark/es-regression/imported-netscape/ecma_2/String/split-003.js | JavaScript | bsd-3-clause | 4,766 |
var foxy = require("./index");
var request = require("supertest");
var connect = require("connect");
var http = require("http");
var multi = require("multiline");
var config = {
rules: {
match: /Hi there/,
fn: function (match) {
return "Browser Sync " + match
}... | quattromani/chris-cardio | node_modules/grunt-browser-sync/node_modules/browser-sync/node_modules/foxy/example.js | JavaScript | mit | 961 |
/**
* Fill metadataStore with metadata
* DO NOT USE!
* This is the old version whose metadata were semi-generated in tortured fashion
* from an EDM. The current version is metadata.js which defines metadata by hand
*
* Hold on to this version for reference
*/
(function(angular) {
'use strict';
angular.m... | johnpapa/ng-demos | zza-node-mongo/client/app/services/metadata-old.js | JavaScript | mit | 36,178 |
import DRFAdapter from './drf';
export default DRFAdapter.extend({
});
| benkonrath/ember-django-adapter | blueprints/drf-adapter/files/app/adapters/__name__.js | JavaScript | mit | 72 |
var kirkiDependencies = {
listenTo: {},
init: function() {
var self = this;
wp.customize.control.each( function( control ) {
self.showKirkiControl( control );
} );
_.each( self.listenTo, function( slaves, master ) {
_.each( slaves, function( slave ) {
wp.customize( master, function( setting ) {
... | reduxframework/kirki | modules/field-dependencies/field-dependencies.js | JavaScript | gpl-2.0 | 6,095 |
/**
* jQuery plugin for Pretty looking right click context menu.
*
* Requires popup.js and popup.css to be included in your page. And jQuery, obviously.
*
* Usage:
*
* $('.something').contextPopup({
* title: 'Some title',
* items: [
* {label:'My Item', icon:'/some/icon1.png', action:function()... | fancey/GO.H-ui.admin | static/lib/contextmenu/jquery.contextmenu.js | JavaScript | apache-2.0 | 3,556 |
/**
* 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.
*
* @emails o... | alvinsj/jest | packages/jest-haste-map/src/lib/__tests__/extractRequires-test.js | JavaScript | bsd-3-clause | 2,340 |
/**
* react-dom v16.x.x libdefs from flow-typed
*
* @noformat
*/
declare module 'react-dom' {
declare function findDOMNode(
componentOrElement: Element | ?React$Component<any, any>,
): null | Element | Text;
declare function render<ElementType: React$ElementType>(
element: React$Element<ElementType>,... | pandiaraj44/react-native | flow-typed/npm/react-dom_v16.x.x.js | JavaScript | bsd-3-clause | 3,642 |
import keys from './keys.js';
/** Used to compose bitmasks for value comparisons. */
var COMPARE_PARTIAL_FLAG = 1;
/** Used for built-in method references. */
var objectProto = Object.prototype;
/** Used to check objects for own properties. */
var hasOwnProperty = objectProto.hasOwnProperty;
/**
* A specialized ve... | jpludens/quartrmastr | static/js/node_modules/lodash-es/_equalObjects.js | JavaScript | mit | 2,876 |
$(document).ready(function(){
/* ==========================================================================
Fullcalendar
========================================================================== */
$('#calendar').fullCalendar({
header: {
left: '',
center: 'prev, title, nex... | talk-code/BantU-Player | src/main/resources/public/js/lib/fullcalendar/fullcalendar-init.js | JavaScript | mit | 9,603 |
// Turkish
$.extend( $.fn.pickadate.defaults, {
monthsFull: [ 'Ocak', 'Şubat', 'Mart', 'Nisan', 'Mayıs', 'Haziran', 'Temmuz', 'Ağustos', 'Eylül', 'Ekim', 'Kasım', 'Aralık' ],
monthsShort: [ 'Oca', 'Şub', 'Mar', 'Nis', 'May', 'Haz', 'Tem', 'Ağu', 'Eyl', 'Eki', 'Kas', 'Ara' ],
weekdaysFull: [ 'Pazar', 'Pazar... | FronterAS/pickadate.js | v2-(deprecated)/pickadate.js/translations/pickadate.tr_TR.js | JavaScript | mit | 591 |
'use strict';
module.exports = {
'serverport': 3000,
'scripts': {
'src': './app/js/**/*.js',
'dest': './build/js/'
},
'images': {
'src': './app/images/**/*.{jpeg,jpg,png}',
'dest': './build/images/'
},
'styles': {
'src': './app/styles/**/*.scss',
'dest': './build/css/'
},
'... | pengux/react-rocket-boilerplate | gulp/config.js | JavaScript | mit | 371 |
/**! Qoopido.demand 4.2.7-alpha.11 | https://github.com/dlueth/qoopido.demand | (c) 2018 Dirk Lueth */
!function(){"use strict";provide(["/demand/abstract/handler"],function(n){var t=/^application\/json/;function e(){}return e.prototype={validate:function(n){return t.test(n)},onPreRequest:function(n){var t=n.url.pathna... | extend1994/cdnjs | ajax/libs/qoopido.demand/4.2.7-alpha.11/handler/json.js | JavaScript | mit | 522 |
hljs.registerLanguage("brainfuck",function(e){var r={cN:"literal",b:"[\\+\\-]",relevance:0};return{aliases:["bf"],c:[e.C("[^\\[\\]\\.,\\+\\-<> \r\n]","[\\[\\]\\.,\\+\\-<> \r\n]",{rE:!0,relevance:0}),{cN:"title",b:"[\\[\\]]",relevance:0},{cN:"string",b:"[\\.,]",relevance:0},{b:/(?:\+\+|\-\-)/,c:[r]},r]}}); | cdnjs/cdnjs | ajax/libs/highlight.js/9.18.5/languages/brainfuck.min.js | JavaScript | mit | 306 |
/*************************************************************
*
* MathJax/jax/output/SVG/fonts/Latin-Modern/Size5/Regular/Main.js
*
* Copyright (c) 2013 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Lice... | shayzluf/lazoozweb | wiki/extensions/Math/modules/MathJax/unpacked/jax/output/SVG/fonts/Latin-Modern/Size5/Regular/Main.js | JavaScript | gpl-2.0 | 10,746 |
/**
* @file
* Theme override for checkbox.
*/
((Drupal) => {
/**
* Constructs a checkbox input element.
*
* @return {string}
* A string representing a DOM fragment.
*/
Drupal.theme.checkbox = () =>
'<input type="checkbox" class="form-checkbox form-boolean form-boolean--type-checkbox"/>';
})... | tobiasbuhrer/tobiasb | web/core/themes/claro/js/checkbox.es6.js | JavaScript | gpl-2.0 | 330 |
/**
*
*/
Ext.define('Ext.layout.wrapper.BoxDock', {
config: {
direction: 'horizontal',
element: {
className: Ext.baseCSSPrefix + 'dock'
},
bodyElement: {
className: Ext.baseCSSPrefix + 'dock-body'
},
innerWrapper: null,
sizeState: fal... | elasticsearcher/Bizcuit | src/ui/ext/modern/modern/src/layout/wrapper/BoxDock.js | JavaScript | gpl-3.0 | 5,181 |
/**
* ownCloud
*
* @author Jakob Sack
* @copyright 2012 Jakob Sack owncloud@jakobsack.de
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
* License as published by the Free Software Foundation; either
* version 3 of the License, or an... | ipit-international/learning-environment | owncloud/themes/prideTC/core/js/backgroundjobs.js | JavaScript | agpl-3.0 | 848 |
/**
* 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... | odapplications/WebView-with-Lower-Tab-Menu | node_modules/react-native/Libraries/Renderer/src/renderers/shared/shared/event/ReactControlledComponent.js | JavaScript | lgpl-3.0 | 2,683 |
module.exports = require("core-js-pure/features/symbol/has-instance"); | BigBoss424/portfolio | v8/development/node_modules/@babel/runtime-corejs3/core-js/symbol/has-instance.js | JavaScript | apache-2.0 | 70 |
module.exports = angular.module('trafficOps.application', [])
.service('applicationService', require('./ApplicationService')); | dneuman64/traffic_control | traffic_ops/experimental/ui/app/src/common/service/application/index.js | JavaScript | apache-2.0 | 130 |
// Copyright 2008 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of ... | mogoweb/webkit_for_android5.1 | v8/test/mjsunit/string-split.js | JavaScript | apache-2.0 | 4,571 |
// DO NOT EDIT! This test has been generated by /html/canvas/tools/gentest.py.
// OffscreenCanvas test in a worker:2d.fillStyle.parse.css-color-4-rgb-4
// Description:
// Note:<p class="notes">
importScripts("/resources/testharness.js");
importScripts("/html/canvas/resources/canvas-tests.js");
var t = async_test("");... | scheib/chromium | third_party/blink/web_tests/external/wpt/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.css-color-4-rgb-4.worker.js | JavaScript | bsd-3-clause | 718 |
// Manages the utility links that appear on the details view.
define(
function () {
'use strict';
// The DOM element for the print button utility link.
var _printButton;
function init() {
_printButton = document.querySelector('.utility-links .button-print');
// Set event on print button and show the ... | volkanunsal/nyc-prepared-search | app/assets/javascripts/detail/utility-links.js | JavaScript | bsd-3-clause | 671 |
YUI.add('youtube-model-yql-tests', function (Y, NAME) {
var suite = new YUITest.TestSuite(NAME),
model = null,
A = YUITest.Assert;
suite.add(new YUITest.TestCase({
name: "youtube-model-yql user tests",
setUp: function () {
model = Y.mojito.models["youtube-model-yql... | sahat/mojito | examples/developer-guide/dashboard/10_localization/mojits/Youtube/tests/models/youtube.server-tests.js | JavaScript | bsd-3-clause | 1,146 |
/**
* @license
* Copyright The Closure Library Authors.
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @fileoverview Base class for bubble plugins.
*/
goog.provide('goog.editor.plugins.LinkBubble');
goog.provide('goog.editor.plugins.LinkBubble.Action');
goog.require('goog.array');
goog.require('goog.dom');
goo... | scheib/chromium | third_party/google-closure-library/closure/goog/editor/plugins/linkbubble.js | JavaScript | bsd-3-clause | 19,515 |
/*global describe, it, before, after */
// # Frontend Route tests
// As it stands, these tests depend on the database, and as such are integration tests.
// Mocking out the models to not touch the DB would turn these into unit tests, and should probably be done in future,
// But then again testing real code, rather th... | wangsai/bigertech.com | core/test/functional/routes/admin_test.js | JavaScript | mit | 12,148 |
/*
* widget unit tests
*/
(function( $ ) {
module( "widget factory", {
teardown: function() {
delete $.ui.testWidget;
}
});
test( "widget creation", function() {
var myPrototype = {
_create: function() {},
creationTest: function() {}
};
$.widget( "ui.testWidget", myPrototype );
ok( $.isFunction( $.ui.t... | jeffersonmolleri/sesra | web/js/fnagel-jquery-ui-6ff94ff/tests/unit/widget/widget_core.js | JavaScript | gpl-3.0 | 13,062 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* 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/. */
gTestsuite = 'js1_1';
| sam/htmlunit-rhino-fork | testsrc/tests/js1_1/shell.js | JavaScript | mpl-2.0 | 309 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* 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/. */
gTestfile = 'expression-016.js';
... | sam/htmlunit-rhino-fork | testsrc/tests/ecma_2/Exceptions/expression-016.js | JavaScript | mpl-2.0 | 1,014 |
/*jshint globalstrict:false, strict:false, unused : false */
/*global assertEqual, assertFalse */
////////////////////////////////////////////////////////////////////////////////
/// @brief tests for dump/reload
///
/// @file
///
/// DISCLAIMER
///
/// Copyright 2010-2012 triagens GmbH, Cologne, Germany
///
/// Licens... | mujiansu/arangodb | js/server/tests/recovery/insert-update-remove-distance.js | JavaScript | apache-2.0 | 3,419 |
/**
* Copyright (c) 2015, Jozef Stefan Institute, Quintelligence d.o.o. and contributors
* All rights reserved.
*
* This source code is licensed under the FreeBSD license found in the
* LICENSE file in the root directory of this source tree.
*/
exports.addToProcess = function (proc) {
proc.isArg = function (... | mkarlovc/qminer | src/nodejs/scripts/backward.js | JavaScript | bsd-2-clause | 382 |
import getTag from './_getTag.js';
import isObjectLike from './isObjectLike.js';
/** `Object#toString` result references. */
var mapTag = '[object Map]';
/**
* Checks if `value` is classified as a `Map` object.
*
* @static
* @memberOf _
* @since 4.3.0
* @category Lang
* @param {*} value The value to check.
* ... | xzzw9987/Memos | project/Ismorphic/node_modules/lodash-es/isMap.js | JavaScript | mit | 611 |
/***@@@ BEGIN LICENSE @@@***/
/*───────────────────────────────────────────────────────────────────────────*\
│ Copyright (C) 2013 eBay Software Foundation │
│ │
│hh ,'""`. ... | martnga/post-node | shopup/node_modules/localizr/node_modules/spud/index.js | JavaScript | mit | 1,884 |
t = db.index_hammer1;
t.drop();
for ( i=0; i<10000; i++ )
t.insert( { x : i , y : i } );
db.getLastError();
ops = []
for ( i=0; i<50; i++ )
ops.push( { op : "find" , ns : t.getFullName() , query : { x : { $gt : 5000 } , y : { $gt : 5000 } } } )
ops[10] = { op : "createIndex" , ns : t.getFullName() , key :... | wvdd007/robomongo | src/third-party/mongodb/jstests/slowNightly/index_hammer1.js | JavaScript | gpl-3.0 | 693 |
/****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the documentation of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms ... | msorvig/qt5-qtdeclarative-nacl | src/qml/doc/snippets/qml/integrating-javascript/scarceresources/exampleFour.js | JavaScript | lgpl-3.0 | 2,389 |
'use strict';
var isPlainObject = require('./is-plain-object')
, forEach = require('./for-each')
, process;
process = function self(value, key) {
if (isPlainObject(value)) forEach(value, self, this);
else this[key] = value;
};
module.exports = function (obj) {
var flattened = {};
forEach... | Ramanujakalyan/Inherit | ui/node_modules/gulp-minify-html/node_modules/minimize/node_modules/cli-color/node_modules/es5-ext/object/flatten.js | JavaScript | unlicense | 372 |
var assert = require('assert');
var devtools = require('./chrome.devtools.mock').devtools;
describe('chrome.devtools.mock module', function() {
it('should export static data structure', function() {
var id = 10;
assert('object' === typeof(devtools));
devtools.__setTabId(id);
assert('object' === type... | clementlamoureux/gpm-popularity | code/js/modules/chrome.devtools.mock.spec.js | JavaScript | unlicense | 413 |