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
function Storage() { const indexedDB = window.indexedDB || window.mozIndexedDB || window.webkitIndexedDB || window.msIndexedDB; if ( indexedDB === undefined ) { console.warn( 'Storage: IndexedDB not available.' ); return { init: function () {}, get: function () {}, set: function () {}, clear: function () {} };...
WestLangley/three.js
editor/js/Storage.js
JavaScript
mit
2,077
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: > While evaluating "for (ExpressionNoIn; FirstExpression; SecondExpression) Statement", ExpressionNoIn is evaulated first, FirstExpressoin is evaluated second es5i...
PiotrDabkowski/Js2Py
tests/test_cases/language/statements/for/S12.6.3_A3.js
JavaScript
mit
1,824
module.exports = { create: require('./server'), router: require('./router') }
AaronNGray/json-server-http-auth
src/index.js
JavaScript
mit
81
var Node = require("./node"), Media = require("./media"), URL = require("./url"), Quoted = require("./quoted"), Ruleset = require("./ruleset"), Anonymous = require("./anonymous"), utils = require("../utils"), LessError = require("../less-error"); // // CSS @import node // // The general str...
friendsofagape/mt2414ui
node_modules/less/lib/less/tree/import.js
JavaScript
mit
5,843
'use strict' var semver = require('semver') var supportedNode = [ {ver: '6', min: '6.0.0'}, {ver: '8', min: '8.0.0'}, {ver: '9', min: '9.0.0'}, {ver: '10', min: '10.0.0'}, {ver: '11', min: '11.0.0'} ] var knownBroken = '<4.7.0' var checkVersion = exports.checkVersion = function (version) { var versionNoPre...
setie/setie.github.io
node_modules/npm/lib/utils/unsupported.js
JavaScript
mit
2,270
/* Supersized - Fullscreen Slideshow jQuery Plugin Version : 3.2.7 Site : www.buildinternet.com/project/supersized Author : Sam Dunn Company : One Mighty Roar (www.onemightyroar.com) License : MIT License / GPL License */ (function($){$(document).ready(function(){$(".super").append('<div id="supersized-load...
shankarthombare/printech
wp-content/themes/ninezeroseven/assets/js/supersized.3.2.75152.js
JavaScript
mit
21,523
/*! * CanJS - 2.2.7 * http://canjs.com/ * Copyright (c) 2015 Bitovi * Fri, 24 Jul 2015 20:57:32 GMT * Licensed MIT */ /*can@2.2.7#view/modifiers/modifiers*/ define([ 'jquery', 'can/util/library', 'can/view' ], function ($, can) { $ = $ || window.$; var convert, modify, isTemplate, isHTML, isD...
swape/hapi-canjs-gulp
build/libs/canjs/amd/can/view/modifiers.js
JavaScript
mit
3,115
lychee.define('lychee.ui.Button').includes([ 'lychee.ui.Entity' ]).exports(function(lychee, global) { var Class = function(data) { var settings = lychee.extend({}, data); this.label = null; this.font = null; this.setFont(settings.font); this.setLabel(settings.label); delete settings.font; delet...
nspforever/lycheeJS
lychee/ui/Button.js
JavaScript
mit
2,129
'use strict'; /* jshint -W030 */ var chai = require('chai') , sinon = require('sinon') , Sequelize = require('../../../../index') , Promise = Sequelize.Promise , expect = chai.expect , Support = require(__dirname + '/../../support') , DataTypes = require(__dirname + '/../../../../lib/data-types') , diale...
darwinserrano/sequelize
test/integration/model/attributes/field.test.js
JavaScript
mit
18,653
/* * jQuery UI 1.6rc2.6 * * Copyright (c) 2008 AUTHORS.txt (http://ui.jquery.com/about) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://docs.jquery.com/UI */ ;(function($) { var _remove = $.fn.remove, isFF2 = $.browser.mozilla && (parseFloat($.browser.version) ...
Udayraj123/dashboard_IITG
hospital-management-system/hospital_management_system/rtc/static/complaint1/js/ui_002.js
JavaScript
mit
13,667
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvExplicit = (props) => ( <SvgIcon {...props}> <path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-4 6h-4v2h4v2h-4v2h4v2H9V7h6v2z"/> </SvgIcon> ); AvExplicit = pure(AvExplic...
rhaedes/material-ui
src/svg-icons/av/explicit.js
JavaScript
mit
392
'use strict'; let output = require('./output'); let AssertionFailedError = require('./assert/error'); let subs = require('./utils').template; /** * Abstract assertion class introduced for more verbose and customizable messages. * * Should be easy to extend and use in custom helper classes. * * Both positive and ...
Shullaca1/Teste-do-CdB
lib/assert.js
JavaScript
mit
1,964
import Settings from '../../models/server/models/Settings'; const cache = new Map(); export const setValue = (_id, value) => cache.set(_id, value); const setFromDB = async (_id) => { const setting = Settings.findOneById(_id, { fields: { value: 1 } }); if (!setting) { return; } setValue(_id, setting.value); ...
VoiSmart/Rocket.Chat
app/settings/server/raw.js
JavaScript
mit
602
angular.module('ui.bootstrap.pagination', []) .controller('PaginationController', ['$scope', '$interpolate', function ($scope, $interpolate) { this.currentPage = 1; this.noPrevious = function() { return this.currentPage === 1; }; this.noNext = function() { return this.currentPage === $scope.numPages;...
powow/angular-date-range
vendor/angular-ui-bootstrap/src/pagination/pagination.js
JavaScript
mit
6,829
/* globals jQuery,QUnit */ QUnit.config.urlConfig.push({ id: 'nocontainer', label: 'Hide container'}); QUnit.config.urlConfig.push({ id: 'nojshint', label: 'Disable JSHint'}); QUnit.config.urlConfig.push({ id: 'dockcontainer', label: 'Dock container'}); QUnit.config.testTimeout = 60000; //Default Test Timeout 60 Secon...
blimmer/ember-cli-qunit
vendor/ember-cli-qunit/qunit-configuration.js
JavaScript
mit
859
(function ($) { $.widget("ui.groupdocsViewer", { _viewModel: null, options: { enableViewerInit: true, supportTextSelection: true, resourcePrefix: "" }, _create: function () { $.extend(this.options, { element: this.elem...
groupdocs/GroupDocs.Annotation-for-.NET
Showcases/GroupDocs-Annotation-Front-End/src/GroupDocs.Demo.Annotation.Mvc/Scripts/libs/installableViewer.js
JavaScript
mit
74,931
(typeof navigator !== "undefined") && (function(root, factory) { if (typeof define === "function" && define.amd) { define(function() { return factory(root); }); } else if (typeof module === "object" && module.exports) { module.exports = factory(root); } else { ...
extend1994/cdnjs
ajax/libs/bodymovin/5.5.6/lottie_light_html.js
JavaScript
mit
404,046
/** * @license * v1.2.8-3 * MIT (https://github.com/pnp/pnpjs/blob/master/LICENSE) * Copyright (c) 2019 Microsoft * docs: https://pnp.github.io/pnpjs/ * source: https://github.com/pnp/pnpjs * bugs: https://github.com/pnp/pnpjs/issues */ (function (global, factory) { typeof exports === 'object' && typeof mod...
joeyparrish/cdnjs
ajax/libs/pnp-common/1.2.8-3/common.es5.umd.js
JavaScript
mit
36,004
/** * @license * v1.2.8-0 * MIT (https://github.com/pnp/pnpjs/blob/master/LICENSE) * Copyright (c) 2018 Microsoft * docs: https://pnp.github.io/pnpjs/ * source: https://github.com/pnp/pnpjs * bugs: https://github.com/pnp/pnpjs/issues */ import { ClientSvcQueryable, MethodParams, property, setProperty, method, o...
joeyparrish/cdnjs
ajax/libs/pnp-sp-taxonomy/1.2.8-0/sp-taxonomy.js
JavaScript
mit
25,377
/* * Copyright 2009 Google Inc. * * 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 ...
Dandandan/wikiprogramming
jsrepl/tools/closure-compiler/trunk/externs/webkit_event.js
JavaScript
mit
1,324
/** * Copyright (c) Tiny Technologies, Inc. All rights reserved. * Licensed under the LGPL or a commercial license. * For LGPL see License.txt in the project root for license information. * For commercial licenses see https://www.tiny.cloud/ * * Version: 5.0.6 (2019-05-22) */ (function () { var save = (function ...
cdnjs/cdnjs
ajax/libs/tinymce/5.0.6/plugins/save/plugin.js
JavaScript
mit
3,847
/* * 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 ...
ROLE/widget-store
src/main/drupal/sites/all/libraries/shindig2.5beta/features/src/main/javascript/features/core.io/taming.js
JavaScript
gpl-2.0
1,061
if (!RedactorPlugins) var RedactorPlugins = {}; RedactorPlugins.fontsize = function() { return { init: function() { var fonts = [10, 11, 12, 14, 16, 18, 20, 24, 28, 30]; var that = this; var dropdown = {}; $.each(fonts, function(i, s) { dropdown['s' + i] = { title: s + 'px', func: function() {...
schednyj/icms2
wysiwyg/redactor/js/fontsize.js
JavaScript
gpl-2.0
742
/* * FancyBox - jQuery Plugin * Simple and fancy lightbox alternative * * Examples and documentation at: http://fancybox.net * * Copyright (c) 2008 - 2010 Janis Skarnelis * That said, it is hardly a one-person project. Many people have submitted bugs, code, and offered their advice freely. Their support i...
nikhilsharma869/bio-pharma-dev
fancybox/jquery.fancybox-1.3.4.js
JavaScript
gpl-2.0
29,471
/** * @license * Visual Blocks Editor * * Copyright 2012 Google Inc. * https://developers.google.com/blockly/ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apach...
zggdfsccnzcgy/SCNUOJ
web/blockly/blocks/loops.js
JavaScript
gpl-3.0
8,788
/** This file is part of JHaptic. JHaptic is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. JHaptic is distributed in the...
guari/jhaptic
Samples/Testpage -simulator/js/jhaptic/vibration.js
JavaScript
gpl-3.0
3,653
class GithubContributorService { constructor ($log, $http) { 'ngInject'; this.$http = $http; this.apiHost = 'https://api.github.com/repos/Swiip/generator-gulp-angular'; } getContributors(limit) { if (!limit) { limit = 30; } return this.$http.get(this.apiHost + '/contributors?per_p...
elijahdorman/salesforce-deploy-tools
src/app/components/services/githubContributor/githubContributor.service.js
JavaScript
gpl-3.0
583
/* Unknown.js * * copyright (c) 2010-2017, Christian Mayer and the CometVisu contributers. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software Foundation; either version 3 of the License, or (at your...
jensgulow/CometVisu
source/class/cv/parser/widgets/Unknown.js
JavaScript
gpl-3.0
1,620
[{ Name: "Generic Program", Author: "Generoso Martello", Version: "2013-03-31", GroupName: '', IconImage: 'pages/control/widgets/homegenie/generic/images/program.png', StatusText: '', Description: '', Initialized: false, RenderView: function (cuid, module) { var container ...
AdnanSattar/HomeGenie
BaseFiles/Common/html/pages/control/widgets/homegenie/generic/program.js
JavaScript
gpl-3.0
2,373
modules.define( 'spec', ['jquery', 'sinon'], function(provide, $, sinon) { describe('jquery__event_type_pointerpressrelease', function() { it('should trigger "pointerpress" event on "mousedown"', function() { var spy = sinon.spy(), e = $.Event('mousedown', { which : 1 }), ...
megatolya/bem-core
common.blocks/jquery/__event/_type/jquery__event_type_pointerpressrelease.spec.js
JavaScript
mpl-2.0
836
import cockpit from "cockpit"; import QUnit from "qunit-tests"; QUnit.test("should be able to dispatch es2015 promises", function (assert) { // https://github.com/cockpit-project/cockpit/issues/10956 assert.expect(1); const done = assert.async(); const dfd = cockpit.defer(); dfd.promise.then(() ...
cockpit-project/cockpit
pkg/base1/test-promise.js
JavaScript
lgpl-2.1
496
set_global('blueslip', global.make_zblueslip()); set_global('$', {}); set_global('reload', {}); zrequire('channel'); const default_stub_xhr = 'default-stub-xhr'; function test_with_mock_ajax(test_params) { const { xhr = default_stub_xhr, run_code, check_ajax_options, } = test_params;...
jackrzhang/zulip
frontend_tests/node_tests/channel.js
JavaScript
apache-2.0
8,094
import Ember from 'ember'; export default Ember.Component.extend({ path: null, tagName: 'g', draw: Ember.computed('path', function() { var out; var paths = this.get('path'); out = `M ${paths.m[0]} ${paths.m[1]}`; paths.l.forEach((item) => { out += ` L ${item[0]} ${item[1]}`; }); ...
ubiquityhosting/rancher_ui
app/components/svg-edge/component.js
JavaScript
apache-2.0
491
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { actions } from 'react-native-navigation-redux-helpers'; import { Container, Header, Title, Content, Button, Icon, List, ListItem, Text } from 'native-base'; import styles from './styles'; const { replaceAt, } = actions; clas...
soltrinox/MarketAuth.ReactNative
js/components/list/list-divider.js
JavaScript
apache-2.0
2,511
//// [complexNarrowingWithAny.ts] // Repro from #10869 /** * This file is generated by the Angular 2 template compiler. * Do not edit. */ /* tslint:disable */ // import * as import0 from '@angular/core/src/linker/ng_module_factory'; // import * as import1 from '../../app'; // import * as import2 from '@angular/c...
vilic/TypeScript
tests/baselines/reference/complexNarrowingWithAny.js
JavaScript
apache-2.0
49,055
import { setConsentConfig, requestBidsHook, resetConsentData, userCMP, consentTimeout, allowAuction, staticConsentData, gdprScope } from 'modules/consentManagement.js'; import { gdprDataHandler } from 'src/adapterManager.js'; import * as utils from 'src/utils.js'; import { config } from 'src/config.js'; let expect = r...
gumgum/Prebid.js
test/spec/modules/consentManagement_spec.js
JavaScript
apache-2.0
25,387
/* eslint-disable global-require */ "use strict"; const style = require("../level2/style"); const xpath = require("../level3/xpath"); // This object defines the mapping between the interface name and the generated interface wrapper code. // Note: The mapping needs to stay as-is in order due to interface evaluation. /...
GoogleCloudPlatform/prometheus-engine
third_party/prometheus_ui/base/web/ui/react-app/node_modules/jsdom/lib/jsdom/living/interfaces.js
JavaScript
apache-2.0
10,438
[args => any, <T>(args) => any, (...args) => any, (args?) => any, (args: any) => any, ({}) => any]
synaptek/TypeScript
tests/baselines/reference/printerApi/printsNodeCorrectly.functionTypes.js
JavaScript
apache-2.0
98
# Mozilla User Preferences /* Do not edit this file. * * If you make changes to this file while the application is running, * the changes will be overwritten when the application exits. * * To make a manual change to preferences, you can visit the URL about:config */ user_pref("app.update.lastUpdateTime.addon-b...
DrMarcII/webdriver.dart
test/support/firefox_profile/prefs.js
JavaScript
apache-2.0
5,178
function vibrate() { var win = Titanium.UI.createWindow({ backgroundColor:'#336699' }); // initialize to all modes win.orientationModes = [ Titanium.UI.PORTRAIT, Titanium.UI.LANDSCAPE_LEFT, Titanium.UI.LANDSCAPE_RIGHT ]; var b1 = Titanium.UI.createButton({ title:'Vibrate', height:40, width:300, to...
appcelerator/titanium_mobile_tizen
tests/samples/KitchenSink/Resources/ui/common/phone/vibrate.js
JavaScript
apache-2.0
519
// Copyright (C) 2016 the V8 project authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- description: Expression cannot contain an `import` declaration esid: sec-modules negative: phase: parse type: SyntaxError flags: [module] ---*/ $DONOTEVALUATE(); (functio...
sebastienros/jint
Jint.Tests.Test262/test/language/module-code/parse-err-decl-pos-import-generator-expr.js
JavaScript
bsd-2-clause
384
// Copyright (C) 2016 the V8 project authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- esid: sec-super-keyword es6id: 12.3.5 description: Invocation of "parent" constructor info: | [...] 6. Let result be ? Construct(func, argList, newTarget). [...] features...
sebastienros/jint
Jint.Tests.Test262/test/language/expressions/super/call-construct-invocation.js
JavaScript
bsd-2-clause
1,032
goog.provide('ol.test.source.RasterSource'); goog.require('ol.Map'); goog.require('ol.TileState'); goog.require('ol.View'); goog.require('ol.layer.Image'); goog.require('ol.proj.Projection'); goog.require('ol.source.ImageStatic'); goog.require('ol.source.Raster'); goog.require('ol.source.Source'); goog.require('ol.sou...
thhomas/ol3
test/spec/ol/source/raster.test.js
JavaScript
bsd-2-clause
8,364
/* * Basic Count Down to Date and Time * Author: @mrwigster / trulycode.com */ (function (e) { e.fn.countdown = function (t, n) { function i() { eventDate = Date.parse(r.date) / 1e3; currentDate = Math.floor(e.now() / 1e3); /*if (eventDate <= currentDate) { n.call(this); clearInterval(interval)...
Baishakhidelgence/testzend
public/files/friends/js/jquery.countdown.js
JavaScript
bsd-3-clause
1,775
/* * BitmapAnimation * Visit http://createjs.com/ for documentation, updates and examples. * * Copyright (c) 2010 gskinner.com, 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...
FaZi23/stocks
public/js/EaselJS-release_v0.6.1/src/easeljs/display/BitmapAnimation.js
JavaScript
bsd-3-clause
15,464
// Copyright 2013 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. 'use strict'; <include src="../../../../ui/webui/resources/js/util.js"> <include src="pdf_scripting_api.js"> <include src="viewport.js"> /** * @return ...
ondra-novak/chromium.src
chrome/browser/resources/pdf/pdf.js
JavaScript
bsd-3-clause
19,184
/* * Author: Zoltán Lajos Kis <zoltan.lajos.kis@ericsson.com> */ "use strict"; module.exports.bin = [ 0x02, // version = 2 0x01, // type = 1 0x00, 0x10, // length = 16 0x49, 0x96, 0x02, 0xd2, // xid = 1234567890 ...
John-Lin/oflib-node
test/oflib-1.1/messages/error-1.js
JavaScript
bsd-3-clause
891
import React from 'react'; import Title from 'react-title-component'; import {GridList, GridTile} from 'material-ui/GridList'; import IconButton from 'material-ui/IconButton'; import FontIcon from 'material-ui/FontIcon'; import MarkdownElement from '../../MarkdownElement'; import showcaseText from './showcase.md'; con...
pbogdan/react-flux-mui
react-flux-mui/js/material-ui/docs/src/app/components/pages/discover-more/Showcase.js
JavaScript
bsd-3-clause
3,984
/* eslint-disable-next-line max-len */ import { composeWithDevTools } from 'redux-devtools-extension/logOnlyInProduction'; import { createStore as reduxCreateStore, applyMiddleware } from 'redux'; import createSagaMiddleware from 'redux-saga'; import { createEpicMiddleware } from 'redux-observable'; import rootEpic f...
otavioarc/freeCodeCamp
client/src/redux/createStore.js
JavaScript
bsd-3-clause
1,321
import $ from 'dom7'; import Utils from '../../utils/utils'; import PullToRefresh from './pull-to-refresh-class'; import ConstructorMethods from '../../utils/constructor-methods'; export default { name: 'pullToRefresh', create() { const app = this; app.ptr = Utils.extend( ConstructorMethods({ ...
AdrianV/Framework7
src/core/components/pull-to-refresh/pull-to-refresh.js
JavaScript
mit
1,476
module.exports=['\u200C','\u200D']
marclundgren/mithril-fidm-app
node_modules/gulp-jscs/node_modules/jscs/node_modules/unicode-6.3.0/properties/Join_Control/symbols.js
JavaScript
mit
34
(function (angular, buildfire, location) { 'use strict'; //created placesSettingsServices module angular .module('placesSettingsServices', ['placesEnums']) .provider('Buildfire', [function () { this.$get = function () { return buildfire; }; }])...
jdm135/placesPlugin
control/settings/services.js
JavaScript
mit
5,545
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ ...
yaqiyang/autorest
src/generator/AutoRest.NodeJS.Azure.Tests/Expected/AcceptanceTests/AzureCompositeModelClient/azureCompositeModel.js
JavaScript
mit
23,121
import { UIElement } from './libs/ui.js'; function Resizer( editor ) { const signals = editor.signals; const dom = document.createElement( 'div' ); dom.id = 'resizer'; function onPointerDown( event ) { if ( event.isPrimary === false ) return; dom.ownerDocument.addEventListener( 'pointermove', onPointerMov...
looeee/three.js
editor/js/Resizer.js
JavaScript
mit
1,384
var parent = require('../../actual/typed-array/filter'); module.exports = parent;
zloirock/core-js
packages/core-js/features/typed-array/filter.js
JavaScript
mit
83
({"buttonSet":"Ustaw","insertTableTitle":"Wstaw tabelę","insertTableRowAfterLabel":"Dodaj wiersz po","center":"wyśrodkuj","deleteTableColumnLabel":"Usuń kolumnę","right":"do prawej","insertTableColumnBeforeLabel":"Dodaj kolumnę przed","tableWidth":"Szerokość tabeli:","buttonInsert":"Wstaw","default":"wartość domyślna",...
wl6179/O2O_SNS_Restaurant
scriptcokeshowcomcndojov110/dojox/editor/plugins/nls/pl/TableDialog.js
JavaScript
mit
850
define(['./module'], function (controllers) { 'use strict'; controllers.controller('AppCtrl', ['$scope', 'securityService', 'db', 'Role', '$state', function ($scope, securityService, db, Role, $state) { Role.count(function(err, count){ if(count === 0) { console.log("Lazy r...
manviny/angular-desktop-app
src/js/controllers/app.js
JavaScript
mit
1,406
module.exports = { target: "web", module: { loaders: [ { test: /\.json$/, loader: "json-loader" } ] } };
mishk0/webpack
test/configCases/target/web/webpack.config.js
JavaScript
mit
114
import {camelize} from 'utils'; export default function(attributeNames, record, additionalAttributes) { const result = camelize.deep(attributeNames.reduce((result, attributeName) => { if (typeof attributeName == 'object') { const key = Object.keys(attributeName)[0]; const value = attributeName[key]; ...
tf/pageflow-dependabot-test
node_package/src/collections/pickAttributes.js
JavaScript
mit
581
/*!@license * Infragistics.Web.ClientUI Tree localization resources 15.1.20151.1005 * * Copyright (c) 2011-2015 Infragistics Inc. * * http://www.infragistics.com/ * */ /*global jQuery */ (function ($) { $.ig = $.ig || {}; if (!$.ig.Tree) { $.ig.Tree = {}; $.extend($.ig.Tree, { locale: { ...
ajbeaven/personal-finance-sample
PersonalFinance/Scripts/ig/modules/i18n/infragistics.ui.tree-ru.js
JavaScript
mit
1,657
'use strict'; function factory(type, config, load, typed, math) { var Node = math.expression.node.Node; var OperatorNode = math.expression.node.OperatorNode; var FunctionNode = math.expression.node.FunctionNode; var ParenthesisNode = math.expression.node.ParenthesisNode; /** * resolve(expr, scope) replac...
romainmnr/chatboteseo
node_modules/mathjs/lib/function/algebra/simplify/resolve.js
JavaScript
mit
1,798
'use strict'; const common = require('../common'); const util = require('util'); const bench = common.createBenchmark(main, { n: [5e2], len: [1e2, 1e5], type: [ 'denseArray', 'sparseArray', 'mixedArray', 'denseArray_showHidden', ] }); function main({ n, len, type }) { let arr = Array(len); ...
enclose-io/compiler
lts/benchmark/util/inspect-array.js
JavaScript
mit
839
$('#mini-tabs a').click(function (e) { e.preventDefault(); $(this).tab('show'); }); $(function(){ //Iframe payment butom customization $('iframe').contents().find('button').css({'height': '40px', 'font-size': '19px', ...
kuul-dev/Kuul-Dev-Booking
themes/default/js/minimal.js
JavaScript
gpl-2.0
582
/* http://keith-wood.name/svg.html SVG for jQuery v1.0.0. Written by Keith Wood (kbwood@iprimus.com.au) August 2007. Under the Creative Commons Licence http://creativecommons.org/licenses/by/3.0/ Share or Remix it but please Attribute the author. */ var svgManager = null; (function($) { // Hide sc...
mupi/readinweb
impl/src/main/resources/english/exercises/js/jquery.svg.js
JavaScript
gpl-2.0
43,381
// Copyright (c) 2016, Frappe Technologies Pvt. Ltd. and contributors // For license information, please see license.txt /* eslint-disable */ frappe.query_reports["Purchase Analytics"] = { "filters": [ { fieldname: "tree_type", label: __("Tree Type"), fieldtype: "Select", options: ["Supplier Group","Sup...
mhbu50/erpnext
erpnext/buying/report/purchase_analytics/purchase_analytics.js
JavaScript
gpl-3.0
3,440
/* -*- 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...
tmhorne/celtx
js/tests/js1_5/Regress/regress-341360.js
JavaScript
mpl-2.0
2,809
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * ***** 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 Li...
tmhorne/celtx
js/tests/e4x/Namespace/13.2.5.js
JavaScript
mpl-2.0
2,403
// script.aculo.us effects.js v1.7.1_beta2, Tue May 15 15:15:45 EDT 2007 // Copyright (c) 2005-2007 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us) // Contributors: // Justin Palmer (http://encytemedia.com/) // Mark Pilgrim (http://diveintomark.org/) // Martin Bialasinki // // script.aculo.us is freely ...
Yukarumya/Yukarum-Redfoxes
dom/tests/mochitest/ajax/scriptaculous/src/effects.js
JavaScript
mpl-2.0
38,213
/* lang-it.js Italian translation for SNAP! written by Jens Mönig Copyright (C) 2012 by Jens Mönig This file is part of Snap!. Snap! 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 ver...
clintonblackmore/enchanting2
web/lang-it.js
JavaScript
agpl-3.0
30,556
// Generated by CoffeeScript 1.6.1 (function() { var StudentNotes, _this = this; StudentNotes = (function() { StudentNotes.prototype._debug = false; StudentNotes.prototype.targets = []; function StudentNotes($, el) { var events, _this = this; this.onInitNotes = function(event...
TheMOOCAgency/edx-platform
lms/static_sav/coffee/src/notes.js
JavaScript
agpl-3.0
4,339
(function($,window,undefined){ $.fn.spin = function(doSpin) { if(doSpin){ this.height(this.outerHeight()); this.width(this.outerWidth()); this.data('spinner-content-was', this.contents()); spinWhite = this.hasClass('btn') && !this.hasClass('spin-black'); this.html('<div class="spin...
clochix/cozy-home
client/vendor/scripts/spinner.js
JavaScript
agpl-3.0
586
'use strict'; var uglify = require('gulp-uglify'); var plumber = require('gulp-plumber'); var rename = require('gulp-rename'); var notify = require('gulp-notify'); var connect = require('gulp-connect'); var config = require('../gulp.config.js'); module.exports = function(gulp) { gulp.task('minify-app', ['bundle-app'...
beni55/spigo
ui/.gulp-tasks/minify-app.js
JavaScript
apache-2.0
750
var spyOnBackbone = require('./helpers/spyOnBackbone'); var _ = require('underscore'); var $ = require('jquery'); var FormModel = require('../../modules/FormModel'); var FormView = require('../../modules/FormView'); describe('A Form Model\'s Validation of nested attributes', function() { describe('during multifield...
Earthstar/backbone-torso
test/karma/formModelNestedValidationSpec.js
JavaScript
apache-2.0
12,101
/* -------------------------------------------------------------------------- */ /* Copyright 2002-2016, OpenNebula Project, OpenNebula Systems */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); you may ...
hsanjuan/one
src/sunstone/public/app/tabs/vms-tab/dialogs/spice/dialogId.js
JavaScript
apache-2.0
1,273
// Copyright 2015 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
rf232/dashboard
src/test/frontend/error/internalerror_controller_test.js
JavaScript
apache-2.0
2,687
var sinon = require("sinon"); describe("twig.functions.random", function () { before(function () { sinon.stub(Math, "random").returns(0.4); }); after(function () { Math.random.restore(); }); it("chooses an element from an array", function () { twig.functions.random(null, ["a", "b", "c"]).should...
schmittjoh/twig.js
tests-js/twig/function/random.js
JavaScript
apache-2.0
725
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ma...
cripure/openpne3
plugins/opOpenSocialPlugin/lib/vendor/Shindig/features/i18n/data/NumberFormatConstants__uz.js
JavaScript
apache-2.0
1,450
/** * @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 */ export default [ [ ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], ...
rospilot/rospilot
share/web_assets/nodejs_deps/node_modules/@angular/common/locales/extra/en-TZ.js
JavaScript
apache-2.0
678
define(function(require) { //var $ = require("jquery"); var Model = function() { this.callParent(); }; Model.prototype.model1Load = function(event) { }; return Model; });
chongtianfeiyu/WeX5
UI2/system/components/justep/dataTables/demo/dataTables.js
JavaScript
apache-2.0
185
import acornClassFields from 'acorn-class-fields'; import builtins from "builtin-modules"; import json from "rollup-plugin-json"; import cleanup from 'rollup-plugin-cleanup'; import executable from 'rollup-plugin-executable'; import commonjs from 'rollup-plugin-commonjs'; import resolve from '@rollup/plugin-node-resolv...
Kronos-Integration/kronos-step-archive-tar
rollup.config.js
JavaScript
bsd-2-clause
469
/* YUI 3.6.0 (build 5521) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add("lang/datatype-date-format_es-PE",function(a){a.Intl.add("datatype-date-format","es-PE",{"a":["dom","lun","mar","mié","jue","vie","sáb"],"A":["domingo","lunes","martes","mi...
bretkikehara/wattdepot-visualization
src/main/webapp/yui/3.6.0/build/datatype-date-format/lang/datatype-date-format_es-PE.js
JavaScript
bsd-3-clause
677
'use strict'; const common = require('../../common'); const path = require('path'); const { Worker } = require('worker_threads'); const binding = path.resolve(__dirname, `./build/${common.buildType}/binding`); const w = new Worker(`require(${JSON.stringify(binding)})`, { eval: true }); w.on('exit', common.mustCall(() ...
enclose-io/compiler
current/test/node-api/test_async_cleanup_hook/test.js
JavaScript
mit
343
/** * Bonus Manager * * @param {Game} game */ function BonusManager(game, bonuses, rate) { BaseBonusManager.call(this, game); this.world = new World(this.game.size, 1); this.popingTimeout = null; this.bonusTypes = bonuses; this.bonusPopingTime = this.bonusPopingTime - ((this.bo...
Curvytron/curvytron
src/server/manager/BonusManager.js
JavaScript
mit
4,403
/* */ var $export = require('./_export'); $export($export.S, 'Reflect', {has: function has(target, propertyKey) { return propertyKey in target; }});
alexandre-spieser/AureliaAspNetCoreAuth
src/AureliaAspNetCoreAuth/wwwroot/jspm_packages/npm/core-js@2.1.0/modules/es6.reflect.has.js
JavaScript
mit
156
var equalSorted = function(a, b) { if (a.length !== b.length) { return false; } for (var i = 0, length = a.length; i < length; i++) { if (a[i] !== b[i]) { return false; } } return true; }; var diffSorted = function(a, b) { var added = []; var removed = []; var i = 0; var j = 0; ...
karma-runner/karma-closure
lib/utils.js
JavaScript
mit
828
'use strict'; var util = require('../util/index'), Unit = require('./Unit'), number = util.number, isNumber = util.number.isNumber, isUnit = Unit.isUnit, isString = util.string.isString; /** * @constructor Complex * * A complex value can be constructed in the following ways: * var a = new...
MonoHearted/Flowerbless
node_modules/mathjs/lib/type/Complex.js
JavaScript
mit
10,898
$(function(){ // on dom ready var cy = cytoscape({ container: document.getElementById('cy'), boxSelectionEnabled: false, autounselectify: true, elements: { nodes: [ { data: { id: 'n', label: 'Tap me' } } ] }, layout: { name: 'grid', padding: 100 }, ready: function()...
soomin-maeng/cytoscape.js
documentation/demos/546dd8ca4872cc87106a/code.js
JavaScript
mit
689
/* * In X <op>= Y the LHS value should be evaluated first, before evaluating * the RHS. Duktape 1.5.x and before evaluates RHS first, which matters in * some chained <op>= statements. * * See: https://github.com/svaarala/duktape/pull/987#issuecomment-251432738. */ /*=== Write x: 10 TEST Read x: 10 Read x: 1...
harold-b/duktape
tests/ecmascript/test-bug-op-assign-eval-order.js
JavaScript
mit
664
var util = require('util'); var memcache = require('./lib/memcache'); function microtime(get_as_float) { var now = new Date().getTime() / 1000; var s = parseInt(now); return (get_as_float) ? now : (Math.round((now - s) * 1000) / 1000) + ' ' + s; } var onConnect = function() { mcClient.get('tes...
wizawu/meeci
web/node_modules/memcache/example.js
JavaScript
mit
1,386
function init(callback) { // http://stackoverflow.com/questions/19491336/get-url-parameter-jquery var getUrlParameter = function(sParam) { var sPageURL = window.location.search.substring(1); var sURLVariables = sPageURL.split('&'); for (var i = 0; i < sURLVariables.length; i++) { var sParameterNa...
indrimuska/angular-form-for
examples/init-test.js
JavaScript
mit
3,504
require("should"); const fs = require('fs-extra'); const path = require('path'); const zlib = require('zlib'); const proxyquire = require('proxyquire').noPreserveCache(); const moveAndMaybeCompressFile = require('../lib/moveAndMaybeCompressFile'); const TEST_DIR = path.normalize(`/tmp/moveAndMaybeCompressFile_${Math.f...
nomiddlename/streamroller
test/moveAndMaybeCompressFile-test.js
JavaScript
mit
4,295
/** * Vidom * @author Filatov Dmitry <dfilatov@inbox.ru> * @version 0.10.7 */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : (factory((global.vidom = {}))); }(this, (functi...
jonobr1/cdnjs
ajax/libs/vidom/0.10.7/vidom.js
JavaScript
mit
88,720
var testCafeLegacyRunner = window.getTestCafeModule('testCafeLegacyRunner'); var ERROR_TYPE = testCafeLegacyRunner.get('../test-run-error/type'); var AssertionsAPI = testCafeLegacyRunner.get('./api/assertions'); var SETTINGS = testCafeLegacyRunner.get('./settings').get(); var currentError...
georgiy-abbasov/testcafe-phoenix
test/client/legacy-fixtures/api/assertions-test.js
JavaScript
mit
11,558
var semver = require('semver'), f = require('util').format, files = { common: [ 'src/common/utils.js' ], bloodhound: [ 'src/bloodhound/version.js', 'src/bloodhound/tokenizers.js', 'src/bloodhound/lru_cache.js', 'src/bloodhound/persistent_storage.js', 'src/bl...
neekgreen/daxko-kafka-webapp
src/WebApp/wwwroot/lib/corejs-typeahead/Gruntfile.js
JavaScript
mit
8,828
$(window).on('load', function() { var documentSettings = {}; var markerColors = []; var polygonSettings = []; var polygonSheets = 1; var currentPolygonSheet = 0; var polygonsLegend; var completePoints = false; var completePolygons = false; var completePolylines = false; /** * Returns an Awesom...
bstore/googlesheet_ba
scripts/map.js
JavaScript
mit
27,809
import { RenderingTestCase, moduleFor, runTask } from 'internal-test-helpers'; import { set } from '@ember/-internals/metal'; moduleFor( 'Input element tests', class extends RenderingTestCase { runAttributeTest(attributeName, values) { let template = `<input ${attributeName}={{this.value}}>`; this...
sly7-7/ember.js
packages/@ember/-internals/glimmer/tests/integration/input-test.js
JavaScript
mit
8,468
/* Axis Labels Plugin for flot. :P http://github.com/markrcote/flot-axislabels Released under the GPLv3 license by Xuan Luo, September 2010. Improvements by Mark Cote. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by t...
dpjanes/SyMPHOnY
webapps/cometVISU/plugins/diagram/flot/jquery.flot.axislabels.js
JavaScript
epl-1.0
16,811
const Applet = imports.ui.applet; const Gio = imports.gi.Gio; const Lang = imports.lang; const St = imports.gi.St; const Tooltips = imports.ui.tooltips; const PopupMenu = imports.ui.popupMenu; const GnomeSession = imports.misc.gnomeSession; const INHIBIT_IDLE_FLAG = 8; /* idle inhibit only */ function InhibitSwitch(a...
mattthur/Cinnamon
files/usr/share/cinnamon/applets/inhibit@cinnamon.org/applet.js
JavaScript
gpl-2.0
6,122
// Copyright (c) 2014,2015 Walter Bender // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 3 of the License, or // (at your option) any later version. // // You should have re...
Amitjha1412/turtleblocksjs
js/protoblocks.js
JavaScript
gpl-3.0
28,316
YUI.add('gallery-lightbox', function(Y) { /** * Inspired by the original Lightbox, this is a port to YUI. * See Lokesh Dhakar's original at http://www.huddletogether.com/projects/lightbox2/. * Currently supports everything that module supports with plans to integrate * additional functionality (i.e. non-image...
dpogue/thss-moodle
lib/yui/gallery/gallery-lightbox/2010.04.08-12-35/gallery-lightbox.js
JavaScript
gpl-3.0
21,606