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 |
|---|---|---|---|---|---|
var createStore = require('../../../addons/createStore');
module.exports = createStore({
storeName: 'BarStore',
handlers: {
'DOUBLE_UP': function () {
this.bar += this.bar;
this.emitChange();
}
},
initialize: function () {
this.bar = 'baz';
},
getB... | IveWong/fluxible | tests/fixtures/stores/BarStore.js | JavaScript | bsd-3-clause | 373 |
/**
* @license
* Copyright The Closure Library Authors.
* SPDX-License-Identifier: Apache-2.0
*/
goog.module('goog.editor.ContentEditableFieldTest');
goog.setTestOnly();
const ContentEditableField = goog.require('goog.editor.ContentEditableField');
const SafeHtml = goog.require('goog.html.SafeHtml');
const googDo... | scheib/chromium | third_party/google-closure-library/closure/goog/editor/contenteditablefield_test.js | JavaScript | bsd-3-clause | 1,972 |
'use strict';
var _postcss = require('postcss');
var _postcss2 = _interopRequireDefault(_postcss);
var _postcssValueParser = require('postcss-value-parser');
var _postcssValueParser2 = _interopRequireDefault(_postcssValueParser);
var _rgbFunctionalNotation = require('./lib/rgb-functional-notation');
var _rgbFunct... | vbillardm/vbillardm-webp2018-SI201704-la-truelle | wordpress/node_modules/postcss-color-rgb/dist/index.js | JavaScript | mit | 1,335 |
/**
* Webpack config for production electron main process
*/
import webpack from 'webpack';
import merge from 'webpack-merge';
import BabiliPlugin from 'babili-webpack-plugin';
import { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer';
import baseConfig from './webpack.config.base';
export default merge.smart(... | lhache/katalogz | webpack.config.main.prod.js | JavaScript | mit | 1,627 |
throw (123);
| facebook/flow | src/parser/test/flow/statement/throw/expression_with_parens.js | JavaScript | mit | 13 |
export default class SparceCoverageCollector {
constructor() {
this.srcCoverage = {};
this.metaInfo = {};
}
getSourceCoverage(filename) {
let data = this.srcCoverage[filename];
if (!data) {
data = this.srcCoverage[filename] = {
path: filename,
statementMap: {},
fnMap: {},
branchMap: {},
... | Dackng/eh-unmsm-client | node_modules/remap-istanbul/src/SparceCoverageCollector.js | JavaScript | mit | 2,318 |
/*
* Author: Zion Orent <[email protected]>
* Copyright (c) 2014 Intel Corporation.
*
* 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... | whbruce/upm | examples/javascript/biss0001.js | JavaScript | mit | 1,586 |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Background = void 0;
const OptionsColor_1 = require("../OptionsColor");
class Background {
constructor() {
this.color = new OptionsColor_1.OptionsColor();
this.color.value = "";
this.image = "";
this... | cdnjs/cdnjs | ajax/libs/tsparticles/1.17.0-alpha.9/Options/Classes/Background/Background.js | JavaScript | mit | 1,125 |
/**
* @fileoverview
* some functions for browser-side pretty printing of code contained in html.
* <p>
*
* For a fairly comprehensive set of languages see the
* <a href="http://google-code-prettify.googlecode.com/svn/trunk/README.html#langs">README</a>
* file that came with this source. At a minimum, the lexer s... | smgoller/geode | geode-pulse/src/main/webapp/scripts/multiselect/prettify.js | JavaScript | apache-2.0 | 57,146 |
// test AccessorNode
var assert = require('assert');
var approx = require('../../../tools/approx');
var math = require('../../../index');
var bigmath = require('../../../index').create({number: 'BigNumber'});
var Node = math.expression.node.Node;
var ConstantNode = math.expression.node.ConstantNode;
var OperatorNode = ... | ChatterBoxGames/ChatterBot | node_modules/mathjs/test/expression/node/AccessorNode.test.js | JavaScript | gpl-2.0 | 15,328 |
var class_mix_e_r_p_1_1_net_1_1_schemas_1_1_policy_1_1_data_1_1_is_locked_out_till_procedure =
[
[ "IsLockedOutTillProcedure", "class_mix_e_r_p_1_1_net_1_1_schemas_1_1_policy_1_1_data_1_1_is_locked_out_till_procedure.html#aedbda9bd75c806e737c67228a18c1969", null ],
[ "IsLockedOutTillProcedure", "class_mix_e_r_p... | mixerp/mixerp | docs/api/class_mix_e_r_p_1_1_net_1_1_schemas_1_1_policy_1_1_data_1_1_is_locked_out_till_procedure.js | JavaScript | gpl-3.0 | 1,547 |
/**
* Shopware 5
* Copyright (c) shopware AG
*
* According to our dual licensing model, this program can be used either
* under the terms of the GNU Affero General Public License, version 3,
* or under a proprietary license.
*
* The texts of the GNU Affero General Public License with an additional
* permission... | jenalgit/shopware | themes/Backend/ExtJs/backend/media_manager/controller/album.js | JavaScript | agpl-3.0 | 15,865 |
(function() {
'use strict';
angular
.module('shipyard.engines')
.controller('EngineDetailsController', EngineDetailsController);
EngineDetailsController.$inject = ['$scope', '$location', '$routeParams', 'flash', 'Containers', 'Engine'];
function EngineDetailsController($scope, $locati... | Dumbear/shipyard | controller/static/app/engines/details.controller.js | JavaScript | apache-2.0 | 2,349 |
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ return installedModu... | GHHX/AliWeexPluginWheelCalendar | playground/ios/bundlejs/animation.js | JavaScript | mit | 56,309 |
/**
* Avatar cropping
*/
elgg.provide('elgg.avatarCropper');
/**
* Register the avatar cropper.
*
* If the hidden inputs have the coordinates from a previous cropping, begin
* the selection and preview with that displayed.
*/
elgg.avatarCropper.init = function() {
var params = {
selectionOpacity: 0,
aspec... | ibou77/elgg | js/lib/ui.avatar_cropper.js | JavaScript | gpl-2.0 | 2,280 |
'use strict';
var _ = require('lodash');
var moment = require('moment');
var times = require('../times');
function init(ctx) {
var translate = ctx.language.translate;
var levels = ctx.levels;
var sage = {
name: 'sage'
, label: 'Sensor Age'
, pluginType: 'pill-minor'
};
sage.getPrefs = function... | vittetoe/cgm-remote-monitor | lib/plugins/sensorage.js | JavaScript | agpl-3.0 | 6,353 |
/**
* searx is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* searx is distributed in the hope that it will be use... | PwnArt1st/searx | searx/static/themes/sandyseventiesspeedboat/js/searx_src/element_modifiers.js | JavaScript | agpl-3.0 | 3,733 |
"use strict";
var __extends = this.__extends || function (d, b) {
function __() { this.constructor = d; }
__.prototype = b.prototype;
d.prototype = new __();
};
var A = (function () {
function A() { }
return A;
})();
var B = (function (_super) {
__extends(B, _super);
function B() {
_... | bolinfest/typescript | tests/baselines/reference/strictMode1.commonjs.js | JavaScript | apache-2.0 | 377 |
// 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 ToNumber(x) & ToNumber(y)
*
* @path ch11/11.10/11.10.1/S11.10.1_A3_T1.2.js
* @description Type(x) and Type(y) are primitive number and Number object
*/
... | popravich/typescript | tests/Fidelity/test262/suite/ch11/11.10/11.10.1/S11.10.1_A3_T1.2.js | JavaScript | apache-2.0 | 813 |
/*
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 WARRANT... | modulexcite/domino | test/w3c/level1/core/obsolete/hc_namednodemapgetnameditem.js | JavaScript | bsd-2-clause | 3,456 |
/* -*- 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... | daejunpark/jsaf | tests/parser_tests/js/src/tests/ecma/Date/15.9.5.10-8.js | JavaScript | bsd-3-clause | 3,029 |
var rewire = require("rewire");
var Connection = rewire("../lib/connection");
var events = require("events");
var sinon = require("sinon");
var lolex = require("lolex");
var Q = require("q");
describe("Connection", function() {
describe("constructor", function () {
var originalEnv;
before(function() {
origin... | lopper/node-apn | test/connection.js | JavaScript | mit | 15,395 |
module.exports = { prefix: 'fab', iconName: 'r-project', icon: [581, 512, [], "f4f7", "M581 226.6C581 119.1 450.9 32 290.5 32S0 119.1 0 226.6C0 322.4 103.3 402 239.4 418.1V480h99.1v-61.5c24.3-2.7 47.6-7.4 69.4-13.9L448 480h112l-67.4-113.7c54.5-35.4 88.4-84.9 88.4-139.7zm-466.8 14.5c0-73.5 98.9-133 220.8-133s211.9 40.7 ... | persy/appunti_persycchiotto | static/fonts/fontawesome/advanced-options/use-with-node-js/fontawesome-free-brands/faRProject.js | JavaScript | mit | 637 |
(function( $ ) {
module( "autocomplete: core" );
test( "prevent form submit on enter when menu is active", function() {
expect( 2 );
var event,
element = $( "#autocomplete" )
.autocomplete({
source: [ "java", "javascript" ]
})
.val( "ja" )
.autocomplete( "search" ),
menu = element.autocomplete( ... | yuyang545262477/Resume | 项目三jQueryMobile/bower_components/jquery-ui-tabs/tests/unit/autocomplete/autocomplete_core.js | JavaScript | mit | 5,813 |
import _extends from"@babel/runtime/helpers/extends";import _objectWithoutProperties from"@babel/runtime/helpers/objectWithoutProperties";var _excluded=["children","closing","toggleRef","popupDirection"];import{createScopedElement}from"../../lib/jsxRuntime";import{getClassName}from"../../helpers/getClassName";import{cl... | cdnjs/cdnjs | ajax/libs/vkui/4.27.2/cssm/components/ActionSheet/ActionSheetDropdown.min.js | JavaScript | mit | 878 |
'use strict';
var path = require('path');
var fs = require('fs');
var rimraf = require('rimraf');
var mkdirp = require('mkdirp');
var _ = require('lodash');
var helpers = module.exports;
helpers.directory = function directory(dir) {
return function directory(done) {
process.chdir(__dirname);
rimraf(dir, func... | alippai/grunt-usemin | test/helpers.js | JavaScript | bsd-2-clause | 3,148 |
var Twig = Twig || require("../twig"),
twig = twig || Twig.twig;
describe("Twig.js Expressions ->", function() {
var numeric_test_data = [
{a: 10, b: 15},
{a: 0, b: 0},
{a: 1, b: 11},
{a: 10444, b: 0.5},
{a: 1034, b: -53},
{a: -56, b: -1.7},
{a: 34, b: 0}... | moodtraffic/twig.js | test/test.expressions.js | JavaScript | bsd-2-clause | 12,627 |
// @flow strict
import React from 'react';
import renderer from 'react-test-renderer';
import Icon from './Icon';
describe('Icon', () => {
const props = {
name: 'test',
icon: {
viewBox: '0 0 0 0',
path: '',
}
};
it('renders correctly', () => {
const tree = renderer.create(<Icon {...p... | alxshelepenok/gatsby-starter-lumen | src/components/Icon/Icon.test.js | JavaScript | mit | 386 |
(function ($) {
// register namespace
$.extend(true, window, {
"Slick": {
"RowMoveManager": RowMoveManager
}
});
function RowMoveManager(options) {
var _grid;
var _canvas;
var _dragging;
var _self = this;
var _handler = new Slick.EventHandler();
var _defaults = {
can... | cdnjs/cdnjs | ajax/libs/6pac-slickgrid/2.4.19/plugins/slick.rowmovemanager.js | JavaScript | mit | 3,693 |
/**
* Intercepts the standard WordPress gallery insert and edit.
*
* @copyright Greg Priday 2013
* @license GPL 2.0 http://www.gnu.org/licenses/gpl-2.0.html
*/
jQuery(function($){
var originalInsert = wp.media.editor.insert;
wp.media.editor.insert = function(h){
// Check that panels tab is ac... | bryanerayner/bryanerayner-old | wp-content/plugins/siteorigin-panels/js/panels.admin.media.js | JavaScript | gpl-2.0 | 4,782 |
var searchData=
[
['ldir_5ft',['ldir_t',['../_fat_structs_8h.html#aa1b540ee1eedd1aa9b267d11cba0d9e2',1,'FatStructs.h']]]
];
| lyusupov/SoftRF | software/firmware/source/libraries/SdFat/extras/html/search/typedefs_4.js | JavaScript | gpl-3.0 | 126 |
// |reftest| skip-if(!xulRuntime.shell)
// Any copyright is dedicated to the Public Domain.
// http://creativecommons.org/licenses/publicdomain/
a = evalcx('');
a.__proto__ = ''.__proto__;
a.length = 3; // don't assert
reportCompare(0, 0, 'ok');
| JasonGross/mozjs | js/src/tests/js1_8_5/extensions/regress-636818.js | JavaScript | mpl-2.0 | 249 |
/*
* bootstrap-table - v1.8.0 - 2015-05-22
* https://github.com/wenzhixin/bootstrap-table
* Copyright (c) 2015 zhixin wen
* Licensed MIT License
*/
!function(a){"use strict";a.fn.bootstrapTable.locales["pl-PL"]={formatLoadingMessage:function(){return"Ładowanie, proszę czekać..."},formatRecordsPerPage:function(a){return... | garrypolley/jsdelivr | files/bootstrap.table/1.8.0/locale/bootstrap-table-pl-PL.min.js | JavaScript | mit | 762 |
#!/usr/bin/env node
var RSVP = require('rsvp');
var spawn = require('child_process').spawn;
var fs = require('fs');
var chalk = require('chalk');
var packages = require('../packages');
var testrunner = require("qunit");
testrunner.setup({log:{errors:true}});
function runBrowserTests(command, args) {
return new RSVP... | simudream/htmlbars | bin/run-tests.js | JavaScript | mit | 3,256 |
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ ret... | sufuf3/cdnjs | ajax/libs/mint-ui/2.0.3/field/index.js | JavaScript | mit | 10,462 |
/**
* @class Ext.chart.series.CandleStick
* @extends Ext.chart.series.Cartesian
*
* Creates a candlestick or OHLC Chart.
*
* @example preview
* var chart = new Ext.chart.CartesianChart({
* animation: true,
* store: {
* fields: ['time', 'open', 'high', 'low', 'close'],
* ... | applifireAlgo/ZenClubApp | zenws/src/main/webapp/ext/packages/sencha-charts/src/chart/series/CandleStick.js | JavaScript | gpl-3.0 | 3,493 |
loadIonicon('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M213.573 256h84.846l-42.427-89.356z"/><path d="M255.981 32L32 112l46.12 272L256 480l177.75-96L480 112 255.981 32zM344 352l-26.589-56H194.584L168 352h-40L256 72l128 280h-40z"/></svg>','logo-angular'); | matteobortolazzo/matteobortolazzo.github.io | build/app/svg/logo-angular.js | JavaScript | mit | 283 |
describe('webKitDataTransfer', function () {
/**
* @type {Flow}
*/
var flow;
beforeEach(function () {
flow = new Flow();
});
var getWebKitFile = function (filename) {
return {
isFile: true,
isDirectory: false,
fullPath: '/home/user/foo/' + filename,
file: function (call... | SuberFu/flow.js | test/webKitDataTransferSpec.js | JavaScript | mit | 3,687 |
import {q} from './dep.js';
export var p = 'module';
| bjlxj2008/traceur-compiler | test/unit/node/resources/compile-dir/file.js | JavaScript | apache-2.0 | 53 |
/**
* 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.
*
* @flow strict
* @nolint
* @format
*/
declare class Position {
coords: Coordinates;
timestamp: number;
mocked: boolean;
}... | pandiaraj44/react-native | flow/Position.js | JavaScript | bsd-3-clause | 321 |
/**
* Test dependencies
*/
const test = require("tape")
const utils = require("./utils")
const cssnext = require("..")
const cssnextStandalone = require("../cssnext")
/**
* Features tests
*/
const toSlug = require("to-slug-case")
const testFeature = function(
t,
feature,
cssnextInstance,
version,
source... | jedmao/cssnext | src/__tests__/option.features.js | JavaScript | mit | 1,798 |
module.exports = function (config) {
config.set({
basePath: '../',
files: [
'node_modules/angular/angular.js',
'node_modules/angular-animate/angular-animate.js',
'node_modules/angular-aria/angular-aria.js',
'node_modules/angular-mocks/angular-mocks.js',
'node_modules/angular-ma... | pbourdu/qrea-compta-app | test/karma.conf.js | JavaScript | mit | 848 |
// Avoid `console` errors in browsers that lack a console.
(function() {
var method;
var noop = function () {};
var methods = [
'assert', 'clear', 'count', 'debug', 'dir', 'dirxml', 'error',
'exception', 'group', 'groupCollapsed', 'groupEnd', 'info', 'log',
'markTimeline', 'profile',... | opengovfoundation/marylandcode | htdocs/themes/StateDecoded2013/static/js/ready.js | JavaScript | gpl-3.0 | 1,778 |
if(!window.calendar_languages) {
window.calendar_languages = {};
}
window.calendar_languages['de'] = {
error_noview: 'Kalender: Ansicht {0} nicht gefunden',
error_dateformat: 'Kalender: Falsches Datumsformat {0}. Sollte entweder "now" oder "yyyy-mm-dd" sein',
error_loadurl: 'Kalender: Event-URL nicht gesetzt... | alexhuang888/xibo-cms | web/theme/default/libraries/calendar/js/language/de.js | JavaScript | agpl-3.0 | 1,776 |
tinyMCE.addI18n('no.emotions_dlg',{cry:"Griner",cool:"Cool",desc:"Hum\u00f8rfjes",title:"Sett inn hum\u00f8rfjes",yell:"Skrik",wink:"Blunke",undecided:"Skeptisk","tongue_out":"Rekke tunge",surprised:"Overrasket",smile:"Smil",sealed:"Lukket","money_mouth":"Penger i munnen",laughing:"Ler",kiss:"Kyss",innocent:"Uskyldig",... | codepython/CollectorCity-Market-Place | stores/media_out_s3/js/tiny_mce/plugins/emotions/langs/no_dlg.js | JavaScript | apache-2.0 | 434 |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/**
* @path ch15/15.2/15.2.3/15.2.3.3/15.2.3.3-4-50.js
* @description Object.getOwnPropertyDescriptor returns data desc for functions on built-ins (Array.prototype.splice)
*/
function testcase() {
var desc = Object.getOwnPropertyDescriptor(Array.p... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch15/15.2/15.2.3/15.2.3.3/15.2.3.3-4-50.js | JavaScript | bsd-3-clause | 538 |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/**
* @path ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-21.js
* @description Array.prototype.some - the global object can be used as thisArg
*/
function testcase() {
function callbackfn(val, idx, obj) {
return this === fnGlobalObjec... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch15/15.4/15.4.4/15.4.4.17/15.4.4.17-5-21.js | JavaScript | bsd-3-clause | 421 |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/**
* @path ch15/15.9/15.9.1/15.9.1.15/15.9.1.15-1.js
* @description Date Time String Format - specified default values will be set for all optional fields(MM, DD, mm, ss and time zone) when they are absent
*/
function testcase() {
var resul... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch15/15.9/15.9.1/15.9.1.15/15.9.1.15-1.js | JavaScript | bsd-3-clause | 580 |
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
define(['quill'], factory)
} else if (typeof exports === 'object') {
module.exports = factory(require('quill'))
} else {
root.Requester = factory(root.Quill)
}
}(this, function (Quill) {
'use strict'
var ap... | dakshshah96/cdnjs | ajax/libs/ng-quill/3.2.1/ng-quill.js | JavaScript | mit | 7,532 |
/**
* @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 { Injectable } from '@angular/core';
import { createCheckBindingField, createCheckBindingStmt } from './compil... | ice3x2/Clreball | web/lib/@angular/compiler/src/directive_wrapper_compiler.js | JavaScript | gpl-3.0 | 11,939 |
/**
* @fileoverview Rule to flag non-camelcased identifiers
* @author Nicholas C. Zakas
*/
"use strict";
//------------------------------------------------------------------------------
// Rule Definition
//------------------------------------------------------------------------------
module.exports = {
meta:... | hellokidder/js-studying | 微信小程序/wxtest/node_modules/eslint/lib/rules/camelcase.js | JavaScript | mit | 5,183 |
// DATA_TEMPLATE: empty_table
oTest.fnStart( "oSearch" );
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable( {
"sAjaxSource": "../../../examples/examples_support/json_source.txt"
} );
var oSettings = oTable.fnSettings();
oTest.fnWaitTest(
"Default values should b... | yesudeep/chickoojs | src/jquery/dataTables/1.6/media/unit_testing/tests_onhold/3_ajax/oSearch.js | JavaScript | mit | 2,843 |
/**
* Autoload
*/
(function ($) {
// Autoload namespace: private properties and methods
var Autoload = {
/**
* Include necessary CSS file
*/
css: function (file, options) {
var collection = $("link[rel=stylesheet]"),
path = options.basePath + options.cssPath + file,
element,
i;
for (i =... | allengaller/zenx-tmall | web/public_html/protected/modules/translate/widgets/assets/jwysiwyg/help/lib/plugins/autoload/jquery.autoload.js | JavaScript | mit | 2,926 |
var _curry1 = require('./internal/_curry1');
var _makeFlat = require('./internal/_makeFlat');
/**
* Returns a new list by pulling every item out of it (and all its sub-arrays) and putting
* them in a new array, depth-first.
*
* @func
* @memberOf R
* @category List
* @sig [a] -> [b]
* @param {Array} list The a... | concertcoder/leaky-ionic-app | www/lib/ramda/src/flatten.js | JavaScript | mit | 579 |
/*!
* # Fomantic-UI - Visibility
* http://github.com/fomantic/Fomantic-UI/
*
*
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
;(function ($, window, document, undefined) {
'use strict';
$.isFunction = $.isFunction || function(obj) {
return typeof obj === "function" && typeof obj... | robotgear/robotgear | semantic/src/definitions/behaviors/visibility.js | JavaScript | mit | 42,907 |
'use strict';
(function() {
// Photos Controller Spec
describe('Photos Controller Tests', function() {
// Initialize global variables
var PhotosController,
scope,
$httpBackend,
$stateParams,
$location;
// The $resource service augments the response object with methods for updating and deleting the res... | nickeblewis/nfolioMEAN | public/modules/photos/tests/photos.client.controller.test.js | JavaScript | mit | 4,953 |
/*
YUI 3.17.0 (build ce55cc9)
Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('graphics', function (Y, NAME) {
/**
*
* <p>The `Graphics` module provides a JavaScript API for creating shapes in a variety of formats across
* a <a href="http://... | wayne-lewis/baiducdnstatic | libs/yui/3.17.0/graphics/graphics.js | JavaScript | mit | 43,760 |
var searchData=
[
['empty',['Empty',['../classv8_1_1_string.html#a93009e63fb89a2c8264b87ec422af963',1,'v8::String']]],
['enableagent',['EnableAgent',['../classv8_1_1_debug.html#a63f491229ef01576bfeb5814e9b14a5e',1,'v8::Debug']]],
['enableslidingstatewindow',['EnableSlidingStateWindow',['../classv8_1_1_v8.html#aa9... | v8-dox/v8-dox.github.io | fcff66b/html/search/functions_3.js | JavaScript | mit | 796 |
/**
* @class Ext.scroll.Scroller
* @author Jacky Nguyen <[email protected]>
*
* Momentum scrolling is one of the most important part of the framework's UI layer. In Sencha Touch there are
* several scroller implementations so we can have the best performance on all mobile devices and browsers.
*
* Scroller settin... | appcodechile/Rockola | webapp/touch/src/scroll/Scroller.js | JavaScript | mit | 35,616 |
"use strict";
var Configuration = (function () {
function Configuration() {
}
return Configuration;
}());
exports.Configuration = Configuration;
//# sourceMappingURL=configuration.js.map | raymonddavis/Angular-SailsJs-SocketIo | web/node_modules/jasmine-spec-reporter/built/configuration.js | JavaScript | mit | 198 |
/**
* @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'widget', 'ar', {
'move': 'إضغط و إسحب للتحريك',
'label': '%1 widget' // MISSING
} );
| er361/yii-zadanie-somnium | zadanie/protected/extensions/ckeditor/plugins/widget/lang/ar.js | JavaScript | bsd-3-clause | 290 |
import "projection";
function hill(K) {
var L = 1 + K,
sinβ = Math.sin(1 / L),
β = asin(sinβ),
A = 2 * Math.sqrt(π / (B = π + 4 * β * L)),
B,
ρ0 = .5 * A * (L + Math.sqrt(K * (2 + K))),
K2 = K * K,
L2 = L * L;
function forward(λ, φ) {
var t = 1 - Math.sin(φ),
... | jswiss/d3-geo-projection | src/hill.js | JavaScript | bsd-3-clause | 1,593 |
// Load modules
var Path = require('path');
var Hoek = require('hoek');
var Ref = require('./ref');
var Errors = require('./errors');
var Alternatives = null; // Delay-loaded to prevent circular dependencies
var Cast = null;
// Declare internals
var internals = {};
internals.defaults = {
abortE... | annefried/discanno | src/main/webapp/node_modules/joi/lib/any.js | JavaScript | gpl-2.0 | 17,176 |
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: https://codemirror.net/LICENSE
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"));
else if (typeof define == "function" && define.amd) // ... | bobmagicii/atlantis | www/share/js/codemirror-modes/javascript/javascript.js | JavaScript | bsd-2-clause | 37,805 |
/* flatpickr v4.0.7, @license MIT */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(factory((global.fi = {})));
}(this, (function (exports) { 'use strict';
var fp = typeof wi... | sashberd/cdnjs | ajax/libs/flatpickr/4.0.8/l10n/fi.js | JavaScript | mit | 1,659 |
var B = require('../').Buffer
var test = require('tape')
if (process.env.OBJECT_IMPL) B.TYPED_ARRAY_SUPPORT = false
test('detect utf16 surrogate pairs', function(t) {
var text = '\uD83D\uDE38' + '\uD83D\uDCAD' + '\uD83D\uDC4D'
var buf = new B(text)
t.equal(text, buf.toString())
t.end()
})
test('throw on orph... | sekys/ivda | web/libs/vis/node_modules/webpack/node_modules/node-libs-browser/node_modules/buffer/test/utf16.js | JavaScript | mit | 819 |
/*
* This file is part of Invenio.
* Copyright (C) 2012 CERN.
*
* Invenio 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 2 of the
* License, or (at your option) any later version.
*
* ... | kaplun/invenio | modules/bibedit/lib/bibedit_refextract.js | JavaScript | gpl-2.0 | 6,559 |
/*!
* bootstrap-tokenfield
* https://github.com/sliptree/bootstrap-tokenfield
* Copyright 2013-2014 Sliptree and other contributors; Licensed MIT
*/
(function (factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['jquery'], factory);
} else if (t... | EcoAlternative/noosfero-ecosol | public/javascripts/vendor/bootstrap-tokenfield.js | JavaScript | agpl-3.0 | 33,215 |
'use strict';
/**
* @ngdoc function
* @name openshiftConsole.controller:ProjectsController
* @description
* # ProjectsController
* Controller of the openshiftConsole
*/
angular.module('openshiftConsole')
.controller('ProjectsController', function ($scope, $route, DataService, AuthService, Logger) {
$scope.... | dkorn/origin | assets/app/scripts/controllers/projects.js | JavaScript | apache-2.0 | 2,190 |
YUI.add('array-extras', function(Y) {
/**
* Collection utilities beyond what is provided in the YUI core
* @module collection
* @submodule array-extras
*/
var L = Y.Lang, Native = Array.prototype, A = Y.Array;
/**
* Adds the following array utilities to the YUI instance
* (Y.Array). This is in addition to the... | joeyparrish/cdnjs | ajax/libs/yui/3.1.0pr1/collection/array-extras.js | JavaScript | mit | 8,369 |
(function () {
'use strict';
/**
* Create a cached version of a pure function.
*/
function cached (fn) {
var cache = Object.create(null);
return function cachedFn (str) {
var hit = cache[str];
return hit || (cache[str] = fn(str))
}
}
/**
* Hyphenate a camelCase string.
*/
var hyphenate = cached(func... | Asaf-S/jsdelivr | files/docsify/3.1.0/lib/docsify.js | JavaScript | mit | 80,623 |
"use strict";
var fs = require('fs');
var os = require('os');
var path = require('path');
var q = require('q');
var binaries_1 = require('../binaries');
var downloaded_binary_1 = require('./downloaded_binary');
var downloader_1 = require('./downloader');
var cli_1 = require('../cli');
var gecko_driver_1 = require('../b... | sbraaten95/angular_tour_of_heroes | node_modules/webdriver-manager/built/lib/files/file_manager.js | JavaScript | mit | 9,433 |
/*************************************************************
*
* MathJax/jax/output/SVG/fonts/TeX/svg/AMS/Regular/LatinExtendedA.js
*
* Copyright (c) 2011-2013 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with th... | shayzluf/lazoozweb | wiki/extensions/Math/modules/MathJax/unpacked/jax/output/SVG/fonts/TeX/AMS/Regular/LatinExtendedA.js | JavaScript | gpl-2.0 | 1,782 |
var NAVTREEINDEX0 =
{
"index.html":[],
"md__benchmarks.html":[8],
"md__building.html":[0],
"md__compiler.html":[1],
"md__cpp_usage.html":[3],
"md__go_usage.html":[4],
"md__grammar.html":[11],
"md__internals.html":[10],
"md__java_usage.html":[5],
"md__python_usage.html":[6],
"md__schemas.html":[2],
"md__support.html":[7... | yaolinz/flatbuffers | docs/html/navtreeindex0.js | JavaScript | apache-2.0 | 370 |
(function(){
if (typeof self === 'undefined' || !self.Prism || !self.document) {
return;
}
if (!Prism.plugins.toolbar) {
console.warn('Copy to Clipboard plugin loaded before Toolbar plugin.');
return;
}
var Clipboard = window.Clipboard || undefined;
if (Clipboard && /(native code)/.test(Clipboard.toStri... | uvalib/staff-directory | bower_components/prism/plugins/copy-to-clipboard/prism-copy-to-clipboard.js | JavaScript | apache-2.0 | 1,606 |
/* =========================================================
* composer-atts.js v0.2.1
* =========================================================
* Copyright 2013 Wpbakery
*
* Visual composer backbone/underscore shortcodes attributes
* form field and parsing controls
* ==========================================... | DogburnDesign/traditional | wp-content/plugins/js_composer/assets/js/params/composer-atts.js | JavaScript | gpl-2.0 | 59,990 |
/*
Copyright (C) 2012 Ariya Hidayat <[email protected]>
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 ... | saki1001/sb-2014 | wp-content/themes/cleanslate/node_modules/grunt-contrib-jshint/node_modules/jshint/node_modules/esprima/demo/functiontrace.js | JavaScript | gpl-2.0 | 5,065 |
windowFunctions['Remove Photo Collection'] = function (evt) {
var win = createWindow();
var offset = addBackButton(win);
var button = Ti.UI.createButton({
title: 'Are you sure?',
top: offset + 10 + u, left: 10 + u, right: 10 + u, bottom: 10 + u,
height: 40 + u
});
win.add(bu... | mgostisha/lolapp | modules/commonjs/ti.cloud/3.2.3/example/windows/photoCollections/remove.js | JavaScript | apache-2.0 | 915 |
/*!
* json-schema-faker library v0.3.5
* http://json-schema-faker.js.org
* @preserve
*
* Copyright (c) 2014-2016 Alvaro Cabrera & Tomasz Ducin
* Released under the MIT license
*
* Date: 2016-08-01 20:24:53.199Z
*/
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else i... | sajochiu/cdnjs | ajax/libs/json-schema-faker/0.3.5/locale/fr.js | JavaScript | mit | 512,633 |
var asn1 = require('../asn1');
var util = require('util');
var vm = require('vm');
var api = exports;
api.define = function define(name, body) {
return new Entity(name, body);
};
function Entity(name, body) {
this.name = name;
this.body = body;
this.decoders = {};
this.encoders = {};
};
Entity.prototype.... | kimisan/Presentations | quadrant/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign/node_modules/asn1.js/lib/asn1/api.js | JavaScript | apache-2.0 | 1,355 |
/*
* file-store-test.js: Tests for the nconf File store.
*
* (C) 2011, Charlie Robbins and the Contributors.
*
*/
var fs = require('fs'),
path = require('path'),
vows = require('vows'),
assert = require('assert'),
nconf = require('../lib/nconf'),
data = require('./fixtures/data').data;
vows.d... | bryce-gibson/nconf | test/nconf-test.js | JavaScript | mit | 4,016 |
'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/av/add-to-queue.js | JavaScript | gpl-3.0 | 926 |
version https://git-lfs.github.com/spec/v1
oid sha256:2523fe5f69055ea87647d430c9d85263fa5922f797974552bb0c663728e0b693
size 2192
| yogeshsaroya/new-cdnjs | ajax/libs/webshim/1.4.2/dev/shims/i18n/formcfg-pt.js | JavaScript | mit | 129 |
/*jshint eqnull:true*/
(function (root) {
"use strict";
var GLOBAL_KEY = "Random";
var imul = (typeof Math.imul !== "function" || Math.imul(0xffffffff, 5) !== -5 ?
function (a, b) {
var ah = (a >>> 16) & 0xffff;
var al = a & 0xffff;
var bh = (b >>> 16) & 0xffff;
var bl = b & 0xffff;
... | michapixel/xkcd_pwd_gen | src/vendor/js/random/lib/random.js | JavaScript | mit | 20,534 |
YUI.add('paginator-core', function (Y, NAME) {
/**
Paginator's core functionality consists of keeping track of the current page
being displayed and providing information for previous and next pages.
@module paginator
@submodule paginator-core
@since 3.11.0
*/
/**
_API docs for this extension are included in t... | aqt01/math_problems | node_modules/yui/paginator-core/paginator-core.js | JavaScript | gpl-2.0 | 3,282 |
/**
* 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 : ... | seogi1004/cdnjs | ajax/libs/ag-grid/4.2.3/lib/cellNavigationService.js | JavaScript | mit | 9,583 |
/**
* A dialogue type designed to display a confirmation to the user.
*
* @module moodle-core-notification
* @submodule moodle-core-notification-confirm
*/
var CONFIRM_NAME = 'Moodle confirmation dialogue',
CONFIRM;
/**
* Extends core Dialogue to show the confirmation dialogue.
*
* @param {Object} config ... | michael-milette/moodle | lib/yui/src/notification/js/confirm.js | JavaScript | gpl-3.0 | 5,579 |
(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... | dakshshah96/cdnjs | ajax/libs/forerunnerdb/1.3.650/fdb-legacy.js | JavaScript | mit | 982,325 |
// (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/quiz/services/autosave.js | JavaScript | apache-2.0 | 8,813 |
// Copyright (c) 2016, Frappe Technologies Pvt. Ltd. and contributors
// For license information, please see license.txt
frappe.ui.form.on('Accounts Settings', {
refresh: function(frm) {
}
});
| hassanibi/erpnext | erpnext/accounts/doctype/accounts_settings/accounts_settings.js | JavaScript | gpl-3.0 | 197 |
'use strict';
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
jshint: {
all: ['lib/*.js', 'test/*.js'],
options: {
jshintrc: '.jshintrc'
}
},
mochaTest: {
all: {
options: {
... | tsiry95/openshift-strongloop-cartridge | strongloop/node_modules/mailcomposer/Gruntfile.js | JavaScript | mit | 643 |
/*
*
* 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"); y... | Hwimbloh/Yeh | www/plugins/cordova-plugin-camera/src/windows/CameraProxy.js | JavaScript | apache-2.0 | 38,187 |
(function(factory) {
if (typeof define === 'function' && define.amd) {
define(['jquery'], factory);
} else if (typeof module === 'object' && typeof module.exports === 'object') {
module.exports = factory(require('jquery'));
} else {
factory(jQuery);
}
}(function($) {
/*! TableSorter (FORK) v2.25.0 *//*
* Cli... | lucky1603/PmsApp | public/tablesorter-master/dist/js/jquery.tablesorter.js | JavaScript | bsd-3-clause | 100,890 |
// ---- Angular Hammer ----
// Copyright (c) 2014 Ryan S Mullins <[email protected]>
// Licensed under the MIT Software License
(function () {
'use strict';
// Checking to make sure Hammer and Angular are defined
var angular, Hammer;
if (typeof angular === 'undefined') {
if (typeof require !== 'undef... | kiwi89/cdnjs | ajax/libs/RyanMullins-angular-hammer/2.1.2/angular.hammer.js | JavaScript | mit | 12,022 |
(function($, UI) {
"use strict";
var active = false, hoverIdle;
UI.component('dropdown', {
defaults: {
'mode' : 'hover',
'remaintime' : 800,
'justify' : false,
'boundary' : UI.$win,
'delay' : 0
},
remainIdle:... | mubassirhayat/uikit | src/js/core/dropdown.js | JavaScript | mit | 8,096 |
/*
Highcharts JS v5.0.8 (2017-03-08)
Plugin for displaying a message when there is no data visible in chart.
(c) 2010-2016 Highsoft AS
Author: Oystein Moseng
License: www.highcharts.com/license
*/
(function(d){"object"===typeof module&&module.exports?module.exports=d:d(Highcharts)})(function(d){(function(c){func... | seogi1004/cdnjs | ajax/libs/highstock/5.0.8/js/modules/no-data-to-display.js | JavaScript | mit | 1,386 |
/*
* Farsi (Persian) translation
* By Mohaqa
* 03-10-2007, 06:23 PM
*/
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">در حال بارگذاری ...</div>';
if(Ext.View){
Ext.View.prototype.emptyText = "";
}
if(Ext.grid.GridPanel){
Ext.grid.GridPanel.prototype.ddText = "{0} رکورد انتخاب شد... | tranSMART-Foundation/transmartApp | web-app/js/ext/build/locale/ext-lang-fa.js | JavaScript | gpl-3.0 | 8,235 |
define(
[
'jquery', 'underscore', 'squire'
],
function ($, _, Squire) {
'use strict';
describe('FileUploader', function () {
var FileUploaderTemplate = readFixtures(
'metadata-file-uploader-entry.underscore'
),
FileUploaderItemTemplate = readFixtur... | simbs/edx-platform | cms/static/js/spec/video/file_uploader_editor_spec.js | JavaScript | agpl-3.0 | 6,370 |
/**
* UI-Router Extras: Sticky states, Future States, Deep State Redirect, Transition promise
* @version v0.0.11-pre1-BROKEN!!!
* 0.0.11-pre1 is broken, please use 0.0.11-pre2
* @link http://christopherthielen.github.io/ui-router-extras/
* @license MIT License, http://www.opensource.org/licenses/MIT
*/
(function... | wil93/cdnjs | ajax/libs/ui-router-extras/0.0.11-pre1/ct-ui-router-extras.js | JavaScript | mit | 64,111 |
/**
* Unbind all event handlers before tearing down the page
*/
AJAX.registerTeardown('tbl_tracking.js', function () {
$('body').off('click', '#versionsForm.ajax button[name="submit_mult"], #versionsForm.ajax input[name="submit_mult"]');
$('body').off('click', 'a.delete_version_anchor.ajax');
$('body').of... | Dokaponteam/ITF_Project | xampp/phpMyAdmin/js/tbl_tracking.js | JavaScript | mit | 3,522 |