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 |
|---|---|---|---|---|---|
console.warn("warn -",`Imports like "const buddy = require('simple-icons/icons/buddy');" have been deprecated in v6.0.0 and will no longer work from v7.0.0, use "const { siBuddy } = require('simple-icons/icons');" instead`),module.exports={title:"Buddy",slug:"buddy",get svg(){return'<svg role="img" viewBox="0 0 24 24" ... | cdnjs/cdnjs | ajax/libs/simple-icons/6.9.0/buddy.js | JavaScript | mit | 832 |
(function($) {
$(document).ready( function() {
if ( cntctfrm_ajax.cntctfrm_delete_multi_link ) {
$( '#cntctfrm_show_multi_notice' ).removeAttr('href title').css('cursor', 'pointer');
};
$( '#cntctfrm_change_label' ).change( function() {
if ( $( this ).is( ':checked' ) ) {
$( '.cntctfrm_change_label_bl... | wtoscn/my-bolg | wp-content/plugins/contact-form-plugin/js/script_wp_before_3.5.js | JavaScript | gpl-2.0 | 7,255 |
LeafletWidget.methods.addMiniMap =
function(tilesURL, tilesProvider, position,
width, height, collapsedWidth, collapsedHeight , zoomLevelOffset,
zoomLevelFixed, centerFixed, zoomAnimation , toggleDisplay, autoToggleDisplay,
minimized, aimingRectOptions, shadowRectOptions, strings, mapOptions) {
(function()... | environmentalinformatics-marburg/mapview | vignettes/popup_graphs/tmp_1_files/leaflet-binding-2.0.0.9000/plugins/Leaflet-MiniMap/Minimap-binding.js | JavaScript | gpl-3.0 | 1,515 |
/*! jQuery UI - v1.10.3 - 2013-05-03
* http://jqueryui.com
* Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.draggable.js, jquery.ui.droppable.js, jquery.ui.resizable.js, jquery.ui.selectable.js, jquery.ui.sortable.js, jquery.ui.effect.js, jquery.ui.accordion.js, jquery.ui.autocomplete.j... | sureshverity/VHRIS_NEW | public/media/js/jquery-ui.js | JavaScript | gpl-3.0 | 435,862 |
'use strict';
angular.module('upsConsole')
.controller('IdleController', function(Keepalive, Idle, $rootScope, $scope, $log, appConfig, Auth) {
var self = this;
self.config = appConfig;
/**
* idle service, keepalive, auth token refresh
*/
Idle.watch();
self.idleCountdown = appConfig.i... | julioa/aerogear-unifiedpush-server | admin-ui/app/scripts/controllers/IdleController.js | JavaScript | apache-2.0 | 1,610 |
//// [exportDeclarationInInternalModule.ts]
class Bbb {
}
class Aaa extends Bbb { }
module Aaa {
export class SomeType { }
}
module Bbb {
export class SomeType { }
export * from Aaa; // this line causes the nullref
}
var a: Bbb.SomeType;
//// [exportDeclarationInInternalModule.js]
var __ext... | yortus/TypeScript | tests/baselines/reference/exportDeclarationInInternalModule.js | JavaScript | apache-2.0 | 1,523 |
(function($, undefined) {
/**
* Plugin to force OpenSeadragon to use the legacy mouse pointer event model
*/
$.MouseTracker.subscribeEvents = [ "click", "dblclick", "keypress", "focus", "blur", $.MouseTracker.wheelEventName ];
if( $.MouseTracker.wheelEventName == "DOMMouseScroll" ) {
//... | msalsbery/openseadragon | test/helpers/legacy.mouse.shim.js | JavaScript | bsd-3-clause | 1,910 |
module('system/props/events_test');
test('listener should receive event - removing should remove', function() {
var obj = {}, count = 0;
var F = function() { count++; };
Ember.addListener(obj, 'event!', F);
equal(count, 0, 'nothing yet');
Ember.sendEvent(obj, 'event!');
equal(count, 1, 'received event');... | teddyzeenny/ember.js | packages/ember-metal/tests/events_test.js | JavaScript | mit | 5,722 |
(function (Prism) {
Prism.languages.puppet = {
'heredoc': [
// Matches the content of a quoted heredoc string (subject to interpolation)
{
pattern: /(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r))*?[ \t]*\|?[ \t]*-?[ \t]*\2/,
lookbehind: true,
alias: 'string',
inside: ... | joeyparrish/cdnjs | ajax/libs/prism/1.13.0/components/prism-puppet.js | JavaScript | mit | 3,871 |
/* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | dbmalkovsky/flowable-engine | modules/flowable-ui/flowable-ui-modeler-frontend/src/main/resources/static/modeler/editor-app/toolbar-controller.js | JavaScript | apache-2.0 | 7,619 |
// DO NOT EDIT! This test has been generated by /html/canvas/tools/gentest.py.
// OffscreenCanvas test in a worker:2d.line.cap.butt
// Description:lineCap 'butt' is rendered correctly
// Note:
importScripts("/resources/testharness.js");
importScripts("/html/canvas/resources/canvas-tests.js");
var t = async_test("line... | chromium/chromium | third_party/blink/web_tests/external/wpt/html/canvas/offscreen/line-styles/2d.line.cap.butt.worker.js | JavaScript | bsd-3-clause | 1,763 |
var assert = require('assert');
var Helpers = require('../../lib/Helpers');
var common = require('../common');
var Dialect = common.getDialect('mysql');
assert.equal(
Helpers.escapeQuery(Dialect, "SELECT * FROM abc WHERE LOWER(abc.`stuff`) LIKE 'peaches'"),
"SELECT * FROM abc WHERE LOWER(abc.`stuff`) LIKE 'peache... | jike-liujun/jike_homework | week9/百度新闻-nodejs后台(V2后修改)/node_modules/orm/node_modules/sql-query/test/lib/test-helpers.js | JavaScript | mit | 1,620 |
/**
* Copyright (c) 2013-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.
*
* Facebook,... | Stoneski93/GymDiary | node_modules/react-native/Libraries/CustomComponents/NavigationExperimental/NavigationHeader.js | JavaScript | mit | 7,895 |
/*
* blueimp Gallery JS
* https://github.com/blueimp/Gallery
*
* Copyright 2013, Sebastian Tschan
* https://blueimp.net
*
* Swipe implementation based on
* https://github.com/bradbirdsall/Swipe
*
* Licensed under the MIT license:
* https://opensource.org/licenses/MIT
*/
/* global define, DocumentTouch */
... | fred4jupiter/fredbet | src/main/resources/static/blueimpgallery-3.3.0/js/blueimp-gallery.js | JavaScript | mit | 50,273 |
define([
'js/spec/edxnotes/helpers', 'js/edxnotes/collections/notes'
], function(Helpers, NotesCollection) {
'use strict';
describe('EdxNotes NotesCollection', function() {
var notes = Helpers.getDefaultNotes();
beforeEach(function () {
this.collection = new NotesCollection(note... | Learningtribes/edx-platform | lms/static/js/spec/edxnotes/collections/notes_spec.js | JavaScript | agpl-3.0 | 1,814 |
/**
* Copyright (c) Microsoft. 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 law or ag... | oaastest/azure-xplat-cli | test/commands/arm/ad/arm.ad-tests.js | JavaScript | apache-2.0 | 10,291 |
/**
* 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.
*/
import SyntheticMouseEvent from './SyntheticMouseEvent';
/**
* @interface WheelEvent
* @see http://www.w3.org/TR/DOM-Level-3-Ev... | jdlehman/react | packages/react-dom/src/events/SyntheticWheelEvent.js | JavaScript | mit | 1,362 |
version https://git-lfs.github.com/spec/v1
oid sha256:a92e0a42b6e55c21f7494e8604852635b90e81170e9f49207a0a68c2174158ee
size 877
| yogeshsaroya/new-cdnjs | ajax/libs/yui/3.9.1/createlink-base/createlink-base-min.js | JavaScript | mit | 128 |
define({ root:
//begin v1.x content
{
"days-standAlone-short": [
"Sun",
"Mon",
"Tue",
"Wed",
"Thu",
"Fri",
"Sat"
],
"months-format-narrow": [
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
"10",
"11",
"12"
],
"quarters-standAlone-narrow": [
"1",
"2",
"3",
"4"
],
"fiel... | algogr/Site | web/js/dojo/dojo/cldr/nls/buddhist.js | JavaScript | mit | 5,145 |
"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault"),_interopRequireWildcard=require("@babel/runtime/helpers/interopRequireWildcard");Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var React=_interopRequireWildcard(require("react")),_createSvgIco... | cdnjs/cdnjs | ajax/libs/material-ui/5.0.0-alpha.27/node/internal/svg-icons/SuccessOutlined.min.js | JavaScript | mit | 731 |
var foo = createReactClass({});
var bar = React.createClass({}); | hulkish/babel | packages/babel-plugin-transform-react-display-name/test/fixtures/display-name/variable-declarator/input.js | JavaScript | mit | 64 |
/* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/*************************************************************
*
* MathJax/jax/output/SVG/autoload/ms.js
*
* Implements the SVG output for <ms> elements.
*
* ------------------------------------------... | benjaminvialle/Markus | vendor/assets/javascripts/MathJax_lib/jax/output/SVG/autoload/ms.js | JavaScript | mit | 2,147 |
/**
* @author mrdoob / http://mrdoob.com/
* @author alteredq / http://alteredqualia.com/
*
* parameters = {
* color: <hex>,
* opacity: <float>,
*
* map: new THREE.Texture( <Image> ),
*
* lightMap: new THREE.Texture( <Image> ),
* lightMapIntensity: <float>
*
* aoMap: new THREE.Texture( <Image> ),
* ... | reliableJARED/WebGL | static/three.js/src/materials/MeshLambertMaterial.js | JavaScript | gpl-3.0 | 2,863 |
//// [privacyCheckOnTypeParameterReferenceInConstructorParameter.ts]
export class A<T1>{
constructor(callback: (self: A<T1>) => void) {
var child = new B(this);
}
}
export class B<T2> {
constructor(parent: T2) { }
}
//// [privacyCheckOnTypeParameterReferenceInConstructorParameter.js]
define([... | AbubakerB/TypeScript | tests/baselines/reference/privacyCheckOnTypeParameterReferenceInConstructorParameter.js | JavaScript | apache-2.0 | 899 |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
function Modal(title, name, place) {
this.self;
this.name = name;
this.place = place;
this.title = title;
this.bo... | Natrezim/perun | perun-apps/apps-include/js/Modal.js | JavaScript | bsd-2-clause | 2,528 |
// Copyright 2009 the Sputnik authors. All rights reserved.
/**
* The slice property of Array has not prototype property
*
* @path ch15/15.4/15.4.4/15.4.4.10/S15.4.4.10_A5.6.js
* @description Checking Array.prototype.slice.prototype
*/
//CHECK#1
if (Array.prototype.slice.prototype !== undefined) {
$ERROR('#1: ... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch15/15.4/15.4.4/15.4.4.10/S15.4.4.10_A5.6.js | JavaScript | bsd-3-clause | 418 |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/**
* @path ch15/15.2/15.2.3/15.2.3.3/15.2.3.3-4-230.js
* @description Object.getOwnPropertyDescriptor - ensure that 'writable' property of returned object is data property with correct 'configurable' attribute
*/
function testcase() {
var o... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch15/15.2/15.2.3/15.2.3.3/15.2.3.3-4-230.js | JavaScript | bsd-3-clause | 714 |
/*
* The Original Code is Mozilla Universal charset detector code.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* António Afonso (an... | stevebering/siteValidationCrawler | src/node_modules/crawler/node_modules/jschardet/src/mbcsgroupprober.js | JavaScript | mit | 1,792 |
/*
Project: angular-gantt v1.3.2 - Gantt chart component for AngularJS
Authors: Marco Schweighauser, Rémi Alvergnat
License: MIT
Homepage: https://www.angular-gantt.com
Github: https://github.com/angular-gantt/angular-gantt.git
*/
(function(){
/* global ResizeSensor: false */
/* global ElementQueries: false */
... | him2him2/cdnjs | ajax/libs/angular-gantt/1.3.2/angular-gantt-resizeSensor-plugin.js | JavaScript | mit | 4,253 |
/**
* Generated bundle index. Do not edit.
*/
export * from './public_api';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5ndWxhcnRpY3MyLmpzIiwic291cmNlUm9vdCI6Im5nOi8vYW5ndWxhcnRpY3MyLyIsInNvdXJjZXMiOlsiYW5ndWxhcnRpY3MyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FB... | cdnjs/cdnjs | ajax/libs/angulartics2/9.1.0/esm5/angulartics2.js | JavaScript | mit | 480 |
/*!
* Module dependencies.
*/
var Document = require('./document');
var MongooseError = require('./error');
var VersionError = MongooseError.VersionError;
var DivergentArrayError = MongooseError.DivergentArrayError;
var Query = require('./query');
var Aggregate = require('./aggregate');
var Schema = require('./schem... | nathalialanzendorf/scalapp | node_modules/mongoose/lib/model.js | JavaScript | mit | 91,982 |
//= link_tree ./alpha
| Andreis13/sprockets | test/fixtures/asset/link/require_tree_alpha.js | JavaScript | mit | 22 |
/* ========================================================================
* Bootstrap: tooltip.js v3.2.0
* http://getbootstrap.com/javascript/#tooltip
* Inspired by the original jQuery.tipsy by Jason Frame
* ========================================================================
* Copyright 2011-2014 Twitter, I... | natashashannon/SymfonyTest1 | web/assetic/bootstrap_js_tooltip_7.js | JavaScript | mit | 15,179 |
(function(e){var n={test:"foo"};"function"==typeof define&&define.amd?define("nodeamd",[],function(){return n}):"undefined"!=typeof module&&module.exports?module.exports=n:"undefined"==typeof ender&&(this.nodeamd=n)}).call(this); | cdnjs/cdnjs | ajax/libs/dojo/1.16.4/testsDOH/resources/nodeamd.min.js | JavaScript | mit | 229 |
"use strict";
exports.__esModule = true;
exports.default = void 0;
var React = _interopRequireWildcard(require("react"));
var _createElement = _interopRequireDefault(require("../createElement"));
var _useMergeRefs = _interopRequireDefault(require("../../modules/useMergeRefs"));
var _usePlatformMethods = _interopRe... | cdnjs/cdnjs | ajax/libs/react-native-web/0.17.7/cjs/exports/Picker/index.js | JavaScript | mit | 4,540 |
/* ***** BEGIN LICENSE BLOCK *****
* Distributed under the BSD license:
*
* Copyright (c) 2012, Ajax.org B.V.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of sou... | cite-sa/xwcps | xwcps-parser-ui/libs/ace/mode/nsis.js | JavaScript | agpl-3.0 | 2,359 |
var falcor = require("./../../../lib/");
var Model = falcor.Model;
var expect = require('chai').expect;
describe('getVersionSync', function() {
it('should get a version', function() {
var model = new Model({cache: {hello: 'world'}});
model._root.unsafeMode = true;
var version = model.getVer... | jhamlet/falcor | test/falcor/get/get.gen.spec.js | JavaScript | apache-2.0 | 864 |
/*
YUI 3.17.0 (build ce55cc9)
Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('selector-css3', function (Y, NAME) {
/**
* The selector css3 module provides support for css3 selectors.
* @module dom
* @submodule selector-css3
* @for Selector... | xuminready/baiducdnstatic | libs/yui/3.17.0/selector-css3/selector-css3.js | JavaScript | mit | 4,419 |
// Anytime you change the schema of one of the collection in a non-backward
// compatible way you have to write a migration in this file using the following
// API:
//
// Migrations.add(name, migrationCallback, optionalOrder);
// Note that we have extra migrations defined in `sandstorm.js` that are
// exclusive to S... | jtickle/wekan | server/migrations.js | JavaScript | mit | 4,245 |
/*
* Copyright (c) 2014 Chukong Technologies 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 rights
* to use, copy, modify, ... | soomla/cocos2dx-js-store-example | script/jsb_boot.js | JavaScript | mit | 49,800 |
$(function() {
$(".navbar-expand-toggle").click(function() {
$(".app-container").toggleClass("expanded");
return $(".navbar-expand-toggle").toggleClass("fa-rotate-90");
});
return $(".navbar-right-expand-toggle").click(function() {
$(".navbar-right").toggleClass("expanded");
return $(".navbar-righ... | Rabp9/help-desk | webroot/js/app.js | JavaScript | gpl-3.0 | 875 |
// Search script generated by doxygen
// Copyright (C) 2009 by Dimitri van Heesch.
// The code in this file is loosly based on main.js, part of Natural Docs,
// which is Copyright (C) 2003-2008 Greg Valure
// Natural Docs is licensed under the GPL.
var indexSectionsWithContent =
{
0: "000000000000000000000000000000... | koozyt/qboard_freeimu | src/FreeIMU/docs/html/search/search.js | JavaScript | gpl-3.0 | 23,559 |
/**
* @class Create quick look window (similar to MacOS X Quick Look)
* @author dio dio@std42.ru
**/
(function($) {
elFinder.prototype.quickLook = function(fm, el) {
var self = this;
this.fm = fm;
this._hash = '';
this.title = $('<strong/>');
this.ico = $('<p/>');
this.info = $('<label/>');
this... | CaoPhiHung/CRM | src/Vietland/ElfinderBundle/Resources/public/js/elFinder4.quickLook.js | JavaScript | mit | 10,313 |
import { IS_DART, StringWrapper, isBlank, isPresent, isString, isArray } from 'angular2/src/facade/lang';
var CAMEL_CASE_REGEXP = /([A-Z])/g;
var DASH_CASE_REGEXP = /-([a-z])/g;
var SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\|\n|\r|\$/g;
var DOUBLE_QUOTE_ESCAPE_STRING_RE = /"|\\|\n|\r|\$/g;
export var MODULE_SUFFIX = IS... | tarunitar/vinanalytix | node_modules/angular2/es6/prod/src/compiler/util.js | JavaScript | mit | 4,814 |
angular.module("ui.bootstrap.alert", []).directive('alert', function () {
return {
restrict:'EA',
templateUrl:'template/alert/alert.html',
transclude:true,
replace:true,
scope: {
type: '=',
close: '&'
},
link: function(scope, iElement, iAttrs, controller) {
scope.closeabl... | andrejbranch/techversed | web/components/angular-ui-bootstrap/src/alert/alert.js | JavaScript | mit | 358 |
// Copyright 2015 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.
var o = { x: 0 };
delete o.x;
function store(o, p, v) { o[p] = v; }
store(o, "x", 1);
store(o, "x", 1);
store(o, "0", 1);
| weolar/miniblink49 | v8_7_5/test/mjsunit/regress/regress-509961.js | JavaScript | apache-2.0 | 290 |
version https://git-lfs.github.com/spec/v1
oid sha256:5f2b413f8d0cfe55ce8c84acbcfabcff78bd6d2a8f389d8201cb728b429b9bd5
size 4323
| yogeshsaroya/new-cdnjs | ajax/libs/highstock/2.1.4/themes/dark-green.js | JavaScript | mit | 129 |
"use strict";module.exports=require("./components/deferredcontent/DeferredContent"); | cdnjs/cdnjs | ajax/libs/primereact/6.4.1/deferredcontent.min.js | JavaScript | mit | 84 |
/**
* @license
* Copyright 2014 The Lovefield Project Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | yoshimaa/lovefield | tests/smoke/bundled_crud_test.js | JavaScript | apache-2.0 | 3,074 |
import { run } from '@ember/runloop';
import { merge } from '@ember/polyfills';
import Application from '../../app';
import config from '../../config/environment';
export default function startApp(attrs) {
let application;
let attributes = merge({}, config.APP);
attributes = merge(attributes, attrs); // use def... | bustlelabs/ember-mobiledoc-dom-renderer | tests/helpers/start-app.js | JavaScript | mit | 517 |
(function (global, factory) {
if (typeof define === "function" && define.amd) {
define('element/locale/hy-AM', ['module', 'exports'], factory);
} else if (typeof exports !== "undefined") {
factory(module, exports);
} else {
var mod = {
exports: {}
};
factory(mod, mod.exports);
global... | joeyparrish/cdnjs | ajax/libs/element-ui/2.7.2/locale/hy-AM.js | JavaScript | mit | 3,981 |
/**
* Requires member expressions to use dot notation when possible
*
* Types: `Boolean` or `Object`
*
* Values:
* - `true`
* - `"except_snake_case"` (*deprecated* use `"allExcept": ["snake_case"]`) allow quoted snake cased identifiers
* - `Object`:
* - `'allExcept'` array of exceptions:
* - `'key... | cichaczem/custom_tinymce | node_modules/jscs/lib/rules/require-dot-notation.js | JavaScript | lgpl-2.1 | 4,445 |
/**
* @author alteredq / http://alteredqualia.com/
* @author mrdoob / http://mrdoob.com/
* @author WestLangley / http://github.com/WestLangley
*/
THREE.DirectionalLightHelper = function ( light, size ) {
THREE.Object3D.call( this );
this.light = light;
this.light.updateMatrixWorld();
this.matrixWorld = ligh... | lyaunzbe/jessy | three/src/extras/helpers/DirectionalLightHelper.js | JavaScript | mit | 2,020 |
throw new Error('this is just a fake file and should not be executed');
| Phalanstere/WritersStudio | writers_studio-win32-ia32/resources/app/node_modules/esformatter/test/bin/node_modules/esformatter/lib/fake.js | JavaScript | mit | 72 |
/**
* A special placeholder value used to specify "gaps" within curried functions,
* allowing partial application of any combination of arguments,
* regardless of their positions.
*
* If `g` is a curried ternary function and `_` is `R.__`, the following are equivalent:
*
* - `g(1, 2, 3)`
* - `g(_, 2, 3)(1)`... | concertcoder/leaky-ionic-app | www/lib/ramda/src/__.js | JavaScript | mit | 706 |
// This file has been autogenerated.
exports.scopes = [[function (nock) {
var result =
nock('https://ciserversb-sb.accesscontrol.windows.net:443')
.filteringRequestBody(function (path) { return '*';})
.post('/WRAPv0.9/', '*')
.reply(200, "wrap_access_token=net.windows.servicebus.action%3dListen%252cManage%252cSe... | begoldsm/azure-sdk-for-node | test/recordings/wrapservice-tests.nock.js | JavaScript | apache-2.0 | 1,124 |
YUI.add('datatype-date-math', function (Y, NAME) {
/**
* Date Math submodule.
*
* @module datatype-date
* @submodule datatype-date-math
* @for Date
*/
var LANG = Y.Lang;
Y.mix(Y.namespace("Date"), {
/**
* Checks whether a native JavaScript Date contains a valid value.
* @for Date
* @method isValidDate
... | schancel/gameserver | public/js/yui3-3.12.0/build/datatype-date-math/datatype-date-math.js | JavaScript | gpl-2.0 | 5,824 |
/*
highlight v3
Highlights arbitrary terms.
<http://johannburkard.de/blog/programming/javascript/highlight-javascript-text-higlighting-jquery-plugin.html>
MIT license.
Johann Burkard
<http://johannburkard.de>
<mailto:jb@eaio.com>
*/
jQuery.fn.highlight = function(pat) {
function innerHighlight(node, pat) {
va... | mrenvoize/Koha | koha-tmpl/opac-tmpl/bootstrap/lib/jquery/plugins/jquery.highlight-3.js | JavaScript | gpl-3.0 | 1,212 |
dojo.provide("dojox.xmpp.PresenceService");
dojox.xmpp.presence = {
UPDATE: 201,
SUBSCRIPTION_REQUEST: 202,
// SUBSCRIPTION_REQUEST_PENDING: 203,
/* used when 'ask' attribute is absent on a roster item */
SUBSCRIPTION_SUBSTATUS_NONE: 204,
SUBSCRIPTION_NONE: 'none',
SUBSCRIPTION_FROM: 'from',
SUBSCRIPTION_TO: '... | ozoneplatform/owf-framework | web-app/js-lib/dojo-release-1.5.0-src/dojox/xmpp/PresenceService.js | JavaScript | apache-2.0 | 8,730 |
(function(e,f){e.extend(f.ext.buttons,{colvis:function(a,b){return{extend:"collection",text:function(a){return a.i18n("buttons.colvis","Column visibility")},className:"buttons-colvis",buttons:[{extend:"columnsToggle",columns:b.columns}]}},columnsToggle:function(a,b){return a.columns(b.columns).indexes().map(function(a)... | DirectDev/wds-V2 | www/admin/plugins/DataTables/extensions/Buttons/js/buttons.colVis.min.js | JavaScript | mit | 1,617 |
module.exports = function(grunt) {
return {
js: {
files: "src/js/**/*.js",
tasks: "js"
},
pluginCss: {
files: ["src/css/flags.scss", "src/css/intlTelInput.scss"],
tasks: "sass:main"
},
demoCss: {
files: "src/css/demo.scss",
tasks: "sass:demo"
}
};
}; | mobwellacademy/librecademy | www/js/dialCodes/grunt/watch.js | JavaScript | gpl-2.0 | 314 |
version https://git-lfs.github.com/spec/v1
oid sha256:d15be6c4d52831d7f4c20b8f2b461332215072284affcf3ca299ddc2bb812ab0
size 2095
| yogeshsaroya/new-cdnjs | ajax/libs/angular.js/1.3.0-beta.9/i18n/angular-locale_fi-fi.js | JavaScript | mit | 129 |
/**
* @file
* Provides JavaScript additions to the managed file field type.
*
* This file provides progress bar support (if available), popup windows for
* file previews, and disabling of other file fields during Ajax uploads (which
* prevents separate file fields from accidentally uploading files).
*/
(functio... | drupal-ukraine/csua_d8 | drupal/core/modules/file/file.js | JavaScript | gpl-2.0 | 7,766 |
// GENERATED CODE -- DO NOT EDIT!
// Original file comments:
// Copyright 2015, 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 ... | geminy/aidear | oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/third_party/grpc/examples/node/static_codegen/helloworld_grpc_pb.js | JavaScript | gpl-3.0 | 2,966 |
(function ($) {
$.fn.countTo = function (options) {
options = options || {};
return $(this).each(function () {
// set options for current element
var settings = $.extend({}, $.fn.countTo.defaults, {
from: $(this).data('from'),
to: $(this).data('to'),
speed: $(... | manuel-munoz-jd/studioawak | wp-content/themes/visia/js/jquery.countto.js | JavaScript | gpl-2.0 | 2,542 |
/*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.8.0r4
*/
/**
* The Connection Manager provides a simplified interface to the XMLHttpRequest
* object. It handles cross-browser instantiantion of XMLHttpRequest, negotiate... | Shao-Feng/testkit-manager | webapps/webui/public_html/yui/build/connection/connection_core.js | JavaScript | gpl-2.0 | 25,339 |
/**
* @fileoverview Rule to flag references to undeclared variables.
* @author Mark Macdonald
*/
"use strict";
//------------------------------------------------------------------------------
// Helpers
//------------------------------------------------------------------------------
/**
* Checks if the given node... | grshane/monthofmud | web/themes/custom/mom/node_modules/eslint/lib/rules/no-undef.js | JavaScript | mit | 2,114 |
YUI.add('series-combo', function (Y, NAME) {
/**
* Provides functionality for creating a combo series.
*
* @module charts
* @submodule series-combo
*/
/**
* The ComboSeries class renders a combination of lines, plots and area fills in a single series.
* Each series type has a corresponding boolean attribute ind... | aqt01/math_problems | node_modules/yui/series-combo/series-combo.js | JavaScript | gpl-2.0 | 10,136 |
(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... | tonytomov/cdnjs | ajax/libs/forerunnerdb/1.3.773/fdb-legacy.js | JavaScript | mit | 990,751 |
/**
* JavaScript routines for Krumo
*
* @version $Id: krumo.js,v 1.1.2.2 2008/06/03 20:36:03 weitzman Exp $
* @link http://sourceforge.net/projects/krumo
*/
/////////////////////////////////////////////////////////////////////////////
/**
* Krumo JS Class
*/
function krumo() {
}
// -- -- -- -- -- -- -- -- -- -- -- ... | aakb/skojtehallen | sites/all/modules/devel/krumo/krumo.js | JavaScript | gpl-2.0 | 2,109 |
/**
* @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
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory() :
typeof define ==... | vivadaniele/spid-ionic-sdk | node_modules/zone.js/dist/webapis-rtc-peer-connection.js | JavaScript | bsd-3-clause | 1,457 |
/* 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 = 'Exceptions';
| tejassaoji/RhinoCoarseTainting | testsrc/tests/lc3/Exceptions/shell.js | JavaScript | mpl-2.0 | 236 |
/*!
* socket.io-node
* Copyright(c) 2011 LearnBoost <dev@learnboost.com>
* MIT Licensed
*/
/**
* Module dependencies.
*/
var parser = require('./parser');
/**
* Expose the constructor.
*/
exports = module.exports = Transport;
/**
* Transport constructor.
*
* @api public
*/
function Transport (mng, da... | vendavo/yowie | yowie-web/node_modules/karma/node_modules/socket.io/lib/transport.js | JavaScript | mit | 10,142 |
/*
* SystemJS v0.18.5
*/
(function() {
function bootstrap() {(function(__global) {
var isWorker = typeof window == 'undefined' && typeof self != 'undefined' && typeof importScripts != 'undefined';
var isBrowser = typeof window != 'undefined' && typeof document != 'undefined';
var isWindows = typeof process != ... | kiwi89/cdnjs | ajax/libs/systemjs/0.18.5/system.src.js | JavaScript | mit | 121,810 |
//// [tsxElementResolution.tsx]
declare namespace JSX {
interface IntrinsicElements {
foundFirst: { x: string };
'string_named';
'var';
}
}
class foundFirst { }
class Other {}
module Dotted {
export class Name { }
}
// Should find the intrinsic element, not the class element
var a = <foundFirst x="hello"... | progre/TypeScript | tests/baselines/reference/tsxElementResolution.js | JavaScript | apache-2.0 | 1,228 |
CKEDITOR.plugins.setLang("mathjax","gl",{title:"Matemáticas en TeX",button:"Matemáticas",dialogInput:"Escriba o seu TeX aquí",docUrl:"http://en.wikibooks.org/wiki/LaTeX/Mathematics",docLabel:"Documentación de TeX",loading:"cargando...",pathName:"matemáticas"}); | AaronH92/mProve3.2 | www/lib/ckeditor/plugins/mathjax/lang/gl.js | JavaScript | apache-2.0 | 269 |
/**
* Copyright (c) Nicolas Gallagher.
* 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.
*
*
*/
import StyleSheet from '../StyleSheet';
import View from '../View';
import React, { crea... | cdnjs/cdnjs | ajax/libs/react-native-web/0.14.9/exports/AppRegistry/AppContainer.js | JavaScript | mit | 1,036 |
var assert = require('assert');
module.exports = function() {};
module.exports.prototype = {
configure: function(requireLineFeedAtFileEnd) {
assert(
typeof requireLineFeedAtFileEnd === 'boolean',
'requireLineFeedAtFileEnd option requires boolean value'
);
assert(
... | markredballoon/clivemizen | wp-content/themes/redballoon/bootstrap/node_modules/grunt-jscs/node_modules/jscs/lib/rules/require-line-feed-at-file-end.js | JavaScript | gpl-2.0 | 768 |
'use strict';
/**
* Class representing an event.
*
* @private
*/
class Event {
/**
* Create a new `Event`.
*
* @param {String} type The name of the event
* @param {Object} target A reference to the target to which the event was dispatched
*/
constructor(type, target) {
this.target = target;
... | BigBoss424/portfolio | v8/development/node_modules/webpack-dev-server/node_modules/ws/lib/event-target.js | JavaScript | apache-2.0 | 3,937 |
/* Flot plugin for automatically redrawing plots as the placeholder resizes.
Copyright (c) 2007-2013 IOLA and Ole Laursen.
Licensed under the MIT license.
It works by listening for changes on the placeholder div (through the jQuery
resize event plugin) - if the size changes, it will redraw the plot.
There are no opt... | poldotz/transfer2014 | web/js/flot/jquery.flot.resize.min.js | JavaScript | gpl-2.0 | 1,920 |
'use strict';
module.exports = {
set: function (v) {
this.setProperty('counter-increment', v);
},
get: function () {
return this.getPropertyValue('counter-increment');
},
enumerable: true
};
| jlmart88/highfrequencytimecode | timecodeprocessor/node/node_modules/jquery/node_modules/jsdom/node_modules/cssstyle/lib/properties/counterIncrement.js | JavaScript | mit | 228 |
/**
* The BarSeries class renders bars positioned vertically along a category or time axis. The bars'
* lengths are proportional to the values they represent along a horizontal axis.
* and the relevant data points.
*
* @module charts
* @class BarSeries
* @extends MarkerSeries
* @uses Histogram
* @constructor
... | berkmancenter/spectacle | web/js/app/editor/node_modules/grunt-contrib/node_modules/grunt-contrib-yuidoc/node_modules/yuidocjs/tests/input/charts/BarSeries.js | JavaScript | gpl-2.0 | 6,491 |
(function() {
var _ = typeof require == 'function' ? require('..') : window._;
QUnit.module('Arrays');
test('first', function() {
equal(_.first([1, 2, 3]), 1, 'can pull out the first element of an array');
equal(_([1, 2, 3]).first(), 1, 'can perform OO-style "first()"');
deepEqual(_.first([1, 2, 3],... | therebelbeta/lodash | vendor/underscore/test/arrays.js | JavaScript | mit | 23,155 |
(function ($) {
if(typeof $.metadata == "undefined") throw "jsTree metadata: jQuery metadata plugin not included.";
$.extend($.tree.plugins, {
"metadata" : {
defaults : {
attribute : "data"
},
callbacks : {
check : function(rule, obj, value, tree) {
var opts = $.extend(true, {}, $.tree.plugin... | BROcart/2.7.8 | www/admin/view/javascript/jquery/jstree/plugins/jquery.tree.metadata.js | JavaScript | gpl-3.0 | 532 |
//console:messageId:refHandle
var CONSOLE_ID_MATCHER = /^console:(\d+):(\d+)$/;
function ConsoleClient(config, debuggerClient, frontendClient) {
this._debuggerClient = debuggerClient;
this._frontendClient = frontendClient;
}
ConsoleClient.prototype.isConsoleId = function(objectId) {
return CONSOLE_ID_MATCHER.te... | kelvinsoft/kelvinblog | node_modules/node-inspector/lib/ConsoleClient.js | JavaScript | isc | 1,150 |
'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_en-vg.js | JavaScript | gpl-2.0 | 2,281 |
function warning(){
throw new Error('You must require a mode before requiring anything else.');
}
exports.Surface = warning;
exports.Path = warning;
exports.Shape = warning;
exports.Group = warning;
exports.ClippingRectangle = warning;
exports.Text = warning;
exports.setCurrent = function(mode){
for (var key in mod... | prayuditb/tryout-01 | websocket/client/Client/node_modules/art/modes/current.js | JavaScript | mit | 358 |
(function (root) {/*global exports, Intl*/
/**
* This script gives you the zone info key representing your device's time zone setting.
*
* @name jsTimezoneDetect
* @version 1.0.6
* @author Jon Nylander
* @license MIT License - https://bitbucket.org/pellepim/jstimezonedetect/src/default/LICENCE.txt
*
* For usage... | buro9/microcosm | web/files/static/3rd/jsTimezoneDetect/1.0.6/jstz.js | JavaScript | agpl-3.0 | 43,349 |
/*
YUI 3.13.0 (build 508226d)
Copyright 2013 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('datasource-arrayschema', function (Y, NAME) {
/**
* Extends DataSource with schema-parsing on array data.
*
* @module datasource
* @submodule datasource-arraysch... | labase/activnce | main/static/yui/3.13.0/datasource-arrayschema/datasource-arrayschema.js | JavaScript | gpl-2.0 | 2,929 |
/*! jQuery UI - v1.9.2 - 2012-11-23
* http://jqueryui.com
* Includes: jquery.ui.effect-shake.js
* Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */
(function(e,t){e.effects.effect.shake=function(t,n){var r=e(this),i=["position","top","bottom","left","right","height","width"],s=e.effects.setMo... | nayanjogi/sbi | wp-includes/js/jquery/ui/jquery.ui.effect-shake.min.js | JavaScript | gpl-2.0 | 956 |
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/**
* The global object.
* @type {!Object}
*/
const global = this;
// TODO(estade): This should be removed and calls replaced with cr.isMac
const ... | xdajog/samsung_sources_i927 | external/chromium/chrome/browser/resources/shared/js/util.js | JavaScript | gpl-2.0 | 3,899 |
/*!
* jQuery QueryBuilder 2.3.0
* Locale: Norwegian (no)
* Author: Jna Borup Coyle, github@coyle.dk
* Licensed under MIT (http://opensource.org/licenses/MIT)
*/
(function(root, factory) {
if (typeof define === 'function' && define.amd) {
define(['jquery', 'query-builder'], factory);
}
else {
... | dsmarcoantonio/GTAC_AWS | src/components/jQuery-QueryBuilder/dist/i18n/query-builder.no.js | JavaScript | mit | 1,412 |
// Copyright 2012 Google Inc. All Rights Reserved.
/**
* @fileoverview Node utilities.
*/
goog.provide('wgxpath.Node');
goog.require('goog.array');
goog.require('goog.dom.NodeType');
goog.require('goog.userAgent');
goog.require('wgxpath.IEAttrWrapper');
goog.require('wgxpath.userAgent');
/** @typedef {!(Node|wgx... | jerome-jacob/selenium | third_party/js/wgxpath/node.js | JavaScript | apache-2.0 | 12,989 |
// 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... | jlinglue/vertexSDK | www/node_modules/update/node_modules/verb/node_modules/session-cache/node_modules/continuation-local-storage/node_modules/async-listener/test/core-asynclistener-remove-inflight.simple.js | JavaScript | mit | 1,792 |
/**
* 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... | prayuditb/tryout-01 | websocket/client/Client/node_modules/react-native/Libraries/Components/Touchable/Position.js | JavaScript | mit | 1,020 |
(function(){function d(a,b){l.call(this,a,b);this.actualConfig=this.originalConfig=this.removedButtons=null;this.emptyVisible=!1;this.state="edit";this.toolbarButtons=[{text:{active:"Hide empty toolbar groups",inactive:"Show empty toolbar groups"},group:"edit",position:"left",cssClass:"button-a-soft",clickCallback:func... | hikmahtiar6/camar_erp_ci | web/vendor/plugins-admin/ckeditor/samples/toolbarconfigurator/js/toolbarmodifier.js | JavaScript | mit | 16,648 |
/*! tableSorter (FORK) 2.16+ widgets - updated 12/22/2014 (v2.18.4)
*
* Column Styles
* Column Filters
* Column Resizing
* Sticky Header
* UI Theme (generalized)
* Save Sort
* [ "columns", "filter", "resizable", "stickyHeaders", "uitheme", "saveSort" ]
*/
/*jshint browser:true, jquery:true, unused:false, loopf... | wdbo/webdocbook | www/webdocbook_assets/vendor/jquery.tablesorter/js/jquery.tablesorter.widgets.js | JavaScript | gpl-3.0 | 85,926 |
//! moment.js locale configuration
//! locale : Irish english (en-ie)
//! author : Chris Cartlidge : https://github.com/chriscartlidge
;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
&& typeof require === 'function' ? factory(require('../moment')) :
typeof defin... | krasnyuk/e-liquid-MS | wwwroot/assets/js/moment/locale/en-ie.js | JavaScript | mit | 2,373 |
;(function ($, window, document, undefined) {
var pluginName = 'gray',
defaults = {};
function Plugin (element, options) {
this.element = element;
this.settings = $.extend({}, defaults, options);
this._defaults = defaults;
this._name = pluginName;
this.init();
}
Plugin.prototype = {... | alexmojaki/cdnjs | ajax/libs/jquery.gray/1.2.0/js/jquery.gray.js | JavaScript | mit | 5,542 |
CKEDITOR.plugins.setLang("selectall","et",{toolbar:"Kõige valimine"}); | orbiten-pradeep/chesmile | webroot/dashboard/plugins/ckeditor/plugins/selectall/lang/et.js | JavaScript | mit | 71 |