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
/* * @version $Id: Uploader.js 10876 2013-05-30 06:23:01Z btowles $ * @author RocketTheme http://www.rockettheme.com * @copyright Copyright (C) 2007 - 2014 RocketTheme, LLC * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only */ ((function(){if(!this.Uploader){this.Uploader={}; }this.Uploader=...
JamesBurnside/uobtennis
administrator/components/com_rokgallery/assets/application/joomla/2.5/Uploader.js
JavaScript
gpl-2.0
6,471
/** * @copyright 2010-2015, The Titon Project * @license http://opensource.org/licenses/BSD-3-Clause * @link http://titon.io */ define([ 'jquery', './toolkit' ], function($, Toolkit) { // Empty class to extend from var Class = Toolkit.Class = function() {}; // Flag to determine if a construc...
localymine/multisite
wp-content/themes/kodomo/html/toolkit-3.0/js/class.js
JavaScript
gpl-2.0
2,561
/* YUI 3.7.1 (build 5627) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('charts', function (Y, NAME) { /** * The Chart class is the basic application used to create a chart. * * @module charts * @class Chart * @constructor */ function Ch...
medbenhenda/migration-ez5
ezpublish_legacy/extension/ezjscore/design/standard/lib/yui/3.7.1/build/charts/charts.js
JavaScript
gpl-2.0
533
YUI.add('moodle-mod_quiz-dragdrop', function (Y, NAME) { /** * Drag and Drop for Quiz sections and slots. * * @module moodle-mod-quiz-dragdrop */ var CSS = { ACTIONAREA: '.actions', ACTIVITY: 'activity', ACTIVITYINSTANCE: 'activityinstance', CONTENT: 'content', COURSECONTENT: 'mod-quiz-edit-co...
Microsoft/moodle
mod/quiz/yui/build/moodle-mod_quiz-dragdrop/moodle-mod_quiz-dragdrop.js
JavaScript
gpl-3.0
19,635
var searchData= [ ['query',['query',['../classcoda_1_1db_1_1query.html',1,'coda::db']]] ];
ryjen/db
html/search/classes_8.js
JavaScript
gpl-3.0
93
if(!dojo._hasResource["dojox.collections.Stack"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. dojo._hasResource["dojox.collections.Stack"] = true; dojo.provide("dojox.collections.Stack"); dojo.require("dojox.collections._base"); dojox.collections.Stack=function(/* array? */arr...
235/gwt-odb-ui
src/net/pleso/odbui/public/js/dojo-release-1.0.2/dojox/collections/Stack.js
JavaScript
agpl-3.0
1,921
// Generated on 2014-04-25 using generator-angular 0.8.0 'use strict'; // # Globbing // for performance reasons we're only matching one level down: // 'test/spec/{,*/}*.js' // use this if you want to recursively match all subfolders: // 'test/spec/**/*.js' module.exports = function (grunt) { // Load grunt tasks ...
gabriel-laet/somafm-webplayer
Gruntfile.js
JavaScript
apache-2.0
14,477
import readFile from 'itk/readFile' import curry from 'curry' const outputFileInformation = curry(function outputFileInformation (outputTextArea, event) { outputTextArea.textContent = 'Loading...' const dataTransfer = event.dataTransfer const files = event.target.files || dataTransfer.files const viewerEleme...
InsightSoftwareConsortium/ITKBridgeJavaScript
examples/Webpack/src/index.js
JavaScript
apache-2.0
939
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
Jimexist/presto
presto-main/src/main/resources/webapp/assets/utils.js
JavaScript
apache-2.0
14,579
/** * 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...
techhtml/amphtml
extensions/amp-auto-ads/0.1/test/test-ad-network-config.js
JavaScript
apache-2.0
7,709
import Ember from 'ember'; const { Component, computed } = Ember; export default Component.extend({ tagName : 'footer', classNames : ['ui', 'inverted', 'vertical', 'footer', 'segment'], currentLocale: computed(function() { return this.get('l10n').getLocale(); }), actions: { switchLanguage(local...
sumedh123/open-event-frontend
app/components/footer-main.js
JavaScript
apache-2.0
386
/// <reference path="../../src/Dexie.js" /> /// <reference path="../../addons/Dexie.Observable/Dexie.Observable.js" /> /// <reference path="https://code.jquery.com/jquery-2.1.1.js" /> function DBMonitor(searchBox, tbody) { var searchValue = searchBox.val(); var databases = []; reload(); searchBox.cha...
cesarmarinhorj/Dexie.js
samples/db-monitor/db-monitor.js
JavaScript
apache-2.0
811
function __processArg(obj, key) { var arg = null; if (obj) { arg = obj[key] || null; delete obj[key]; } return arg; } function Controller() { require("alloy/controllers/BaseController").apply(this, Array.prototype.slice.call(arguments)); this.__controllerPath = "index"; this...
brentonhouse/brentonhouse.alloy
test/apps/testing/ALOY-1516/_generated/windows/alloy/controllers/index.js
JavaScript
apache-2.0
1,575
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } var _ionicIonic = require('ionic/ionic'); var _angular2Angular2 = require('angula...
philmerrell/ionic-site
docs/v2/dist/demos/component-docs/slides/basic/pages.js
JavaScript
apache-2.0
1,673
/* Copyright JS Foundation and other contributors, http://js.foundation * * 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 r...
zherczeg/jerryscript
tests/jerry/es.next/array-prototype-at.js
JavaScript
apache-2.0
1,476
import Resource from '@rancher/ember-api-store/models/resource'; import { get, computed } from '@ember/object'; import { reference } from '@rancher/ember-api-store/utils/denormalize'; export default Resource.extend({ project: reference('projectId'), projectName: computed('project.displayName', function() { re...
westlywright/ui
app/models/target.js
JavaScript
apache-2.0
821
/** * Copyright 2019 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...
dotandads/amphtml
extensions/amp-truncate-text/0.1/amp-truncate-text.js
JavaScript
apache-2.0
8,602
/** * * @authors Your Name (you@example.org) * @date 2015-09-17 10:22:59 * @version $Id$ */ (function(i, s, o, g, r, a, m) { i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function() { (i[r].q = i[r].q || []).push(arguments) }, i[r].l = 1 * new Date(); a = s.createEl...
freiby/flex
server/nirvana-plugins/nirvana-inspinia-style/src/main/webapp/js/embeddedjs2.js
JavaScript
apache-2.0
606
/* * //****************************************************************** * // * // Copyright 2017 Samsung Electronics All Rights Reserved. * // * //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= * // * // Licensed under the Apache License, Version 2.0 (the "License"); * // you may not use thi...
JunhwanPark/TizenRT
external/iotivity/iotivity_1.3-rel/cloud/dashboard/src/Client.js
JavaScript
apache-2.0
7,702
'use strict'; var _ansiStyles = _interopRequireDefault(require('ansi-styles')); var _collections = require('./collections'); var _AsymmetricMatcher = _interopRequireDefault( require('./plugins/AsymmetricMatcher') ); var _ConvertAnsi = _interopRequireDefault(require('./plugins/ConvertAnsi')); var _DOMCollection =...
GoogleCloudPlatform/prometheus-engine
third_party/prometheus_ui/base/web/ui/react-app/node_modules/pretty-format/build/index.js
JavaScript
apache-2.0
13,582
/** * this model contains information about the organization for * the current user and the users who are inside the organizacion. * * Attributes: * * - users: collection with user instances whithin the organization (see cdb.admin.Organization.Users * * */ cdb.admin.Organization = cdb.core.Model.extend({ u...
future-analytics/cartodb
lib/assets/javascripts/cartodb/models/organization.js
JavaScript
bsd-3-clause
3,194
var test = require("test"); try { require("a"); require("A"); test.assert(false, "should fail to require alternate spelling"); } catch (error) { } test.print("DONE", "info");
kriskowal/mr
test/case-sensitive/program.js
JavaScript
bsd-3-clause
187
var cdb = require('cartodb.js-v3'); var _ = require('underscore-cdb-v3'); /** * Model for an individual WMS/WMTS layer. */ module.exports = cdb.core.Model.extend({ defaults: { state: 'idle', //, saving, saveDone, saveFail layer: undefined // set after saveDone }, canSave: function(baseLayers) { r...
codeandtheory/cartodb
lib/assets/javascripts/cartodb/common/dialogs/add_custom_basemap/wms/layer_model.js
JavaScript
bsd-3-clause
2,510
'use strict'; angular.module('copayApp.controllers').controller('walletHomeController', function($scope, $rootScope, $timeout, $filter, $modal, $log, notification, txStatus, isCordova, profileService, lodash, configService, rateService, storageService, bitcore, isChromeApp, gettext, gettextCatalog, nodeWebkit, address...
FuzzyHobbit/copay
src/js/controllers/walletHome.js
JavaScript
mit
32,485
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports['default'] = { // Options.jsx items_per_page: '/ 쪽', jump_to: '이동하기', page: '', // Pagination.jsx prev_page: '이전 페이지', next_page: '다음 페이지', prev_5: '이전 5 페이지', next_5: '다음 5 페이지', prev_3: '이전 3 페이지', next_3: '...
prodigalyijun/demo-by-antd
node_modules/rc-pagination/lib/locale/ko_KR.js
JavaScript
mit
439
var path = require('path'); var webpack = require('webpack'); var prodCfg = require('./webpack.prod.config'); Object.assign = require('object-assign'); module.exports = Object.assign(prodCfg, { entry: [ 'webpack-dev-server/client?http://localhost:8080/', 'webpack/hot/only-dev-server', './clien...
kirbyk/isomorphic-redux
webpack.config.js
JavaScript
mit
729
// check rdns against forward // NOTICE: the functionality of this plugin is duplicated by the // FCrDNS plugin. Consider using it instead. This plugin // may be deprecated in the future. // // To achieve the same results using FCrDNS (in addition to // the additional features), set [re...
danucalovj/Haraka
plugins/lookup_rdns.strict.js
JavaScript
mit
6,842
'use strict'; /** * Module for all communication with LB */ define((require) => { const Util = require('util/util'); const BaseScrobbler = require('scrobbler/base-scrobbler'); const ServiceCallResult = require('object/service-call-result'); const listenBrainzTokenPage = 'https://listenbrainz.org/profile/'; con...
galeksandrp/web-scrobbler
src/core/background/scrobbler/listenbrainz-scrobbler.js
JavaScript
mit
6,314
/* MIT License http://www.opensource.org/licenses/mit-license.php */ "use strict"; const RuntimeGlobals = require("../RuntimeGlobals"); const RuntimeModule = require("../RuntimeModule"); /** @typedef {import("../MainTemplate")} MainTemplate */ class StartupEntrypointRuntimeModule extends RuntimeModule { construct...
arvenil/resume
node_modules/webpack/lib/runtime/StartupEntrypointRuntimeModule.js
JavaScript
mit
1,092
module.exports=/[\u2FF2\u2FF3]/
marclundgren/mithril-fidm-app
node_modules/gulp-jscs/node_modules/jscs/node_modules/unicode-6.3.0/properties/IDS_Trinary_Operator/regex.js
JavaScript
mit
31
steal("can/view/stache/mustache_core.js", "can/view/parser",function(mustacheCore, parser){ return function(source){ var template = mustacheCore.cleanLineEndings(source); var imports = [], inImport = false, inFrom = false; var keepToken = function(){ return inImport ? false : true; }; var...
beno/canjs
view/stache/intermediate_and_imports.js
JavaScript
mit
1,176
var gulp = require('gulp'); var browserSync = require('browser-sync'); var paths = require('../paths'); // this task utilizes the browsersync plugin // to create a dev server instance // at http://localhost:9000 gulp.task('e2e-serve', ['e2e-build'], function(done) { browserSync({ open: false, port: 9000, ...
Mordred/aurelia-compiler
build/tasks/e2e-serve.js
JavaScript
mit
504
//------------------------------------------------------------------------------------------------------- // Copyright (C) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. //------------------------------------------------------...
arunetm/ChakraCore_0114
test/Generated/ge.js
JavaScript
mit
33,355
(function() { 'use strict'; /** * @name config * @description config block */ function config($stateProvider) { $stateProvider .state('root.home', { url: '/', views: { '@': { templateUrl: 'src/app/home/home.tpl.html', controller: 'HomeCtrl as ...
lealivran/Moonie
client/src/app/home/home.js
JavaScript
mit
568
// Flags: --expose-internals 'use strict'; require('../common'); const assert = require('assert'); const { sleep } = require('internal/util'); // Make sure we test 0ms timers, since they would had always wanted to run on // the current tick, and greater than 0ms timers, for scenarios where the // outer timer takes lo...
enclose-io/compiler
lts/test/parallel/test-timers-nested.js
JavaScript
mit
1,406
module.exports = require('./lib/test.js');
milesj/boost
packages/log/test.js
JavaScript
mit
43
/**************************************************************************** Copyright (c) 2008-2010 Ricardo Quesada Copyright (c) 2011-2012 cocos2d-x.org Copyright (c) 2013-2014 Chukong Technologies Inc. http://www.cocos2d-x.org Permission is hereby granted, free of charge, to any person obtaining a copy of t...
dios-game/dios-cocos
src/oslibs/cocos/cocos-src/tests/js-tests/src/CocoStudioTest/GUITest/UINodeContainerTest/UINodeContainerTest.js
JavaScript
mit
1,893
/* Tabulator v4.0.4 (c) Oliver Folkerd */ !function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)}(function(t,e){t.widget("ui.tabulator",{_create:function(){this.table=new Tabulator(this.element[0],this...
sufuf3/cdnjs
ajax/libs/tabulator/4.0.4/js/jquery_wrapper.min.js
JavaScript
mit
655
/*jslint node: true */ "use strict"; module.exports = function(grunt) { grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), bower: { install: { options: { install: true, copy: false, targetDir: './libs', cleanTargetDir: true } }...
Fountaintechies/distance-calculator
Gruntfile.js
JavaScript
mit
3,923
var doc = require('./doc'); var dev = require('./dev'); var build = require('./build'); module.exports = { transformAPIModel:doc.transformAPIModel, updateOwnDependenciesFromLocalRepositories:dev.updateOwnDependenciesFromLocalRepositories, buildDevEnv:dev.buildDevEnv, extractImports:build.extractImports, crea...
damianof/tools
src/index.js
JavaScript
mit
390
var exec = require('child_process').exec, fs = require('fs'), path = require('path'), EventEmitter = require('events').EventEmitter; var temp = require('temp'), tasks = require('./tasks'), Q = require('q'); // Map of extensions to tasks var extensions = { gif: 'GIF', jpg: 'JPEG', jpeg: 'JPEG...
vdhwouter/GameNation
src/main/resources/static/node_modules/pulverizr/lib/job.js
JavaScript
mit
3,488
/*jshint node:true */ var fs = require( 'fs' ), config = JSON.parse( fs.readFileSync( __dirname + '/../.jscsrc' ) ); delete config.jsDoc; module.exports = exports = config;
paladox/mediawiki-extensions-MobileFrontend
tests/.jscsrc.js
JavaScript
gpl-2.0
176
var FormSamples = function () { return { //main function to initiate the module init: function () { // use select2 dropdown instead of chosen as select2 works fine with bootstrap on responsive layouts. $('.select2_category').select2({ placeholder: "Select an o...
kuldeep89/160515
wp-content/themes/ppmlayout/assets/scripts/form-samples.js
JavaScript
gpl-2.0
1,379
module.exports={A:{A:{"2":"H G F C A B SB"},B:{"1":"q W I","2":"D"},C:{"1":"0 1 2 k l m n o p u v w t y r g","2":"3 QB E K H G F C A B D q OB NB","33":"W I L M N O P Q R S T U V s X Y Z a b c d e f J h i j"},D:{"1":"0 1 2 6 9 J h i j k l m n o p u v w t y r g CB RB AB","2":"E K H G F C A B D q W I","33":"R S T U V s X ...
nicholaslgoodman/peoples-weather-map
node_modules/caniuse-lite/data/features/pointerlock.js
JavaScript
gpl-2.0
775
/* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by the Free Software Foundation. This program is also distributed with certain software ...
greenlion/mysql-server
storage/ndb/nodejs/perftest/jscrund_dbspi.js
JavaScript
gpl-2.0
5,523
//This file is automatically rebuilt by the Cesium build process. /*global define*/ define(function() { "use strict"; return "attribute vec4 position3DAndHeight;\n\ attribute vec3 textureCoordAndEncodedNormals;\n\ \n\ uniform vec3 u_center3D;\n\ uniform mat4 u_modifiedModelView;\n\ uniform vec4 u_tileRectangle;...
nupic-community/nostradamIQ
nostradamIQ-landingpage/webapp/lib/cesium/1.16/Source/Shaders/GlobeVS.js
JavaScript
gpl-3.0
4,687
"use strict"; const whatwgEncoding = require("whatwg-encoding"); const parseContentType = require("content-type-parser"); const querystring = require("querystring"); const DOMException = require("domexception"); const EventTargetImpl = require("../events/EventTarget-impl").implementation; const ProgressEvent = require...
FreezeWarp/freeze-messenger
stress/node_modules/jsdom/lib/jsdom/living/file-api/FileReader-impl.js
JavaScript
gpl-3.0
3,919
/* * eyeos - The Open Source Cloud's Web Desktop * Version 2.0 * Copyright (C) 2007 - 2010 eyeos Team * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License version 3 as publ...
cloudspaces/eyeos-u1db
eyeos/extern/js/eyeos.ui.toolbar.LabelHeader.js
JavaScript
agpl-3.0
3,141
/* YUI 3.11.0 (build d549e5c) Copyright 2013 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('matrix', function (Y, NAME) { /** * Matrix utilities. * * @class MatrixUtil * @module matrix **/ var MatrixUtil = { /** * Used as value for th...
devmix/openjst
server/commons/war/src/main/webapp/ui/lib/yui/build/matrix/matrix.js
JavaScript
agpl-3.0
26,090
/* * Globalize Culture ja-JP * * http://github.com/jquery/globalize * * Copyright Software Freedom Conservancy, Inc. * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * This file was generated by the Globalize Culture Generator * Translation: bugs found in this f...
zonebuilder/zonebuilder.github.io
jul/ample-sdk/ample/cultures/ja-JP.js
JavaScript
lgpl-3.0
2,657
var DOCUMENTATION_OPTIONS = { URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'), VERSION: '5.3.4', LANGUAGE: 'None', COLLAPSE_INDEX: false, FILE_SUFFIX: '.html', HAS_SOURCE: true, SOURCELINK_SUFFIX: '.txt' };
tst-eclamar/earthenterprise
docs/geedocs/5.3.4/static/documentation_options.js
JavaScript
apache-2.0
275
sap.ui.define(['sap/ui/core/mvc/Controller'], function(Controller) { "use strict"; var MBController = Controller.extend("sap.m.sample.MenuButton.MB", { onDefaultAction: function() { sap.m.MessageToast.show("Default action triggered"); }, onDefaultActionAccept: function() { sap.m.MessageToast.show...
openui5/packaged-sap.m
test-resources/sap/m/demokit/sample/MenuButton/MB.controller.js
JavaScript
apache-2.0
760
var VERB_NEW = 1; var VERB_CHANGED = 2; var VERB_CURRENT = 3; var VERB_NEW_CLASS = "verb-new"; var VERB_CHANGED_CLASS = "verb-changed"; var VERB_CURRENT_CLASS = "verb-current"; var EDITED_CLASS = "edited"; var NOT_STARTED_TRANSLATION = 0; var VALID_TRANSLATION = 1; var INVALID_TRANSLATION = 2; function getVerbClassN...
UniMOOC/AAClassroom
modules/i18n_dashboard/templates/translation_console.js
JavaScript
apache-2.0
5,738
/* YUI 3.6.0 (build 5521) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('exec-command', function(Y) { /** * Plugin for the frame module to handle execCommands for Editor * @class Plugin.ExecCommand * @extends Base * @c...
bretkikehara/wattdepot-visualization
src/main/webapp/yui/3.6.0/build/exec-command/exec-command-debug.js
JavaScript
bsd-3-clause
31,671
/* * Copyright 2016 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. */ /* global PaymentRequest:false */ /** * Launches the PaymentRequest UI that offers free shipping in California and * $5.00 shipping in US. Does ...
chromium/chromium
components/test/data/payments/dynamic_shipping.js
JavaScript
bsd-3-clause
3,140
// (function (root) { "use strict"; if (!root.lux) root.lux = {}; // If a file assign http as protocol (https does not work with PhantomJS) var protocol = root.location ? (root.location.protocol === 'file:' ? 'http:' : '') : '', end = '.js', ostring = Object.prototype.toString,...
dejlek/pulsar
examples/tweets/assets/tweets.js
JavaScript
bsd-3-clause
10,267
// Copyright 2018 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. const {session, contextGroup, Protocol} = InspectorTest.start('Tests Runtime.RemoteObject.'); function evaluate(options) { InspectorTest.log(`'${...
youtube/cobalt
third_party/v8/test/inspector/runtime/remote-object.js
JavaScript
bsd-3-clause
21,188
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * @name: S15.9.5.11_A2_T1; * @section: 15.9.5.11; * @assertion: The "length" property of the "getUTCFullYear" is 0; * @description: The "length" property of the "getUTCFullYear" i...
seraum/nectarjs
tests/ES3/Conformance/15_Native_ECMA_Script_Objects/15.9_Date_Objects/15.9.5_Properties_of_the_Date_Prototype_Object/15.9.5.11_Date.prototype.getUTCFullYear/S15.9.5.11_A2_T1.js
JavaScript
mit
579
define('lodash/object/get', ['exports', 'lodash/internal/baseGet', 'lodash/internal/toPath'], function (exports, _lodashInternalBaseGet, _lodashInternalToPath) { 'use strict'; /** * Gets the property value at `path` of `object`. If the resolved value is * `undefined` the `defaultValue` is used in its place. ...
hoka-plus/p-01-web
tmp/babel-output_path-hOv4KMmE.tmp/lodash/object/get.js
JavaScript
mit
1,164
var env = process.env.ISUCON_ENV || "local" module.exports = require("./../config/" + env);
isucon/isucon3
final/webapp/nodejs/config.js
JavaScript
mit
92
var originalLookup, App, originalModelInjections; module("Ember.Application Dependency Injection – toString",{ setup: function() { originalModelInjections = Ember.MODEL_FACTORY_INJECTIONS; Ember.MODEL_FACTORY_INJECTIONS = true; originalLookup = Ember.lookup; Ember.run(function(){ App = Ember....
ssured/ember.js
packages/ember-application/tests/system/dependency_injection/to_string_test.js
JavaScript
mit
1,557
module.exports=[5024,5025,5026,5027,5028,5029,5030,5031,5032,5033,5034,5035,5036,5037,5038,5039,5040,5041,5042,5043,5044,5045,5046,5047,5048,5049,5050,5051,5052,5053,5054,5055,5056,5057,5058,5059,5060,5061,5062,5063,5064,5065,5066,5067,5068,5069,5070,5071,5072,5073,5074,5075,5076,5077,5078,5079,5080,5081,5082,5083,5084...
marclundgren/mithril-fidm-app
node_modules/gulp-jscs/node_modules/jscs/node_modules/unicode-6.3.0/blocks/Cherokee/code-points.js
JavaScript
mit
496
import React, { cloneElement } from 'react'; import classNames from 'classnames'; import ValidComponentChildren from './utils/ValidComponentChildren'; class ListGroup extends React.Component { render() { let items = ValidComponentChildren.map( this.props.children, (item, index) => cloneElement(item, ...
jontewks/react-bootstrap
src/ListGroup.js
JavaScript
mit
1,507
import get from 'ember-metal/property_get'; import { SuiteModuleBuilder } from 'ember-runtime/tests/suites/suite'; const suite = SuiteModuleBuilder.create(); suite.module('removeObject'); suite.test('should return receiver', function() { let before = this.newFixture(3); let obj = this.newObject(before); eq...
bmac/ember.js
packages/ember-runtime/tests/suites/mutable_array/removeObject.js
JavaScript
mit
2,369
/** * Module dependencies. */ var express = require('express'); /** * Initialize middleware. */ module.exports = function() { this.use(express.urlencoded()); this.use(express.json()); this.use(this.router); this.use(express.errorHandler()); }
bosgood/electrolyte-examples
express/etc/init/02_middleware.js
JavaScript
mit
262
// Generated by CoffeeScript 1.3.3 (function() { var Path, createApiTree, extensions, fs, __indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; }, __hasProp = {}.hasOwnProperty; fs = require('fs'); Path = requi...
rybon/Remocial
node_modules/ss-angular/node_modules/apitree/lib/apitree.js
JavaScript
mit
2,451
define({main:{"de-AT":{identity:{version:{_number:"$Revision: 11914 $",_cldrVersion:"29"},language:"de",territory:"AT"},dates:{timeZoneNames:{hourFormat:"+HH:mm;-HH:mm",gmtFormat:"GMT{0}",gmtZeroFormat:"GMT",regionFormat:"{0} Zeit","regionFormat-type-daylight":"{0} Sommerzeit","regionFormat-type-standard":"{0} Normalze...
crmouli/crmouli.github.io
js/libs/oj/v3.0.0/resources/nls/de-AT/timezoneData.js
JavaScript
mit
12,171
YUI.add('gallery-plugin-node-io', function(Y) { /** * Node IO provides a simple interface to load text into a node * * @class NodeIo * @extends Base * @version 1.1.0 */ var YL = Y.Lang; Y.Plugin.NodeIo = Y.Base.create('node-io', Y.Base, [], { /////// P U B L I C ////// /** * Se...
inikoo/fact
libs/yui/yui3-gallery/build/gallery-plugin-node-io/gallery-plugin-node-io.js
JavaScript
mit
4,086
var validate, $i; var {{ schema | capitalize }}Validator = function(di) { $i = di; validate = $i.validate; return {}; }; module.exports = exports = {{ schema | capitalize }}Validator;
marcelomf/graojs
skeletons/bundle/Validator.js
JavaScript
mit
190
Tinytest.add('options cacheLimit - exceed', function(test) { var sm = new SubsManager({cacheLimit: 2}); sm._addSub(['posts']); sm._addSub(['comments']); sm._addSub(['singlePoint', 'one']); sm._applyCacheLimit(); test.equal(sm._cacheList.length, 2); var subsIds = sm._cacheList.map(function(sub) { ret...
parkerkimbell/subs-manager
tests/options.js
JavaScript
mit
1,642
module.exports={title:"KeePassXC",slug:"keepassxc",get svg(){return'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>KeePassXC</title><path d="'+this.path+'"/></svg>'},path:"M12 0C5.378 0 0 5.378 0 12c0 6.623 5.378 12 12 12 6.623 0 12-5.377 12-12 0-6.622-5.377-12-12-12zm0 .791a11.203 11.203...
cdnjs/cdnjs
ajax/libs/simple-icons/5.24.0/keepassxc.min.js
JavaScript
mit
907
Ext.define('Ext.chart.theme.Default', { extend: 'Ext.chart.theme.Base', singleton: true, alias: [ 'chart.theme.default', 'chart.theme.Base' ] });
ybbkd2/publicweb
web/ext/packages/sencha-charts/src/chart/theme/Default.js
JavaScript
gpl-2.0
177
(function() { var extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}...
CalCoRE/DataSketch
DataSketchServerUpload/DataSketchWeb/DataSketch.Web/obj/Release/Package/PackageTmp/DataSketchApp3/cslib/modules/datasketch/animation/properties/stamping/module.js
JavaScript
gpl-2.0
954
/*! * Aloha Editor * Author & Copyright (c) 2010 Gentics Software GmbH * aloha-sales@gentics.com * Licensed unter the terms of http://www.aloha-editor.com/license.html */ /** * @name block.editor * @namespace Block attribute editors */ define(['aloha/jquery', 'aloha/observable'], function(jQuery, Observable) { ...
berkmancenter/spectacle
web/js/lib/plugins/common/block/lib/editor.js
JavaScript
gpl-2.0
4,571
define([ 'angular' , './instance-controller' , './instance-directive' , '../../glyph/glyph' ], function( angular , Controller , directive , glyphModule ) { "use strict"; return angular.module('mtk.instance', [glyphModule.name]) .controller('InstanceController', Controller) ...
jeroenbreen/metapolator
app/lib/ui/metapolator/instance-panel/instance/instance.js
JavaScript
gpl-3.0
378
if (Date.first_day_of_week == 1) { Date.weekdays = $w("L Ma Me J V S D"); } else { Date.weekdays = $w("D L Ma Me J V S"); } Date.months = $w('Janvier Février Mars Avril Mai Juin Juillet Août Septembre Octobre Novembre Décembre'); _translations = { "OK": "OK", "Now": "Maintenant", "Today": "Aujourd'hui",...
wesbillman/projects
public/javascripts/calendar_date_select/locale/fr.js
JavaScript
agpl-3.0
349
var classCqrs_1_1Tests_1_1Cache_1_1When__saving__aggregate = [ [ "Setup", "classCqrs_1_1Tests_1_1Cache_1_1When__saving__aggregate_ae3cdfe47b998fc0e76ffc9c9b125c441.html#ae3cdfe47b998fc0e76ffc9c9b125c441", null ], [ "Should_get_same_aggregate_on_get", "classCqrs_1_1Tests_1_1Cache_1_1When__saving__aggregate_a7b8f...
Chinchilla-Software-Com/CQRS
wiki/docs/2.2/html/classCqrs_1_1Tests_1_1Cache_1_1When__saving__aggregate.js
JavaScript
lgpl-2.1
747
// 不再赘述 var path = require('path') // 加载 confi.index.js var config = require('../config') // 使用一些小工具 var utils = require('./utils') // 加载 webpack var webpack = require('webpack') // 加载 webpack 配置合并工具 var merge = require('webpack-merge') // 加载 webpack.base.conf.js var baseWebpackConfig = require('./webpack.base.conf') /...
huang303513/WebBasicCommonDemos
vue-cli2.0的webpack配置分析/lessproject/build/webpack.prod.conf.js
JavaScript
apache-2.0
4,179
//>>built define("dojox/lang/async/event",["dijit","dojo","dojox"],function(k,b,h){b.provide("dojox.lang.async.event");(function(){var g=h.lang.async.event;g.from=function(e,f){return function(){var a,c=function(){a&&(b.disconnect(a),a=null)},d=new b.Deferred(c);a=b.connect(e,f,function(a){c();d.callback(a)});return d}...
aconyteds/Esri-Ozone-Map-Widget
vendor/js/esri/arcgis_js_api/library/3.12/3.12compact/dojox/lang/async/event.js
JavaScript
apache-2.0
502
var assert = require('assert'); var util = require('util'); var events = require('events'); var utils = require('../../lib/utils'); var helper = require('../test-helper'); var InetAddress = require('../../lib/types').InetAddress; describe('InetAddress', function () { describe('constructor', function () { it('sh...
thiagoveras/nodejs-driver
test/unit/inet-address-tests.js
JavaScript
apache-2.0
4,324
var V; function F() { } ; var C = (function () { function C() { } C.prototype.pF = function () { }; C.prototype.rF = function () { }; C.prototype.pgF = function () { }; C.prototype.psF = function (param) { }; C.prototype.rgF = function () { }; C.prototype.rsF = functi...
vcsjones/typescript
tests/baselines/reference/giant.commonjs.js
JavaScript
apache-2.0
5,825
/** * @license * Copyright 2016 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 requir...
jacksonic/vjlofvhjfgm
src/foam/graphics/StereoCView.js
JavaScript
apache-2.0
1,166
var path = require('path'); var assign = require('object-assign'); var forEachBail = require('enhanced-resolve/lib/forEachBail'); var basename = require('enhanced-resolve/lib/getPaths').basename; module.exports = function (modulesToResolveToEs5) { return { apply: doApply.bind(this, modulesToResolveToEs5) ...
BabylonJS/Babylon.js
Tools/WebpackPlugins/viewerResolve.js
JavaScript
apache-2.0
1,075
// This file was procedurally generated from the following sources: // - src/dstr-binding-for-await/ary-ptrn-rest-ary-rest.case // - src/dstr-binding-for-await/default/for-await-of-async-gen-const.template /*--- description: Rest element containing a rest element (for-await-of statement) esid: sec-for-in-and-for-of-sta...
sebastienros/jint
Jint.Tests.Test262/test/language/statements/for-await-of/async-gen-dstr-const-ary-ptrn-rest-ary-rest.js
JavaScript
bsd-2-clause
2,180
/* * Copyright (C) 2008 Apple Inc. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditio...
guorendong/iridium-browser-ubuntu
third_party/WebKit/Source/devtools/front_end/ui_lazy/DataGrid.js
JavaScript
bsd-3-clause
57,639
module.exports = { test: { options: { port: 8000, keepalive: true, hostname: 'localhost', livereload: 35728, open: 'http://<%= connect.test.options.hostname %>:<%= connect.test.options.port %>/test.html' } }, dev: { options:...
TBAPI-0KA/vizabi
grunt/config/connect.js
JavaScript
bsd-3-clause
536
/** * Copyright 2013-2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @emails react-co...
camsong/react
src/addons/transitions/__tests__/ReactCSSTransitionGroup-test.js
JavaScript
bsd-3-clause
8,182
/** * Copyright 2013-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @providesModu...
zeke/react
src/renderers/dom/client/syntheticEvents/SyntheticWheelEvent.js
JavaScript
bsd-3-clause
2,006
import React from 'react' import ComponentExample from 'docs/app/Components/ComponentDoc/ComponentExample' import ExampleSection from 'docs/app/Components/ComponentDoc/ExampleSection' const SelectTypeExamples = () => ( <ExampleSection title='Usage'> <ComponentExample title='Select' description='Defau...
aabustamante/Semantic-UI-React
docs/app/Examples/addons/Select/Types/index.js
JavaScript
mit
450
(function () { 'use strict'; /** * @ngdoc overview * @name ui.grid.edit * @description * * # ui.grid.edit * * <div class="alert alert-success" role="alert"><strong>Stable</strong> This feature is stable. There should no longer be breaking api changes without a deprecation warning.</div> * ...
Lincoln-xzc/angular-ui-grid
src/features/edit/js/gridEdit.js
JavaScript
mit
48,612
/////////////////////////////////////////////////////////////////////////// // Copyright © 2014 - 2016 Esri. 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 // // h...
cmccullough2/cmv-wab-widgets
wab/2.3/jimu.js/ConfigManager.js
JavaScript
mit
39,282
'use strict'; var fs = require('fs'); var path = require('path'); var walk = require('pug-walk'); module.exports = load; function load(ast, options) { load.validateOptions(options); // clone the ast ast = JSON.parse(JSON.stringify(ast)); return walk(ast, function (node) { if (node.str === undefined) { ...
ajredovan/.tour
tour_v1/node_modules/pug-loader/index.js
JavaScript
mit
2,820
/*globals Handlebars */ require("ember-handlebars/ext"); /** @module ember @submodule ember-handlebars */ /** @private Find templates stored in the head tag as script tags and make them available to `Ember.CoreView` in the global `Ember.TEMPLATES` object. This will be run as as jQuery DOM-ready callback. ...
chancancode/ember.js
packages/ember-handlebars/lib/loader.js
JavaScript
mit
2,142
var vows = require('vows'); var assert = require('assert'); var suite = vows.describe('jStat.distribution'); require('../env.js'); suite.addBatch({ 'normal pdf': { 'topic': function() { return jStat; }, //Checked against R's dnorm(x, mean, sd) 'check pdf calculation': function(jStat) { ...
akrawitz/jstat
test/distribution/normal-test.js
JavaScript
mit
923
module.exports={A:{A:{"2":"J UB","2340":"C G E B A"},B:{"2":"D Y g H L"},C:{"2":"SB y QB","545":"0 1 3 4 5 F I J C G E B A D Y g H L M N O P Q R S T U V W X v Z a b c d e f K h i j k l m n o p q r s x z u t PB"},D:{"2":"F I J C G E B A D Y g H L M N O P Q R S T U V W X v Z a b c d e f K h i j","1025":"0 1 3 4 5 8 k l m...
secatoriuris/vista-theme
themes/vista/node_modules/caniuse-lite/data/features/css-crisp-edges.js
JavaScript
gpl-2.0
890
import Ember from 'ember'; export default Ember.Controller.extend({ applicationController: Ember.inject.controller('application'), stats: Ember.computed.reads('applicationController'), config: Ember.computed.reads('applicationController.config'), cachedLogin: Ember.computed('login', { get() { return ...
boehla/open-ethereum-pool
www/app/controllers/index.js
JavaScript
gpl-3.0
506
[{ Name: 'Weather Underground Widget', Author: 'Generoso Martello', Version: '2013-03-31', GroupName: '', IconImage: 'pages/control/widgets/homegenie/generic/images/wu_logo.png', StatusText: '', Description: '', RenderView: function (cuid, module) { var container = $(cuid); ...
AdnanSattar/HomeGenie
BaseFiles/Common/html/pages/control/widgets/weather/wunderground/conditions.js
JavaScript
gpl-3.0
6,270
/*! * jQuery Password Strength plugin for Twitter Bootstrap * Version: 3.0.4 * * Copyright (c) 2008-2013 Tane Piper * Copyright (c) 2013 Alejandro Blanco * Dual licensed under the MIT and GPL licenses. */ (function (jQuery) { // Source: src/i18n.js var i18n = {}; (function (i18n, i18next) { 'use strict'; ...
tejoesperanto/pasportaservo
pasportaservo/static/pwstrength/js/pwstrength-bootstrap.js
JavaScript
agpl-3.0
30,423
/* * bootstrap-table - v1.2.4 - 2014-10-08 * https://github.com/wenzhixin/bootstrap-table * Copyright (c) 2014 zhixin wen * Licensed MIT License */ !function(a){"use strict";a.extend(a.fn.bootstrapTable.defaults,{formatLoadingMessage:function(){return"Cargando, espere por favor..."},formatRecordsPerPage:function(a){ret...
bakasajoshua/web-lims-old
assets/bower_components/bootstrap-table/dist/locale/bootstrap-table-es_AR.min.js
JavaScript
lgpl-3.0
549
//// [tests/cases/conformance/types/import/importTypeGenericTypes.ts] //// //// [foo.ts] interface Point<T> { x: number; y: number; data: T; } export = Point; //// [foo2.ts] namespace Bar { export interface I<T> { a: string; b: number; data: T; } } export namespace Ba...
Microsoft/TypeScript
tests/baselines/reference/importTypeGenericTypes.js
JavaScript
apache-2.0
2,330