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 |
|---|---|---|---|---|---|
/**
* @license AngularJS v1.3.0-rc.4
* (c) 2010-2014 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, angular, undefined) {'use strict';
/**
* @ngdoc module
* @name ngCookies
* @description
*
* # ngCookies
*
* The `ngCookies` module provides a convenient wrapper for reading and writing ... | imnes/eatrightapp | web/lib/angular-1.3.0-rc.4/angular-cookies.js | JavaScript | agpl-3.0 | 5,828 |
// Copyright 2011 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 applicable... | fighterlyt/bite-project | extension/src/project/test/background.js | JavaScript | apache-2.0 | 1,765 |
defineSuite([
'Widgets/Animation/Animation',
'Core/defined',
'Specs/pollToPromise',
'Widgets/Animation/AnimationViewModel',
'Widgets/ClockViewModel'
], function(
Animation,
defined,
pollToPromise,
AnimationViewModel,
ClockViewModel) {
... | ian-donaldson/world.exposed | Specs/Widgets/Animation/AnimationSpec.js | JavaScript | apache-2.0 | 1,967 |
/*************************************************************
*
* MathJax/localization/cdo/TeX.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 cop... | MarkUsProject/Markus | vendor/assets/javascripts/MathJax_lib/localization/cdo/TeX.js | JavaScript | mit | 928 |
/*
* Copyright 2016 The Closure Compiler Authors.
*
* 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... | GoogleChromeLabs/chromeos_smart_card_connector | third_party/closure-compiler/src/test/com/google/javascript/jscomp/runtime_tests/arrow_test.js | JavaScript | apache-2.0 | 2,668 |
/*
Copyright (c) 2015 Intel Corporation.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of works must retain the original copyright notice, this list
of conditions and the following disclaimer.
* Redist... | BruceDai/crosswalk-test-suite | misc/webmanu-system-android-tests/testapp/video/resources/video.js | JavaScript | bsd-3-clause | 1,758 |
var should = require('should'),
rewire = require('rewire'),
configUtils = require('../../../../test/utils/configUtils'),
// Stuff we are testing
ampContentHelper = rewire('../lib/helpers/amp_content');
// TODO: Amperize really needs to get stubbed, so we can test returning errors
// properly and make this... | SkynetInc/steam | core/server/apps/amp/tests/amp_content_spec.js | JavaScript | mit | 13,880 |
/** PURE_IMPORTS_START .._Subscriber PURE_IMPORTS_END */
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,... | rospilot/rospilot | share/web_assets/nodejs_deps/node_modules/rxjs/_esm5/operators/scan.js | JavaScript | apache-2.0 | 4,477 |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/**
* 15.5.5.2 defines [[GetOwnProperty]] for Strings. It supports using indexing
* notation to look up non numeric property names.
*
* @path ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-5.js
* @description String object indexing returns undefined if the ... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch15/15.5/15.5.5/15.5.5.2/15.5.5.5.2-3-5.js | JavaScript | bsd-3-clause | 521 |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/**
* @path ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-33.js
* @description Object.defineProperty - 'Attributes' is a Function object which implements its own [[Get]] method to access the 'enumerable' property (8.10.5 step 3.a)
*/
function testcase() {
... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch15/15.2/15.2.3/15.2.3.6/15.2.3.6-3-33.js | JavaScript | bsd-3-clause | 675 |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/**
* @path ch15/15.2/15.2.3/15.2.3.3/15.2.3.3-4-173.js
* @description Object.getOwnPropertyDescriptor returns data desc for functions on built-ins (SyntaxError.prototype.constructor)
*/
function testcase() {
var desc = Object.getOwnPropertyDescri... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch15/15.2/15.2.3/15.2.3.3/15.2.3.3-4-173.js | JavaScript | bsd-3-clause | 572 |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/**
* @path ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-0-2.js
* @description Array.isArray must exist as a function taking 1 parameter
*/
function testcase() {
if (Array.isArray.length === 1) {
return true;
}
}
runTestCase(testcase);
| Oceanswave/NiL.JS | Tests/tests/sputnik/ch15/15.4/15.4.3/15.4.3.2/15.4.3.2-0-2.js | JavaScript | bsd-3-clause | 306 |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/**
* @path ch15/15.4/15.4.4/15.4.4.19/15.4.4.19-8-c-iii-2.js
* @description Array.prototype.map - value of returned array element equals to 'mappedValue'
*/
function testcase() {
function callbackfn(val, idx, obj) {
return val;... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch15/15.4/15.4.4/15.4.4.19/15.4.4.19-8-c-iii-2.js | JavaScript | bsd-3-clause | 533 |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastetext', 'el', {
button: 'Επικόλληση ως απλό κείμενο',
title: 'Επικόλληση ως απλό κείμενο'
} );
| aodarc/flowers_room | styleguides/static/ckeditor/ckeditor/plugins/pastetext/lang/el.js | JavaScript | mit | 320 |
/**
* Prev Rollover
* (c) 2013 Bill, BunKat LLC.
*
* Determines if a value will cause a particualr constraint to rollover to the
* previous largest time period. Used primarily when a constraint has a
* variable extent.
*
* Later is freely distributable under the MIT license.
* For all details and documentation:
* h... | nmccann/later | src/date/prevrollover.js | JavaScript | mit | 574 |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v10.1.0
* @link http://www.ag-grid.com/
* @license MIT
*/
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __prot... | BenjaminVanRyseghem/cdnjs | ajax/libs/ag-grid/10.1.0/lib/filter/baseFilter.js | JavaScript | mit | 13,527 |
export function foo4() {};
export const { a: [{ foo4: foo }], b, c: { foo2: [{ foo3: foo4 }] } } = bar;
| wcjohnson/babylon-lightscript | test/fixtures/es2015/modules/duplicate-named-export-destructuring13/actual.js | JavaScript | mit | 104 |
//@tag dom,core
//@define Ext.DomHelper
//@define Ext.core.DomHelper
//@require Ext.dom.AbstractElement-traversal
/**
* @class Ext.DomHelper
* @extends Ext.dom.Helper
* @alternateClassName Ext.core.DomHelper
* @singleton
*
* The DomHelper class provides a layer of abstraction from DOM and transparently supports ... | Webcampak/v2.0 | src/www/interface/extjs/src/dom/Helper.js | JavaScript | gpl-3.0 | 16,761 |
describe("", function() {
var rootEl;
beforeEach(function() {
rootEl = browser.rootEl;
browser.get("build/docs/examples/example-select-unknown-value-required/index.html");
});
it('should show the error message when the unknown option is selected', function() {
var error = element(by.className('er... | gplv2/grbtool | public/js/angular-1.7.8/docs/ptore2e/example-select-unknown-value-required/default_test.js | JavaScript | gpl-3.0 | 631 |
// META: script=websocket.sub.js
var testOpen = async_test("Send binary data on a WebSocket - Blob - Connection should be opened");
var testMessage = async_test("Send binary data on a WebSocket - Blob - Message should be received");
var testClose = async_test("Send binary data on a WebSocket - Blob - Connection should... | pyfisch/servo | tests/wpt/web-platform-tests/websockets/Send-binary-blob.any.js | JavaScript | mpl-2.0 | 1,162 |
/**
* Utility functions for jazzing up HTMLForm elements.
*/
( function ( mw, $ ) {
/**
* jQuery plugin to fade or snap to visible state.
*
* @param {boolean} instantToggle [optional]
* @return {jQuery}
*/
$.fn.goIn = function ( instantToggle ) {
if ( instantToggle === true ) {
return $(this).show()... | BRL-CAD/web | wiki/resources/mediawiki/mediawiki.htmlform.js | JavaScript | bsd-2-clause | 3,804 |
Meteor.methods({
getStatistics(refresh) {
if (!Meteor.userId()) {
throw new Meteor.Error('error-invalid-user', 'Invalid user', { method: 'getStatistics' });
}
if (RocketChat.authz.hasPermission(Meteor.userId(), 'view-statistics') !== true) {
throw new Meteor.Error('error-not-allowed', 'Not allowed', { met... | pitamar/Rocket.Chat | packages/rocketchat-statistics/server/methods/getStatistics.js | JavaScript | mit | 480 |
CKEDITOR.plugins.setLang("elementspath","de",{eleLabel:"Elementepfad",eleTitle:"%1 Element"}); | mburggraf/otrs | var/httpd/htdocs/js/thirdparty/ckeditor-4.7.0/plugins/elementspath/lang/de.js | JavaScript | agpl-3.0 | 97 |
/*!
* GMaps.js v0.2.30
* http://hpneo.github.com/gmaps/
*
* Copyright 2012, Gustavo Leon
* Released under the MIT License.
*/
if(window.google && window.google.maps){
var GMaps = (function(global) {
"use strict";
var doc = document;
var getElementById = function(id, context) {
var ele
... | zhiwehu/zhiwehu | zhiwehu/themes/unify/static/plugins/gmap/gmap.js | JavaScript | apache-2.0 | 54,758 |
import $ from 'jquery'
import Popper from 'popper.js'
import Util from './util'
/**
* --------------------------------------------------------------------------
* Bootstrap (v4.1.3): tooltip.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ------------------------------------------... | google/gvisor-website | themes/docsy/assets/vendor/bootstrap/js/src/tooltip.js | JavaScript | apache-2.0 | 18,796 |
var test = require('tape');
var watchify = require('../');
var browserify = require('browserify');
var vm = require('vm');
var fs = require('fs');
var path = require('path');
var mkdirp = require('mkdirp');
var os = require('os');
var tmpdir = path.join((os.tmpdir || os.tmpDir)(), 'watchify-' + Math.random());
var f... | sagiavinash/onlineImageEditor | tasks/node_modules/grunt-browserify/node_modules/watchify/test/expose.js | JavaScript | mit | 2,151 |
var webpackMerge = require('webpack-merge');
var ExtractTextPlugin = require('extract-text-webpack-plugin');
var commonConfig = require('./webpack.common.js');
var helpers = require('./helpers');
module.exports = webpackMerge(commonConfig, {
devtool: 'cheap-module-eval-source-map',
output: {
path: helpers.roo... | jacksongomesbr/livro-web-codigo-fonte | front-end/sistema-eventos/passo-9/config/webpack.dev.js | JavaScript | cc0-1.0 | 573 |
(function ($, Drupal, window) {
"use strict";
/**
* Attach the tableResponsive function to Drupal.behaviors.
*/
Drupal.behaviors.tableResponsive = {
attach: function (context, settings) {
var $tables = $(context).find('table.responsive-enabled').once('tableresponsive');
if ($tables.length) {
for (va... | teenatt1992/pmidemo | sites/all/modules/responsive_tables/js/tableresponsive.js | JavaScript | gpl-2.0 | 5,554 |
// Copyright 2012 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... | isaksky/selenium | javascript/remote/ui/sessioncontainer.js | JavaScript | apache-2.0 | 12,232 |
(function() {
var BATCH_DRAW_STOP_TIME_DIFF = 500;
var now =(function() {
if (Kinetic.root.performance && Kinetic.root.performance.now) {
return function() {
return Kinetic.root.performance.now();
};
}
else {
return function() {
... | kimadactyl/NoiseEater | public/js/vendor/kineticjs/src/Animation.js | JavaScript | gpl-3.0 | 9,374 |
// test for iterating over function properties
var d = "";
function f(a,b) {}
f.c = "Foo";
for (i in f) d+=i;
result = d == "c";
| lancernet/Espruino | tests/test_iterate_function_object_props_for_in.js | JavaScript | mpl-2.0 | 134 |
YUI.add('datatable-body', function(Y) {
/**
View class responsible for rendering the `<tbody>` section of a table. Used as
the default `bodyView` for `Y.DataTable.Base` and `Y.DataTable` classes.
@module datatable
@submodule datatable-body
@since 3.5.0
**/
var Lang = Y.Lang,
isArray = Lang.isArray,
... | bootcdn/cdnjs | ajax/libs/yui/3.5.0pr4/datatable-body/datatable-body.js | JavaScript | mit | 32,017 |
/**
* Parse JavaScript SDK v1.10.1
*
* The source tree of this library can be found at
* https://github.com/ParsePlatform/Parse-SDK-JS
*/
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof wi... | seogi1004/cdnjs | ajax/libs/parse/1.10.2/parse.js | JavaScript | mit | 460,269 |
Meteor.publish('settings', function() {
var options = {};
if(!isAdminById(this.userId)){
options = _.extend(options, {
fields: {
mailChimpAPIKey: false,
mailChimpListId: false
}
});
}
return Settings.find({}, options);
});
Meteor.publish('invites', function(){
if(canViewBy... | UCSC-MedBook/MedBook-Telescope3 | webapp/server/publications/other.js | JavaScript | mit | 400 |
(function(){var d=window.AmCharts;d.AmRadarChart=d.Class({inherits:d.AmCoordinateChart,construct:function(a){this.type="radar";d.AmRadarChart.base.construct.call(this,a);this.cname="AmRadarChart";this.marginRight=this.marginBottom=this.marginTop=this.marginLeft=0;this.radius="35%";d.applyTheme(this,a,this.cname)},initC... | ahocevar/cdnjs | ajax/libs/amcharts/3.19.5/radar.js | JavaScript | mit | 6,454 |
// (C) Copyright 2015 Martin Dougiamas
//
// 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 agre... | gethanos/leoapp | www/core/components/fileuploader/services/delegate.js | JavaScript | apache-2.0 | 8,373 |
/**
* 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 | test/functional/utils/test-bytes.js | JavaScript | apache-2.0 | 4,931 |
loadIonicon('<svg width="1em" height="1em" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M248.03 116.81l24.68-24.678 19.232 19.234-24.678 24.677zM176 125.7c-45.3 0-82.3 37-82.3 82.3 0 17.5 5.5 33.7 14.9 47 15.3-13 33.9-22.6 54.7-27.6l13.2-16.6c13.6-17.1 30.7-30.2 50.8-38.9 6.1-2.6 12.4-4.8 19-6.6-14... | sashberd/cdnjs | ajax/libs/ionicons/4.0.0-6/ionicons/svg/md-partly-sunny.js | JavaScript | mit | 791 |
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import { CompileIdentifierMetadata } from '../compile_metadata';
import { EventHandlerVars } from '../compiler_util/e... | Torgo13/CarWashApp | platforms/ios/build/emulator/CarWashApp.app/app/tns_modules/@angular/compiler/src/view_compiler/compile_view.js | JavaScript | apache-2.0 | 6,036 |
/* globals ansispan:true */
ansispan = function(str) {
str = str.replace(/>/g, '>');
str = str.replace(/</g, '<');
Object.keys(ansispan.foregroundColors).forEach(function(ansi) {
var span = '<span style="color: ' + ansispan.foregroundColors[ansi] + '">';
//
// `\033[Xm` == `\033[0;Xm` sets foreground ... | YY030913/tg | packages/tagt-logger/ansispan.js | JavaScript | mit | 1,062 |
const Hapi = require('hapi');
const Inert = require('inert');
const Path = require('path');
let connection = {
port: process.env.PORT || 3000,
host: process.env.IP || 'localhost'
};
let routes = [
{
method: 'GET',
path: '/scripts/{path*}',
handler: {
directory: {
... | siscely/bloc-jams-angular | server.js | JavaScript | apache-2.0 | 1,716 |
/**
* @version $Id: index.js 10702 2008-08-21 09:31:31Z eddieajau $
* @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it i... | macartuche/Bolsa-Empleo | tmp/install_4c05852e9ca12/administrator/templates/khepri/js/index.js | JavaScript | gpl-2.0 | 923 |
/**
* jQuery yiiactiveform plugin file.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @link http://www.yiiframework.com/
* @copyright Copyright © 2008-2010 Yii Software LLC
* @license http://www.yiiframework.com/license/
* @version $Id: jquery.yiiactiveform.js 3158 2011-04-02 22:48:01Z qiang.xue $
* @since... | anandaverma/ixpense | yii/yii/framework/web/js/source/jquery.yiiactiveform.js | JavaScript | gpl-3.0 | 13,303 |
vg.canvas.marks = (function() {
var parsePath = vg.canvas.path.parse,
renderPath = vg.canvas.path.render,
sqrt3 = Math.sqrt(3),
tan30 = Math.tan(30 * Math.PI / 180),
tmpBounds = new vg.Bounds();
// path generators
function arcPath(g, o) {
var x = o.x || 0,
y = o.y || 0,
... | luost/vega | src/canvas/marks.js | JavaScript | bsd-3-clause | 13,687 |
/**
* @author jbouny / https://github.com/jbouny
*
* Work based on :
* @author Slayvin / http://slayvin.net : Flat mirror for three.js
* @author Stemkoski / http://www.adelphi.edu/~stemkoski : An implementation of water shader based on the flat mirror
* @author Jonas Wagner / http://29a.ch/ && http://29a.ch/slide... | AngelikiArup/wikihousear | wikihouse_animation/js/WaterShader.js | JavaScript | cc0-1.0 | 10,889 |
const tabsInstance = (
<Tabs defaultActiveKey={2}>
<Tab eventKey={1} title="Tab 1">Tab 1 content</Tab>
<Tab eventKey={2} title="Tab 2">Tab 2 content</Tab>
<Tab eventKey={3} title="Tab 3" disabled>Tab 3 content</Tab>
</Tabs>
);
React.render(tabsInstance, mountNode);
| natlownes/react-bootstrap | docs/examples/TabsUncontrolled.js | JavaScript | mit | 283 |
// javascript 'shim' to trigger the click event of element(s)
// when the space key is pressed.
//
// Created since some Assistive Technologies (for example some Screenreaders)
// Will tell a user to press space on a 'button', so this functionality needs to be shimmed
// See https://github.com/alphagov/govuk_elements/p... | alphagov/govuk_frontend_alpha | src/assets/js/toolkit/govuk/shim-links-with-button-role.js | JavaScript | mit | 1,054 |
'use strict';
/**
* Module dependencies.
*/
var acl = require('acl');
// Using the memory backend
acl = new acl(new acl.memoryBackend());
/**
* Invoke Articles Permissions
*/
exports.invokeRolesPolicies = function() {
acl.allow([{
roles: ['admin'],
allows: [{
resources: '/api/articles',
permissions: '... | christopher-weir/HealthMate | modules/solutions/server/policies/articles.server.policy.js | JavaScript | mit | 1,541 |
/**
* The MIT License (MIT)
*
* Copyright (c) 2015 Famous Industries Inc.
*
* 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 righ... | Bizboard/engine | utilities/test/clone.js | JavaScript | mit | 1,772 |
import warning from 'warning';
const getName = (object) =>
object.displayName ? `${object.displayName} ` :
object.muiName ? `${object.muiName} ` : '';
function deprecatedExport(object, deprecatedPath, supportedPath) {
warning(false,
`Importing ${getName(object)}from '${deprecatedPath}' has been deprecated, ... | frnk94/material-ui | src/utils/deprecatedExport.js | JavaScript | mit | 408 |
// 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/regression-test-issue-1855.js | JavaScript | apache-2.0 | 698 |
YUI.add('anim-base', function(Y) {
/**
* The Animation Utility provides an API for creating advanced transitions.
* @module anim
*/
/**
* Provides the base Anim class, for animating numeric properties.
*
* @module anim
* @submodule anim-base
*/
/**
* A class for constructing animation instances.
* @cla... | jonathantneal/cdnjs | ajax/libs/yui/3.7.0pr1/anim-base/anim-base-debug.js | JavaScript | mit | 18,949 |
/* ========================================================================
* Bootstrap: modal.js v3.0.0
* http://twbs.github.com/bootstrap/javascript.html#modals
* ========================================================================
* Copyright 2012 Twitter, Inc.
*
* Licensed under the Apache License, Versio... | johannnallathamby/product-is | modules/jaggery-apps/user-dashboard/dashboard/js/d_modal.js | JavaScript | apache-2.0 | 7,003 |
'use strict';
var pathFn = require('path');
var Promise = require('bluebird');
var fs = require('hexo-fs');
function getExtname(str) {
if (typeof str !== 'string') return '';
var extname = pathFn.extname(str);
return extname[0] === '.' ? extname.slice(1) : extname;
}
function Render(ctx) {
this.context = ct... | rocknamx8/rocknamx8.github.io | node_modules/hexo/lib/hexo/render.js | JavaScript | apache-2.0 | 3,280 |
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("react"), require("react-dom"));
else if(typeof define === 'function' && define.amd)
define(["react", "react-dom"], factory);
else if(typeof exports === 'obje... | AMoo-Miki/cdnjs | ajax/libs/react-bootstrap-table/2.1.2/react-bootstrap-table.js | JavaScript | mit | 249,065 |
/* http://keith-wood.name/datepick.html
Urdu localisation for jQuery Datepicker.
Mansoor Munib -- mansoormunib@gmail.com <http://www.mansoor.co.nr/mansoor.html>
Thanks to Habib Ahmed, ObaidUllah Anwar. */
(function($) {
$.datepick.regionalOptions.ur = {
monthNames: ['جنوری','فروری','مارچ','اپریل','مئی','جو... | seogi1004/cdnjs | ajax/libs/datepick/5.1.0/js/jquery.datepick-ur.js | JavaScript | mit | 1,696 |
/*!
* Inheritance.js (0.4.3)
*
* Copyright (c) 2015 Brandon Sara (http://bsara.github.io)
* Licensed under the CPOL-1.02 (https://github.com/bsara/inheritance.js/blob/master/LICENSE.md)
*/
(function(root, factory) {
if (typeof define === 'function' && define.amd) {
define([], factory);
} else if (typeof e... | extend1994/cdnjs | ajax/libs/inheritance-js/0.4.3/modules/inheritance.objectdef.js | JavaScript | mit | 15,529 |
/*jshint curly:true, eqeqeq:true, laxbreak:true, noempty:false */
/*
The MIT License (MIT)
Copyright (c) 2007-2013 Einar Lielmanis and contributors.
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 ... | maruilian11/cdnjs | ajax/libs/js-beautify/1.3.3/beautify.js | JavaScript | mit | 60,343 |
(function(L,O){"object"===typeof exports&&"undefined"!==typeof module?O(exports):"function"===typeof define&&define.amd?define(["exports"],O):L.async?O(L.neo_async=L.neo_async||{}):O(L.async=L.async||{})})(this,function(L){function O(a){var c=function(a){var d=J(arguments,1);setTimeout(function(){a.apply(null,d)})};Q="... | hare1039/cdnjs | ajax/libs/neo-async/2.0.1/async.min.js | JavaScript | mit | 35,775 |
/*
* Copyright (C) 2008 Apple Inc. All Rights Reserved.
* Copyright (C) 2010 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retai... | arise-project/ganttmonotracker | libs/OpenWebKitSharp/WebKit.resources/inspector/Breakpoint.js | JavaScript | mit | 1,947 |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v6.0.1
* @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 : ... | dlueth/cdnjs | ajax/libs/ag-grid/6.0.1/lib/templateService.js | JavaScript | mit | 3,730 |
/*! jQuery UI - v1.11.1 - 2014-08-13
* http://jqueryui.com
* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */
(function(t){"function"==typeof define&&define.amd?define(["jquery","./effect"],t):t(jQuery)})(function(t){return t.effects.effect.explode=function(e,i){function s(){b.push(this),b.lengt... | saintwilbur/bandwagon | yolo-octo-bear.bak/bower_components/jquery-ui/ui/minified/effect-explode.min.js | JavaScript | mit | 1,077 |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v5.0.0-alpha.4
* @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 ? t... | dlueth/cdnjs | ajax/libs/ag-grid/5.0.0-alpha.4/lib/rendering/cellRendererService.js | JavaScript | mit | 5,277 |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v4.2.2
* @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 : ... | joeyparrish/cdnjs | ajax/libs/ag-grid/4.2.3/lib/rowControllers/inMemory/filterStage.js | JavaScript | mit | 4,042 |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
global.Dexie = factory();
}(this, function () { 'use strict';
// By default, debug will be true only if platform is a web ... | dakshshah96/cdnjs | ajax/libs/dexie/1.4.0-beta2/dexie.js | JavaScript | mit | 207,257 |
/**
* angular-permission-ng
* Extension module of angular-permission for access control within angular-route
* @version v3.1.0 - 2016-05-15
* @link https://github.com/Narzerus/angular-permission
* @author Rafael Vidaurre <narzerus@gmail.com> (http://www.rafaelvidaurre.com), Blazej Krysiak
* <blazej.krysiak@gmai... | hare1039/cdnjs | ajax/libs/angular-permission/3.1.0/angular-permission-ng.js | JavaScript | mit | 6,553 |
/*!
* numbro.js
* version : 1.8.1
* author : Företagsplatsen AB
* license : MIT
* http://www.foretagsplatsen.se
*/
(function () {
'use strict';
/************************************
Constants
************************************/
var numbro,
VERSION = '1.8.1',
binarySuff... | PaulZadorozhniy/handsontable | dist/numbro/numbro.js | JavaScript | mit | 43,505 |
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
gTestsubsuite = 'LexicalConventions';
| sam/htmlunit-rhino-fork | testsrc/tests/js1_5/LexicalConventions/shell.js | JavaScript | mpl-2.0 | 244 |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var gridRole = {
abstract: false,
accessibleNameRequired: true,
baseConcepts: [{
module: 'HTML',
concept: {
name: 'table',
attributes: [{
name: 'role',
value: 'grid'
}]
}
}],
childrenP... | grshane/monthofmud | web/themes/custom/mom/node_modules/aria-query/lib/etc/roles/literal/gridRole.js | JavaScript | mit | 723 |
'use strict';
// https://github.com/sebmarkbage/ecmascript-string-left-right-trim
require('./_string-trim')('trimRight', function($trim){
return function trimRight(){
return $trim(this, 2);
};
}, 'trimEnd'); | migua1204/jikexueyuan | 极客学院/nodeBaidu/node_modules/core-js/modules/es7.string.trim-right.js | JavaScript | apache-2.0 | 215 |
Ext.grid.RowExpander = function(config){
Ext.apply(this, config);
this.addEvents({
beforeexpand : true,
expand: true,
beforecollapse: true,
collapse: true
});
Ext.grid.RowExpander.superclass.constructor.call(this);
if(this.tpl){
if(typeof this.... | flavour/ssf | static/scripts/ext-community-extensions/rowactions/js/RowExpander.js | JavaScript | mit | 3,977 |
/**
* @author mrdoob / http://mrdoob.com/
*/
function RollerCoasterGeometry( curve, divisions ) {
THREE.BufferGeometry.call( this );
var vertices = [];
var normals = [];
var colors = [];
var color1 = [ 1, 1, 1 ];
var color2 = [ 1, 1, 0 ];
var up = new THREE.Vector3( 0, 1, 0 );
var forward = new THREE.Vec... | ecumene-software/ecumene-software.github.io | warhol/js/RollerCoaster.js | JavaScript | mit | 13,780 |
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* A segment of text within the template.
*/
export var TextAst = (function () {
/**
* @param {?} value... | mo-norant/FinHeartBel | website/node_modules/@angular/compiler/src/template_parser/template_ast.js | JavaScript | gpl-3.0 | 18,574 |
// (C) Copyright 2015 Martin Dougiamas
//
// 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 agre... | Andydadra/moodlemobile2 | www/addons/qbehaviour/deferredcbm/handlers.js | JavaScript | apache-2.0 | 3,770 |
// 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 | payment/amd/src/repository.js | JavaScript | gpl-3.0 | 1,651 |
var assert = require('assert');
var curve = require('../curve');
var elliptic = require('../../elliptic');
var bn = require('bn.js');
var inherits = require('inherits');
var Base = curve.base;
var getNAF = elliptic.utils.getNAF;
function ShortCurve(conf) {
Base.call(this, 'short', conf);
this.a = new bn(conf.a, ... | kimisan/Presentations | quadrant/node_modules/browserify/node_modules/crypto-browserify/node_modules/create-ecdh/node_modules/elliptic/lib/elliptic/curve/short.js | JavaScript | apache-2.0 | 22,130 |
'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... | prostudy/kit | xenon/xenon-files/angular/app/js/angular/i18n/angular-locale_lv-lv.js | JavaScript | gpl-2.0 | 2,666 |
// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
// License: GNU General Public License v3. See license.txt
frappe.query_reports["Customer Acquisition and Loyalty"] = {
"filters": [
{
"fieldname":"company",
"label": __("Company"),
"fieldtype": "Link",
"options": "Company",
"defau... | mahabuber/erpnext | erpnext/selling/report/customer_acquisition_and_loyalty/customer_acquisition_and_loyalty.js | JavaScript | agpl-3.0 | 727 |
// 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... | tunele/moodle | admin/tool/lp/amd/src/competencies.js | JavaScript | gpl-3.0 | 13,273 |
/*
Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("language","fa",{button:"تعیین زبان",remove:"حذف زبان"}); | hikmahtiar6/camar_erp_ci | web/vendor/plugins-admin/ckeditor/plugins/language/lang/fa.js | JavaScript | mit | 243 |
// Copyright 2014 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --expose-debug-as debug --allow-natives-syntax
// Test debug events when we only listen to uncaught exceptions, the Promise
// throws, and a ... | victorzhao/miniblink49 | v8_4_5/test/mjsunit/es6/debug-promises/throw-caught-late.js | JavaScript | gpl-3.0 | 890 |
/*
* grunt
* http://gruntjs.com/
*
* Copyright (c) 2012 "Cowboy" Ben Alman
* Licensed under the MIT license.
* https://github.com/gruntjs/grunt/blob/master/LICENSE-MIT
*/
var grunt = require('../grunt');
// Nodejs libs.
var path = require('path');
var fs = require('fs');
// In Nodejs 0.8.0, existsSync moved fr... | Dilts/GruntworkflowWordpress | wp-content/themes/testGRUNT/src/node_modules/grunt-css/node_modules/grunt/lib/grunt/task.js | JavaScript | gpl-2.0 | 14,837 |
// Karma configuration
// Generated on Fri Nov 08 2013 09:25:16 GMT-0600 (Central Standard Time)
var util = require('../lib/grunt/utils.js');
var grunt = require('grunt');
module.exports = function(config) {
config.set({
// base path, that will be used to resolve files and exclude
basePath: '../',
// f... | bartkiewicz/ui-grid | test/karma.conf.js | JavaScript | mit | 4,547 |
/*
Project: angular-gantt v1.2.7 - 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(){
'use strict';
angular.module('gantt.drawtask', ['gantt']).directive(... | JJediny/angular-gantt | dist/angular-gantt-drawtask-plugin.js | JavaScript | mit | 4,070 |
/*
jqGrid 4.9.1 - free jqGrid: https://github.com/free-jqgrid/jqGrid
Copyright (c) 2008-2014, Tony Tomov, tony@trirand.com
Copyright (c) 2014-2015, Oleg Kiriljuk, oleg.kiriljuk@ok-soft-gmbh.com
Dual licensed under the MIT and GPL licenses
http://www.opensource.org/licenses/mit-license.php
http://www.gnu.org/licen... | CTres/jsdelivr | files/free-jqgrid/4.9.1/js/jquery.jqgrid.min.js | JavaScript | mit | 309,414 |
// TinyMCE helper, checks to see if TinyMCE editors in the given form are dirty
// Support for UMD: https://github.com/umdjs/umd/blob/master/jqueryPluginCommonjs.js
// This allows for tools such as Browserify to compose the components together into a single HTTP request.
(function (factory) {
if (typeof define ===... | NightOwl888/jquery.dirtyforms | helpers/tinymce.js | JavaScript | mit | 2,691 |
/**
* @fileoverview A rule to disallow negated left operands of the `in` operator
* @author Michael Ficarra
* @deprecated in ESLint v3.3.0
*/
"use strict";
//------------------------------------------------------------------------------
// Rule Definition
//--------------------------------------------------------... | hellokidder/js-studying | 微信小程序/wxtest/node_modules/eslint/lib/rules/no-negated-in-lhs.js | JavaScript | mit | 1,010 |
// ParsleyConfig definition if not already set
window.ParsleyConfig = window.ParsleyConfig || {};
window.ParsleyConfig.i18n = window.ParsleyConfig.i18n || {};
// Define then the messages
window.ParsleyConfig.i18n.nl = jQuery.extend(window.ParsleyConfig.i18n.nl || {}, {
defaultMessage: "Deze waarde lijkt onjuist.",
... | thebykov/trufit | wp-content/themes/sportify/tesla_framework/static/js/parsley/locales/nl.js | JavaScript | gpl-3.0 | 1,519 |
//! moment.js locale configuration
//! locale : Luxembourgish [lb]
//! author : mweimerskirch : https://github.com/mweimerskirch
//! author : David Raison : https://github.com/kwisatz
;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
&& typeof require === 'function' ... | gitee2008/glaf | webapps/glaf/static/AdminLTE/bower_components/moment/locale/lb.js | JavaScript | apache-2.0 | 4,506 |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.dialog.add( 'radio', function( editor )
{
return {
title : editor.lang.checkboxAndRadio.radioTitle,
minWidth : 350,
minHeight : 140,
onShow : func... | shridharsahil/libraryweb-site | www/sites/all/libraries/ckeditor/_source/plugins/forms/dialogs/radio.js | JavaScript | bsd-3-clause | 3,596 |
module.exports = function (obj, opts) {
if (!opts) opts = {};
if (typeof opts === 'function') opts = { cmp: opts };
var space = opts.space || '';
if (typeof space === 'number') space = Array(space+1).join(' ');
var cycles = (typeof opts.cycles === 'boolean') ? opts.cycles : false;
var replacer =... | february29/Learning | web/vue/AccountBook-Express/node_modules/json-stable-stringify-without-jsonify/index.js | JavaScript | mit | 2,792 |
describe("module:ng.directive:ngList", function() {
beforeEach(function() {
browser.get("./examples/example-ngList-directive/index.html");
});
var listInput = element(by.model('names'));
var names = element(by.binding('{{names}}'));
var valid = element(by.binding('myForm.namesInput.$valid'));
var error... | cjlyth/golang-resume | webapp/lib/angular/docs/ptore2e/example-ngList-directive/jqlite_test.js | JavaScript | apache-2.0 | 843 |
/* -*- Mode: js; js-indent-level: 2; -*- */
/*
* Copyright 2011 Mozilla Foundation and contributors
* Licensed under the New BSD license. See LICENSE or:
* http://opensource.org/licenses/BSD-3-Clause
*/
if (typeof define !== 'function') {
var define = require('amdefine')(module, require);
}
define(function (req... | yuyang545262477/Resume | 项目三jQueryMobile/node_modules/source-map-support/node_modules/source-map/lib/source-map/util.js | JavaScript | mit | 5,329 |
/*
Highcharts JS v5.0.10 (2017-03-31)
3D features for Highcharts JS
@license: www.highcharts.com/license
*/
(function(E){"object"===typeof module&&module.exports?module.exports=E:E(Highcharts)})(function(E){(function(a){var q=a.deg2rad,k=a.pick;a.perspective=function(p,n,u){var m=n.options.chart.options3d,g=u?n.in... | OfficialBAMM/PrIS | webapp/app/bower_components/highcharts/highcharts-3d.js | JavaScript | gpl-3.0 | 22,373 |
/*
* 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"); you ma... | jcgruenhage/dendrite | vendor/src/github.com/apache/thrift/lib/nodejs/test/binary.test.js | JavaScript | apache-2.0 | 5,920 |
// Context Menu Plugin for HTMLArea-3.0
// Sponsored by www.americanbible.org
// Implementation by Mihai Bazon, http://dynarch.com/mishoo/
//
// (c) dynarch.com 2003.
// Distributed under the same terms as HTMLArea itself.
// This notice MUST stay intact for use (see license.txt).
//
// $Id$
HTMLArea.loadStyle("menu.c... | ouit0408/sakai | jsf/jsf-resource/src/webapp/inputRichText/htmlarea/plugins/ContextMenu/context-menu.js | JavaScript | apache-2.0 | 12,996 |
// $Id: imce_wysiwyg.js,v 1.3.4.1 2010/02/21 00:07:04 sun Exp $
/**
* Wysiwyg API integration helper function.
*/
function imceImageBrowser(field_name, url, type, win) {
// TinyMCE.
if (win !== 'undefined') {
win.open(Drupal.settings.imce.url + encodeURIComponent(field_name), '', 'width=760,height=560,resiza... | MarleneWilliams/drupal-6-gatewaychurch | sites/all/new-modules/imce_wysiwyg/js/imce_wysiwyg.js | JavaScript | gpl-2.0 | 702 |
var WritableStream = require('stream').Writable
|| require('readable-stream').Writable,
inherits = require('util').inherits;
var StreamSearch = require('streamsearch');
var PartStream = require('./PartStream'),
HeaderParser = require('./HeaderParser');
var B_ONEDASH = new Buffer('-'),
... | kuligowski/ImageGallery | server/node_modules/multer/node_modules/busboy/node_modules/dicer/lib/Dicer.js | JavaScript | mit | 4,504 |
/*
Copyright © 2001-2004 World Wide Web Consortium,
(Massachusetts Institute of Technology, European Research Consortium
for Informatics and Mathematics, Keio University). All
Rights Reserved. This work is distributed under the W3C® Software License [1] in the
hope that it will be useful, but WITHOUT ANY WARRANTY; wi... | scheib/chromium | third_party/blink/web_tests/dom/legacy_dom_conformance/xhtml/level2/events/dispatchEvent01.js | JavaScript | bsd-3-clause | 2,914 |
/*
* Copyright 2016 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apach... | mbaluch/keycloak | testsuite/integration-arquillian/test-apps/cors/angular-product/src/main/webapp/lib/angular/angular-route.js | JavaScript | apache-2.0 | 33,181 |