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 NWM = function() { // Known layouts this.layouts = { tile: tile, wide: wide, grid: grid }; // monitors this.monitors = [ ]; this.windows = { }; // counter this.counter = 1; }; NWM.prototype.addMonitor = function (monitor) { this.monitors.push(new Monitor(this, monitor)); }; NWM.proto...
ellis/nwm
test/nwm.js
JavaScript
mit
1,458
define({ "queries": "Truy vấn", "addNew": "Thêm Mới", "newQuery": "Truy vấn Mới", "queryLayer": "Lớp Truy vấn", "setSource": "Thiết lập", "setDataSource": "Thiết lập Nguồn Dữ liệu", "name": "Tên", "querySource": "Nguồn dữ liệu", "queryName": "Tên tác vụ", "queryDefinition": "Định nghĩa Bộ lọc", ...
cmccullough2/cmv-wab-widgets
wab/2.3/widgets/Query/setting/nls/vi/strings.js
JavaScript
mit
6,905
var gulp = require('gulp'); var inquirer = require('inquirer'); var fs = require('fs'); var getDirectories = require('../util/getDirectories'); var config = require('../config'); gulp.task('set-user-choices', function(done) { var prompts = [{ type: 'confirm', name: 'packageToJ...
BostonGlobe/schoolbuses
gulp/tasks/setUserChoices.js
JavaScript
mit
1,237
define([ 'extensions/views/view' ], function (View) { var TabView = View.extend({ initialize: function () { View.prototype.initialize.apply(this, arguments); this.listenTo(this.model, 'change:activeIndex', this.setActiveTab, this); }, events: { 'click nav a': 'onTabClick' }, ...
alphagov/spotlight
app/client/views/visualisations/tab.js
JavaScript
mit
968
StartTest(function(t) { t.getHarness([ 'testfiles/601_siesta_ui_failing.t.js' ]); t.diag('Verify no layouts occur due to assertion added to its store'); var before = 0; var getLayoutCount = function () { var count = 0 Ext.each(Ext.ComponentQuery.query('...
arthurakay/AppInspector
app/test/siesta-2.0.5-lite/tests/siesta_ui/605_siesta_ui_nbr_layouts.t.js
JavaScript
mit
1,298
'use strict'; angular.module('copayApp.controllers').controller('preferencesBwsUrlController', function($scope, configService, isMobile, isCordova, go, applicationService ) { this.isSafari = isMobile.Safari(); this.isCordova = isCordova; this.error = null; this.success = null; var config = conf...
xhad/burse
src/js/controllers/preferencesBwsUrl.js
JavaScript
mit
703
import {Aurelia} from 'aurelia-framework'; import * as LogManager from 'aurelia-logging'; let logger = LogManager.getLogger('aurelia-kendoui-plugin'); import {KendoConfigBuilder} from './config-builder'; import 'jquery'; export function configure(aurelia: Aurelia, configCallback?: (builder: KendoConfigBuilder) => void...
smccrea/aurelia-kendoui-plugin
src/index.js
JavaScript
mit
841
import forEach from '../util/forEach' class JSONConverter { importDocument(doc, json) { if (!json.nodes) { throw new Error('Invalid JSON format.') } var schema = doc.getSchema() if (json.schema && schema.name !== json.schema.name) { throw new Error('Incompatible schema.') } // th...
andene/substance
model/JSONConverter.js
JavaScript
mit
1,103
/* * angular-ui-bootstrap * http://angular-ui.github.io/bootstrap/ * Version: 0.13.3 - 2015-08-09 * License: MIT */ angular.module("ui.bootstrap", ["ui.bootstrap.tabs","ui.bootstrap.buttons","ui.bootstrap.dropdown","ui.bootstrap.position","ui.bootstrap.modal","ui.bootstrap.tooltip","ui.bootstrap.bindHtml","ui.boo...
rawrsome/leaddyno_recurly_example
public/ui-bootstrap-custom-build/ui-bootstrap-custom-0.13.3.js
JavaScript
mit
72,502
importScripts('/node_modules/chai/chai.js') importScripts('/node_modules/mocha/mocha.js') mocha.setup('tdd') self.assert = chai.assert importScripts('/node_modules/promise-polyfill/promise.js') importScripts('/test/test.js') importScripts('/fetch.js') function title(test) { return test.fullTitle().replace(/#/g, ''...
benestudio/fetch
test/worker.js
JavaScript
mit
846
/*! jQuery UI - v1.9.2 - 2016-12-18 * http://jqueryui.com * Copyright jQuery Foundation and other contributors; Licensed MIT */ jQuery(function(t){t.datepicker.regional.bs={closeText:"Zatvori",prevText:"<",nextText:">",currentText:"Danas",monthNames:["Januar","Februar","Mart","April","Maj","Juni","Juli","Aug...
brakmic/Angular_VRDemo
src/vendor/jquery-ui/development-bundle/ui/minified/i18n/jquery.ui.datepicker-bs.min.js
JavaScript
mit
799
/** * jQuery Accessible combobox v0.1.0 * https://github.com/choi4450/jquery.accessiblecombobox * * Copyright 2015 Gyumin Choi Foundation and other contributors * Released under the MIT license * https://github.com/choi4450/jquery.accessiblecombobox/blob/master/LICENSE.txt */ (function($) { $.fn.accessibleCom...
choi4450/combobAx
dist/jquery.accessiblecombobox-0.1.0.js
JavaScript
mit
8,150
export { default } from 'ember-paper/components/paper-autocomplete/eps-trigger/component';
bjornharrtell/ember-paper
app/components/paper-autocomplete/eps-trigger.js
JavaScript
mit
91
/** * ReturnTrue */ var returnTrue = function() { return true; };
apiaryio/Amanda
src/utils/returnTrue.js
JavaScript
mit
69
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.autobahn = f()...
Dynalon/autobahn-js
test/detectenvironment/autobahn.js
JavaScript
mit
441,739
import React from 'react'; import { dummyDate } from '../../../.storybook/helpers'; import { BuildEnvironmentSection } from './BuildEnvironmentSection'; export default { title: 'admin/info/BuildEnvironmentSection', component: BuildEnvironmentSection, decorators: [ (fn) => <div className='rc-old'>{fn()}</div>, ]...
Sing-Li/Rocket.Chat
client/admin/info/BuildEnvironmentSection.stories.js
JavaScript
mit
599
'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "ноль", ONE: "один", TWO: "два", FEW: "несколько", MANY: "много", OTHER: "другие"}; function getDecimals(n) { n = n + ''; var i = n.indexOf('.'); return (i == -1) ? 0 : n.length - i - 1; } function getVF(n...
dwalin93/OSeM-Projekt
dist/translations/angular/angular-locale_ru.js
JavaScript
mit
3,049
var _ = require('../util.js'); function simpleDiff(now, old){ var nlen = now.length; var olen = old.length; if(nlen !== olen){ return true; } for(var i = 0; i < nlen ; i++){ if(now[i] !== old[i]) return true; } return false } function equals(a,b){ return a === b; } // array1 - old array // ...
zyy7259/regular-strap
third/regular/src/helper/diff.js
JavaScript
mit
3,523
!((document, $) => { 'use strict'; var keys = { ARROWS: [37, 38, 39, 40], ARROW_LEFT: 37, ARROW_UP: 38, ARROW_RIGHT: 39, ARROW_DOWN: 40, ENTER: 13, SPACE: 32, PAGE_UP: 33, PAGE_DOWN: 34 }; /** @param {Object} startTab - The tab to start searching from. @param {Objec...
cehfisher/a11y-style-guide
src/global/js/tabs.js
JavaScript
mit
4,138
var page=new WebPage,system=require("system"),slideWidth=system.args[3]?system.args[3].split("x")[0]:960,slideHeight=system.args[3]?system.args[3].split("x")[1]:700;page.viewportSize={width:slideWidth,height:slideHeight};page.paperSize={width:Math.round(2*slideWidth),height:Math.round(2*slideHeight),border:0};var input...
fvizeus/fvizeus.github.io
plugin/print-pdf/print-pdf.js
JavaScript
mit
700
export function isOffline( state ) { return ( state.application.connectionState === 'OFFLINE' ) } export function isOnline( state ) { return ( state.application.connectionState === 'ONLINE' ) }
Kimsangcheon/wp-calypso
client/state/application/selectors.js
JavaScript
gpl-2.0
199
(function ($, document, window) { function reloadList(page) { ApiClient.getScheduledTasks({ isHidden: false }).done(function (tasks) { populateList(page, tasks); Dashboard.hideLoadingMsg(); }); } function populateList(page, tasks) { tasks = tasks.sort(fu...
hamstercat/Emby
MediaBrowser.WebDashboard/dashboard-ui/scripts/scheduledtaskspage.js
JavaScript
gpl-2.0
7,041
export { EncounterArmor } from './encounter_armor.js'; export { EncounterCoins } from './encounter_coins.js'; export { EncounterItem } from './encounter_item.js'; export { EncounterMagicItem } from './encounter_magic_item.js'; export { EncounterWeapon } from './encounter_weapon.js'; export { EnvironmentSection } f...
charactersheet/charactersheet
src/charactersheet/models/dm/encounter_sections/index.js
JavaScript
gpl-2.0
1,069
// we create the global game object, an instance of Phaser.Game var game = new Phaser.Game(800, 500, Phaser.AUTO, 'world',null,true,true,null); // the first parameter is the key you use to jump between stated // the key must be unique within the state manager // the second parameter is the object that contains the ...
Techbot/JiGS-PHP-RPG-engine
legacy/components/com_battle/views/plate/tmpl/026a_bonsanto/script.js
JavaScript
gpl-2.0
584
FD50.plugin("bootstrap3", function($) { var jQuery = $; /*! * Bootstrap v3.0.3 (http://getbootstrap.com) * Copyright 2015 Twitter, Inc. * Licensed under http://www.apache.org/licenses/LICENSE-2.0 */ if (window["Foundry5/Bootstrap"]) { throw new Error("An instance of Bootstrap has been initialized before this.") }...
BetterBetterBetter/B3App
media/foundry/5.0/scripts/bootstrap3.js
JavaScript
gpl-2.0
62,727
/* Switch-spec.js * * copyright (c) 2010-2022, 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 ...
ChristianMayer/CometVisu
source/test/karma/ui/structure/pure/Switch-spec.js
JavaScript
gpl-3.0
3,171
var classgr__base__error__handler = [ [ "gr_base_error_handler", "classgr__base__error__handler.html#ad4b18ebae96256e537650772dd3cb1f6", null ], [ "count_error", "classgr__base__error__handler.html#a840a56a5d19b2269ea9328ba54bd4236", null ], [ "nerrors", "classgr__base__error__handler.html#a828a9e2ea41d6e6a...
aviralchandra/Sandhi
build/gr36/docs/doxygen/html/classgr__base__error__handler.js
JavaScript
gpl-3.0
549
/*! * Bootstrap v3.3.6 (http://getbootstrap.com) * Copyright 2011-2015 Twitter, Inc. * Licensed under the MIT license */ if (typeof jQuery === 'undefined') { throw new Error('Bootstrap\'s JavaScript requires jQuery') } +function ($) { 'use strict'; var version = $.fn.jquery.split(' ')[0].split('.') ...
shazic/FirstWordPress
wp-content/themes/evolve/library/media/js/bootstrap/js/bootstrap.js
JavaScript
gpl-3.0
78,255
const NUMBER_OF_CLOUDS = 30; // clouds to show on screen const NUMBER_OF_IMAGES = 13; // images + 1 function init() { var container = document.getElementById("fogContainer"); for (var i = 0; i < NUMBER_OF_CLOUDS; i++) { container.appendChild(createACloud())} } function randomInteger(low, high) { return lo...
eweiman/HTC-Animated-Weather-iPhone
com.ludacrisvp.htcweather6Plus.iwidget/var/mobile/Library/iWidgets/HTC Weather iPhone 6 Plus/Private/Animations/Haze_night/Private/includes/fog.js
JavaScript
gpl-3.0
1,500
/** * GaiaEHR (Electronic Health Records) * Copyright (C) 2012 Ernesto Rodriguez * * 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) a...
chithubco/doctorapp
app/model/administration/LabObservations.js
JavaScript
gpl-3.0
1,649
angular.module("app").controller("DeleteRequiredSignoffsCtrl", function ($scope, $modalInstance, $q, CSRF, ProductRequiredSignoffs, PermissionsRequiredSignoffs, required_signoffs, mode, product, channel, current_user) { $scope.saving = false; $scope.errors = {}; $scope.required_signoffs = required_sign...
testbhearsum/balrog
ui/app/js/controllers/required_signoffs_delete.js
JavaScript
mpl-2.0
5,585
//call this to add a warning icon to a graph and log an error to the console function error(args) { console.log('ERROR : ', args.target, ' : ', args.error); d3.select(args.target).select('.mg-chart-title') .append('i') .attr('class', 'fa fa-x fa-exclamation-circle warning'); }
HDAT/hdat-statstest
src/js/misc/error.js
JavaScript
mpl-2.0
307
describe('EncounterService tests', function() { var encounterService; var q; var deferred; beforeEach(module('encounterService')); // create mock Encounter resource var mockEncounter = jasmine.createSpyObj('Encounter', ['query']); mockEncounter.query.andCallFake(function() { defe...
yadamz/first-module
omod/src/test/webapp/resources/scripts/services/encounterServiceTest.js
JavaScript
mpl-2.0
942
load(libdir + "parallelarray-helpers.js"); // The bug this is testing for: // the input p and the scatter vector have length 4 // and the output p2 has length 3. Even though p2 // is shorter than the input lengths, we still need // to scan the entirety of the scatter vector, because // it may hold valid targets at di...
SlateScience/MozillaJS
js/src/jit-test/tests/parallelarray/scatter-regression-1.js
JavaScript
mpl-2.0
592
/* 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/. */ // Keep track of events tied to both email and IP addresses module.exports = function (RATE_LIMIT_INTERVAL_MS, MAX...
ofer43211/fxa-customs-server
ip_email_record.js
JavaScript
mpl-2.0
2,820
// Copyright (C) 2016 Jordan Harband. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- description: Object.getOwnPropertyDescriptors does not see inherited properties. esid: pending author: Jordan Harband ---*/ var F = function () {}; F.prototype.a = {}; F.prototype.b ...
cstipkovic/spidermonkey-research
js/src/tests/test262/built-ins/Object/getOwnPropertyDescriptors/inherited-properties-omitted.js
JavaScript
mpl-2.0
1,334
'use strict'; var minilog = require('minilog') , log = minilog('traverson') , abortTraversal = require('./abort_traversal') , applyTransforms = require('./transforms/apply_transforms') , httpRequests = require('./http_requests') , isContinuation = require('./is_continuation') , walker = require('./walker')...
cgi-eoss/fstep
fs-tep-portal/src/main/resources/app/scripts/vendor/traverson/lib/actions.js
JavaScript
agpl-3.0
3,942
/// Copyright (c) 2009 Microsoft Corporation /// /// Redistribution and use in source and binary forms, with or without modification, are permitted provided /// that the following conditions are met: /// * Redistributions of source code must retain the above copyright notice, this list of conditions and /// ...
hnafar/IronJS
Src/Tests/ietestcenter/chapter15/15.2/15.2.3/15.2.3.5/15.2.3.5-4-170.js
JavaScript
apache-2.0
2,234
/* * Copyright 2016 IBM Corp. * * 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 i...
EclairJS/eclairjs-node
lib/ml/Transformer.js
JavaScript
apache-2.0
2,461
/******************************************************************************* * Copyright 2015 IBM Corp. * * 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/li...
kgriesh/appmetrics
probes/socketio-probe.js
JavaScript
apache-2.0
5,878
// Copyright (C) Copyright 2015 the V8 project authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- es6id: 25.2.1.1 description: Assignment of function `name` attribute info: > [...] 3. Return CreateDynamicFunction(C, NewTarget, "generator", args). ES6...
m0ppers/arangodb
3rdParty/V8/V8-5.0.71.39/test/test262/data/test/built-ins/GeneratorFunction/instance-name.js
JavaScript
apache-2.0
794
var C = (function () { function C() { } C.prototype.x = function () { return 1; }; return C; })(); var D = (function () { function D() { } D.prototype.x = function (v) { }; return D; })();
popravich/typescript
tests/baselines/reference/propertyAndFunctionWithSameName.js
JavaScript
apache-2.0
254
#!/usr/bin/env node_modules/mocha/bin/mocha /* jshint node:true */ /* global describe */ /** * ares.spec.js -- ARES server test suite */ var path = require("path"), fs = require("graceful-fs"), npmlog = require('npmlog'), temp = require("temp"), mkdirp = require("mkdirp"), rimraf = require("rimraf...
recurve/ares-ecosystem
test/server/ares.spec.js
JavaScript
apache-2.0
2,853
var twintyfour=true, $inputbox=$('.timepicker'); var setTimearea=function(meridian){ var $div=$('<div/>'), $input=$('<input type="text"/>'); var lists=['hour', 'min', 'sec']; $div.clone().addClass('timepicker_wrap').insertAfter($inputbox); for(var i=0; i< lists.length; i++){ $div.clone().addCla...
sunitha-ramesh/CodeDeployGitHubDemo
codedeploydemopro/scripts/pickerjs.js
JavaScript
apache-2.0
5,874
/** * @license * Copyright 2019 The FOAM Authors. All Rights Reserved. * http://www.apache.org/licenses/LICENSE-2.0 */ foam.CLASS({ package: 'foam.u2', name: 'Dialog', extends: 'foam.u2.Element', documentation: `This class is a basic dialog container: it has a heading, a body, and a set of actions. Ge...
jacksonic/vjlofvhjfgm
src/foam/u2/Dialog.js
JavaScript
apache-2.0
2,464
// Copyright 2011 Traceur Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed ...
rwaldron/traceur-todomvc
test/unit/syntax/parser.js
JavaScript
apache-2.0
1,265
/*! * gulp-csscomb | https://github.com/koistya/gulp-csscomb * Copyright (c) Konstantin Tarkus (@koistya). See LICENSE.txt */ 'use strict'; var Comb = require('csscomb'); var fs = require('fs'); var gutil = require('gulp-util'); var path = require('path'); var through = require('through2'); var PluginError = gutil...
athena-github/athena-github.github.io
xiangmuu--weizhan/node_modules/.3.0.8@gulp-csscomb/index.js
JavaScript
apache-2.0
2,726
//// [emitSuperCallBeforeEmitParameterPropertyDeclaration1.ts] class A { blub = 6; } class B extends A { constructor(public x: number) { "use strict"; 'someStringForEgngInject'; super() } } //// [emitSuperCallBeforeEmitParameterPropertyDeclaration1.js] var __extends = (this &...
jeremyepling/TypeScript
tests/baselines/reference/emitSuperCallBeforeEmitParameterPropertyDeclaration1.js
JavaScript
apache-2.0
917
/*! * Copyright 2014 Apereo Foundation (AF) Licensed under the * Educational Community 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://opensource.org/licenses/ECL-2.0 * * Unless required by applicab...
nicolaasmatthijs/Hilary
node_modules/oae-authentication/lib/strategies/google/rest.js
JavaScript
apache-2.0
2,999
'use strict'; const fs = require('fs'); const path = require('path'); const async = require('async'); const spawn = require('child_process').spawn; const clc = require('cli-color'); const allFailed = clc.red.bold; const allPassed = clc.green; const failed = clc.yellow; const passed = (t) => t; const files = fs.read...
cloudfoundry/nodejs-buildpack
fixtures/with_appdynamics/node_modules/async-hook-jl/test/runner.js
JavaScript
apache-2.0
1,239
//// [staticAsIdentifier.ts] class C1 { static static [x: string]: string; } class C2 { static static m() {} } class C3 { static static p: string; } class C4 { static static foo() {} } //// [staticAsIdentifier.js] var C1 = /** @class */ (function () { function C1() { } re...
kitsonk/TypeScript
tests/baselines/reference/staticAsIdentifier.js
JavaScript
apache-2.0
677
// Copyright 2015, EMC, Inc. 'use strict'; var di = require('di'), util = require('util'); module.exports = apcObmServiceFactory; di.annotate(apcObmServiceFactory, new di.Provide('apc-obm-service')); di.annotate(apcObmServiceFactory, new di.Inject('Promise', 'OBM.base', '_') ); function apcObmServiceFactor...
AlaricChan/on-tasks
lib/services/apc-obm-service.js
JavaScript
apache-2.0
2,121
// Generated by CoffeeScript 1.3.3 (function() { var InstagramMedia; InstagramMedia = (function() { function InstagramMedia(parent) { this.parent = parent; } /* Basic Media */ InstagramMedia.prototype.popular = function(params) { var credentials; credentials = this.p...
Rmalnoult/pearlstagram-nodejs
node_modules/instagram-node-lib/lib/class.instagram.media.js
JavaScript
apache-2.0
3,838
/** * @license * Copyright 2018 The FOAM Authors. All Rights Reserved. * http://www.apache.org/licenses/LICENSE-2.0 */ foam.CLASS({ package: 'foam.nanos.auth.twofactor', name: 'AbstractTOTPAuthService', extends: 'foam.nanos.auth.twofactor.AbstractOTPAuthService', abstract: true, documentation: 'Abstract...
jacksonic/vjlofvhjfgm
src/foam/nanos/auth/twofactor/AbstractTOTPAuthService.js
JavaScript
apache-2.0
1,063
/* * Copyright (c) 2014 Juniper Networks, Inc. All rights reserved. */ define([ 'underscore', 'knockout', "protocol", 'query-form-model', 'core-basedir/reports/qe/ui/js/common/qe.model.config' ], function (_, Knockout, protocolUtils, QueryFormModel, qeModelConfig) { var SearchFlowFormModel = ...
vishnuvv/contrail-web-controller
webroot/monitor/infrastructure/underlay/ui/js/models/SearchFlowFormModel.js
JavaScript
apache-2.0
4,508
(function() { 'use strict'; angular.module('newplayer.service', []); })();
thenewgroup/elx-newplayer
app/scripts/service/service.module.js
JavaScript
apache-2.0
80
define([ '../Core/Cartesian3', '../Core/defined', '../Core/Intersect', '../Core/ManagedArray', '../Core/Math', './Cesium3DTileOptimizationHint', './Cesium3DTileRefine' ], function( Cartesian3, defined, Intersect, ManagedArray, ...
geoscan/cesium
Source/Scene/Cesium3DTilesetTraversal.js
JavaScript
apache-2.0
28,819
var Main = function(){ this.domain = ''; this.pname = '免费版'; this.days = []; this.months = []; this.flowDayData = []; this.cacheDayData = []; this.flowMontyData = []; this.cacheMonthData = []; this.getInfo = function() { var that = this; $.ajax({ url : '/api/?c=record&a=getDomainInfo', dataType : 'js...
zdchao/php_demo
wwwroot/wwwroot/user/view/new0807/record/cdnflow.js
JavaScript
apache-2.0
5,652
/** * Copyright 2016 The AMP HTML Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
Adtoma/amphtml
extensions/amp-a4a/0.1/amp-a4a.js
JavaScript
apache-2.0
54,093
/* * Copyright 2012 Amadeus s.a.s. * 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 i...
mlaval/ariatemplates
test/aria/html/HTMLTestSuite.js
JavaScript
apache-2.0
2,019
// Copyright 2008 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
teppeis/closure-library
closure/goog/ui/dimensionpickerrenderer.js
JavaScript
apache-2.0
14,821
goog.provide('ol.test.format.WFS'); describe('ol.format.WFS', function() { describe('when parsing TOPP states GML from WFS', function() { var features, feature, xml; var config = { 'featureNS': 'http://www.openplans.org/topp', 'featureType': 'states' }; before(function(done) { pr...
NOAA-ORR-ERD/ol3
test/spec/ol/format/wfsformat.test.js
JavaScript
bsd-2-clause
18,764
var http = require('http'); // check against public file to see if this is the current version of Mapbox Studio Classic module.exports = function (opts, callback) { var update = false; http.request({ host: opts.host, port: opts.port || 80, path: opts.path, method: 'GET' }, f...
mapbox/mapbox-studio
lib/version-check.js
JavaScript
bsd-3-clause
862
var analytics = require('analytics') var d3 = require('d3') var hogan = require('hogan.js') var log = require('./client/log')('help-me-choose') var modal = require('./client/modal') var RouteModal = require('route-modal') var routeResource = require('route-resource') var routeSummarySegments = require('route-summary-se...
miraculixx/modeify
client/help-me-choose-view/index.js
JavaScript
bsd-3-clause
7,412
goog.provide('goog.testing.PseudoRandom'); goog.require('goog.Disposable'); goog.testing.PseudoRandom = function(opt_seed, opt_install) { goog.Disposable.call(this); this.seed_ = opt_seed || goog.testing.PseudoRandom.seedUniquifier_ ++ + goog.now(); if(opt_install) { this.install(); } }; goog.inhe...
johnjbarton/qpp
traceur/test/closurebaseline/third_party/closure-library/closure/goog/testing/pseudorandom.js
JavaScript
bsd-3-clause
1,713
(function(e){"use strict";e.extend(e.fn.select2.defaults,{formatNoMatches:function(){return"Nu a fost găsit nimic"},formatInputTooShort:function(e,t){var i=t-e.length;return"Vă rugăm să introduceți incă "+i+" caracter"+(1==i?"":"e")},formatInputTooLong:function(e,t){var i=e.length-t;return"Vă rugăm să introduceți mai p...
xuminready/baiducdnstatic
libs/select2/3.3.2/select2_locale_ro.min.js
JavaScript
mit
588
/// <reference path="../../defs/tsd.d.ts"/> /// <reference path="./interfaces.d.ts"/> var path = require('path'); var fs = require('fs'); var _ = require('lodash'); var utils = require('./utils'); var cache = require('./cacheUtils'); var Promise = require('es6-promise').Promise; exports.grunt = require('grunt'); //////...
Softpagehomeware/grunt-ts
tasks/modules/compile.js
JavaScript
mit
9,276
/* Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ if(!dojo._hasResource["dojox.help.console"]){ dojo._hasResource["dojox.help.console"]=true; dojo.provide("dojox.help.consol...
bjorns/logger
src/main/webapp/js/dojox/help/console.js
JavaScript
mit
1,517
version https://git-lfs.github.com/spec/v1 oid sha256:b386bb4d8bf9eb9e8099152a3eb963073051fb960b30cd512b6a07bd1f751d3d size 734
yogeshsaroya/new-cdnjs
ajax/libs/yui/3.2.0/datatype/lang/datatype_it-IT.js
JavaScript
mit
128
var fs = require('fs') var path = require('path') var util = require('util') var semver = require('semver') exports.checkEngine = checkEngine function checkEngine (target, npmVer, nodeVer, force, strict, cb) { var nodev = force ? null : nodeVer var eng = target.engines var opt = { includePrerelease: true } if ...
giovannic/giovannic.github.com
node_modules/npm/node_modules/npm-install-checks/index.js
JavaScript
mit
4,201
define(["bin/core/naviPageView"], function(Base) { var Class = {}; Class.onViewPush = function(pushFrom, pushData) { this._config = pushData; } Class.genHTML = function() { Base.prototype.genHTML.call(this); this.setTitle("示例 "+this._config.name); } return Base.extend(Class); });
weizhiwu/BIN
demo/common/demoView.js
JavaScript
mit
316
/* * Websock: high-performance binary WebSockets * Copyright (C) 2012 Joel Martin * Licensed under MPL 2.0 (see LICENSE.txt) * * Websock is similar to the standard WebSocket object but Websock * enables communication with raw TCP sockets (i.e. the binary stream) * via websockify. This is accomplished by base64 e...
jerry-0824/017_stone
web/vnc/include/websock.js
JavaScript
mit
15,502
'use strict'; var dynamoose = require('../'); dynamoose.AWS.config.update({ accessKeyId: 'AKID', secretAccessKey: 'SECRET', region: 'us-east-1' }); dynamoose.local(); var should = require('should'); var Cat, Cat2; describe('Model', function (){ this.timeout(5000); before(function(done) { this.time...
benjcooley/dynamoose
test/Model.js
JavaScript
mit
21,235
import _curry3 from './internal/_curry3.js'; /** * Move an item, at index `from`, to index `to`, in a list of elements. * A new list will be created containing the new elements order. * * @func * @memberOf R * @since v0.27.1 * @category List * @sig Number -> Number -> [a] -> [a] * @param {Number} from The sou...
CrossEye/ramda
source/move.js
JavaScript
mit
1,225
/** @type {import("../../../../").Configuration} */ module.exports = { entry: { a: "./a", b: "./b" }, output: { filename: "[name].js", libraryTarget: "commonjs2" }, optimization: { chunkIds: "named", splitChunks: { cacheGroups: { shared: { chunks: "all", test: /shared/, filename: ...
webpack/webpack
test/configCases/split-chunks/custom-filename/webpack.config.js
JavaScript
mit
461
(function () { 'use strict'; angular.module('mPlatform.directives') .directive('ngTextChange', function () { return { restrict: 'A', replace: 'ngModel', link: function (scope, element, attr) { element.on('change', function ...
michaelmarriott/LabyrinthRipper.Mobile
www/scripts/ang/directives.js
JavaScript
mit
540
Astro.createValidator = function(validatorDefinition) { var definition = new ValidatorDefinition(validatorDefinition); var validatorGenerator = function(options, userMessage) { var validator = function(fieldValue, fieldName) { return validator.definition.validate.call( this, fieldValue, ...
ribbedcrown/meteor-astronomy-validators
lib/module/validator.js
JavaScript
mit
929
import _Object$getOwnPropertySymbols from "../../core-js/object/get-own-property-symbols"; import _Object$keys from "../../core-js/object/keys"; export default function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = _Object$keys(source); var key, ...
Skillupco/babel
packages/babel-runtime/helpers/es6/objectWithoutProperties.js
JavaScript
mit
854
import test from 'ava'; import fn from './'; test('title', t => { t.is(fn('unicorns'), 'unicorns & rainbows'); });
kokujin/sails-nedb
test.js
JavaScript
mit
117
'use strict'; import $ from 'jquery'; import { Keyboard } from './foundation.util.keyboard'; import { GetYoDigits } from './foundation.util.core'; import { Positionable } from './foundation.positionable'; import { Triggers } from './foundation.util.triggers'; /** * Dropdown module. * @module foundation.dropdown ...
robertgraleigh/supreme-journey
node_modules/foundation-sites/js/foundation.dropdown.js
JavaScript
mit
11,158
// import { createAction } from 'redux-actions'; //Actions: //Simulate loading
dgilroy77/Car.ly
src/actions/loadActions.js
JavaScript
mit
80
'use strict'; const common = require('../common'); if (!common.hasIPv6) common.skip('no IPv6 support'); const assert = require('assert'); const cluster = require('cluster'); const net = require('net'); // This test ensures that the `ipv6Only` option in `net.Server.listen()` // works as expected when we use cluster...
enclose-io/compiler
lts/test/sequential/test-cluster-net-listen-ipv6only-rr.js
JavaScript
mit
1,884
import Vue from 'vue'; import closedComponent from '~/vue_merge_request_widget/components/states/mr_widget_closed.vue'; import mountComponent from 'spec/helpers/vue_mount_component_helper'; describe('MRWidgetClosed', () => { let vm; beforeEach(() => { const Component = Vue.extend(closedComponent); vm = mo...
stoplightio/gitlabhq
spec/javascripts/vue_mr_widget/components/states/mr_widget_closed_spec.js
JavaScript
mit
2,094
'use strict'; import React from 'react'; import PlaylistHeader from './PlaylistHeader'; import PlaylistVideos from './PlaylistVideos'; const PureRenderMixin = React.addons.PureRenderMixin; export default React.createClass({ propTypes: { playlist: React.PropTypes.array.isRequired, }, mixins: [PureRenderMix...
whoisandie/yoda
src/scripts/Playlist.js
JavaScript
mit
785
'use strict'; /* global google */ function cdDojoDetailCtrl($scope, $state, $location, cdDojoService, cdUsersService, alertService, usSpinnerService, auth, dojo, gmap, $translate, currentUser) { $scope.dojo = dojo; $scope.model = {}; $scope.markers = []; $scope.requestInvite = {}; $scope.userMemberCheckCompl...
Aryess/cp-zen-platform
web/public/js/controllers/dojo-detail-controller.js
JavaScript
mit
6,054
#!/usr/bin/env node const os = require('os') const {spawn} = require('child_process') if (os.platform() === 'win32' || os.platform() === 'windows') console.log('skipping on windows') else spawn('yarn bats test/integration/*.bats', {stdio: 'inherit', shell: true})
heroku/heroku-cli
packages/run/bin/bats-test-runner.js
JavaScript
mit
266
var searchData= [ ['label',['Label',['../classLabel.html',1,'']]], ['labeliterator',['LabelIterator',['../classLabelIterator.html',1,'']]], ['labelsegment',['LabelSegment',['../structLabelSegment.html',1,'']]] ];
chabbimilind/cctlib
docs/html/search/classes_6c.js
JavaScript
mit
219
/**! * Sortable * @author RubaXa <trash@rubaxa.org> * @author owenm <owen23355@gmail.com> * @license MIT */ (function sortableModule(factory) { "use strict"; if (typeof define === "function" && define.amd) { define(factory); } else if (typeof module != "undefined" && typeof module.exports != "undefine...
extend1994/cdnjs
ajax/libs/Sortable/1.8.0-rc1/Sortable.js
JavaScript
mit
50,600
import { isElement, isValidElementType, ForwardRef } from 'react-is'; import unitless from '@emotion/unitless'; import validAttr from '@emotion/is-prop-valid'; import React, { useContext, useMemo, createElement, useState, useDebugValue, useEffect } from 'react'; import Stylis from 'stylis/stylis.min'; import _insertRul...
sufuf3/cdnjs
ajax/libs/styled-components/5.0.0-4.canary-sheet/styled-components.browser.esm.js
JavaScript
mit
63,129
/* Highcharts JS v7.1.0 (2019-04-01) Indicator series type for Highstock (c) 2010-2019 Wojciech Chmiel License: www.highcharts.com/license */ (function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/indicators/ao",["highcha...
joeyparrish/cdnjs
ajax/libs/highcharts/7.1.0/indicators/ao.js
JavaScript
mit
1,819
// Flags: --unhandled-rejections=none 'use strict'; const common = require('../common'); common.disableCrashOnUnhandledRejection(); // Verify that ignoring unhandled rejection works fine and that no warning is // logged. new Promise(() => { throw new Error('One'); }); Promise.reject('test'); process.on('warning...
enclose-io/compiler
lts/test/parallel/test-promise-unhandled-silent.js
JavaScript
mit
591
/** * Copyright (c) UNA, Inc - https://una.io * MIT License - https://opensource.org/licenses/MIT * * @defgroup UnaStudio UNA Studio * @{ */ function BxDolStudioNavigationMenus(oOptions) { this.sActionsUrl = oOptions.sActionUrl; this.sPageUrl = oOptions.sPageUrl; this.sObjNameGrid = oOptions.sObjN...
camperjz/trident
upgrade/files/9.0.0.B2-9.0.0.B3/files/studio/js/navigation_menus.js
JavaScript
mit
1,476
(function(e,h){"object"===typeof exports&&"object"===typeof module?module.exports=h():"function"===typeof define&&define.amd?define([],h):"object"===typeof exports?exports.RxPlayer=h():e.RxPlayer=h()})(this,function(){return function(e){function h(l){if(a[l])return a[l].exports;var k=a[l]={exports:{},id:l,loaded:!1};e[...
joeyparrish/cdnjs
ajax/libs/rx-player/2.0.0-alpha3/rx-player.min.js
JavaScript
mit
184,678
// HumanizeDuration.js - https://git.io/j0HgmQ ;(function () { // This has to be defined separately because of a bug: we want to alias // `gr` and `el` for backwards-compatiblity. In a breaking change, we can // remove `gr` entirely. // See https://github.com/EvanHahn/HumanizeDuration.js/issues/143 for more. ...
extend1994/cdnjs
ajax/libs/humanize-duration/3.20.1/humanize-duration.js
JavaScript
mit
28,768
// Copyright (c) 2013-2015 Titanium I.T. LLC. All rights reserved. See LICENSE.TXT for details. (function() { "use strict"; var arrayToSentence = require("array-to-sentence"); var objectAssign = require("object-assign"); // ponyfill for Object.assign(); check if Node supports it yet exports.check = function(ar...
evrimfeyyaz/ios-calculator
node_modules/simplebuild/lib/type.js
JavaScript
mit
4,496
var searchData= [ ['cache',['cache',['../classglobals.html#a5637b6b2c65cc2b027616212978a0e47',1,'globals']]], ['camera',['camera',['../classglobals.html#af37dc090d333e3a996373643f7c2c31f',1,'globals']]], ['camera_5fdistance',['camera_distance',['../classplayer.html#ae80ee7bccfac6b0b1167e3260db03206',1,'player']]]...
gawag/Urho-Sample-Platformer
doxygen/html/search/variables_2.js
JavaScript
mit
980
/*! * OverlayScrollbars * https://github.com/KingSora/OverlayScrollbars * * Version: 1.7.3 * * Copyright KingSora. * https://github.com/KingSora * * Released under the MIT license. * Date: 23.06.2019 */ (function (global, factory) { if (typeof define === 'function' && define.amd) define(function...
extend1994/cdnjs
ajax/libs/overlayscrollbars/1.7.3/js/OverlayScrollbars.js
JavaScript
mit
348,965
import _curry3 from './internal/_curry3.js'; import prop from './prop.js'; /** * Returns `true` if the specified object property satisfies the given * predicate; `false` otherwise. You can test multiple properties with * [`R.where`](#where). * * @func * @memberOf R * @since v0.16.0 * @category Logic * @sig (a...
ramda/ramda
source/propSatisfies.js
JavaScript
mit
715
import * as React from 'react'; /* * A utility for rendering a drag preview image */ export var DragPreviewImage = React.memo(function (_ref) { var connect = _ref.connect, src = _ref.src; React.useEffect(function () { if (typeof Image === 'undefined') return; var connected = false; var img = ne...
cdnjs/cdnjs
ajax/libs/react-dnd/11.1.3/esm/common/DragPreviewImage.js
JavaScript
mit
595
import setupStore from 'dummy/tests/helpers/store'; import Ember from 'ember'; import testInDebug from 'dummy/tests/helpers/test-in-debug'; import {module, test} from 'qunit'; import DS from 'ember-data'; const { run } = Ember; const { attr } = DS; const { reject } = Ember.RSVP; let Person, store, env; module("integ...
wecc/data
tests/integration/adapter/find-test.js
JavaScript
mit
5,129