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) 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.
*
* @flow
*/... | prayuditb/tryout-01 | websocket/client/Client/node_modules/react-native/packager/src/ModuleGraph/worker/optimize-module.js | JavaScript | mit | 3,137 |
/*global describe, it, expect, example, before, after, beforeEach, afterEach, mocha, sinon*/
'use strict';
var assert = require('chai').assert;
var $osf = require('js/osfHelpers');
var Stats = require('js/share/stats');
describe('share/stats', () => {
describe('#sourcesAgg', () => {
it('builds correct ... | njantrania/osf.io | website/static/js/tests/share/stats.test.js | JavaScript | apache-2.0 | 9,754 |
tinyMCE.addI18n('pl.searchreplace_dlg',{findwhat:"Znajd\u017a...",replacewith:"Zamie\u0144 na...",direction:"Kierunek",up:"W g\u00f3r\u0119",down:"W d\u00f3\u0142",mcase:"Uwzgl\u0119dniaj wielko\u015b\u0107 liter",findnext:"Znajd\u017a nast\u0119pny",allreplaced:"Wszystkie wyst\u0105pienia szukanego fragmentu zosta\u01... | timetre/Collectif | www/bundles/stfalcontinymce/vendor/tiny_mce/plugins/searchreplace/langs/pl_dlg.js | JavaScript | mit | 602 |
/**!
* AngularJS file upload directives and services. Supports: file upload/drop/paste, resume, cancel/abort,
* progress, resize, thumbnail, preview, validation and CORS
* FileAPI Flash shim for old browsers not supporting FormData
* @author Danial <danial.farid@gmail.com>
* @version 12.2.0
*/
(function () {
... | AMoo-Miki/cdnjs | ajax/libs/danialfarid-angular-file-upload/12.2.0/ng-file-upload-shim.js | JavaScript | mit | 14,393 |
!function($, wysi) {
"use strict";
var tpl = {
"font-styles": function(locale, options) {
var size = (options && options.size) ? ' btn-'+options.size : '';
return "<li class='dropdown'>" +
"<a class='btn btn-default dropdown-toggle" + size + "' data-toggle='dropdow... | DirectDev/wds-V2 | www/admin/plugins/bootstrap-wysihtml5/src/bootstrap-wysihtml5.js | JavaScript | mit | 22,485 |
/*
System bundles
Allows a bundle module to be specified which will be dynamically
loaded before trying to load a given module.
For example:
SystemJS.bundles['mybundle'] = ['jquery', 'bootstrap/js/bootstrap']
Will result in a load to "mybundle" whenever a load to "jquery"
or "bootstrap/js/bootstrap" i... | MSCommunity/community | src/MyAngular2BaseApp/node_modules/systemjs/lib/bundles.js | JavaScript | mit | 2,301 |
/**
* 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... | gunaangs/Feedonymous | node_modules/react-native/Libraries/RCTTest/SnapshotViewIOS.ios.js | JavaScript | mit | 1,965 |
define('ace/mode/haxe', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text', 'ace/tokenizer', 'ace/mode/haxe_highlight_rules', 'ace/mode/matching_brace_outdent', 'ace/mode/behaviour/cstyle', 'ace/mode/folding/cstyle'], function(require, exports, module) {
var oop = require("../lib/oop");
var TextMode = r... | MahabalixOpen/yii-unchained | yii-unchained/testdrive/protected/extensions/yiiwheels/widgets/ace/assets/js/mode-haxe.js | JavaScript | bsd-2-clause | 22,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... | wout/cdnjs | ajax/libs/forerunnerdb/1.3.823/fdb-core.js | JavaScript | mit | 300,001 |
/**
* Plupload - multi-runtime File Uploader
* v2.3.1
*
* Copyright 2013, Moxiecode Systems AB
* Released under GPL License.
*
* License: http://www.plupload.com/license
* Contributing: http://www.plupload.com/contributing
*
* Date: 2017-02-06
*/
;(function (global, factory) {
var extract = function() {
v... | 1701software/Plupload_Xojo | www/js/plupload.dev.js | JavaScript | mit | 63,856 |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var _pure = require('recompose/pure');
var _pure2 = _interopRequireDefault(_pure);
var _SvgIcon = require('../../SvgIcon');
var _SvgIcon2 = _interopRequireDe... | Jorginho211/TFG | web/node_modules/material-ui/svg-icons/maps/local-see.js | JavaScript | gpl-3.0 | 1,011 |
//>>built
define(
//begin v1.x content
({
"setButtonText": "Ange",
"cancelButtonText": "Avbryt"
})
//end v1.x content
);
| marcbuils/WorkESB | www/admin/lib/dojo/dojox/editor/plugins/nls/sv/TextColor.js | JavaScript | lgpl-3.0 | 124 |
/*!
* inferno-dom v0.5.14
* (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.InfernoDOM = factory()... | nolsherry/cdnjs | ajax/libs/inferno/0.5.16/inferno-dom.js | JavaScript | mit | 114,946 |
/*! jQuery UI - v1.11.3 - 2015-02-13
* http://jqueryui.com
* Copyright jQuery Foundation and other contributors; Licensed MIT */
(function(t){"function"==typeof define&&define.amd?define(["jquery","./effect","./effect-size"],t):t(jQuery)})(function(t){return t.effects.effect.scale=function(e,i){var s=t(this),n=t.extend... | ninapavlich/colinives | wp-content/themes/colinives_2015/frontend/bower_components/jquery-ui/ui/minified/effect-scale.min.js | JavaScript | mit | 1,022 |
/*!
* Bootstrap-select v1.12.0 (http://silviomoreto.github.io/bootstrap-select)
*
* Copyright 2013-2016 bootstrap-select
* Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
*/
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Regist... | MuhengYan/E_Commerce_DB | src/js/i18n/defaults-ro_RO.js | JavaScript | mit | 1,153 |
/*! angular-multi-select 7.0.1 */
"use strict";var angular_multi_select=angular.module("angular-multi-select");angular_multi_select.run(["$templateCache",function(a){var b=a.get("angular-multi-select.tpl");b=b.replace(/(class="(?:.*?)ams-item-text(?:.*?)")/gi,'$1 ng-click="amse.toggle_open_node(item)"'),a.put("angular-... | pvnr0082t/cdnjs | ajax/libs/alexandernst-angular-multi-select/7.0.1/mods/toggle-open-state-on-label-click.min.js | JavaScript | mit | 344 |
/* The contents of this file are subject to the Netscape Public
* License Version 1.1 (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.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" ... | danialbehzadi/Nokia-RM-1013-2.0.0.11 | webkit/Source/JavaScriptCore/tests/mozilla/ecma/Array/15.4.2.3.js | JavaScript | gpl-3.0 | 3,461 |
var chalk = require('chalk'),
colors = ['magenta', 'green', 'blue', 'grey', 'yellow'],
widths = [18, 24, 18, 0, 0];
module.exports = function() {
var args = [].map.call(arguments, function(val, i) {
val = typeof val === 'object' ? JSON.stringify(val) : val;
val = width(val, widths[i]);
... | JustinLek/ryanoosterling | wp-content/themes/ryanoosterling/node_modules/main-bower-files/lib/logger.js | JavaScript | gpl-2.0 | 562 |
!function(a){a.fn.kvDatepicker.dates.pt={days:["Domingo","Segunda","Terça","Quarta","Quinta","Sexta","Sábado"],daysShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],daysMin:["Do","Se","Te","Qu","Qu","Se","Sa"],months:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro",... | jaybril/www.juice.com | vendor/yiisoft/yii2-widget-datepicker/assets/js/locales/bootstrap-datepicker.pt.min.js | JavaScript | bsd-3-clause | 460 |
"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return _TableBody.default}});var _TableBody=_interopRequireDefault(require("./TableBody")); | cdnjs/cdnjs | ajax/libs/material-ui/5.0.0-alpha.9/TableBody/index.min.js | JavaScript | mit | 312 |
(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... | BenjaminVanRyseghem/cdnjs | ajax/libs/forerunnerdb/1.3.295/fdb-core+persist.js | JavaScript | mit | 772,218 |
class X {
foo = 2
bar: number = 3
baz: ?string
}
| hulkish/babel | packages/babel-plugin-transform-flow-strip-types/test/fixtures/regression/class-prop-values/input.js | JavaScript | mit | 55 |
/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2010 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* http://ww... | washingtonstateuniversity/WSU-Lists | www/admin/plugins/fckphplist/fckeditor/editor/_source/classes/fcktoolbarbutton.js | JavaScript | gpl-2.0 | 2,386 |
/**
* The AreaSeries class renders quantitative data on a graph by creating a fill between 0
* and the relevant data points.
*
* @module charts
* @class AreaSeries
* @extends CartesianSeries
* @uses Fills
* @constructor
*/
Y.AreaSeries = Y.Base.create("areaSeries", Y.CartesianSeries, [Y.Fills], {
/**
... | berkmancenter/spectacle | web/js/app/editor/node_modules/grunt-contrib/node_modules/grunt-contrib-yuidoc/node_modules/yuidocjs/tests/input/charts/AreaSeries.js | JavaScript | gpl-2.0 | 2,327 |
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is dis... | michael-milette/moodle | message/amd/src/message_drawer_lazy_load_list.js | JavaScript | gpl-3.0 | 9,614 |
(function(){
var canv = document.getElementById('myCanvas'),
c = canv.getContext('2d'),
gravity = 0.01;
var circle = {
x: 50,
y: 50,
// (vx, vy) = Velocity vector
vx: 0,
vy: 0,
radius: 20
};
function executeFrame(){
// Increment location by velocity
circle.x ... | theclinicdotcom/screencasts | bouncingCircles/snapshots/snapshot10/script.js | JavaScript | mit | 770 |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
;(function (undefined) {
var objectTypes = {
'boolean': false,
'function': true,
'object': true,
'number': false,
'string': false,
'undefined': false
};
v... | CTres/jsdelivr | files/rxjs/2.2.27/rx.core.compat.js | JavaScript | mit | 92,243 |
'use strict';
angular
.module('app', ['angularFileUpload'])
.controller('AppController', ['$scope', 'FileUploader', function($scope, FileUploader) {
var uploader = $scope.uploader = new FileUploader({
url: 'upload.php'
});
// FILTERS
uploader.filters.push({
... | shubhammatta/OnlineJudge | static/vendors/angular-file-upload/examples/image-preview/controllers.js | JavaScript | mit | 2,291 |
/*
* Source: http://stackoverflow.com/a/16972927
*/
/* hack to cope with doxygens usage of an older jQuery version, while bootstrap
* requires a newer one */
jQuery.browser = {};
(function () {
jQuery.browser.msie = false;
jQuery.browser.version = 0;
if (navigator.userAgent.match(/MSIE ([0-9]+)\./)) {
... | plushvoxel/RIOT | doc/doxygen/src/js/doxy-jquery.js | JavaScript | lgpl-2.1 | 410 |
/**
* angular-recaptcha build:2016-04-12
* https://github.com/vividcortex/angular-recaptcha
* Copyright (c) 2016 VividCortex
**/
/*global angular, Recaptcha */
(function (ng) {
'use strict';
ng.module('vcRecaptcha', []);
}(angular));
/*global angular */
(function (ng) {
'use strict';
function... | gswalden/jsdelivr | files/angular.recaptcha/3.0.3/angular-recaptcha.js | JavaScript | mit | 10,482 |
/*globals $, svgCanvas, svgEditor*/
/*jslint regexp:true*/
// TODO: Might add support for "exportImage" custom
// handler as in "ext-server_opensave.js" (and in savefile.php)
svgEditor.addExtension("php_savefile", {
callback: function() {
'use strict';
function getFileNameFromTitle () {
var title = svgCanvas... | lorddavy/TikiWiki-Improvement-Project | vendor/svg-edit/svg-edit/extensions/ext-php_savefile.js | JavaScript | lgpl-2.1 | 695 |
import "day";
import "interval";
import "time";
import "year";
d3_time_daySymbols.forEach(function(day, i) {
day = day.toLowerCase();
i = 7 - i;
var interval = d3.time[day] = d3_time_interval(function(date) {
(date = d3.time.day(date)).setDate(date.getDate() - (date.getDay() + i) % 7);
return date;
},... | scharwerk/scharwerk | vendor/assets/bower_components/d3/src/time/week.js | JavaScript | mit | 974 |
tinyMCE.addI18n('fa.paste_dlg',{
text_title:"\u062C\u0647\u062A \u0686\u0633\u0628\u0627\u0646\u062F\u0646 (Paste) \u0643\u0631\u062F\u0646 \u0645\u062A\u0646 \u062F\u0631 \u067E\u0646\u062C\u0631\u0647 \u0627\u0632 CTRL+V \u0628\u0631 \u0631\u0648\u06CC \u0635\u0641\u062D\u0647 \u0643\u0644\u06CC\u062F \u062E\u0648\u... | jewsroch/sf-photos | zp-core/plugins/tiny_mce/plugins/paste/langs/fa_dlg.js | JavaScript | gpl-2.0 | 869 |
/**
* API Bound Models for AngularJS
* @version v1.1.0 - 2014-09-23
* @link https://github.com/angular-platanus/restmod
* @author Ignacio Baixas <ignacio@platan.us>
* @license MIT License, http://www.opensource.org/licenses/MIT
*/
(function(angular, undefined) {
'use strict';
/**
* @mixin Populate
*
* @descri... | sreym/cdnjs | ajax/libs/angular-restmod/1.1.0/plugins/find-many.js | JavaScript | mit | 3,757 |
/**
* 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.
*
* @emails react-co... | agileurbanite/react | src/renderers/dom/client/__tests__/ReactMount-test.js | JavaScript | bsd-3-clause | 7,764 |
/**
* Disallows space before `()` or `{}` in function expressions (both [named](#disallowspacesinnamedfunctionexpression)
* and [anonymous](#disallowspacesinanonymousfunctionexpression)) and function declarations.
*
* Type: `Object`
*
* Values: `"beforeOpeningRoundBrace"` and `"beforeOpeningCurlyBrace"` as child ... | araw604/redBread_proj_5 | wp-content/themes/fooUP/node_modules/gulp-jscs/node_modules/jscs/lib/rules/disallow-spaces-in-function.js | JavaScript | gpl-2.0 | 4,163 |
/**
* @license wysihtml v0.5.0-beta13
* https://github.com/Voog/wysihtml
*
* Author: Christopher Blum (https://github.com/tiff)
* Secondary author of extended features: Oliver Pulges (https://github.com/pulges)
*
* Copyright (C) 2012 XING AG
* Licensed under the MIT license (MIT)
*
*/
var wysihtml5 = {
vers... | protonet/wysihtml | dist/wysihtml.js | JavaScript | mit | 561,081 |
define("axios", [], function() { return /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(inst... | seogi1004/cdnjs | ajax/libs/axios/0.5.3/axios.amd.js | JavaScript | mit | 56,002 |
topojson = (function() {
function merge(topology, arcs) {
var fragmentByStart = {},
fragmentByEnd = {};
arcs.forEach(function(i) {
var e = ends(i),
start = e[0],
end = e[1],
f, g;
if (f = fragmentByEnd[start]) {
delete fragmentByEnd[f.end];
... | Slater-Victoroff/Cambodiad3 | dropout/static/js/vendor/topojson.js | JavaScript | mit | 13,198 |
this["JST"] = this["JST"] || {};
Handlebars.registerPartial("partial", Handlebars.template(function (Handlebars,depth0,helpers,partials,data) {
this.compilerInfo = [3,'>= 1.0.0-rc.4'];
helpers = helpers || Handlebars.helpers; data = data || {};
return "<span>Canada</span>";
}));
this["JST"]["test/fixtures/... | berkmancenter/spectacle | web/js/app/editor/node_modules/grunt-contrib/node_modules/grunt-contrib-handlebars/test/expected/process_partial_name.js | JavaScript | gpl-2.0 | 1,129 |
// Copyright 2005 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... | credmp/so-simple-theme | toys/pace/js/out/goog/disposable/disposable.js | JavaScript | mit | 9,007 |
var fs = require('fs');
var path = require('path');
var dynamicallyCreatedFilename = path.join('/files/', 'somefile');
var stuff = fs.readFileSync(__dirname + dynamicallyCreatedFilename + __dirname, 'utf8');
| Phalanstere/WritersStudio | writers_studio-win32-ia32/resources/app/node_modules/brfs/test/files/dynamic_read_concat.js | JavaScript | mit | 208 |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'image2', 'lt', {
alt: 'Alternatyvus Tekstas',
btnUpload: 'Siųsti į serverį',
captioned: 'Captioned image', // MISSING
captionPlaceholder: 'Captio... | gregmoser/muracon2016 | www/requirements/ckeditor/plugins/image2/lang/lt.js | JavaScript | mit | 686 |
YUI.add('event-tap', function (Y, NAME) {
/**
The tap module provides a gesture events, "tap", which normalizes user interactions
across touch and mouse or pointer based input devices. This can be used by application developers
to build input device agnostic components which behave the same in response to either touc... | kiwi89/cdnjs | ajax/libs/yui/3.11.0pr1/event-tap/event-tap-debug.js | JavaScript | mit | 8,235 |
/* eslint-disable no-unused-vars */
/**
* Resource and activity toolbox class.
*
* This class is responsible for managing AJAX interactions with activities and resources
* when viewing a course in editing mode.
*
* @module moodle-course-toolboxes
* @namespace M.course.toolboxes
*/
// The CSS classes we use.
va... | lucaboesch/moodle | mod/quiz/yui/src/toolboxes/js/toolbox.js | JavaScript | gpl-3.0 | 7,490 |
(function(a){var b={set:{colors:1,values:1,backgroundColor:1,scaleColors:1,normalizeFunction:1,focus:1},get:{selectedRegions:1,selectedMarkers:1,mapObject:1,regionName:1}};a.fn.vectorMap=function(d){var f,c,e;if(d==="addMap"){jvm.WorldMap.maps[arguments[1]]=arguments[2]}else{if((d==="set"||d==="get")&&b[d][arguments[1]... | joeyparrish/cdnjs | ajax/libs/jvectormap/1.0/jquery-jvectormap.min.js | JavaScript | mit | 580 |
/* eslint-env mocha */
/* eslint no-template-curly-in-string: 0 */
import assert from 'assert';
import { extractProp } from '../helper';
import getPropValue from '../../src/getPropValue';
describe('getPropValue', () => {
it('should export a function', () => {
const expected = 'function';
const actual = typeo... | grshane/monthofmud | web/themes/custom/mom/node_modules/jsx-ast-utils/__tests__/src/getPropValue-test.js | JavaScript | mit | 22,941 |
/*
Highcharts JS v6.0.0 (2017-10-04)
Highcharts variwide module
(c) 2010-2017 Torstein Honsi
License: www.highcharts.com/license
*/
(function(d){"object"===typeof module&&module.exports?module.exports=d:d(Highcharts)})(function(d){(function(b){var d=b.seriesType,l=b.seriesTypes,k=b.each,m=b.pick;d("variwide","co... | ahocevar/cdnjs | ajax/libs/highstock/6.0.0/modules/variwide.js | JavaScript | mit | 2,002 |
define( [
"../var/pnum"
], function( pnum ) {
return new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" );
} );
| Akesure/201602node_homework | 第六组徐杨/徐杨/第三周作业/Akblog/public/lib/jquery/src/var/rcssNum.js | JavaScript | mit | 121 |
/*!
* autocomplete.js 0.8.0
* https://github.com/algolia/autocomplete.js
* Copyright 2015 Algolia, Inc. and other contributors; Licensed MIT
*/
(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 mo... | dlueth/jsdelivr | files/autocomplete.js/0.8.0/autocomplete.js | JavaScript | mit | 100,495 |
//// [duplicateVariableDeclaration1.ts]
var v
var v
//// [duplicateVariableDeclaration1.js]
var v;
var v;
| weswigham/TypeScript | tests/baselines/reference/duplicateVariableDeclaration1.js | JavaScript | apache-2.0 | 113 |
'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... | firepick1/firenodejs | www/lib/angular/i18n/angular-locale_jmc-tz.js | JavaScript | mit | 2,713 |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'selectall', 'pl', {
toolbar: 'Zaznacz wszystko'
});
| vousk/jsdelivr | files/ckeditor/4.3.0/plugins/selectall/lang/pl.js | JavaScript | mit | 226 |
/*!
* Bootstrap-select v1.11.0 (http://silviomoreto.github.io/bootstrap-select)
*
* Copyright 2013-2016 bootstrap-select
* Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
*/
!function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"o... | gitee2008/glaf | webapps/glaf/static/plugins/metronic/theme/assets/global/plugins/bootstrap-select/js/i18n/defaults-fa_IR.min.js | JavaScript | apache-2.0 | 878 |
//! moment.js locale configuration
//! locale : Serbian Cyrillic [sr-cyrl]
//! author : Milan Janačković<milanjanackovic@gmail.com> : https://github.com/milan-j
;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
&& typeof require === 'function' ? factory(require('../m... | stevemoore113/ch_web_- | 資源/CCEI/handsontable/demo/bower_components/moment/locale/sr-cyrl.js | JavaScript | mit | 4,623 |
var when = require('when'),
_ = require('lodash'),
dataProvider = require('../models'),
canThis = require('../permissions').canThis,
filteredUserAttributes = require('./users').filteredAttributes,
posts;
// ## Posts
posts = {
// ##... | MrTomahawk/heroku | core/server/api/posts.js | JavaScript | mit | 4,820 |
module.exports = "new-module/inner"; | rf-/webpack | test/cases/resolving/browser-field/node_modules/new-module/inner.js | JavaScript | mit | 36 |
var f = function() { new.unknown_property; }
| eslint/espree | tests/fixtures/ecma-version/6/newTarget/invalid-unknown-property.src.js | JavaScript | bsd-2-clause | 45 |
'use strict';
var packageJson = require('package-json');
module.exports = function (name, cb) {
packageJson(name, 'latest', function (err, json) {
if (err) {
cb(err);
return;
}
cb(null, json.version);
});
};
| vendavo/yowie | yowie-web/node_modules/bower/node_modules/update-notifier/node_modules/latest-version/index.js | JavaScript | mit | 224 |
var files = require('./files.js');
// Set METEOR_WATCH_FORCE_POLLING environment variable to a truthy value to
// force the use of files.watchFile instead of pathwatcher.watch.
// Enabled on Mac and Linux and disabled on Windows by default.
var PATHWATCHER_ENABLED = !process.env.METEOR_WATCH_FORCE_POLLING;
if (process... | lawrenceAIO/meteor | tools/fs/safe-pathwatcher.js | JavaScript | mit | 3,986 |
/*
* /MathJax/jax/element/mml/optable/Latin1Supplement.js
*
* Copyright (c) 2009-2016 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.... | Sound-Colour-Space/sound-colour-space | website/site-static/js/MathJax/jax/element/mml/optable/Latin1Supplement.js | JavaScript | mit | 933 |
// The stripped down version just for testing. Don't want to overload github and npm with jquery copies ;)
(function( window, undefined ) {
var
// A central reference to the root jQuery(document)
rootjQuery,
// The deferred used on DOM ready
readyList,
// Map over jQuery in case of overwrite
_jQuery = win... | jcu-eresearch/climas-ng | webapp/old-nm/gulp-browserify/node_modules/browserify-shim/test/fixtures/shims/crippled-jquery.js | JavaScript | apache-2.0 | 906 |
/**
* The examples provided by Facebook are for non-commercial testing and
* evaluation purposes only.
*
* Facebook reserves all rights not expressly granted.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
... | KodersLab/react-native-for-web | examples/UIExplorer/examples/PickerIOSExample.js | JavaScript | mit | 3,639 |
'use strict';
var Vue = require('vue');
var Vue__default = 'default' in Vue ? Vue['default'] : Vue;
// @NOTE: We have to use Vue.nextTick because the element might not be
// present at the time model changes, but will be in the next batch.
// But because we use Vue.nextTick, the directive may already be... | dlueth/cdnjs | ajax/libs/vue-focus/0.1.2/vue-focus.common.js | JavaScript | mit | 2,575 |
debug("async");
| scheib/chromium | third_party/blink/web_tests/http/tests/misc/resources/async-script.js | JavaScript | bsd-3-clause | 16 |
'use strict';
angular.module("ngLocale", [], ["$provide", function($provide) {
var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"};
$provide.value("$locale", {
"DATETIME_FORMATS": {
"AMPMS": [
"am",
"pm"
],
"DAY": [
"\u09b0\u09ac\u09bf\u... | vvp5511/VelvetPath | webapp/Scripts/i18n/angular-locale_bn.js | JavaScript | gpl-3.0 | 3,491 |
--> must work at beginning of file!
// 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 cop... | johan--/Quiz-Program | vendor/bundle/ruby/2.2.0/gems/libv8-3.16.14.7/vendor/v8/test/mjsunit/html-comments.js | JavaScript | cc0-1.0 | 2,075 |
YUI.add('dump', function(Y) {
/**
* Returns a simple string representation of the object or array.
* Other types of objects will be returned unprocessed. Arrays
* are expected to be indexed. Use object notation for
* associative arrays.
*
* If included, the dump method is added to the YUI instance.
*
* @modu... | bsquochoaidownloadfolders/cdnjs | ajax/libs/yui/3.2.0/dump/dump.js | JavaScript | mit | 3,334 |
/**
* 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 ... | emineKoc/WiseWit | wisewit_front_end/node_modules/fbjs/lib/performanceNow.js | JavaScript | gpl-3.0 | 844 |
'use strict';
exports.__esModule = true;
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
var _declaration = require('./declaration');
var _declaration2 = _interopRequireDefault(_declaration);
var _processor = require('./processor');
var _processor2 = _interopRequi... | nikste/visualizationDemo | zeppelin-web/node_modules/grunt-postcss/node_modules/postcss/lib/postcss.js | JavaScript | apache-2.0 | 2,472 |
/**
* @license Highcharts JS v5.0.14 (2017-07-28)
*
* (c) 2009-2017 Torstein Honsi
*
* License: www.highcharts.com/license
*/
'use strict';
(function(factory) {
if (typeof module === 'object' && module.exports) {
module.exports = factory;
} else {
factory(Highcharts);
}
}(function(High... | hvos234/raspberrypi.home | web/libraries/Highcharts-5.0.14/code/themes/dark-green.src.js | JavaScript | bsd-3-clause | 9,764 |
(function (window) {
'use strict';
var c3 = {};
var CLASS = {
target: 'c3-target',
chart : 'c3-chart',
chartLine: 'c3-chart-line',
chartLines: 'c3-chart-lines',
chartBar: 'c3-chart-bar',
chartBars: 'c3-chart-bars',
chartText: 'c3-chart-text',
... | tmthrgd/pagespeed-libraries-cdnjs | packages/c3/0.1.25/c3.js | JavaScript | mit | 175,737 |
// Zepto.js
// (c) 2010-2014 Thomas Fuchs
// Zepto.js may be freely distributed under the MIT license.
;(function($){
var cache = [], timeout
$.fn.remove = function(){
return this.each(function(){
if(this.parentNode){
if(this.tagName === 'IMG'){
cache.push(this)
t... | mc-zone/learning-Zepto | zepto-1.1.6/src/assets.js | JavaScript | mit | 581 |
var forge = require('../js/forge');
var net = require('net');
var socket = new net.Socket();
var client = forge.tls.createConnection({
server: false,
verify: function(connection, verified, depth, certs) {
// skip verification for testing
return true;
},
connected: function(connection) {
console.lo... | shikun2014010800/manga | web/console/node_modules/node-forge/tests/nodejs-imap.js | JavaScript | mit | 1,215 |
// jshint ignore: start
+function($){
$.rawCitiesData = [
{
"name":"北京",
"sub": [
{
"name": "北京",
"sub":[
{
"name":"请选择"
},
{
"name":"东城区"
},
{
... | LittleLazyCat/TXEYXXK | weixin_guide/src/main/webapp/static/weui/js/city-picker.js | JavaScript | apache-2.0 | 369,329 |
(function (angular) {
'use strict';
angular.module('oc.lazyLoad').config(["$provide", function ($provide) {
$provide.decorator('$ocLazyLoad', ["$delegate", "$q", "$window", "$interval", function ($delegate, $q, $window, $interval) {
var uaCssChecked = false,
useCssLoadPatch ... | LilShy/test | 新建文件夹/material_admin_v-1.5-2/Template/angular/vendors/bower_components/oclazyload/dist/modules/ocLazyLoad.loaders.common.js | JavaScript | apache-2.0 | 5,948 |
/******************************************************************************************************************************
* @ Original idea by by Binny V A, Original version: 2.00.A
* @ http://www.openjs.com/scripts/events/keyboard_shortcuts/
* @ Original License : BSD
* @ jQuery Plugin by Tzury Bar Yocha... | Lucas1313/miesner | www/wp-includes/js/jquery/jquery.hotkeys.js | JavaScript | apache-2.0 | 5,711 |
/*!
Copyright (C) 2013 by WebReflection
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | gaearon/cdnjs | ajax/libs/ie8/0.1.0/ie8.max.js | JavaScript | mit | 11,490 |
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author Tobias Koppers @sokra
*/
"use strict";
const ModuleDependency = require("./ModuleDependency");
const NullDependency = require("./NullDependency");
class RequireEnsureItemDependency extends ModuleDependency {
constructor(request) {
... | puyanLiu/LPYFramework | 前端练习/autoFramework/webpack-test/node_modules/webpack/lib/dependencies/RequireEnsureItemDependency.js | JavaScript | apache-2.0 | 514 |
// Copyright 2011 Software Freedom Conservancy. 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 req... | vendavo/yowie | yowie-web/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/test/test_bootstrap.js | JavaScript | mit | 1,998 |
'use strict';
var $def = require('./$.def')
, $re = require('./$.replacer')(/&(?:amp|lt|gt|quot|apos);/g, {
'&': '&',
'<': '<',
'>': '>',
'"': '"',
''': "'"
});
$def($def.P + $def.F, 'String', {unescapeHTML: function unescapeHTML(){ return $re(this); }}); | sammyboy45467/Portfolio | wp-content/themes/themer/node_modules/core-js/modules/core.string.unescape-html.js | JavaScript | gpl-2.0 | 307 |
'use strict';
exports.type = 'perItem';
exports.active = true;
exports.description = 'removes useless stroke and fill attributes';
exports.params = {
stroke: true,
fill: true
};
var shape = require('./_collections').elemsGroups.shape,
regStrokeProps = /^stroke/,
regFillProps = /^fill-/,
styleOr... | yuyang545262477/Resume | 项目二电商首页/node_modules/svgo/plugins/removeUselessStrokeAndFill.js | JavaScript | mit | 2,430 |
// import the necessary modules
var mongoose = require('../../lib');
var Schema = mongoose.Schema;
// create an export function to encapsulate the model creation
module.exports = function() {
// define schema
// NOTE : This object must conform *precisely* to the geoJSON specification
// you cannot embed a geoJS... | ChrisChenSZ/code | 表单注册验证/node_modules/mongoose/examples/geospatial/geoJSONSchema.js | JavaScript | apache-2.0 | 613 |
tinyMCE.addI18n('ct.searchreplace_dlg',{findwhat:"Trobi el",replacewith:"Substituir per",direction:"Direcci\u00f3",up:"A munt",down:"A baix",mcase:"Coincidir maj\u00fascules i min\u00fascules",findnext:"Trobar seg\u00fcent",allreplaced:"Totes les aparicions de la cadena de recerca van ser reempla\u00e7ats.","searchnext... | huxinghai1988/tinymce-rails-langs | vendor/assets/javascripts/tinymce/plugins/searchreplace/langs/ct_dlg.js | JavaScript | mit | 539 |
/*!
* @overview Ember - JavaScript Application Framework
* @copyright Copyright 2011-2015 Tilde Inc. and contributors
* Portions Copyright 2006-2011 Strobe Inc.
* Portions Copyright 2008-2011 Apple Inc. All rights reserved.
* @license Licensed under MIT license
* See https://ra... | nolsherry/cdnjs | ajax/libs/ember.js/1.11.0-beta.2/ember-testing.js | JavaScript | mit | 47,901 |
hljs.registerLanguage("golo",function(e){return{k:{keyword:"println readln print import module function local return let var while for foreach times in case when match with break continue augment augmentation each find filter reduce if then else otherwise try catch finally raise throw orIfNull DynamicObject|10 DynamicV... | baiyanghese/ihese | wp-content/plugins/wp-code-highlightjs/languages/golo.min.js | JavaScript | gpl-2.0 | 452 |
var isSpace = require('./isSpace');
/**
* Used by `_.trim` and `_.trimRight` to get the index of the last non-whitespace
* character of `string`.
*
* @private
* @param {string} string The string to inspect.
* @returns {number} Returns the index of the last non-whitespace character.
*/
function trimmedRightIndex... | yuyang545262477/Resume | 项目二电商首页/node_modules/lodash/internal/trimmedRightIndex.js | JavaScript | mit | 474 |
/**
* @file js for changing weights of terms with Up and Down arrows
*/
(function ($) {
//object to store weights (tid => weight)
var termWeightsData = new Object();
Drupal.behaviors.TaxonomyManagerWeights = {
attach: function(context, settings) {
var weightSettings = settings.updateWeight || [];
if (!$... | spyderByteDesign/sbd | sites/default/modules/contrib/taxonomy_manager/js/updateWeight.js | JavaScript | gpl-2.0 | 6,339 |
//! moment.js locale configuration
//! locale : breton (br)
//! author : Jean-Baptiste Le Duigou : https://github.com/jbleduigou
import moment from '../moment';
function relativeTimeWithMutation(number, withoutSuffix, key) {
var format = {
'mm': 'munutenn',
'MM': 'miz',
'dd': 'devezh'
... | bunhann/IonicEventApp | www/lib/moment/src/locale/br.js | JavaScript | apache-2.0 | 2,741 |
//! moment.js locale configuration
//! locale : hungarian (hu)
//! author : Adam Brunner : https://github.com/adambrunner
import moment from '../moment';
var weekEndings = 'vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton'.split(' ');
function translate(number, withoutSuffix, key, isFuture) {
var num... | codeforchiba/IonicEventApp | www/lib/moment/src/locale/hu.js | JavaScript | apache-2.0 | 3,388 |
var
HTTP = require('http');
function testDuplicateRoutesError(test) {
var router = new HTTP_Router_Server();
router.get('/pokemon/:id/abilities', function handler() { });
try {
router.get('/pokemon/:whatever/abilities', function handler() { });
test.ok(false, 'This should have thrown an error');
test.done(... | burninggarden/burninggarden | test/unit/http/router/server.js | JavaScript | isc | 3,141 |
import {
select as d3_select
} from 'd3-selection';
import { presetManager } from '../../presets';
import { t, localizer } from '../../core/localizer';
import { actionAddEntity } from '../../actions/add_entity';
import { actionAddMember } from '../../actions/add_member';
import { actionChangeMember } from '../../... | openstreetmap/iD | modules/ui/sections/raw_membership_editor.js | JavaScript | isc | 19,305 |
"use strict";
module.exports = {
};
| jrans/ShopForCharity | api/handlers.js | JavaScript | isc | 39 |
var Minimist = require('minimist');
class ArgHelper {
getArgs() {
if (this.args === null) {
this.args = Minimist(process.argv.slice(2));
}
return this.args;
}
setAliases(aliases) {
this.aliases = aliases;
this.reverse_aliases = ObjectHelper.invert(aliases);
}
getValue(flag) {
var args = this.ge... | burninggarden/burninggarden | src/process/utility/arg-helper.js | JavaScript | isc | 2,104 |
var slice = require('../array/slice')
// the base implementation of mout.js "timeout" without a given context
// delay(displayToConsoleLog, 1000, 'hello', 'world')
// function displayToConsoleLog(text1, text2) {console.log(text1, text2)}
function delay (fn, wait, args) {
args = slice(arguments, 2)
return setTimeo... | akileez/toolz | src/function/delay.js | JavaScript | isc | 404 |
"use strict";
var Download = require('download'),
finalhandler = require('finalhandler'),
http = require('http'),
router = require('router')(),
url = require('url');
router.post('/download', function (req, res) {
var download,
query = url.parse(req.url, true).query,
validateQuery = ... | hutdev/download-service | index.js | JavaScript | isc | 1,151 |
$( document ).ready(function() {
$('.dropdown-toggle').dropdown();
});
| OpenCampaign/opencampaign | app/assets/javascripts/init.js | JavaScript | isc | 73 |
"use strict";
import I from "immutable";
import assert from "assert";
import React from "react/addons";
let { TestUtils } = React.addons;
import FilterInput from "../../../src/js/components/filter/FilterInput";
import MultiSelect from "../../../src/js/components/filter/MultiSelect";
import Preset from "../../../src/j... | foundersandcoders/chandelier | test/src/components/__Filter.js | JavaScript | isc | 2,628 |
class Page_MannequinList_Collection_Personal extends Collection_Mannequins {
}
module.exports = Page_MannequinList_Collection_Personal;
| burninggarden/burninggarden | src/page/mannequin-list/collection/personal.js | JavaScript | isc | 138 |
var _slice = Array.prototype.slice
module.exports = slice
function slice (arr, start, end) {
return _slice.call(arr, start, end)
}
| nrn/pasta | slice/index.js | JavaScript | isc | 135 |