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 |
|---|---|---|---|---|---|
'use strict';
angular.module('openshiftConsole')
.directive('overviewDeployment', function($location, $timeout, LabelFilter) {
return {
restrict: 'E',
scope: {
// Replication controller / deployment fields
rc: '=',
deploymentConfigId: '=',
deploymentConfigMissing: '=',
... | domenicbove/origin | assets/app/scripts/directives/resources.js | JavaScript | apache-2.0 | 3,240 |
/*
* @author RocketTheme http://www.rockettheme.com
* @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
*/
var RokIEWarn=new Class({site:"sitename",initialize:function(f){var d=f;this.box=new Element("div",{id:"iewarn"}).inject(document.bod... | devxive/nawala-rdk | src/lib_gantry/js/gantry-ie6warn.js | JavaScript | apache-2.0 | 1,220 |
/**
*
*/
var obj = {
num: 123,
str: 'hello',
};
obj.
| JonathanUsername/flow | newtests/autocomplete/foo.js | JavaScript | mit | 61 |
function error_log(message, message_type, destination, extra_headers) {
// http://kevin.vanzonneveld.net
// + original by: Paul Hutchinson (http://restaurantthing.com/)
// + revised by: Brett Zamir (http://brett-zamir.me)
// % note 1: The dependencies, mail(), syslog(), and file_put_contents()
//... | cigraphics/phpjs | experimental/errorfunc/error_log.js | JavaScript | mit | 2,020 |
'use strict'
const Buffer = require('safe-buffer').Buffer
const crypto = require('crypto')
const Transform = require('stream').Transform
const SPEC_ALGORITHMS = ['sha256', 'sha384', 'sha512']
const BASE64_REGEX = /^[a-z0-9+/]+(?:=?=?)$/i
const SRI_REGEX = /^([^-]+)-([^?]+)([?\S*]*)$/
const STRICT_SRI_REGEX = /^([^-... | veerhiremath7/veerhiremath7.github.io | node_modules/ssri/index.js | JavaScript | unlicense | 11,559 |
/**
* DO NOT EDIT THIS FILE.
* See the following change record for more information,
* https://www.drupal.org/node/2815083
* @preserve
**/
(function (_, $, Backbone, Drupal) {
Drupal.quickedit.EntityModel = Drupal.quickedit.BaseModel.extend({
defaults: {
el: null,
entityID: null,
entityInstan... | isauragalafate/drupal8 | web/core/modules/quickedit/js/models/EntityModel.js | JavaScript | gpl-2.0 | 10,662 |
var $ = require('common:widget/ui/jquery/jquery.js');
var UT = require('common:widget/ui/ut/ut.js');
var FBClient = {};
var TPL_CONF = require('home:widget/ui/facebook/fbclient-tpl.js');
/**
* Fackbook module init function
* @return {object} [description]
*/
var WIN = window,
DOC = document,
conf = WIN.conf.FBCli... | femxd/fxd | test/diff_fis3_smarty/product_code/hao123_fis3_smarty/home/widget/ui/facebook/fbclient.js | JavaScript | bsd-2-clause | 11,122 |
/**
* 404 (Not Found) Handler
*
* Usage:
* return res.notFound();
* return res.notFound(err);
* return res.notFound(err, 'some/specific/notfound/view');
*
* e.g.:
* ```
* return res.notFound();
* ```
*
* NOTE:
* If a request doesn't match any explicit routes (i.e. `config/routes.js`)
* or route blueprint... | Karnith/sails-generate-backend-gulp | templates/api/responses/notFound.js | JavaScript | mit | 2,543 |
(function(){var e=window.AmCharts;e.AmRectangularChart=e.Class({inherits:e.AmCoordinateChart,construct:function(a){e.AmRectangularChart.base.construct.call(this,a);this.theme=a;this.createEvents("zoomed","changed");this.marginRight=this.marginBottom=this.marginTop=this.marginLeft=20;this.depth3D=this.angle=0;this.plotA... | Asaf-S/jsdelivr | files/amcharts/3.21.0/xy.js | JavaScript | mit | 21,406 |
/**
* Copyright 2015 IBM Corp.
*
* 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 wr... | mikestebbins/node-red | red/api/theme.js | JavaScript | apache-2.0 | 5,062 |
/*! asynquence-contrib
v0.13.0 (c) Kyle Simpson
MIT License: http://getify.mit-license.org
*/
(function UMD(dependency,definition){
if (typeof module !== "undefined" && module.exports) {
// make dependency injection wrapper first
module.exports = function $$inject$dependency(dep) {
// only try to `requ... | x112358/cdnjs | ajax/libs/asynquence-contrib/0.13.0/contrib.src.js | JavaScript | mit | 50,809 |
/**
* Copyright 2014 Google Inc. 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 required by appli... | Shance/newsaity74.ru | templates/blank_j3/node_modules/psi/node_modules/googleapis/apis/storage/v1.js | JavaScript | gpl-2.0 | 48,996 |
// Random number generator - requires a PRNG backend, e.g. prng4.js
// For best results, put code like
// <body onClick='rng_seed_time();' onKeyPress='rng_seed_time();'>
// in your main HTML document.
var rng_state;
var rng_pool;
var rng_pptr;
// Mix in a 32-bit integer into the pool
function rng_seed_int(x) {
rng... | enketosurvey/mo | www/lib/rsa/rng.js | JavaScript | apache-2.0 | 2,112 |
/* ==========================================================
* bootstrap-formhelpers-countries.en_US.js
* https://github.com/vlamanna/BootstrapFormHelpers
* ==========================================================
* Copyright 2012 Vincent Lamanna
*
* Licensed under the Apache License, Version 2.0 (the "License... | Eonic/EonicWeb5 | wwwroot/ewcommon/bs3/addons/formHelpers/js/lang/en_US/bootstrap-formhelpers-countries.en_US.js | JavaScript | apache-2.0 | 6,201 |
/*before*/"use strict";
/*after*/foo();
| zjmiller/babel | packages/babel-plugin-transform-strict-mode/test/fixtures/auxiliary-comment/use-strict-add/expected.js | JavaScript | mit | 41 |
/**
* Update: 15-5-11
* Editor: qihongye
*/
var fs = require('fs');
var path = require('path');
var fis = require('../lib/fis.js');
var _ = fis.file;
var defaultSettings = (require('../lib/config.js')).DEFALUT_SETTINGS;
var expect = require('chai').expect;
var u = fis.util;
var config = null;
describe('config: co... | richard-chen-1985/fis3 | test/config.js | JavaScript | bsd-2-clause | 6,959 |
(function() {
var add, crispedges, feature, flexbox, fullscreen, gradients, logicalProps, prefix, readOnly, resolution, result, sort, writingMode,
slice = [].slice;
sort = function(array) {
return array.sort(function(a, b) {
var d;
a = a.split(' ');
b = b.split(' ');
if (a[0] > b[0]... | yuyang545262477/AfterWork | webpack/LittleTwo/node_modules/autoprefixer/data/prefixes.js | JavaScript | mit | 15,271 |
/*
* grunt-contrib-compress
* http://gruntjs.com/
*
* Copyright (c) 2016 Chris Talkington, contributors
* Licensed under the MIT license.
*/
'use strict';
var fs = require('fs');
var path = require('path');
var prettyBytes = require('pretty-bytes');
var chalk = require('chalk');
var zlib = require('zlib');
var ... | ph3l1x/realestate | sites/all/themes/default/bootstrap/node_modules/grunt-contrib-compress/tasks/lib/compress.js | JavaScript | gpl-2.0 | 7,527 |
tinyMCE.addI18n('th.advimage_dlg',{
tab_general:"\u0E17\u0E31\u0E48\u0E27\u0E44\u0E1B",
tab_appearance:"\u0E25\u0E31\u0E01\u0E29\u0E13\u0E30",
tab_advanced:"\u0E02\u0E31\u0E49\u0E19\u0E2A\u0E39\u0E07",
general:"\u0E17\u0E31\u0E48\u0E27\u0E44\u0E1B",
title:"\u0E0A\u0E37\u0E48\u0E2D",
preview:"\u0E14\u0E39\u0E15\u0... | numericube/twistranet | twistranet/themes/twistheme/static/js/tiny_mce/plugins/advimage/langs/th_dlg.js | JavaScript | agpl-3.0 | 3,520 |
/* ***** BEGIN LICENSE BLOCK *****
* Distributed under the BSD license:
*
* Copyright (c) 2012, Ajax.org B.V.
* 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 sou... | jecelyin/920-text-editor-v2 | tools/assets/ace/lib/ace/mode/nsis.js | JavaScript | apache-2.0 | 2,369 |
import FixtureSet from '../../FixtureSet';
import TestCase from '../../TestCase';
import PasswordTestCase from './PasswordTestCase';
const React = window.React;
function NumberInputs() {
return (
<FixtureSet title="Password inputs">
<TestCase
title="The show password icon"
description={`
... | jdlehman/react | fixtures/dom/src/components/fixtures/password-inputs/index.js | JavaScript | mit | 835 |
(function( $ ) {
/**
* Activity reply object for the activity index screen
*
* @since 1.6
*/
var activityReply = {
/**
* Attach event handler functions to the relevant elements.
*
* @since 1.6
*/
init : function() {
$(document).on( 'click', '.row-actions a.reply', activityReply.open );
... | jnishiyama/PebblesWP | wp-content/plugins/buddypress/bp-activity/admin/js/admin.dev.js | JavaScript | gpl-2.0 | 4,291 |
/**
* @preserve SelectNav.js (v. 0.1)
* Converts your <ul>/<ol> navigation into a dropdown list for small screens
* https://github.com/lukaszfiszer/selectnav.js
*/
window.selectnav = (function(){
"use strict";
var selectnav = function(element,options){
element = document.getElementById(element);
// r... | rtdean93/drupalengage | store.drupalengage.com/profiles/commerce_kickstart/libraries/selectnav.js/selectnav.js | JavaScript | gpl-2.0 | 3,924 |
function __processArg(obj, key) {
var arg = null;
if (obj) {
arg = obj[key] || null;
delete obj[key];
}
return arg;
}
function Controller() {
require("alloy/controllers/BaseController").apply(this, Array.prototype.slice.call(arguments));
this.__controllerPath = "index";
this... | jvkops/alloy | test/apps/testing/ALOY-262/_generated/mobileweb/alloy/controllers/index.js | JavaScript | apache-2.0 | 1,252 |
/*
Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang("placeholder","sv",{title:"Innehållsrutans egenskaper",toolbar:"Skapa innehållsruta",name:"Innehållsrutans namn",invalidName:"Inn... | Laravel-Backpack/crud | src/public/packages/ckeditor/plugins/placeholder/lang/sv.js | JavaScript | mit | 456 |
// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
// MIT License. See license.txt
get_server_fields = function(method, arg, table_field, doc, dt, dn, allow_edit, call_back) {
frappe.dom.freeze();
if($.isPlainObject(arg)) arg = JSON.stringify(arg);
return $c('runserverobj',
args={'method': m... | pawaranand/phr_frappe | frappe/public/js/legacy/clientscriptAPI.js | JavaScript | mit | 7,148 |
import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ActionThumbDown = (props) => (
<SvgIcon {...props}>
<path d="M15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v1.91l.01.01L1 14c0 1.1.9 2 2 2h6.31l-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 23l6.5... | mmrtnz/material-ui | src/svg-icons/action/thumb-down.js | JavaScript | mit | 562 |
/**
* Module dependencies.
*/
var Connection = require('../../connection')
, mongo = require('mongodb')
, Server = mongo.Server
, ReplSetServers = mongo.ReplSetServers;
/**
* Connection for mongodb-native driver
*
* @api private
*/
function NativeConnection() {
Connection.apply(this, arguments);
};
/*... | f14c0/rb-sensor | webapp/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js | JavaScript | mit | 2,154 |
// $Id: ajax.js,v 1.26.2.2 2009/11/30 22:47:05 merlinofchaos Exp $
/**
* @file ajax_admin.js
*
* Handles AJAX submission and response in Views UI.
*/
Drupal.Views.Ajax = Drupal.Views.Ajax || {};
/**
* Handles the simple process of setting the ajax form area with new data.
*/
Drupal.Views.Ajax.setForm = function... | hugowetterberg/goodold_drupal | sites/all/modules/views/js/ajax.js | JavaScript | gpl-2.0 | 9,897 |
esprima.tokenize(null);
| supriyantomaftuh/esprima | test/fixtures/api/migrated_0010.run.js | JavaScript | bsd-2-clause | 24 |
!function(e){e.calendarsPicker.regionalOptions.km={renderer:e.calendarsPicker.defaultRenderer,prevText:"ថយក្រោយ",prevStatus:"",prevJumpText:"<<",prevJumpStatus:"",nextText:"ទៅមុខ",nextStatus:"",nextJumpText:">>",nextJumpStatus:"",currentText:"ថ្ងៃនេះ",currentStatus:"",todayText:"ថ្ងៃនេះ",todaySt... | bedegaming-aleksej/Orchard | src/Orchard.Web/Modules/Orchard.Resources/Scripts/Calendars/jquery.calendars.picker-km.min.js | JavaScript | bsd-3-clause | 651 |
// 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/debugger/do_help.js | JavaScript | apache-2.0 | 651 |
/* Copyright (c) 2011 by The Authors.
* Published under the LGPL 2.1 license.
* See /license-notice.txt for the full text of the license notice.
* See /license.txt for the full text of the license.
*/
/**
* Supplies a set of utility methods for building Geometry objects from lists
* of Coordinates.
*
* Note th... | mileswwatkins/ABiteBetweenUs | utilities/scripts/jsts/src/jsts/geom/GeometryFactory.js | JavaScript | apache-2.0 | 8,870 |
/**
* angular-strap
* @version v2.1.6 - 2015-01-11
* @link http://mgcrea.github.io/angular-strap
* @author Olivier Louvignes (olivier@mg-crea.com)
* @license MIT License, http://www.opensource.org/licenses/MIT
*/
"use strict";angular.module("mgcrea.ngStrap.helpers.dateFormatter",[]).service("$dateFormatter",["$lo... | spawashe/poc-mango-cad | www/lib/bower_components/angular-strap/dist/modules/date-formatter.min.js | JavaScript | mit | 873 |
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2016 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/
/**
* An Image is a light-weight object you can use to display anything that doesn't need physics or animation.
* It can s... | stoneman1/phaser | v2/src/gameobjects/Image.js | JavaScript | mit | 3,099 |
// FIXME: Tell people that this is a manifest file, real code should go into discrete files
// FIXME: Tell people how Sprockets and CoffeeScript works
//
//= require jquery
//= require jquery_ujs
//= require_tree .
| danielwanja/bulk_data_source_flex | testrailsapp/app/assets/javascripts/application.js | JavaScript | mit | 215 |
(function ($, Drupal) {
/**
* Toggle show/hide links for off canvas layout.
*/
Drupal.behaviors.omegaOffCanvasLayout = {
attach: function (context) {
$('#off-canvas').click(function(e) {
if (!$(this).hasClass('is-visible')) {
$(this).addClass('is-visible');
e.preventDefau... | sgurlt/drupal-sandbox | www/sites/all/themes/omega/omega/layouts/off-canvas/assets/off-canvas.js | JavaScript | gpl-2.0 | 827 |
/*! MVW-Injection (0.2.5). (C) 2015 Xavier Boubert. MIT @license: en.wikipedia.org/wiki/MIT_License */
(function(root) {
'use strict';
var DependencyInjection = new (function DependencyInjection() {
var _this = this,
_interfaces = {};
function _formatFactoryFunction(factoryFunction) {
if (... | dlueth/cdnjs | ajax/libs/mvw-injection/0.2.5/dependency-injection.js | JavaScript | mit | 5,110 |
/**
* Copyright 2013-2014, 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 ... | demns/todomvc-perf-comparison | todomvc/react/node_modules/react/lib/ReactCompositeComponent.js | JavaScript | mit | 48,272 |
/**
* 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... | DistroScale/amphtml | src/amp-shadow-babel.js | JavaScript | apache-2.0 | 799 |
angular
.module('menuDemoPosition', ['ngMaterial'])
.config(function($mdIconProvider) {
$mdIconProvider
.iconSet("call", 'img/icons/sets/communication-icons.svg', 24)
.iconSet("social", 'img/icons/sets/social-icons.svg', 24);
})
.controller('PositionDemoCtrl', function DemoCtrl($mdDialog) {
... | jelbourn/material | src/components/menu/demoMenuPositionModes/script.js | JavaScript | mit | 747 |
/**
* @author mrdoob / http://mrdoob.com/
*/
THREE.XHRLoader = function ( manager ) {
this.cache = new THREE.Cache();
this.manager = ( manager !== undefined ) ? manager : THREE.DefaultLoadingManager;
};
THREE.XHRLoader.prototype = {
constructor: THREE.XHRLoader,
load: function ( url, onLoad, onProgress, onE... | ccclayton/DataWar | static/js/threejs.r70/src/loaders/XHRLoader.js | JavaScript | mit | 1,408 |
/*
* KineticJS JavaScript Framework v5.1.0
* http://www.kineticjs.com/
* Copyright 2013, Eric Rowell
* Licensed under the MIT or GPL Version 2 licenses.
* Date: 2014-03-27
*
* Copyright (C) 2011 - 2013 by Eric Rowell
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this s... | xixizhang96/Example | 例子example/jQuery+html5圆形进度条倒计时动画特效/改动版/js/kinetic-v5.1.0.js | JavaScript | mit | 514,339 |
/*!
* inferno v0.7.3
* (c) 2016 Dominic Gannaway
* Released under the MPL-2.0 License.
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global.Inferno = factory());
}(this, ... | sashberd/cdnjs | ajax/libs/inferno/0.7.3/inferno.js | JavaScript | mit | 6,896 |
/**
* OpenLayers 3 Layer Switcher Control.
* See [the examples](./examples) for usage.
* @constructor
* @extends {ol.control.Control}
* @param {Object} opt_options Control options, extends olx.control.ControlOptions adding:
* **`tipLabel`** `String` - the button tooltip.
*/
ol.contro... | mwernimont/sparrow-ui | src/main/webapp/js/vendor/ol3-layerswitcher/1.0.2/ol3-layerswitcher.js | JavaScript | cc0-1.0 | 6,635 |
(function () {
/*** Variables ***/
var win = window,
doc = document,
attrProto = {
setAttribute: Element.prototype.setAttribute,
removeAttribute: Element.prototype.removeAttribute
},
hasShadow = Element.prototype.createShadowRoot,
container = doc.createElement('div'),
... | rlugojr/cdnjs | ajax/libs/x-tag/1.5.10/x-tag-no-polyfills.js | JavaScript | mit | 30,690 |
// Copyright (c) 2012 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.
/**
* @fileoverview New tab page
* This is the main code for the new tab page used by touch-enabled Chrome
* browsers. For now this is still a pro... | s20121035/rk3288_android5.1_repo | external/chromium_org/chrome/browser/resources/ntp4/new_tab.js | JavaScript | gpl-3.0 | 23,568 |
/**
* version: 1.1.3
*/
angular.module('ngWig', ['ngwig-app-templates']);
angular.module('ngWig').directive('ngWig', function () {
return {
scope: {
content: '=ngWig'
},
restrict: 'A',
replace: true,
templateUrl: 'ng-wig/views/ng-wig.html',
link: funct... | dhenson02/cdnjs | ajax/libs/ng-wig/1.1.3/ng-wig.js | JavaScript | mit | 6,452 |
/**
* Arabic translation (Syrian Localization, it may differ if you aren't from Syria or any Country in Middle East)
* @author Tawfek Daghistani <tawfekov@gmail.com>
* @version 2011-07-09
*/
if (elFinder && elFinder.prototype && typeof(elFinder.prototype.i18) == 'object') {
elFinder.prototype.i18.ar = {
translat... | tokenly/tokenly-cms | www/themes/tokentalk/js/i18n/elfinder.ar.js | JavaScript | gpl-2.0 | 14,935 |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v4.1.5
* @link http://www.ag-grid.com/
* @license MIT
*/
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : ... | Eurofunk/ag-grid | dist/lib/selectionRendererFactory.js | JavaScript | mit | 2,720 |
/* Spellbook Class Extension */
if (!Array.prototype.remove) {
Array.prototype.remove = function (obj) {
var self = this;
if (typeof obj !== "object" && !obj instanceof Array) {
obj = [obj];
}
return self.filter(function(e){
if(obj.indexOf(e)<0) {
return e
}
});
};
}
if (!Array.prototype.c... | viskin/cdnjs | ajax/libs/spellbook/0.0.28/spellbook.js | JavaScript | mit | 9,757 |
/*
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); ... | aroegies/trecrts-tools | trecrts-mobile-app/plugins/cordova-plugin-inappbrowser/src/windows/InAppBrowserProxy.js | JavaScript | apache-2.0 | 13,645 |
/**
File Name: expression-014.js
Corresponds To: ecma/Expressions/11.2.2-9-n.js
ECMA Section: 11.2.2. The new operator
Description:
Author: christine@netscape.com
Date: 12 november 1997
*/
var SECTION = "expression-014.js";
var VERSION = "ECM... | danialbehzadi/Nokia-RM-1013-2.0.0.11 | webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/Exceptions/expression-014.js | JavaScript | gpl-3.0 | 966 |
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var AsyncAction_1 = require('./AsyncAction');
va... | diegojromerolopez/djanban | src/djanban/static/angularapps/taskboard/node_modules/rxjs/scheduler/VirtualTimeScheduler.js | JavaScript | mit | 3,914 |
(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);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex... | AMoo-Miki/cdnjs | ajax/libs/forerunnerdb/1.3.505/fdb-core.js | JavaScript | mit | 240,356 |
import css from './source.css';
__export__ = css;
export default css;
| webpack-contrib/css-loader | test/fixtures/postcss-present-env/source.js | JavaScript | mit | 72 |
/*!
* Platform.js <http://mths.be/platform>
* Copyright 2010-2012 John-David Dalton <http://allyoucanleet.com/>
* Available under MIT license <http://mths.be/mit>
*/
;(function(window) {
/** Backup possible window/global object */
var oldWin = window,
/** Possible global object */
thisBinding = this,
/... | wayne-lewis/baiducdnstatic | libs/platform/0.4.0/platform.js | JavaScript | mit | 29,104 |
'use strict';
module.exports = function (t, a) {
var x;
a.throws(function () { t(0); }, TypeError, "0");
a.throws(function () { t(false); }, TypeError, "false");
a.throws(function () { t(''); }, TypeError, "''");
a(t(x = {}), x, "Object");
a(t(x = function () {}), x, "Function");
a(t(x = new String('raz')), x, ... | yuyang545262477/Resume | 项目二电商首页/node_modules/es5-ext/test/object/valid-object.js | JavaScript | mit | 506 |
// Copyright (c) 2012 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.
cr.define('cr.ui', function() {
// require cr.ui.define
// require cr.ui.limitInputWidth
/**
* The number of pixels to indent per level.
... | aospx-kitkat/platform_external_chromium_org | ui/webui/resources/js/cr/ui/tree.js | JavaScript | bsd-3-clause | 18,164 |
/**
* @license Highcharts JS v4.2.2 (2016-02-04)
*
* (c) 2014 Highsoft AS
* Authors: Jon Arild Nygard / Oystein Moseng
*
* License: www.highcharts.com/license
*/
(function (factory) {
if (typeof module === 'object' && module.exports) {
module.exports = factory;
} else {
factory(Highcharts);
}
}(function ... | morsaken/webim-cms | views/backend/default/layouts/js/plugins/highcharts/modules/treemap.src.js | JavaScript | mit | 24,507 |
/*!
* inferno-router v0.7.14
* (c) 2016 Dominic Gannaway
* Released under the MIT License.
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global.InfernoRouter = f... | dlueth/cdnjs | ajax/libs/inferno/0.7.14/inferno-router.js | JavaScript | mit | 18,182 |
/**
* React Starter Kit (http://www.reactstarterkit.com/)
*
* Copyright © 2014-2015 Kriasoft, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
*/
import path from 'path';
import cp from 'child_process';
/... | SFDevLabs/react-starter-kit | tools/serve.js | JavaScript | mit | 825 |
/*
Project: angular-gantt v1.2.8 - Gantt chart component for AngularJS
Authors: Marco Schweighauser, Rémi Alvergnat
License: MIT
Homepage: https://www.angular-gantt.com
Github: https://github.com/angular-gantt/angular-gantt.git
*/
(function(){
/* global ResizeSensor: false */
/* global ElementQueries: false */
... | GuilhouT/angular-gantt | dist/angular-gantt-resizeSensor-plugin.js | JavaScript | mit | 2,694 |
/*
AngularJS v1.6.2
(c) 2010-2017 Google, Inc. http://angularjs.org
License: MIT
*/
(function(x,n){'use strict';function s(f,k){var e=!1,a=!1;this.ngClickOverrideEnabled=function(b){return n.isDefined(b)?(b&&!a&&(a=!0,t.$$moduleName="ngTouch",k.directive("ngClick",t),f.decorator("ngClickDirective",["$delegate",funct... | carlosgonzg/intermapa | public/libraries/angular-touch/angular-touch.min.js | JavaScript | mit | 4,041 |
a enum; | Jazzling/jazzle-parser | test/test-esprima/fixtures/invalid-syntax/migrated_0115.js | JavaScript | mit | 7 |
topojson = (function() {
function merge(topology, arcs) {
var arcsByEnd = {},
fragmentByStart = {},
fragmentByEnd = {};
arcs.forEach(function(i) {
var e = ends(i);
(arcsByEnd[e[0]] || (arcsByEnd[e[0]] = [])).push(i);
(arcsByEnd[e[1]] || (arcsByEnd[e[1]] = [])).push(~i);
... | pzp1997/cdnjs | ajax/libs/topojson/0.0.28/topojson.js | JavaScript | mit | 8,261 |
Package.describe({
summary: "Github OAuth flow",
version: "1.1.4-plugins.0"
});
Package.onUse(function(api) {
api.use('oauth2', ['client', 'server']);
api.use('oauth', ['client', 'server']);
api.use('http', ['server']);
api.use('underscore', 'client');
api.use('templating', 'client');
api.use('random',... | joannekoong/meteor | packages/github/package.js | JavaScript | mit | 598 |
define(
"dijit/form/nls/ca/validate", ({
invalidMessage: "El valor introduït no és vàlid",
missingMessage: "Aquest valor és necessari",
rangeMessage: "Aquest valor és fora de l'interval"
})
);
| Caspar12/zh.sw | zh.web.site.admin/src/main/resources/static/js/dojo/dijit/form/nls/ca/validate.js.uncompressed.js | JavaScript | apache-2.0 | 201 |
/*! interpolate.js v1.0.0 | (c) 2014 @toddmotto | https://github.com/toddmotto/interpolate */
!function(t,e){"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e:t.interpolate=e()}(this,function(){"use strict";function t(t){"String"===e(t)&&(this.template=n(t))}function e(t){return ... | rteasdale/cdnjs | ajax/libs/interpolate.js/1.0.0/interpolate.min.js | JavaScript | mit | 660 |
!function(a,b){function c(){function a(){"undefined"!=typeof _wpmejsSettings&&(c=b.extend(!0,{},_wpmejsSettings)),c.success=c.success||function(a){var b,c;"flash"===a.pluginType&&(b=a.attributes.autoplay&&"false"!==a.attributes.autoplay,c=a.attributes.loop&&"false"!==a.attributes.loop,b&&a.addEventListener("canplay",fu... | abbasarezoo/wp-starter-pack | www/wp-includes/js/mediaelement/wp-mediaelement.min.js | JavaScript | gpl-3.0 | 796 |
declare var a: number;
var b: typeof a = "...";
var c: typeof a = "...";
type T = number;
var x:T = "...";
// what about recursive unions?
| kidaa/kythe | third_party/flow/tests/reflection/type.js | JavaScript | apache-2.0 | 141 |
/**
* Italian translation for bootstrap-datepicker
* Enrico Rubboli <rubboli@gmail.com>
*/
;(function($){
$.fn.datepicker.dates['it'] = {
days: ["Domenica", "Lunedì", "Martedì", "Mercoledì", "Giovedì", "Venerdì", "Sabato", "Domenica"],
daysShort: ["Dom", "Lun", "Mar", "Mer", "Gio", "Ven", "Sab", "Dom"],
daysM... | zxinStar/footshop | zxAdmin/assets/js/uncompressed/date-time/locales/bootstrap-datepicker.it.js | JavaScript | agpl-3.0 | 694 |
'use strict';
var $ = require('jquery');
require('./github-node-cfg.js');
var AddonHelper = require('js/addonHelper');
$(window.contextVars.githubSettingsSelector).on('submit', AddonHelper.onSubmitSettings);
| ticklemepierce/osf.io | website/addons/github/static/node-cfg.js | JavaScript | apache-2.0 | 210 |
/*!
* https://github.com/es-shims/es5-shim
* @license es5-shim Copyright 2009-2015 by contributors, MIT License
* see https://github.com/es-shims/es5-shim/blob/master/LICENSE
*/
// vim: ts=4 sts=4 sw=4 expandtab
// Add semicolon to prevent IIFE from being passed as argument to concatenated code.
;
// UMD (Univer... | staticmatrix/Triangle | refer/modules/es5-shim/4.2.0/es5-shim.js | JavaScript | mit | 61,950 |
// https://github.com/isaacs/sax-js/issues/124
require(__dirname).test
( { xml : "<!-- stand alone comment -->"
, expect :
[ [ "comment", " stand alone comment " ] ]
, strict : true
, opt : {}
}
)
| apere/spark.blog | wp-content/themes/sheri-theme/node_modules/gulp-imagemin/node_modules/imagemin/node_modules/imagemin-svgo/node_modules/svgo/node_modules/sax/test/stand-alone-comment.js | JavaScript | gpl-2.0 | 225 |
/* Copyright (c) 2006-2013 by OpenLayers Contributors (see authors.txt for
* full list of contributors). Published under the 2-clause BSD license.
* See license.txt in the OpenLayers distribution or repository for the
* full text of the license. */
/**
* @requires OpenLayers/BaseTypes/Class.js
*/
/**
* Class: O... | savchukoleksii/beaversteward | www/settings/tools/mysql/js/openlayers/src/openlayers/lib/OpenLayers/Protocol.js | JavaScript | mit | 8,407 |
(function($){
if(webshims.support.texttrackapi && document.addEventListener){
var trackOptions = webshims.cfg.track;
var trackListener = function(e){
$(e.target).filter('track').each(changeApi);
};
var trackBugs = webshims.bugs.track;
var changeApi = function(){
if(trackBugs || (!trackOptions.override ... | ttitto/ttitto.github.io | js-webshim/dev/shims/track-ui.js | JavaScript | mit | 10,440 |
//// [symbolDeclarationEmit8.ts]
var obj = {
[Symbol.isConcatSpreadable]: 0
}
//// [symbolDeclarationEmit8.js]
var obj = {
[Symbol.isConcatSpreadable]: 0
};
//// [symbolDeclarationEmit8.d.ts]
declare var obj: {
[Symbol.isConcatSpreadable]: number;
};
| shanexu/TypeScript | tests/baselines/reference/symbolDeclarationEmit8.js | JavaScript | apache-2.0 | 279 |
/*
Highcharts JS v5.0.13 (2017-07-27)
(c) 2009-2017 Highsoft AS
License: www.highcharts.com/license
*/
(function(a){"object"===typeof module&&module.exports?module.exports=a:a(Highcharts)})(function(a){a.theme={colors:["#FDD089","#FF7F79","#A0446E","#251535"],colorAxis:{maxColor:"#60042E",minColor:"#FDD089"},plotO... | ChrisCioffi/ChrisCioffi.github.io | portfolio/Highcharts-5.0.13/code/themes/sunset.js | JavaScript | mit | 438 |
/*! lazysizes - v1.2.3-rc1 */
!function(a){"use strict";var b,c,d,e;a.addEventListener&&(b=a.lazySizes&&lazySizes.cfg||a.lazySizesConfig||{},c=b.lazyClass||"lazyload",d=function(){var b,d;if("string"==typeof c&&(c=document.getElementsByClassName(c)),a.lazySizes)for(b=0,d=c.length;d>b;b++)lazySizes.loader.unveil(c[b])},... | ristoman/lazysizes | plugins/print/ls.print.min.js | JavaScript | mit | 487 |
/*
HISTORY
02-Aug-10 L-05-28 $$1 pdeshmuk Created.
*/
function deleteItemsInSimpRep ()
{
if (!pfcIsWindows())
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
/*--------------------------------------------------------------------*\
Get the current assembly
\*... | 2014c2g12/c2g12 | wsgi/wsgi/static/weblink/examples/jscript/pfcSimpRepExamples.js | JavaScript | gpl-2.0 | 4,660 |
/**
* A date picker component which shows a Date Picker on the screen. This class extends from {@link Ext.picker.Picker}
* and {@link Ext.Sheet} so it is a popup.
*
* This component has no required configurations.
*
* ## Examples
*
* @example miniphone preview
* var datePicker = Ext.create('Ext.picker.... | appcodechile/Rockola | webapp/touch/src/picker/Date.js | JavaScript | mit | 12,879 |
function acosh (arg) {
// http://kevin.vanzonneveld.net
// + original by: Onno Marsman
// * example 1: acosh(8723321.4);
// * returns 1: 16.674657798418625
return Math.log(arg + Math.sqrt(arg * arg - 1));
}
| montanaflynn/phpjs | functions/math/acosh.js | JavaScript | mit | 227 |
/*
YUI 3.16.0 (build 76f0e08)
Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('router', function (Y, NAME) {
/**
Provides URL-based routing using HTML5 `pushState()` or the location hash.
@module app
@submodule router
@since 3.4.0
**/
var His... | vousk/jsdelivr | files/yui/3.16.0/router/router.js | JavaScript | mit | 59,499 |
/*
This file is part of Ext JS 3.4
Copyright (c) 2011-2013 Sencha Inc
Contact: http://www.sencha.com/contact
GNU General Public License Usage
This file may be used under the terms of the GNU General Public License version 3.0 as
published by the Free Software Foundation and appearing in the file LICENSE included in... | dinubalti/FirstSymfony | web/public/js/lib/ext-3.4.1/src/locale/ext-lang-sk.js | JavaScript | mit | 5,418 |
var hat = require('../');
var assert = require('assert');
exports.rack = function () {
var rack = hat.rack(4);
var seen = {};
for (var i = 0; i < 8; i++) {
var id = rack();
assert.ok(!seen[id], 'seen this id');
seen[id] = true;
assert.ok(id.match(/^[0-9a-f]$/));
... | hendrikusR/open-layer | widget/assets/draw/hat/test/rack.js | JavaScript | bsd-3-clause | 1,569 |
import {Parser} from "./state"
import {SourceLocation} from "./locutil"
export class Node {
constructor(parser, pos, loc) {
this.type = ""
this.start = pos
this.end = 0
if (parser.options.locations)
this.loc = new SourceLocation(parser, loc)
if (parser.options.directSourceFile)
this.s... | hellokidder/js-studying | 微信小程序/wxtest/node_modules/acorn-jsx/node_modules/acorn/src/node.js | JavaScript | mit | 1,194 |
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
"use strict";
class IgnorePlugin {
constructor(resourceRegExp, contextRegExp) {
this.resourceRegExp = resourceRegExp;
this.contextRegExp = contextRegExp;
this.checkIgnore = this.checkIgnore.bind(this)... | shikun2014010800/manga | web/console/node_modules/webpack/lib/IgnorePlugin.js | JavaScript | mit | 1,617 |
/*! jQuery UI - v1.10.3 - 2013-06-12
* http://jqueryui.com
* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
jQuery(function(e){e.datepicker.regional.he={closeText:"סגור",prevText:"<הקודם",nextText:"הבא>",currentText:"היום",monthNames:["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי... | jcdude/LamPI-1.8 | www/jquery-ui-1.10.3.custom/development-bundle/ui/minified/i18n/jquery.ui.datepicker-he.min.js | JavaScript | gpl-3.0 | 934 |
/*!
* Connect - cookieParser
* Copyright(c) 2010 Sencha Inc.
* Copyright(c) 2011 TJ Holowaychuk
* MIT Licensed
*/
/**
* Module dependencies.
*/
var utils = require('./../utils')
, cookie = require('cookie');
/**
* Cookie parser:
*
* Parse _Cookie_ header and populate `req.cookies`
* with an object keye... | BrowenChen/classroomDashboard | zzishwebsite/node_modules/express/node_modules/connect/lib/middleware/cookieParser.js | JavaScript | mit | 1,440 |
YUI.add("lang/datatype-date-format_es-EC",function(a){a.Intl.add("datatype-date-format","es-EC",{"a":["dom","lun","mar","mié","jue","vie","sáb"],"A":["domingo","lunes","martes","miércoles","jueves","viernes","sábado"],"b":["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],"B":["enero","febrero","... | BobbieBel/cdnjs | ajax/libs/yui/3.7.0pr1/datatype-date-format/lang/datatype-date-format_es-EC.js | JavaScript | mit | 537 |
'use strict';
angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
function getDecimals(n) {
n = n + '';
var i = n.indexOf('.');
return (i == -1) ? 0 : n.length - i - 1;
}
function getVF(n, opt_pre... | okboy5555/demo | 基于angular的图书管理/src/framework/angular-1.5.8/i18n/angular-locale_luo.js | JavaScript | apache-2.0 | 2,946 |
/*! jQuery UI - v1.9.2 - 2012-11-23
* http://jqueryui.com
* Includes: jquery.ui.datepicker-ro.js
* Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */
jQuery(function(e){e.datepicker.regional.ro={closeText:"Închide",prevText:"« Luna precedentă",nextText:"Luna următoare »",currentText:"Azi... | ninjablocks/ninja-sentinel | yeoman/components/jquery-ui/ui/minified/i18n/jquery.ui.datepicker-ro.min.js | JavaScript | mit | 888 |
/**
* @module Ink.UI.DatePicker_1
* @version 1
* Date selector
*/
Ink.createModule('Ink.UI.DatePicker', '1', ['Ink.UI.Common_1','Ink.Dom.Event_1','Ink.Dom.Css_1','Ink.Dom.Element_1','Ink.Dom.Selector_1','Ink.Util.Array_1','Ink.Util.Date_1', 'Ink.Dom.Browser_1'], function(Common, Event, Css, InkElement, Selector, I... | siscia/jsdelivr | files/ink/3.0.0/js/ink.datepicker.js | JavaScript | mit | 52,609 |
/**
* @license AngularJS v1.3.16
* (c) 2010-2014 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, angular, undefined) {
'use strict';
/**
* @ngdoc object
* @name angular.mock
* @description
*
* Namespace from 'angular-mocks.js' which contains testing related code.
*/
angular.mock = {};
... | DreamInSun/OneRing | xdiamond/bower_components/angular-mocks/angular-mocks.js | JavaScript | apache-2.0 | 82,636 |
let arr = [];
for(let i = 0; i < 10; i++) {
for (let i = 0; i < 10; i++) {
arr.push(() => i);
}
}
| ellbee/babel | test/core/fixtures/transformation/es6.block-scoping/issue-973/actual.js | JavaScript | mit | 106 |
/*!
* jQuery Cycle Plugin (with Transition Definitions)
* Examples and documentation at: http://jquery.malsup.com/cycle/
* Copyright (c) 2007-2013 M. Alsup
* Version: 3.0.3 (11-JUL-2013)
* Dual licensed under the MIT and GPL licenses.
* http://jquery.malsup.com/license.html
* Requires: jQuery v1.7.1 or later
*/... | delfintrinidadIV/firstproject | wp-content/themes/simple-catch/js/jquery.cycle.all.js | JavaScript | gpl-2.0 | 52,026 |
/**
* Lo-Dash 2.4.1 (Custom Build) <http://lodash.com/>
* Build: `lodash modularize modern exports="node" -o ./modern/`
* Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
* Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE>
* Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and In... | tspires/personal | zillow/node_modules/xml2js/node_modules/xmlbuilder/node_modules/lodash-node/modern/internals/baseUniq.js | JavaScript | mit | 2,014 |
jQuery.extend(jQuery.fn.pickadate.defaults,{monthsFull:["janúar","febrúar","mars","apríl","maí","júní","júlí","ágúst","september","október","nóvember","desember"],monthsShort:["jan","feb","mar","apr","maí","jún","júl","ágú","sep","okt","nóv","des"],weekdaysFull:["sunnudagur","mánudagur","þriðjudagur","miðvikudagur","fi... | enketosurvey/mo | www/lib/pickadate.js-3.5.6/lib/compressed/translations/is_IS.js | JavaScript | apache-2.0 | 599 |
var browser_history_support = (window.history != null ? window.history.pushState : null) != null;
createTest('Nested route with the many children as a tokens, callbacks should yield historic params', {
'/a': {
'/:id': {
'/:id': function(a, b) {
if (!browser_history_support) {
shared.fired... | WAPMADRID/server | wapmadrid/node_modules/forever/node_modules/flatiron/node_modules/director/test/browser/html5-routes-test.js | JavaScript | gpl-2.0 | 14,089 |