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 |
|---|---|---|---|---|---|
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
* @flow
*/
'use strict';
import {BatchedBridge} from 'react-native/Libraries/ReactPrivate/ReactNativePrivateInterface... | VioletLife/react | scripts/rollup/shims/react-native/ReactFabric.js | JavaScript | mit | 698 |
// -----------------------------------------------------------------------------
// Globals
// Major version of Flash required
var requiredMajorVersion = 8;
// Minor version of Flash required
var requiredMinorVersion = 0;
// Minor version of Flash required
var requiredRevision = 0;
// the version of javascript ... | zhiqinghuang/core | dotCMS/html/js/flash/detectFlash.js | JavaScript | gpl-3.0 | 3,505 |
dojo.provide("dojox.charting.widget.nls.Chart2D_en-us");dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.en_us");dojo.cldr.nls.number.en_us={"group":",","percentSign":"%","exponential":"E","percentFormat":"#,##0%","scientificFormat":"#E0","list":";","infinity":"∞"... | ontoden/ontobee | public/js/dojox/charting/widget/nls/Chart2D_en-us.js | JavaScript | apache-2.0 | 856 |
var JEY_TOPO = {"type":"Topology","objects":{"jey":{"type":"GeometryCollection","geometries":[{"type":"Polygon","properties":{"name":"Jersey"},"id":"JE","arcs":[[0]]}]}},"arcs":[[[6817,9289],[634,-999],[2019,-1611],[-56,-1021],[199,-429],[233,-638],[153,-293],[-373,-548],[-170,-676],[-45,-868],[3,-1156],[-110,-1050],[-... | yoer/hue | desktop/core/src/desktop/static/desktop/ext/js/topo/jey.topo.js | JavaScript | apache-2.0 | 822 |
version https://git-lfs.github.com/spec/v1
oid sha256:ac03974d85317d75edc2dc62eb1c40e9514aae0dcfe5e69e3a62c6d419484632
size 887
| yogeshsaroya/new-cdnjs | ajax/libs/dojo/1.9.7/cldr/monetary.js | JavaScript | mit | 128 |
version https://git-lfs.github.com/spec/v1
oid sha256:98117aa63db915fed8f72d5c0c414049013e63982817c75864b5e01bb3997090
size 17927
| yogeshsaroya/new-cdnjs | ajax/libs/yui/3.9.1/dd-drop/dd-drop-debug.js | JavaScript | mit | 130 |
"use strict";import"../../Stock/Indicators/SlowStochastic/SlowStochasticIndicator.js"; | cdnjs/cdnjs | ajax/libs/highcharts/9.3.3/es-modules/masters/indicators/slow-stochastic.src.min.js | JavaScript | mit | 86 |
var class_mix_e_r_p_1_1_net_1_1_core_1_1_modules_1_1_sales_1_1_setup_1_1_bonus_slabs =
[
[ "OnControlLoad", "class_mix_e_r_p_1_1_net_1_1_core_1_1_modules_1_1_sales_1_1_setup_1_1_bonus_slabs.html#ab16b782e4c9f10ebbbc47fd52dbc6ae1", null ],
[ "ScrudPlaceholder", "class_mix_e_r_p_1_1_net_1_1_core_1_1_modules_1_1_s... | mixerp6/mixerp | docs/api/class_mix_e_r_p_1_1_net_1_1_core_1_1_modules_1_1_sales_1_1_setup_1_1_bonus_slabs.js | JavaScript | gpl-2.0 | 401 |
var class_mix_e_r_p_1_1_net_1_1_entities_1_1_core_1_1_late_fee =
[
[ "AccountId", "class_mix_e_r_p_1_1_net_1_1_entities_1_1_core_1_1_late_fee.html#aa5f13daf52f6212580695248d62ed83d", null ],
[ "AuditTs", "class_mix_e_r_p_1_1_net_1_1_entities_1_1_core_1_1_late_fee.html#a95210c8ea60bb4107cb1a76b0617e58a", null ],... | mixerp6/mixerp | docs/api/class_mix_e_r_p_1_1_net_1_1_entities_1_1_core_1_1_late_fee.js | JavaScript | gpl-2.0 | 1,094 |
var class_peta_poco_1_1_factory =
[
[ "ProviderName", "class_peta_poco_1_1_factory.html#ab3fd0d733879b1a810f8d5e3731c721b", null ]
]; | mixerp/mixerp | docs/api/class_peta_poco_1_1_factory.js | JavaScript | gpl-3.0 | 137 |
/*
CryptoJS v3.1.2
code.google.com/p/crypto-js
(c) 2009-2013 by Jeff Mott. All rights reserved.
code.google.com/p/crypto-js/wiki/License
*/
var CryptoJS=CryptoJS||function(s,l){var e={},n=e.lib={},p=function(){},b=n.Base={extend:function(c){p.prototype=this;var a=new p;c&&a.mixIn(c);a.hasOwnProperty("init")||(a.i... | quenlang/NetopGO | static/scripts/libs/cryptojs/rollups/rc4.js | JavaScript | apache-2.0 | 12,159 |
/**
* Usage for accepting signatures:
* $('.sigPad').signaturePad()
*
* Usage for displaying previous signatures:
* $('.sigPad').signaturePad({displayOnly:true}).regenerate(sig)
* or
* var api = $('.sigPad').signaturePad({displayOnly:true})
* api.regenerate(sig)
*/
(function ($) {
function SignaturePad (... | cornernote/yii-dressing | yii-dressing/assets/signature-pad/jquery.signaturepad.js | JavaScript | bsd-3-clause | 25,256 |
// 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, software
// distributed ... | yesudeep/puppy | tools/google-closure-library/closure/goog/positioning/menuanchoredposition.js | JavaScript | mit | 3,921 |
let x = { a: (b ? 1 : 2)};
| jimenglish81/ember-suave | tests/fixtures/rules/require-spaces-inside-object-brackets/bad/nested-object.js | JavaScript | mit | 27 |
angular.module('examples', [])
.factory('formPostData', ['$document', function($document) {
return function(url, fields) {
var form = angular.element('<form style="display: none;" method="post" action="' + url + '" target="_blank"></form>');
angular.forEach(fields, function(value, name) {
var input = a... | niluka2a/angular.js | docs/app/src/examples.js | JavaScript | mit | 2,355 |
// Generated by CoffeeScript 1.4.0
var isDefined,
__bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
__slice = [].slice,
__indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };
window.s... | shelsonjava/datawrapper | www/static/vendor/serious-toolkit/serious-widget.js | JavaScript | mit | 12,671 |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'autoembed', 'pl', {
embeddingInProgress: 'Osadzanie wklejonego adresu URL...',
embeddingFailed: 'Ten adres URL multimediów nie może być automatyc... | tsipa88/ckeditor | vendor/assets/javascripts/ckeditor/plugins/autoembed/lang/pl.js | JavaScript | mit | 344 |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* Operator --x uses [[Default Value]]
*
* @path ch11/11.4/11.4.5/S11.4.5_A2.2_T1.js
* @description If Type(value) is Object, evaluate ToPrimitive(value, Number)
*/
//CHECK#1
var... | hippich/typescript | tests/Fidelity/test262/suite/ch11/11.4/11.4.5/S11.4.5_A2.2_T1.js | JavaScript | apache-2.0 | 4,094 |
// ----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// ----------------------------------------------------------------------------
/// <reference path="../../../ZumoE2ETestAppJs/ZumoE2ETestAppJs/js/MobileServices.js" />
/// <ref... | soninaren/azure-mobile-services-test | sdk/JavaScript/TestFramework/js/tests/loginTests.js | JavaScript | apache-2.0 | 16,739 |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* The production x *= y is the same as the production x = x * y
*
* @path ch11/11.13/11.13.2/S11.13.2_A4.1_T2.6.js
* @description Type(x) is different from Type(y) and both types ... | hippich/typescript | tests/Fidelity/test262/suite/ch11/11.13/11.13.2/S11.13.2_A4.1_T2.6.js | JavaScript | apache-2.0 | 999 |
/* -*- 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... | daejunpark/jsaf | tests/parser_tests/js/src/tests/js1_5/Array/regress-465980-02.js | JavaScript | bsd-3-clause | 6,616 |
'use strict';
// There's an example D script here to showcase a "slow" handler where it's
// wildcard'd by the route name. In "real life" you'd probably start with a
// d script that breaks down the route -start and -done, and then you'd want
// to see which handler is taking longest from there.
//
// $ node demo.js
... | mboudreau/node-restify | examples/dtrace/demo.js | JavaScript | mit | 5,705 |
var names = Alloy.Collections.name;
function green(str) { return '\x1B[32m' + str + '\x1B[39m'; }
function red(str) { return '\x1B[31m' + str + '\x1B[39m'; }
// show the info from the selected model
function showInfo(e) {
// get the model id from the list item
var modelId = e.section.getItemAt(e.itemIndex).properti... | brentonhouse/brentonhouse.alloy | test/apps/testing/ALOY-829/controllers/index.js | JavaScript | apache-2.0 | 810 |
//// [tests/cases/compiler/extendingClassFromAliasAndUsageInIndexer.ts] ////
//// [extendingClassFromAliasAndUsageInIndexer_backbone.ts]
export class Model {
public someData: string;
}
//// [extendingClassFromAliasAndUsageInIndexer_moduleA.ts]
import Backbone = require("./extendingClassFromAliasAndUsageInInd... | kimamula/TypeScript | tests/baselines/reference/extendingClassFromAliasAndUsageInIndexer.js | JavaScript | apache-2.0 | 3,294 |
import { ChangeDetectorRef, Component, ElementRef, Input, Optional, Renderer, ViewChild, ViewEncapsulation } from '@angular/core';
import { NG_VALUE_ACCESSOR } from '@angular/forms';
import { clamp, isTrueProperty } from '../../util/util';
import { Config } from '../../config/config';
import { DomController } from '../... | vivadaniele/spid-ionic-sdk | node_modules/ionic-angular/es2015/components/range/range.js | JavaScript | bsd-3-clause | 19,852 |
import getCompletions from "./get-completions"
// Add an autosuggest completer
export const addAutosuggestionCompleters = (ori, system) => (context) => {
return ori(context).concat([{
getCompletions(...args) {
// Add `context`, then `system` as the last args
return getCompletions(...args, context, sy... | thomaxxl/safrs | swagger-editor/src/plugins/editor-autosuggest-snippets/wrap-actions.js | JavaScript | gpl-3.0 | 340 |
var foo = arr.map(v => ({
x: v.bar,
y: v.bar * 2
}));
var fn = () => ({}).key;
| rmacklin/babel | packages/babel-generator/test/fixtures/parentheses/arrow-function-object-body/expected.js | JavaScript | mit | 83 |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v12.0.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 ... | sufuf3/cdnjs | ajax/libs/ag-grid/12.0.1/lib/headerRendering/headerRenderer.js | JavaScript | mit | 7,396 |
// 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... | marcelohg/NasajonWebTeamplateProject | web/js/google-closure/closure/goog/ui/idgenerator.js | JavaScript | mit | 1,545 |
version https://git-lfs.github.com/spec/v1
oid sha256:df5a7287a63d8b28fe1df2552b7f2deaa719327f8aa49fef192f5fb72bbbbaad
size 4023
| yogeshsaroya/new-cdnjs | ajax/libs/ink/3.1.7/js/html5shiv-printshiv.js | JavaScript | mit | 129 |
'use strict';
var path = require('path');
var mergeTrees = require('broccoli-merge-trees');
var SassCompiler = require('../broccoli-sass');
function SASSPlugin() {
this.name = 'ember-cli-sass';
this.ext = ['scss', 'sass'];
}
SASSPlugin.prototype.toTree = function(tree, inputPath, outputPath, inputOptions) {
va... | xtian/ember-cli | tests/fixtures/preprocessor-tests/app-with-addon-with-preprocessors/node_modules/ember-cli-sass/index.js | JavaScript | mit | 940 |
declare class X {
a: number;
static b: number;
c: number;
}
| cbishopvelti/babylon | test/fixtures/flow/declare-statements/17/actual.js | JavaScript | mit | 63 |
/*!
* jQuery UI Effects Fold 1.11.2
* http://jqueryui.com
*
* Copyright 2014 jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
* http://api.jqueryui.com/fold-effect/
*/(function(e){typeof define=="function"&&define.amd?define(["jquery","./effect"],e):e(jQu... | Nikola-xiii/d8intranet | drupal/core/assets/vendor/jquery.ui/ui/effect-fold-min.js | JavaScript | gpl-2.0 | 1,035 |
// eSpeak and other code here are under the GNU GPL.
function generateSpeech(text, args) {
var self = { text: text, args: args, ret: null };
(function() {
| francoislaberge/texttospeech | src/shell_pre.js | JavaScript | gpl-3.0 | 160 |
/******/ (function() { // webpackBootstrap
/******/ "use strict";
/******/
/******/
/******/ })()
; | mindsharelabs/mindshare-api | includes/acf/assets/build/css/pro/acf-pro-input.css.js | JavaScript | gpl-3.0 | 104 |
/**
*
* SugarCRM Community Edition is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
*
* SuiteCRM is an extension to SugarCRM Community Edition developed by SalesAgility Ltd.
* Copyright (C) 2011 - 2018 SalesAgility Ltd.
*
* This program is free so... | lionixevolve/SuiteCRM | jssource/src_files/modules/ACLRoles/ACLRoles.js | JavaScript | agpl-3.0 | 3,972 |
({"text":"รายละเอียด","insertImageTitle":"คุณสมบัติอิมเมจ","set":"ตั้งค่า","newWindow":"หน้าต่างใหม่","topWindow":"หน้าต่างบนสุด","target":"เป้าหมาย:","createLinkTitle":"คุณสมบัติลิงก์","parentWindow":"หน้าต่างหลัก","currentWindow":"หน้าต่างปัจจุบัน","url":"URL:"}) | ozoneplatform/owf-framework | web-app/js-lib/dojo-release-1.5.0/dijit/_editor/nls/th/LinkDialog.js | JavaScript | apache-2.0 | 479 |
/*
YUI 3.17.2 (build 9c3c78e)
Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('axis-time-base', function (Y, NAME) {
/**
* Provides functionality for the handling of time axis data for a chart.
*
* @module charts
* @submodule axis-time-base... | gdomingos/Wegas | wegas-resources/src/main/webapp/lib/yui3/build/axis-time-base/axis-time-base.js | JavaScript | mit | 8,841 |
/**
* @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
!(function(document, $) {
"use strict";
function initMinicolorsField (event) {
$(event.target).find('.minicolors').each(function() {
$(this).minicol... | Fedik/joomla-cms | build/media_source/system/js/fields/color-field-adv-init.es5.js | JavaScript | gpl-2.0 | 1,118 |
/**
* Plugin that highlights matched word partials in a given element.
* TODO: Add a function for restoring the previous text.
* TODO: Accept mappings for converting shortcuts like WP: to Wikipedia:.
*/
( function ( $ ) {
$.highlightText = {
// Split our pattern string at spaces and run our highlight function ... | IEEEBerkeley/anabolic_window | resources/jquery/jquery.highlightText.js | JavaScript | gpl-2.0 | 2,750 |
odoo.define('web.domain_tests', function (require) {
"use strict";
var Domain = require('web.Domain');
QUnit.module('core', {}, function () {
QUnit.module('domain');
QUnit.test("basic", function (assert) {
assert.expect(3);
var fields = {
a: 3,
group_method: 'line',
... | maxive/erp | addons/web/static/tests/core/domain_tests.js | JavaScript | agpl-3.0 | 1,846 |
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'elementspath', 'ca', {
eleLabel: 'Ruta dels elements',
eleTitle: '%1 element'
} );
| Jasig/resource-server | resource-server-content/src/main/webapp/rs/ckeditor/4.3.2/_source/plugins/elementspath/lang/ca.js | JavaScript | apache-2.0 | 258 |
var colors = require('../safe');
console.log(colors.yellow('First some yellow text'));
console.log(colors.yellow.underline('Underline that text'));
console.log(colors.red.bold('Make it bold and red'));
console.log(colors.rainbow('Double Raindows All Day Long'));
console.log(colors.trap('Drop the bass'));
console.... | BigBoss424/portfolio | v8/development/node_modules/colors/examples/safe-string.js | JavaScript | apache-2.0 | 2,083 |
// Copyright 2009 the Sputnik authors. All rights reserved.
/**
* Operator x ? y : z uses GetValue
*
* @path ch11/11.12/S11.12_A2.1_T3.js
* @description If ToBoolean(x) is true and GetBase(y) is null, throw ReferenceError
*/
//CHECK#1
try {
true ? y : false;
$ERROR('#1.1: true ? y : false throw ReferenceErro... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch11/11.12/S11.12_A2.1_T3.js | JavaScript | bsd-3-clause | 504 |
/**
* sp-pnp-js v2.0.6-beta.1 - A JavaScript library for SharePoint development.
* MIT (https://github.com/SharePoint/PnP-JS-Core/blob/master/LICENSE)
* Copyright (c) 2017 Microsoft
* docs: http://officedev.github.io/PnP-JS-Core
* source: https://github.com/SharePoint/PnP-JS-Core
* bugs: https://github.com/ShareP... | maruilian11/cdnjs | ajax/libs/sp-pnp-js/2.0.6-beta.1/pnp.js | JavaScript | mit | 373,699 |
//// [invalidThisEmitInContextualObjectLiteral.ts]
interface IDef {
p1: (e:string) => void;
p2: () => (n: number) => any;
}
class TestController {
public m(def: IDef) { }
public p = this.m({
p1: e => { },
p2: () => { return vvvvvvvvv => this; },
});
}
//// [invalidThisEmitInContextualObjectLiteral.js]
v... | mihailik/TypeScript | tests/baselines/reference/invalidThisEmitInContextualObjectLiteral.js | JavaScript | apache-2.0 | 667 |
var leafletDirective = angular.module("leaflet-directive", []);
leafletDirective.directive('leaflet', [
'$http', '$log', '$parse', '$rootScope', function ($http, $log, $parse, $rootScope) {
var defaults = {
maxZoom: 14,
minZoom: 1,
doubleClickZoom: true,
tileLayer: 'http://{s}.... | him2him2/cdnjs | ajax/libs/ui-leaflet/0.5.0/angular-leaflet-directive.js | JavaScript | mit | 19,188 |
/**
* AngularJS filter for Numeral.js: number formatting as a filter
* @version v2.0.1 - 2017-05-06
* @link https://github.com/baumandm/angular-numeraljs
* @author Dave Bauman <baumandm@gmail.com>
* @license MIT License, http://www.opensource.org/licenses/MIT
*/
"use strict";!function(a,b){"object"==typeof expor... | baumandm/angular-numeraljs | dist/angular-numeraljs.min.js | JavaScript | mit | 1,075 |
/**
* Add your manual test filenames and display names below.
**/
var tests = [
{ href: "test-add.html", name: "Add Events" },
{ href: "test-delete.html", name: "Delete Events" },
{ href: "test-tracks.html", name: "Add Tracks" },
{ href: "test-vimeo.html", name: "Change Media to Vimeo" },
{ href: "test-yout... | ScottDowne/popcorn.webmaker.org | public/test/manual-tests/tests.js | JavaScript | mit | 687 |
/*
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/**
* @file Horizontal Page Break
*/
// Register a plugin named "pagebreak".
CKEDITOR.plugins.add( 'pagebreak',
{
init : function( editor )
{
// Registe... | adefreitea/expidian | web/bundles/expidian/js/ckeditor/plugins/pagebreak/plugin.js | JavaScript | mit | 2,644 |
define(["dojo/_base/declare","./AnalogIndicatorBase"],
function(declare, AnalogIndicatorBase) {
return declare("dojox.gauges.AnalogArrowIndicator", [AnalogIndicatorBase],{
// summary:
// An indicator for the AnalogGauge that draws an arrow. The arrow is drawn on the angle that corresponds
// to the value of the ... | avz-cmf/zaboy-middleware | www/js/dojox/gauges/AnalogArrowIndicator.js | JavaScript | gpl-3.0 | 1,598 |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'save', 'af', {
toolbar: 'Bewaar'
} );
| aodarc/flowers_room | styleguides/static/ckeditor/ckeditor/plugins/save/lang/af.js | JavaScript | mit | 212 |
define(
//begin v1.x content
{
"field-sat-relative+0": "เสาร์นี้",
"field-sat-relative+1": "เสาร์หน้า",
"field-dayperiod": "ช่วงวัน",
"field-sun-relative+-1": "อาทิตย์ที่แล้ว",
"field-mon-relative+-1": "จันทร์ที่แล้ว",
"field-minute": "นาที",
"field-day-relative+-1": "เมื่อวาน",
"field-weekday": "วันใ... | srujant/MLNews | static/js/cesium/ThirdParty/dojo-release-1.10.4/dojo/cldr/nls/th/ethiopic.js | JavaScript | mit | 4,368 |
/* Copyright (c) 2006 Yahoo! Inc. All rights reserved. */
/**
* @class The Yahoo global namespace
*/
var YAHOO = function() {
return {
/**
* Yahoo presentation platform utils namespace
*/
util: {},
/**
* Yahoo presentation platform widgets namespace
... | ArrozAlba/huayra | srh/public/js/grid/calendar/YAHOO.js | JavaScript | gpl-2.0 | 1,547 |
/*
---
name: Picker.Date
description: Creates a DatePicker, can be used for picking years/months/days and time, or all of them
authors: Arian Stolwijk
requires: [Picker, Picker.Attach, Locale.en-US.DatePicker, More/Locale, More/Date]
provides: Picker.Date
...
*/
(function(){this.DatePicker=Picker.Date=new Class({Extend... | studiochakra/writopialab.com | components/com_roksprocket/fields/filters/js/Picker.Date.js | JavaScript | gpl-2.0 | 11,806 |
// Generated by CoffeeScript 1.12.0
/*
ExternalEditor
Kevin Gravier <kevin@mrkmg.com>
MIT
*/
(function() {
var ReadFileError,
extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototyp... | mo-norant/FinHeartBel | website/node_modules/external-editor/main/errors/ReadFileError.js | JavaScript | gpl-3.0 | 800 |
//// [classDeclarationBlockScoping1.ts]
class C {
}
{
class C {
}
}
//// [classDeclarationBlockScoping1.js]
var C = (function () {
function C() {
}
return C;
}());
{
var C_1 = (function () {
function C_1() {
}
return C_1;
}());
}
| yortus/TypeScript | tests/baselines/reference/classDeclarationBlockScoping1.js | JavaScript | apache-2.0 | 300 |
// Generated by CoffeeScript 1.4.0
(function() {
"use strict";
var UserCommand, exports, _ref,
__slice = [].slice;
var exports = (_ref = window.chat) != null ? _ref : window.chat = {};
/*
* Represents a user command, like /kick or /say.
*/
UserCommand = (function() {
function UserCommand(nam... | wikijoss/circ | package/bin/chat/user_command.js | JavaScript | bsd-3-clause | 13,369 |
(function (factory) {
if (typeof define === 'function' && define.amd) {
define(['jquery'], factory);
} else if (typeof module === 'object' && typeof module.exports === 'object') {
factory(require('jquery'));
} else {
factory(jQuery);
}
}(function (jQuery) {
// Amharic
jQuery.timeago.settings.str... | xin2015/DataCenter | src/DataCenter.Web/wwwroot/libs/timeago/locales/jquery.timeago.am.js | JavaScript | mit | 906 |
import { changeProperties } from './property_events';
import { set } from './property_set';
/**
Set a list of properties on an object. These properties are set inside
a single `beginPropertyChanges` and `endPropertyChanges` batch, so
observers will be buffered.
```javascript
let anObject = Ember.Object.crea... | jherdman/ember.js | packages/ember-metal/lib/set_properties.js | JavaScript | mit | 921 |
/*
* JsSIP v3.0.2
* the Javascript SIP library
* Copyright: 2012-2017 José Luis Millán <jmillan@aliax.net> (https://github.com/jmillan)
* Homepage: http://jssip.net
* License: MIT
*/
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&def... | tonytomov/cdnjs | ajax/libs/jssip/3.0.3/jssip.js | JavaScript | mit | 798,200 |
var five = require("../lib/johnny-five.js");
var board = new five.Board();
board.on("ready", function() {
var temperature = new five.Temperature({
controller: "MPL115A2"
});
temperature.on("data", function() {
console.log("temperature");
console.log(" celsius : ", this.celsius);
console.lo... | manorius/printing_with_node | node_modules/johnny-five/eg/temperature-mpl115a2.js | JavaScript | mit | 607 |
ej.addCulture( "az-Latn-AZ", {
name: "az-Latn-AZ",
englishName: "Azerbaijani (Latin, Azerbaijan)",
nativeName: "Azərbaycan dili (Azərbaycan)",
language: "az-Latn",
numberFormat: {
",": " ",
".": ",",
percent: {
pattern: ["-n%","n%"],
",": " ",
".": ","
},
currency: {
pattern: ["-n $","n $"],
... | Asaf-S/jsdelivr | files/syncfusion-ej-global/15.1.41/i18n/ej.culture.az-Latn-AZ.js | JavaScript | mit | 6,524 |
/* Norwegian initialisation for the jQuery UI date picker plugin. */
/* Written by Naimdjon Takhirov (naimdjon@gmail.com). */
jQuery(function($){
$.datepicker.regional['no'] = {
closeText: 'Lukk',
prevText: '«Forrige',
nextText: 'Neste»',
currentText: 'I dag',
monthNames: ['j... | olek1984/dremboard | wp-content/plugins/wp-maintenance-mode/js/i18n/jquery.ui.datepicker-no.js | JavaScript | gpl-2.0 | 946 |
/**
* @fileoverview Rule to check for tabs inside a file
* @author Gyandeep Singh
*/
"use strict";
//------------------------------------------------------------------------------
// Helpers
//------------------------------------------------------------------------------
const regex = /\t/;
//--------------------... | decaf-emu/huehuetenango | static/node_modules/eslint/lib/rules/no-tabs.js | JavaScript | apache-2.0 | 1,321 |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var cordovaConfig = require("./cordova-config");
describe('parseConfig function', function () {
it('should return {} when the config does not contain a widget', function () {
var result = cordovaConfig.parseConfig({});
expe... | vivadaniele/spid-ionic-sdk | node_modules/@ionic/app-scripts/dist/util/cordova-config.spec.js | JavaScript | bsd-3-clause | 1,753 |
define(["./_base", "dojo/_base/lang", "./matrix"],
function (g, lang, m){
function eq(/* Number */ a, /* Number */ b){
// summary:
// compare two FP numbers for equality
return Math.abs(a - b) <= 1e-6 * (Math.abs(a) + Math.abs(b)); // Boolean
}
function calcFromValues(/* Number */ r1, /* Number */ m1, /* ... | avz-cmf/zaboy-middleware | www/js/dojox/gfx/decompose.js | JavaScript | gpl-3.0 | 4,688 |
'use strict';
if (self.importScripts) {
importScripts('/resources/testharness.js');
}
setup({
allow_uncaught_exception: true
});
//
// Straightforward unhandledrejection tests
//
async_test(function(t) {
var e = new Error();
var p;
onUnhandledSucceed(t, e, function() { return p; });
p = Promise.reject(... | scheib/chromium | third_party/blink/web_tests/external/wpt/html/webappapis/scripting/processing-model-2/unhandled-promise-rejections/support/promise-rejection-events.js | JavaScript | bsd-3-clause | 26,469 |
// This file contains methods responsible for removing a node.
import { hooks } from "./lib/removal-hooks";
export function remove() {
this._assertUnremoved();
this.resync();
if (this._callRemovalHooks()) {
this._markRemoved();
return;
}
this.shareCommentsWithSiblings();
this._remove();
this.... | forivall/tacoscript | packages/comal-traverse/src/path/removal.js | JavaScript | mit | 934 |
// Copyright (c) 2011 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 numPings = 0;
chrome.extension.onRequest.addListener(function(data) {
if (data != "ping")
chrome.test.fail("Unexpected request: " + JSON.str... | plxaye/chromium | src/chrome/test/data/extensions/api_test/content_scripts/extension_process/background.js | JavaScript | apache-2.0 | 789 |
exports.setupMockScopes = function (nock) { var scopes = []; var scope; scope =
nock('https://login.live.com:443')
.post('/accesstoken.srf', "grant_type=client_credentials&client_id=ms-app%3A%2F%2Fs-1-15-2-145565886-1510793020-2797717260-1526195933-3912359816-44086043-2211002316&client_secret=FF9yfJLxSH3uI32wNKGye64... | beat-at-hartwig/wns | test/nock/TileWideSmallImageAndText01-success.js | JavaScript | apache-2.0 | 1,750 |
/*! DataTables 1.10.7
* ©2008-2015 SpryMedia Ltd - datatables.net/license
*/
(function(Ea,Q,k){var P=function(h){function W(a){var b,c,e={};h.each(a,function(d){if((b=d.match(/^([^A-Z]+?)([A-Z])/))&&-1!=="a aa ai ao as b fn i m o s ".indexOf(b[1]+" "))c=d.replace(b[0],b[2].toLowerCase()),e[c]=d,"o"===b[1]&&W(a[d])})... | georgesks/digirey | ws/assets/vendors/datatable/js/jquery.dataTables.min.js | JavaScript | mit | 79,882 |
export default function absFloor(number) {
if (number < 0) {
// -0 -> 0
return Math.ceil(number) || 0;
} else {
return Math.floor(number);
}
}
| hieupham0206/yii-cloudteam-app | vendor/bower/moment/src/lib/utils/abs-floor.js | JavaScript | bsd-3-clause | 179 |
var knex = require('knex'),
config = require('../../config'),
dbConfig = config.database,
knexInstance;
function configureDriver(client) {
var pg;
if (client === 'pg' || client === 'postgres' || client === 'postgresql') {
try {
pg = require('pg');
} catch (e) {
... | bromagosa/pugemaltren | ghost/core/server/data/db/connection.js | JavaScript | mit | 857 |
'use strict';
function registerExports(gulpInst, tasks) {
var taskNames = Object.keys(tasks);
if (taskNames.length) {
taskNames.forEach(register);
}
function register(taskName) {
var task = tasks[taskName];
if (typeof task !== 'function') {
return;
}
gulpInst.task(taskName, task);... | devatworkgit/revenuemasters | themes/custom/revenuemasters/node_modules/gulp-cli/lib/shared/registerExports.js | JavaScript | gpl-2.0 | 362 |
/**
* @license
* Copyright 2014 The Lovefield Project 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
... | vasopikof/lovefield | lib/proc/query_task.js | JavaScript | apache-2.0 | 4,078 |
// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
// License: GNU General Public License v3. See license.txt
wn.pages['latest-updates'].onload = function(wrapper) {
wn.ui.make_app_page({
parent: wrapper,
title: wn._('Latest Updates'),
single_column: true
});
var parent = $(wrapper).... | saurabh6790/test-med-app | home/page/latest_updates/latest_updates.js | JavaScript | agpl-3.0 | 1,829 |
/** @license MIT License (c) copyright B Cavalier & J Hann */
/**
* wire/dojo/events plugin
* wire plugin that can connect event handlers after an object is
* initialized, and disconnect them when an object is destroyed.
* This implementation uses dojo.connect and dojo.disconnect to do
* the work of connecting an... | sedesigner2nd/AngularticsPinwheel | labs/architecture-examples/cujo/bower_components/wire/dojo/events.js | JavaScript | mit | 2,497 |
/*!***************************************************
* mark.js v8.7.0
* https://github.com/julmot/mark.js
* Copyright (c) 2014–2017, Julian Motz
* Released under the MIT license https://git.io/vwTVl
*****************************************************/
"use strict";
var _extends = Object.assign || funct... | Asaf-S/jsdelivr | files/mark.js/8.7.0/mark.js | JavaScript | mit | 35,152 |
/**
* @author Kyle-Larson https://github.com/Kyle-Larson
*
* Loader loads FBX file and generates Group representing FBX scene.
* Requires FBX file to be >= 7.0 and in ASCII format.
*
* Supports:
* Mesh Generation (Positional Data)
* Normal Data (Per Vertex Drawing Instance)
* UV Data (Per Vertex Drawing Ins... | skftn/waveDIM | waveDIM/static/js/three_utils/js/loaders/FBXLoader2.js | JavaScript | mit | 100,527 |
var vows = require("vows"),
load = require("../load"),
assert = require("../assert");
var suite = vows.describe("d3.layout.tree");
suite.addBatch({
"tree": {
topic: load("layout/tree").expression("d3.layout.tree"),
"computes a simple tree layout": function(tree) {
var t = tree();
assert.... | angrycactus/dkan | webroot/profiles/dkan/libraries/d3/test/layout/tree-test.js | JavaScript | gpl-2.0 | 1,577 |
// Copyright JS Foundation and other contributors, http://js.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 r... | grgustaf/jerryscript | tests/jerry-test-suite/12/12.07/12.07-002.js | JavaScript | apache-2.0 | 779 |
'use strict';
/**
* @description
* Private service to sanitize uris for links and images. Used by $compile and $sanitize.
*/
function $$SanitizeUriProvider() {
var aHrefSanitizationWhitelist = /^\s*(https?|ftp|mailto|tel|file):/,
imgSrcSanitizationWhitelist = /^\s*(https?|ftp|file):|data:image\//;
/**
*... | ericsteele/retrospec.js | test/input/projects/angular.js/fef0cfc/src/ng/sanitizeUri.js | JavaScript | mit | 2,916 |
import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let HardwareLaptopMac = (props) => (
<SvgIcon {...props}>
<path d="M20 18c1.1 0 1.99-.9 1.99-2L22 5c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v11c0 1.1.9 2 2 2H0c0 1.1.9 2 2 2h20c1.1 0 2-.9 2-2h-4zM4 5h16v11H4V5zm8 14c-.55 0... | frnk94/material-ui | src/svg-icons/hardware/laptop-mac.js | JavaScript | mit | 553 |
module.exports = ChainInstance;
function ChainInstance(chain, cb) {
var instances = null;
var loading = false;
var queue = [];
var load = function () {
loading = true;
chain.run(function (err, items) {
instances = items;
return next();
});
};
var promise = function(hwd, next) {
return funct... | wp3xpp/awesomeFreeMind-nodejs | www/node_modules/orm/lib/ChainInstance.js | JavaScript | mit | 1,495 |
YUI.add('editor-lists', function (Y, NAME) {
/**
* Handles list manipulation inside the Editor. Adds keyboard manipulation and execCommand support.
* Adds overrides for the <a href="Plugin.ExecCommand.html#method_COMMANDS.insertorderedlist">insertorderedlist</a>
* and <a href="Plugin.ExecCommand.ht... | chauncey/there-be-docs | static/yui3/editor-lists/editor-lists-debug.js | JavaScript | mit | 4,484 |
var path = require('path');
var fs = require('fs');
var spawn = require('child_process').spawn;
function noop() {}
exports.noop = noop;
if (process.env.HTTP2_LOG) {
var logOutput = process.stderr;
if (process.stderr.isTTY) {
var bin = path.resolve(path.dirname(require.resolve('bunyan')), '..', 'bin', 'bunyan'... | BobRazoswki/ddp | wp-content/themes/ddp/config/node_modules/gulp-connect/node_modules/http2/test/util.js | JavaScript | gpl-2.0 | 2,341 |
/*
* file.js: Transport for outputting to a local log file
*
* (C) 2010 Charlie Robbins
* MIT LICENCE
*
*/
var events = require('events'),
fs = require('fs'),
path = require('path'),
util = require('util'),
async = require('async'),
colors = require('colors'),
common = require('../common'... | littleredshack/socketbi | server/node_modules/winston/lib/winston/transports/file.js | JavaScript | mit | 16,320 |
/** PURE_IMPORTS_START PURE_IMPORTS_END */
export function hostReportError(err) {
setTimeout(function () { throw err; }, 0);
}
//# sourceMappingURL=hostReportError.js.map
| BigBoss424/portfolio | v8/development/node_modules/rxjs/_esm5/internal/util/hostReportError.js | JavaScript | apache-2.0 | 176 |
// generated from ldml/main/*.xml, xpath: ldml/numbers
({
'decimal':",",
'group':".",
'list':";",
'percentSign':"%",
'nativeZeroDigit':"0",
'patternDigit':"#",
'plusSign':"+",
'minusSign':"-",
'exponential':"E",
'perMille':"‰",
'infinity':"∞",
'nan':"NaN",
'decimalFormat':"#,##0.###",
'scientificFormat':"... | ozoneplatform/owf-framework | web-app/js-lib/dojo-release-1.5.0-src/dojo/cldr/nls/tr/number.js | JavaScript | apache-2.0 | 395 |
/**
* Copyright 2013-2015, 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.
*
* @providesModule ... | quazzie/relay | src/store/RelayRecordState.js | JavaScript | bsd-3-clause | 949 |
/**
* 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... | paulunits/tiptap | node_modules/react-native/Libraries/Inspector/PerformanceOverlay.js | JavaScript | mit | 1,546 |
var crypto = require('crypto');
var EventEmitter = require('events').EventEmitter;
var util = require('util');
var pgPass = require('pgpass');
var TypeOverrides = require('./type-overrides');
var ConnectionParameters = require('./connection-parameters');
var Query = require('./query');
var defaults = require('./defaul... | DianaVashti/talented-baboon | testApp/node_modules/pg/lib/client.js | JavaScript | mit | 8,813 |
tinyMCE.addI18n('ja.emotions_dlg',{
title:"\u30B9\u30DE\u30A4\u30EA\u30FC\u306E\u633F\u5165",
desc:"\u30B9\u30DE\u30A4\u30EA\u30FC",
cool:"Cool",
cry:"Cry",
embarassed:"Embarassed",
foot_in_mouth:"Foot in mouth",
frown:"Frown",
innocent:"Innocent",
kiss:"Kiss",
laughing:"Laughing",
money_mouth:"Money mouth",... | griggsk/Library-a-la-Carte | vendor/plugins/tiny_mce/public/javascripts/tiny_mce/plugins/emotions/langs/ja_dlg.js | JavaScript | agpl-3.0 | 460 |
/**
* Copyright 2018 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... | lannka/amphtml | src/utils/lru-cache.js | JavaScript | apache-2.0 | 2,381 |
/*************************************************************
*
* MathJax/fonts/HTML-CSS/TeX/png/Main/Bold/LatinExtendedA.js
*
* Defines the image size data needed for the HTML-CSS OutputJax
* to display mathematics using fallback images when the fonts
* are not availble to the client browser.
*
* -----... | AndrewSyktyvkar/Math | wysivig/MathJax/fonts/HTML-CSS/TeX/png/Main/Bold/unpacked/LatinExtendedA.js | JavaScript | bsd-3-clause | 1,440 |
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports... | joeyparrish/cdnjs | ajax/libs/muicss/0.7.4/js/mui.js | JavaScript | mit | 46,197 |
define([
'INST' /* INST */,
'i18n!submissions',
'jquery' /* $ */,
'str/htmlEscape',
'jquery.ajaxJSON' /* ajaxJSON */,
'jqueryui/dialog',
'jqueryui/progressbar' /* /\.progressbar/ */
], function(INST, I18n, $, htmlEscape) {
INST.downloadSubmissions = function(url) {
var cancelled = false;
var ti... | dgynn/canvas-lms | public/javascripts/submission_download.js | JavaScript | agpl-3.0 | 2,986 |
//// [decoratorMetadataForMethodWithNoReturnTypeAnnotation01.ts]
declare var decorator: any;
class MyClass {
constructor(test: string, test2: number) {
}
@decorator
doSomething() {
}
}
//// [decoratorMetadataForMethodWithNoReturnTypeAnnotation01.js]
var MyClass = (function () {
funct... | sassson/TypeScript | tests/baselines/reference/decoratorMetadataForMethodWithNoReturnTypeAnnotation01.js | JavaScript | apache-2.0 | 820 |
/**
* Merges the specified observable sequences into one observable sequence by using the selector function whenever any of the observable sequences or Promises produces an element.
*
* @example
* 1 - obs = Rx.Observable.combineLatest(obs1, obs2, obs3, function (o1, o2, o3) { return o1 + o2 + o3; });
*... | misterwolfs/viamonastero | wp-content/themes/roots-master/node_modules/bower/node_modules/insight/node_modules/inquirer/node_modules/rx/src/core/linq/observable/combinelatest.js | JavaScript | gpl-2.0 | 2,286 |