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 |
|---|---|---|---|---|---|
#!/usr/local/bin/node
var fs = require('fs'),
uglify = require('uglify-js')
var storeJS = fs.readFileSync(__dirname + '/store.js').toString(),
jsonJS = fs.readFileSync(__dirname + '/json.js').toString(),
copy = '/* Copyright (c) 2010-2013 Marcus Westin */'
console.log('building and minifying...')
buildFile(storeJ... | confapp/data_manager | vendor/store.js-1.3.20/build.js | JavaScript | mit | 679 |
import Registry from 'container/registry';
import run from 'ember-metal/run_loop';
import ComponentLookup from 'ember-views/component_lookup';
import View from 'ember-views/views/view';
import Component from 'ember-views/views/component';
import compile from 'ember-template-compiler/system/compile';
import { runAppend,... | jplwood/ember.js | packages/ember-htmlbars/tests/integration/block_params_test.js | JavaScript | mit | 4,752 |
import { connect } from 'react-redux';
import UploadForm from '../components/upload_form';
import { undoUploadCompose } from '../../../actions/compose';
const mapStateToProps = state => ({
media: state.getIn(['compose', 'media_attachments']),
});
const mapDispatchToProps = dispatch => ({
onRemoveFile (media_id) ... | verniy6462/mastodon | app/javascript/mastodon/features/compose/containers/upload_form_container.js | JavaScript | agpl-3.0 | 449 |
function each(elems, func) {
if (!elems instanceof Array) { elems = [elems]; }
for (var i = elems.length; i--; ) {
func(elems[i]);
}
}
function setValOn(elems, val) {
each(elems, function(elem) {
elem.innerHTML = val;
});
}
function onClick(elems, func) {
each(elems, function(elem) {
elem.oncl... | ralzate/Produccion | vendor/bundle/ruby/2.2.0/gems/sextant-0.2.4/app/assets/javascripts/sextant/sextant.js | JavaScript | mit | 767 |
/* This Source Code Form is subject to the terms of the MIT license
* If a copy of the MIT license was not distributed with this file, you can
* obtain one at https://raw.github.com/mozilla/butter/master/LICENSE */
define( [ "util/lang", "editor/editor", "text!layouts/tutorial-editor.html" ],
function( LangUtils, ... | Acidburn0zzz/popcorn.webmaker.org | public/src/editor/tutorial-editor.js | JavaScript | mit | 1,677 |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } }... | unmeshpro/easyPost | static/node_modules/material-ui/SvgIcon/SvgIcon.js | JavaScript | mit | 6,041 |
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/SyntaxHighlighter
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
*
* @version
* 3.0.90 (Thu, 17 Nov 2016 14:18:05 GMT)
*
* @copyright
* Copyright (C) 2004-2013 Alex Gorbat... | Revanth47/addons-server | static/js/lib/syntaxhighlighter/shLegacy.js | JavaScript | bsd-3-clause | 3,696 |
/*
Highcharts JS v6.1.0 (2018-04-13)
Indicator series type for Highstock
(c) 2010-2017 Sebastian Bochan
License: www.highcharts.com/license
*/
(function(b){"object"===typeof module&&module.exports?module.exports=b:b(Highcharts)})(function(b){(function(b){function n(a,d){return Math.max(a[1]-a[2],d===g?0:Math.ab... | joeyparrish/cdnjs | ajax/libs/highcharts/6.1.0/js/indicators/atr.js | JavaScript | mit | 889 |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* Operator x <= y returns ToString(x) <= ToString(y), if Type(Primitive(x)) is String and Type(Primitive(y)) is String
*
* @path ch11/11.8/11.8.3/S11.8.3_A3.2_T1.1.js
* @descripti... | hippich/typescript | tests/Fidelity/test262/suite/ch11/11.8/11.8.3/S11.8.3_A3.2_T1.1.js | JavaScript | apache-2.0 | 978 |
//// [newWithSpread.ts]
function f(x: number, y: number, ...z: string[]) {
}
function f2(...x: string[]) {
}
interface A {
f: {
new (x: number, y: number, ...z: string[]);
}
}
class B {
constructor(x: number, y: number, ...z: string[]) {}
}
interface C {
"a-b": typeof B;
}
interface D {
... | yortus/TypeScript | tests/baselines/reference/newWithSpread.js | JavaScript | apache-2.0 | 4,147 |
/**
* ClusterWizard
*/
cdb.admin.mod.ClusterWizard = cdb.admin.mod.SimpleWizard.extend({
MODULES: ['legends'],
initialize: function() {
this.type = 'cluster';
cdb.admin.mod.SimpleWizard.prototype.initialize.call(this);
}
});
| nyimbi/cartodb | lib/assets/javascripts/cartodb/table/menu_modules/wizards/cluster_wizard.js | JavaScript | bsd-3-clause | 246 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Lic... | darkrsw/safe | tests/parser_tests/js/src/tests/js1_5/Regress/regress-452853.js | JavaScript | bsd-3-clause | 2,432 |
/*
* Copyright (c) 2006, 2015, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
/**
The Java Deployment Toolkit is a utility to deploy Java content in
the browser as applets or applications using the right version of Java.
If needed it c... | MMAesawy/photonicimageviewer | dist/web-files/dtjava.js | JavaScript | mit | 163,065 |
// Copyright Joyent, Inc. and other Node 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 the Software without restriction, including
// without limitation the rights to use, copy, modi... | teeple/pns_server | work/install/node-v0.10.25/test/fixtures/not-main-module.js | JavaScript | gpl-2.0 | 1,347 |
var inst = require("../index").getInstance();
module.exports = inst.use("uploader-deprecated");
| berkmancenter/spectacle | web/js/app/editor/node_modules/grunt-contrib/node_modules/grunt-contrib-yuidoc/node_modules/yuidocjs/node_modules/yui/uploader-deprecated/index.js | JavaScript | gpl-2.0 | 96 |
//// [tests/cases/compiler/moduleResolutionWithExtensions_notSupported.ts] ////
//// [tsx.tsx]
//// [jsx.jsx]
//// [js.js]
//// [a.ts]
import tsx from "./tsx"; // Not allowed.
import jsx from "./jsx"; // Not allowed.
import js from "./js"; // OK because it's an untyped module.
//// [a.js]
"use strict"... | basarat/TypeScript | tests/baselines/reference/moduleResolutionWithExtensions_notSupported.js | JavaScript | apache-2.0 | 351 |
/*
Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
if(!dojo._hasResource["dojox.drawing.annotations.BoxShadow"]){
dojo._hasResource["dojox.drawing.annotations.BoxShadow"]=tru... | skobbler/AddressHunter | web-app/public/js/dojox/drawing/annotations/BoxShadow.js | JavaScript | bsd-3-clause | 5,397 |
/*
Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
if(!dojo._hasResource["dojox.layout.ScrollPane"]){
dojo._hasResource["dojox.layout.ScrollPane"]=true;
dojo.provide("dojox.l... | skobbler/AddressHunter | web-app/public/js/dojox/layout/ScrollPane.js | JavaScript | bsd-3-clause | 2,960 |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*
* @format
*/
'use strict';
exports.__esModule = true;
exports.default = void 0;
var _View = _interopRequireDefault(require("... | cdnjs/cdnjs | ajax/libs/react-native-web/0.17.4/cjs/vendor/react-native/Animated/createAnimatedComponent.js | JavaScript | mit | 15,843 |
function foo(x) {
var y = 2.5;
y = -x;
var z = [1,2,y];
return x + 5;
}
for (var i = 0; i < 20; i++)
foo(i);
assertEq(foo(20), 25);
| michath/ConMonkey | js/src/jit-test/tests/jaeger/bug619433-2.js | JavaScript | mpl-2.0 | 143 |
/*
* 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 ... | cxfeng1/incubator-weex | runtime/frameworks/legacy/app/ctrl/index.js | JavaScript | apache-2.0 | 1,146 |
/// Copyright (c) 2009 Microsoft Corporation
///
/// Redistribution and use in source and binary forms, with or without modification, are permitted provided
/// that the following conditions are met:
/// * Redistributions of source code must retain the above copyright notice, this list of conditions and
/// ... | modulexcite/blink | LayoutTests/ietestcenter/Javascript/TestCases/15.4.4.15-8-b-i-4.js | JavaScript | bsd-3-clause | 2,223 |
var async = require('async'),
_ = require('underscore');
var passport = require('passport'),
passportTwitterStrategy = require('passport-twitter').Strategy;
var keystone = require('keystone'),
User = keystone.list('User');
var credentials = {
consumerKey: process.env.TWITTER_CONSUMER_KEY,
consumerSecret: proces... | s-vp/site | lib/auth/twitter.js | JavaScript | mit | 3,026 |
'use strict';
var path = require('canonical-path');
/**
* dgService getVersion
* @description
* Find the current version of the bower component (or node module)
*/
module.exports = function getVersion(readFilesProcessor) {
var basePath = readFilesProcessor.basePath;
return function(component, sourceFolder, pa... | rjamet/angular.js | docs/config/services/getVersion.js | JavaScript | mit | 540 |
function update_active(name_active, name_required, name_signup) {
var required = jQuery("input[name='" + name_required + "']")[1]
var signup = jQuery("input[name='" + name_signup + "']")[1]
var active = jQuery("input[name='" + name_active + "']")[1]
if(required.checked || signup.checked)
active.checked = t... | AlessandroCaetano/noosfero | public/javascripts/manage-fields.js | JavaScript | agpl-3.0 | 3,603 |
// Copyright 2017 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-gc
prop = "property";
function f(o) {
return o.prop;
}
f(this);
f(this);
delete this.prop;
gc();
assertEquals(undefined, f(thi... | weolar/miniblink49 | v8_7_5/test/mjsunit/regress/regress-crbug-702793.js | JavaScript | apache-2.0 | 325 |
// Copyright 2009 the Sputnik authors. All rights reserved.
/**
* The unshift function is intentionally generic.
* It does not require that its this value be an Array object
*
* @path ch15/15.4/15.4.4/15.4.4.13/S15.4.4.13_A2_T2.js
* @description The arguments are prepended to the start of the array, such that
* ... | mgentile/jint | Jint.Tests.Ecma/TestCases/ch15/15.4/15.4.4/15.4.4.13/S15.4.4.13_A2_T2.js | JavaScript | bsd-2-clause | 4,201 |
module.exports = {
options: {
jshintrc: '.jshintrc' // use project defined jshint settings which can be shared with IDEs etc
},
sourceAndDist: ['Gruntfile.js', 'js/*.js', 'dist/fuelux.js'],
tests: ['test/**/*.js', '!test/commonjs-bundle.js']
}; | jerico1990/jecaei | web/extension/components/fuelux/grunt/config/jshint.js | JavaScript | bsd-3-clause | 250 |
;(function (root, factory) {
if (typeof exports === "object") {
// CommonJS
module.exports = exports = factory(require("./core"));
}
else if (typeof define === "function" && define.amd) {
// AMD
define(["./core"], factory);
}
else {
// Global (browser)
factory(root.CryptoJS);
}
}(this, function (Crypt... | vxun/weixinapp | wx-bbs/utils/aes/cipher-core.js | JavaScript | agpl-3.0 | 29,277 |
geocoder = require('../index.js');
module.exports = {
setUp:function(cb) {
geocoder.selectProvider("yahoo",{"appid":"[yourappidhere]"});
cb();
},
testExposeGeocodeFunction: function(test){
test.equal(typeof geocoder.geocode, 'function');
test.equal(geocoder.provider, 'yahoo');
test.done()... | niftytushar/geocoder | test/geocoder-yahoo.js | JavaScript | mit | 585 |
window.addEvent('domready', function() {
document.getElements('.gkNspPM-GridTitleOverlay').each(function(module) {
if(!module.hasClass('active')) {
module.addClass('active');
gkPortalModeGridTitleOverlayInit(module);
}
});
});
var gkPortalModeGridTitleOverlayInit = function(module) {
// add the basic even... | ytsebro/slavic | quark_base/modules/mod_news_pro_gk5/tmpl/portal_modes/grid_title_overlay/script.mootools.js | JavaScript | gpl-2.0 | 487 |
// Copyright 2009 the Sputnik authors. All rights reserved.
/**
* Operator x | y returns ToNumber(x) | ToNumber(y)
*
* @path ch11/11.10/11.10.3/S11.10.3_A3_T2.5.js
* @description Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object)
*/
//CHE... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch11/11.10/11.10.3/S11.10.3_A3_T2.5.js | JavaScript | bsd-3-clause | 1,431 |
// Copyright 2009 the Sputnik authors. All rights reserved.
/**
* The "interface" token can not be used as identifier in strict code
*
* @path ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.18.js
* @description Checking if execution of "interface = 1" fails in
* strict code
* @onlyStrict
* @negative
*/
"use... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch07/7.6/7.6.1/7.6.1.2/S7.6.1.2_A1.18.js | JavaScript | bsd-3-clause | 350 |
var finalhandler = require('finalhandler');
var http = require('http');
var serveStatic = require('serve-static');
var fs = require('fs');
fs.createReadStream('../release/i18next-latest.js').pipe(fs.createWriteStream('static/i18next-latest.js'));
// Serve up static folder
var serve = serveStatic('static', {'index': ['... | etodd/i18next | sample/server.js | JavaScript | mit | 572 |
// This library started as an experiment to see how small I could make
// a functional router. It has since been optimized (and thus grown).
// The redundancy and inelegance here is for the sake of either size
// or speed.
(function (root, factory) {
var define = root && root.define;
if (define && define.amd) {
... | froala/cdnjs | ajax/libs/rlite-router/2.0.1/rlite.js | JavaScript | mit | 2,607 |
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define([], factory);
else {
var a = factory();
for(var i in a) (typeof exports === 'object' ? exports : roo... | froala/cdnjs | ajax/libs/rollbar.js/2.0.0-alpha.9/rollbar.umd.js | JavaScript | mit | 463,844 |
/**
* @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
*/
"use strict";
var collection_1 = require('../facade/collection');
var lang_1 = require('../facade/lang');
var o = req... | vidyutron/vidyutron.github.io | vendor/libs/@angular/compiler/src/view_compiler/event_binder.js | JavaScript | mit | 8,069 |
// Copyright 2015 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('errorCodes', function() {
'use strict';
/**
* Generate the page content.
* @param {Array.<Object>} errorCodes Error codes array cons... | geminy/aidear | oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/content/browser/resources/net/network_errors_listing.js | JavaScript | gpl-3.0 | 1,607 |
define([], function() {
var utils = hello.utils;
describe('utils.diff', function() {
it('should return the values which are in the second array but not the first', function() {
var value = utils.diff([1, 3], [1, 2, 3]);
expect(value).to.eql([2]);
value = utils.diff([1, 2, 3], [1, 3]);
expect(value)... | skion/hello.js | tests/specs/unit/utils/diff.js | JavaScript | mit | 351 |
// 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
* Functions related to the 'client screen' for Chromoting.
*/
'use strict';
/** @suppress {duplicate} */
var remoting = remot... | androidarmv6/android_external_chromium_org | remoting/webapp/client_screen.js | JavaScript | bsd-3-clause | 13,424 |
version https://git-lfs.github.com/spec/v1
oid sha256:11b5ccad4966eac36c7891743f436220b8c6faf7c21a770e6d3f82372097c4de
size 8186
| yogeshsaroya/new-cdnjs | ajax/libs/yui/3.9.1/widget-position/widget-position.js | JavaScript | mit | 129 |
// Generated by CoffeeScript 1.10.0
var html;
html = "<strong>\n cup of coffeescript\n</strong>";
| ruslana-net/ai-gallery | src/Ai/GalleryBundle/Resources/assets/components/coffee-script/documentation/js/heredocs.js | JavaScript | mit | 100 |
// (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... | bmmg888/moodlemobile2 | www/addons/mod/assign/submission/comments/handlers.js | JavaScript | apache-2.0 | 4,524 |
require('../../jqwidgets/jqxcore');
require('../../jqwidgets/jqxbuttons');
require('../../jqwidgets/jqxdropdownbutton');
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react')) :
typeof define === 'function' && define.amd ? define(['exports... | cdnjs/cdnjs | ajax/libs/jqwidgets/9.1.6/jqwidgets-react-tsx/jqxdropdownbutton/react_jqxdropdownbutton.umd.js | JavaScript | mit | 6,645 |
require("../lib/jasmine-promise");
var Http = require("../../http");
var Apps = require("../../http-apps");
var FS = require("../../fs");
// http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35.1
describe("HTTP Range", function () {
var fixture, app, serveAndTest;
describe("Byte Ranges" , function ... | kriskowal/q-io | spec/http-apps/partial-range-spec.js | JavaScript | mit | 8,580 |
'use strict';
var helpers = require('../helpers');
module.exports = {
'name': 'mixins-before-declarations',
'defaults': {
'exclude': [
'breakpoint',
'mq'
]
},
'detect': function (ast, parser) {
var result = [],
error;
ast.traverseByType('include', function (node, i, parent... | grshane/monthofmud | web/themes/custom/mom/node_modules/sass-lint/lib/rules/mixins-before-declarations.js | JavaScript | mit | 1,386 |
module.exports = {
"59.0.3071.115": [
"1.8.2",
"1.8.1",
"1.8.0"
],
"56.0.2924.87": [
"1.6.15",
"1.6.14",
"1.6.13",
"1.6.12",
"1.6.11",
"1.6.10",
"1.6.9",
"1.6.8",
"1.6.7",
"1.6.6",
"1.6.5",
"1.6.4",
"1.6.3",
"1.6.2",
"1.6.1",
"1.6.0"
],
"58.0.3029.110": [
"1.7.9",
"1.7.8",... | gFelicio/agenda | public/node_modules/electron-to-chromium/full-chromium-versions.js | JavaScript | mit | 2,340 |
var webpack = require('webpack');
/*
* Default webpack configuration for development
*/
var config = {
devtool: 'eval-source-map',
entry: __dirname + "/app/App.js",
output: {
path: __dirname + "/public",
filename: "bundle.js"
},
module: {
loaders: [{
test: /\.jsx?$/,
exclude: /node... | alxers/kanbanboard | webpack.config.js | JavaScript | mit | 931 |
define(["Ti/_/css", "Ti/_/declare", "Ti/_/lang", "Ti/_/Evented", "Ti/Locale", "Ti/UI"],
function(css, declare, lang, Evented, Locale, UI) {
return declare("Ti.UI.AlertDialog", Evented, {
show: function() {
// Create the window and a background to dim the current view
var alertWindow = this._alertWindow = UI... | kimy82/appStore | titanium/Ti/UI/AlertDialog.js.uncompressed.js | JavaScript | apache-2.0 | 2,690 |
loadIonicon('<svg width="1em" height="1em" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M426.2 80.4l-170.2 32-170.2-32C64 77 48 97.3 48 118v244.5c0 20.7 16 32.6 37.8 37.6L256 432l170.2-32c21.8-5 37.8-16.9 37.8-37.6V118c0-20.7-16-41-37.8-37.6zm0 282l-151.2 32V149.9l151.2-32v244.5zm-189.2 32l-151.2-3... | wout/cdnjs | ajax/libs/ionicons/4.0.0-6/ionicons/svg/md-book.js | JavaScript | mit | 362 |
// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
// MIT License. See license.txt
frappe.provide('frappe.pages');
frappe.provide('frappe.views');
frappe.views.Factory = Class.extend({
init: function(opts) {
$.extend(this, opts);
},
show: function() {
var page_name = frappe.get_route_str(),
... | elba7r/builder | frappe/public/js/frappe/views/factory.js | JavaScript | mit | 1,059 |
define([
'js/views/baseview', 'jquery', "gettext", 'js/views/group_configuration_details',
'js/views/group_configuration_edit', "js/views/utils/view_utils"
], function(
BaseView, $, gettext, GroupConfigurationDetails, GroupConfigurationEdit, ViewUtils
) {
'use strict';
var GroupConfigurationsItem = ... | dsajkl/reqiop | cms/static/js/views/group_configuration_item.js | JavaScript | agpl-3.0 | 2,530 |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('hoist-non-inferno-statics'), require('inferno'), require('redux')) :
typeof define === 'function' && define.amd ? define(['exports', 'hoist-non-inferno-statics', 'inferno', 'redux'], factory) :
(... | cdnjs/cdnjs | ajax/libs/inferno-redux/7.3.2/inferno-redux.js | JavaScript | mit | 34,331 |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
'use strict';
const path = require('path');
const semver = require('semver');
function resolveRelatively(importee, importer) {
... | jdlehman/react | scripts/rollup/plugins/use-forks-plugin.js | JavaScript | mit | 2,453 |
// Copyright 2014 The ChromeOS IME Authors. All Rights Reserved.
// limitations under the License.
// See the License for the specific language governing permissions and
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// distributed under the License is distributed on an "AS-IS" BASIS,
// Un... | Chilledheart/chromium | third_party/google_input_tools/src/chrome/os/inputview/config/util.js | JavaScript | bsd-3-clause | 18,249 |
/*************************************************************
*
* MathJax/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Regular/All.js
*
* Copyright (c) 2009-2013 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the... | shayzluf/lazoozweb | wiki/extensions/Math/modules/MathJax/unpacked/jax/output/HTML-CSS/fonts/STIX/IntegralsUp/Regular/All.js | JavaScript | gpl-2.0 | 2,796 |
/*************************************************************
*
* /MathJax/unpacked/config/Accessible.js
*
* Copyright (c) 2010-2017 The MathJax Consortium
*
* Part of the MathJax library.
* See http://www.mathjax.org for details.
*
* Licensed under the Apache License, Version 2.0;
* you may not use... | MarkUsProject/Markus | vendor/assets/javascripts/MathJax_lib/config/Accessible.js | JavaScript | mit | 1,044 |
(function($) {
var form = $('#wp-auth-check-form');
if (form.length)
form.data('src', tmlAdmin.interim_login_url);
})(jQuery);
| zruiz/Inv | wp-content/plugins/theme-my-login000/admin/js/theme-my-login-admin.js | JavaScript | gpl-2.0 | 132 |
IntlMessageFormat.__addLocaleData({locale:"seh", messageformat:{pluralFunction:function (n) { n=Math.floor(n);if(n===1)return"one";return"other"; }}}); | extend1994/cdnjs | ajax/libs/intl-messageformat/0.1.0/locale-data/seh.js | JavaScript | mit | 151 |
var _curry1 = require('./internal/_curry1');
var sum = require('./sum');
/**
* Returns the mean of the given list of numbers.
*
* @func
* @memberOf R
* @since v0.14.0
* @category Math
* @sig [Number] -> Number
* @param {Array} list
* @return {Number}
* @example
*
* R.mean([2, 7, 9]); //=> 6
* R... | kismts/my_udon | src/node_modules/ramda/src/mean.js | JavaScript | mit | 429 |
/**
* Map arc series module.
*/
import { __extends } from "tslib";
/**
* ============================================================================
* IMPORTS
* ============================================================================
* @hidden
*/
import { MapLineSeries, MapLineSeriesDataItem } fro... | cdnjs/cdnjs | ajax/libs/amcharts4/4.9.37/.internal/charts/map/MapArcSeries.js | JavaScript | mit | 2,717 |
// 2013, Muaz Khan - https://github.com/muaz-khan
// MIT License - https://www.webrtc-experiment.com/licence/
// Documentation - https://github.com/muaz-khan/WebRTC-Experiment/blob/master/AudioVideoRecorder
if (!window.MediaRecorder) {
var throwError = 'Support? Current/Latest Firefox Nightly (ONLY). Unde... | samiranmon/battleme | WebRTC-Experiment-master/AudioVideoRecorder/AudioVideoRecorder.js | JavaScript | mit | 1,531 |
/***********************************************************************
A JavaScript tokenizer / parser / beautifier / compressor.
https://github.com/mishoo/UglifyJS2
-------------------------------- (C) ---------------------------------
Author: Mihai Bazon
... | endlessm/chromium-browser | third_party/node/node_modules/uglify-es/lib/mozilla-ast.js | JavaScript | bsd-3-clause | 22,404 |
(function($){var lm={"config":{},"container":{},"controls":{},"errors":{},"items":{},"utils":{}};
lm.utils.F = function () {};
lm.utils.extend = function( subClass, superClass ) {
subClass.prototype = lm.utils.createObject( superClass.prototype );
subClass.prototype.contructor = subClass;
};
lm.utils.createObject... | dlueth/cdnjs | ajax/libs/golden-layout/1.5.4/goldenlayout.js | JavaScript | mit | 127,941 |
/**
* 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,
... | qq644531343/react-native | Examples/UIExplorer/XHRExample.js | JavaScript | bsd-3-clause | 9,319 |
/*!
* jQuery Password Strength plugin for Twitter Bootstrap
*
* Copyright (c) 2008-2013 Tane Piper
* Copyright (c) 2013 Alejandro Blanco
* Dual licensed under the MIT and GPL licenses.
*/
(function (jQuery) {
// Source: src/rules.js
var rulesEngine = {};
try {
if (!jQuery && module && module.exports) {
... | grempe/strongpass | js/bower_components/pwstrength-bootstrap/dist/pwstrength-bootstrap-1.1.5.js | JavaScript | mit | 20,846 |
/**
* @fileoverview Rule to flag use of with statement
* @author Nicholas C. Zakas
*/
"use strict";
//------------------------------------------------------------------------------
// Rule Definition
//------------------------------------------------------------------------------
module.exports = function(context... | bpatters/eservice | ui/node_modules/eslint/lib/rules/no-with.js | JavaScript | apache-2.0 | 474 |
/*!
* Angular Material Design
* https://github.com/angular/material
* @license MIT
* v0.11.4
*/
(function( window, angular, undefined ){
"use strict";
/**
* @ngdoc module
* @name material.components.chips
*/
/*
* @see js folder for chips implementation
*/
angular.module('material.components.chips', [
'mate... | akera-io/akera-rest-explorer | www/resources/angular-material/modules/js/chips/chips.js | JavaScript | mit | 34,224 |
define(function (require) {
var List = require('../../data/List');
var Graph = require('../../data/Graph');
var linkList = require('../../data/helper/linkList');
var completeDimensions = require('../../data/helper/completeDimensions');
var CoordinateSystem = require('../../CoordinateSystem');
v... | krasnyuk/e-liquid-MS | wwwroot/assets/js/echarts/src/chart/helper/createGraphFromNodeEdge.js | JavaScript | mit | 2,446 |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var MoveDirection;
(function (MoveDirection) {
MoveDirection["bottom"] = "bottom";
MoveDirection["bottomLeft"] = "bottom-left";
MoveDirection["bottomRight"] = "bottom-right";
MoveDirection["left"] = "left";
MoveDirection["n... | cdnjs/cdnjs | ajax/libs/tsparticles/1.14.3/Enums/MoveDirection.js | JavaScript | mit | 571 |
/*! UIkit 2.17.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
(function(addon) {
var component;
if (window.UIkit) {
component = addon(UIkit);
}
if (typeof define == "function" && define.amd) {
define("uikit-tooltip", ["uikit"], function(){
return component... | jtan25/QuickSource | static/project/js/components/tooltip.js | JavaScript | mit | 7,679 |
#pragma strict
var playerTransform : Transform;
private var pos : Vector3;
private var scale : Vector3;
var minGlow : float = 0.2f;
var maxGlow : float = 0.5f;
var glowColor : Color = Color.white;
private var mat : Material;
function Start () {
if (!playerTransform)
playerTransform = GameObject.FindWithTag ("Pla... | SavantCat/UNODE | unodeV1.1/Assets/UnityTestTools/Examples/IntegrationTestsFrameworkExamples/AngryBotsTests/Scripts/Fx/GlowPlane.js | JavaScript | mit | 1,468 |
'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/image/exposure-neg-2.js | JavaScript | gpl-3.0 | 1,397 |
var debug = require('debug')('freecc:executebonfire');
var {
addTests,
runTests,
testCode
} = require('../../utils');
module.exports = executeBonfire;
function executeBonfire(userCode, tests, cb) {
// TODO: move this into componentDidMount
// ga('send', 'event', 'Bonfire', 'ran-code', bonfireName);
var t... | cmherskovic/freecodecamp | common/app/routes/Bonfires/executeBonfire.js | JavaScript | bsd-3-clause | 715 |
/*
jQuery autoComplete v1.0.1
Copyright (c) 2014 Simon Steinberger / Pixabay
GitHub: https://github.com/Pixabay/jQuery-autoComplete
License: http://www.opensource.org/licenses/mit-license.php
*/
(function($){
$.fn.autoComplete = function(options){
var o = $.extend({ source: null, minChars: 3, del... | AMoo-Miki/cdnjs | ajax/libs/jquery-autocomplete/1.0.1/jquery.auto-complete.js | JavaScript | mit | 7,063 |
/*!
* animsition v3.4.0
* http://blivesta.github.io/animsition/
* Licensed under MIT
* Author : blivesta
* http://blivesta.com/
*/
(function($) {
"use strict";
var namespace = "animsition";
var methods = {
init: function(options) {
options = $.extend({
inClass: "fade-in",
outClass:... | tmthrgd/pagespeed-libraries-cdnjs | packages/animsition/3.4.0/js/jquery.animsition.js | JavaScript | mit | 8,179 |
/*
* Copyright 2014 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... | CodeWarrior-Hawaii/KonaTaxi | node_modules/lodash-cli/node_modules/closure-compiler/node_modules/google-closure-compiler/contrib/externs/w3c_css.js | JavaScript | gpl-3.0 | 863 |
enyo.kind ({
name: "Script",
kind: "Scroller",
style: "background-color:#c0c0c0",
clear: function () {
with (this.$.input) { setContent (value = ''); render() };
},
demo: function () {
with (this.$.input) {
setContent (value = [
'r2.disassemble (0, "9090", function(text) {',
' ... | four0four/radare2 | shlr/www/enyo/js/script.js | JavaScript | gpl-3.0 | 1,528 |
(function()
{
var __root = typeof(window) !== "undefined" ? window : self;
__root.Ice = __root.Ice || {};
Ice.Slice = Ice.Slice || {};
__root.IceMX = __root.IceMX || {};
__root.IceSSL = __root.IceSSL || {};
var Slice = Ice.Slice;
(function()
{
// ********************************... | Amomo/cdnjs | ajax/libs/ice/3.6.2/Ice.js | JavaScript | mit | 988,188 |
module.exports={title:"Hugo",slug:"hugo",svg:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Hugo</title><path d="M11.754 0a3.998 3.998 0 00-2.049.596L3.33 4.532a4.252 4.252 0 00-2.017 3.615v8.03c0 1.473.79 2.838 2.067 3.574l6.486 3.733a3.88 3.88 0 003.835.018l7.043-3.966a3.817 3.817 0 00... | cdnjs/cdnjs | ajax/libs/simple-icons/5.9.0/hugo.min.js | JavaScript | mit | 885 |
module.exports={title:"Polymer Project",slug:"polymerproject",svg:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Polymer Project</title><path d="M14.4 3.686L7.2 16.16 4.8 12l4.8-8.314H4.8L0 12l2.4 4.159 2.4 4.155h4.8l7.2-12.469L19.2 12l-4.8 8.314h4.8l2.4-4.155L24 12l-2.4-4.155-2.4-4.159Z... | cdnjs/cdnjs | ajax/libs/simple-icons/5.9.0/polymerproject.min.js | JavaScript | mit | 567 |
/**
* @fileoverview A rule to control the style of variable initializations.
* @author Colin Ihrig
* @copyright 2015 Colin Ihrig. All rights reserved.
*/
"use strict";
//------------------------------------------------------------------------------
// Requirements
//-----------------------------------------------... | winterbe/eslint | tests/lib/rules/init-declarations.js | JavaScript | mit | 9,629 |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v8.1.0
* @link http://www.ag-grid.com/
* @license MIT
*/
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c <... | tonytomov/cdnjs | ajax/libs/ag-grid/8.1.1/lib/misc/focusService.js | JavaScript | mit | 5,577 |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v3.3.2
* @link http://www.ag-grid.com/
* @license MIT
*/
var columnKeyCreator_1 = require("./columnKeyCreator");
var originalColumnGroup_1 = require("../entities/originalColumnGroup");
var column_1... | joeyparrish/cdnjs | ajax/libs/ag-grid/3.3.2/lib/columnController/balancedColumnTreeBuilder.js | JavaScript | mit | 6,562 |
define("dojo/_base/kernel", ["../has", "./config", "require", "module"], function(has, config, require, module){
// module:
// dojo/_base/kernel
// This module is the foundational module of the dojo boot sequence; it defines the dojo object.
var
// loop variables for this module
i, p,
// create dojo, diji... | tmthrgd/pagespeed-libraries-cdnjs | packages/dojo/1.10.4/_base/kernel.js.uncompressed.js | JavaScript | mit | 11,166 |
//! moment.js locale configuration
//! locale : English (Ireland) [en-ie]
//! author : Chris Cartlidge : https://github.com/chriscartlidge
import moment from '../moment';
export default moment.defineLocale('en-ie', {
months: 'January_February_March_April_May_June_July_August_September_October_November_December'.s... | GoogleCloudPlatform/prometheus-engine | third_party/prometheus_ui/base/web/ui/react-app/node_modules/moment/src/locale/en-ie.js | JavaScript | apache-2.0 | 2,033 |
!function(C){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=C();else if("function"==typeof define&&define.amd)define([],C);else{var d;"undefined"!=typeof window?d=window:"undefined"!=typeof global?d=global:"undefined"!=typeof self&&(d=self);d.ForerunnerDB=C()}}(function(){return function d(m,k,b... | menuka94/cdnjs | ajax/libs/forerunnerdb/1.2.13/fdb-core+persist.min.js | JavaScript | mit | 71,007 |
(function($){$.countdown.regional["de"]={labels:["Jahre","Monate","Wochen","Tage","Stunden","Minuten","Sekunden"],labels1:["Jahr","Monat","Woche","Tag","Stunde","Minute","Sekunde"],compactLabels:["J","M","W","T"],whichLabels:null,digits:["0","1","2","3","4","5","6","7","8","9"],timeSeparator:":",isRTL:false};$.countdow... | sreym/cdnjs | ajax/libs/jquery-countdown/1.6.2/jquery.countdown-de.min.js | JavaScript | mit | 373 |
'use strict';
module.exports = parseInt(process.env.NODE_UNIQUE_ID || 0, 10);
| grignew/Courses | src/courses.mock.server/node_modules/shortid/lib/util/cluster-worker-id.js | JavaScript | mit | 79 |
/* Copyright (c) 2011 Arnaud Renevier, Inc, published under the modified BSD
* license.
*
- ZipFile is available under the modified bsd license, and can be used and
redistributed under the conditions of this license. A copy of modified bsd
license is included in this file.
- files distributed in external/ direct... | jsphkhan/rib | lib/zipfile.js | JavaScript | apache-2.0 | 8,955 |
/*-------------------------------------------------------------------------
* drawElements Quality Program OpenGL ES Utilities
* ------------------------------------------------
*
* Copyright 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not us... | endlessm/chromium-browser | third_party/webgl/src/sdk/tests/deqp/functional/gles3/es3fShaderIndexingTests.js | JavaScript | bsd-3-clause | 59,940 |
/**!
* AngularJS file upload directives and services. Supoorts: 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 9.1.0
*/
(function () {
... | maruilian11/cdnjs | ajax/libs/danialfarid-angular-file-upload/9.1.0/ng-file-upload-all.js | JavaScript | mit | 78,798 |
// (c) ammap.com | SVG (in JSON format) map of Guyana - Low
// areas: {id:"GY-CU"},{id:"GY-ES"},{id:"GY-DE"},{id:"GY-EB"},{id:"GY-PM"},{id:"GY-BA"},{id:"GY-UT"},{id:"GY-UD"},{id:"GY-PT"},{id:"GY-MA"}
AmCharts.maps.guyanaLow={
"svg": {
"defs": {
"amcharts:ammap": {
"projection":"mercator",
"leftLongitude":... | si-quimera/avante | webroot/bower_components/ammap3/ammap/maps/js/guyanaLow.js | JavaScript | mit | 3,173 |
/* jQuery.flexMenu 1.4
https://github.com/352Media/flexMenu
Description: If a list is too long for all items to fit on one line, display a popup menu instead.
Dependencies: jQuery, Modernizr (optional). Without Modernizr, the menu can only be shown on click (not hover). */
(function (factory) {
if (typeof de... | dakshshah96/cdnjs | ajax/libs/flexMenu/1.4/flexmenu.js | JavaScript | mit | 7,979 |
/**
* Provides the ability to lock the scroll for a page, allowing nested
* locking.
*
* @module moodle-core-lockscroll
*/
/**
* Provides the ability to lock the scroll for a page.
*
* This is achieved by applying the class 'lockscroll' to the body Node.
*
* Nested widgets are also supported and the scroll l... | ernestovi/ups | moodle/lib/yui/src/lockscroll/js/lockscroll.js | JavaScript | gpl-3.0 | 5,014 |
const{darkThemeSingle:darkThemeSingle}=require("./theme"),defaultTheme=require("./default-theme");module.exports={...defaultTheme,...darkThemeSingle}; | cdnjs/cdnjs | ajax/libs/antd/4.9.4/dark-theme.min.js | JavaScript | mit | 150 |
/**
* @fileoverview Rule to forbid or enforce dangling commas.
* @author Ian Christian Myers
*/
"use strict";
//------------------------------------------------------------------------------
// Requirements
//------------------------------------------------------------------------------
var lodash = require("loda... | kevinmora94/proyectoDrupal | web/themes/custom/proyectofinal/node_modules/eslint/lib/rules/comma-dangle.js | JavaScript | gpl-2.0 | 8,069 |
/**
* @fileoverview Rule to check for max length on a line.
* @author Matt DuVall <http://www.mattduvall.com>
*/
"use strict";
//------------------------------------------------------------------------------
// Constants
//------------------------------------------------------------------------------
var OPTIONS_... | kevinmora94/proyectoDrupal | web/themes/custom/proyectofinal/node_modules/eslint/lib/rules/max-len.js | JavaScript | gpl-2.0 | 9,507 |
/**
* 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... | renminghao/rn | node_modules/react-native/Libraries/ReactNative/ReactNativeEventEmitter.js | JavaScript | mit | 6,979 |
// jshint ignore: start
+function($){
$.rawCitiesData = [
{
"name":"北京",
"sub":[
{
"name":"请选择"
},
{
"name":"东城区"
},
{
"name":"西城区"
},
{
"name":"崇文区"
... | sajochiu/cdnjs | ajax/libs/jquery-weui/0.5.1/js/city-picker.js | JavaScript | mit | 367,576 |