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
/* globals: sinon */ var expect = require("chai").expect; var Keen = require("../../../../src/core"), keenHelper = require("../../helpers/test-config"); describe("Keen.Dataviz", function(){ beforeEach(function(){ this.project = new Keen({ projectId: keenHelper.projectId, readKey: keenHelper.rea...
vebinua/keen-js
test/unit/modules/dataviz/dataviz-spec.js
JavaScript
mit
18,031
var fs = require('fs'); var daff = require('daff'); var assert = require('assert'); var Fiber = null; var sqlite3 = null; try { Fiber = require('fibers'); sqlite3 = require('sqlite3'); } catch (err) { // We don't have what we need for accessing the sqlite database. // Not an error. console.log("No ...
dplusic/daff
test/test_sqlite.js
JavaScript
mit
1,473
/** * @fileoverview transition parser/implementation - still WIP * * @author Tony Parisi */ goog.provide('glam.TransitionElement'); goog.require('glam.AnimationElement'); glam.TransitionElement.DEFAULT_DURATION = glam.AnimationElement.DEFAULT_DURATION; glam.TransitionElement.DEFAULT_TIMING_FUNCTION = glam.Anima...
beni55/glam
src/dom/transition.js
JavaScript
mit
1,258
var assert = require('assert'); var common = require('../../common'); var path = common.fixtures + '/data.csv'; var table = 'multi_load_data_test'; var newline = common.detectNewline(path); common.getTestConnection({multipleStatements: true}, function (err, connection) { assert.ifError(err); common.useTestD...
mysqljs/mysql
test/integration/connection/test-multiple-statements-load-data-infile.js
JavaScript
mit
1,877
/*** * Contains core SlickGrid classes. * @module Core * @namespace Slick */ (function ($) { // register namespace $.extend(true, window, { "Slick": { "Event": Event, "EventData": EventData, "EventHandler": EventHandler, "Range": Range, "NonDataRow": NonDataItem, "Group"...
chrisghost/X-SlickGrid
slick.core.js
JavaScript
mit
17,007
{ "type": "FeatureCollection", "crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } }, "features": [ { "type": "Feature", "properties": { "Incident number": 71820028, "Date": "7\/1\/2007", "Time": "02:18 AM", "Police District": 4, "Offense 1": "SIMPLE ASSAULT", "Address": "7001 N 43RD ST #...
marquettecomputationalsocialscience/clusteredcrimemaps
individual_work/marielle/KMeans/datamound/data_2007-simpleassault_jul.js
JavaScript
mit
381,129
'use strict'; // Declare app level module which depends on views, and components angular.module('sidecar', [ 'ngRoute', 'sidecar.services', // 'sidecar.version' ]). config(['$locationProvider', '$routeProvider', function($locationProvider, $routeProvider) { $locationProvider.hashPrefix('!'); $routeProvider.o...
newrelic/sidecar
ui/app/app.js
JavaScript
mit
362
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } var _assetloader = require('./assetloader'); var _assetloader2 = _interopRequireDefault(_assetloader); var _input = require('./input'); v...
freezedev/gamebox
dist/common/index.js
JavaScript
mit
1,038
'use strict'; //Contacts service used to communicate Contacts REST endpoints angular.module('contacts').factory('Contacts', ['$resource', function ($resource) { return $resource('api/v1/contacts/:contactId', { contactId: '@_id' }, { update: { method: 'PUT' } }); } ]);
steven-st-james/mapping-slc
modules/contacts/client/services/contacts.client.service.js
JavaScript
mit
312
module.exports = { bundle_id: 'app', webpack_config: { entry: './assets/src/app.js', }, };
indirectlylit/kolibri
kolibri/plugins/setup_wizard/buildConfig.js
JavaScript
mit
101
var debugpp = require('..'); var debugSystem = debugpp.debug('system', true); var debugSystemTest = debugpp.debug('system.test', true); debugSystem.log("Hello system!"); debugSystemTest.log("Hello system test!"); debugSystemTest.log("World"); debugSystemTest.warn("Hm?!"); debugSystemTest.error("Huston!!!");
mprinc/KnAllEdge
src/frontend/dev_puzzles/knalledge/core/lib/debugpp/demo/index.js
JavaScript
mit
311
{ "type": "FeatureCollection", "crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } }, "features": [ { "type": "Feature", "properties": { "Incident number": 80300014, "Date": "1\/30\/2008", "Time": "02:56 AM", "Police District": 7, "Offense 1": "ROBBERY", "Address": "3927 W VILLARD AV", "L...
marquettecomputationalsocialscience/clusteredcrimemaps
individual_work/marielle/KMeans/datamound/data_2008-robbery_jan.js
JavaScript
mit
192,800
'use strict'; module.exports = function(grunt) { grunt.initConfig({ jshint: { options: { jshintrc: '.jshintrc' }, all: [ 'Gruntfile.js', 'assets/js/*.js', 'assets/js/plugins/*.js', '!assets/js/scripts.min.js' ] }, uglify: { dist: { ...
requestly/public
Gruntfile.js
JavaScript
mit
1,581
import Button from './Button'; /** * The `LinkButton` component defines a `Button` which links to a route. * * ### Props * * All of the props accepted by `Button`, plus: * * - `active` Whether or not the page that this button links to is currently * active. * - `href` The URL to link to. If the current URL ...
datitisev/core
js/src/common/components/LinkButton.js
JavaScript
mit
932
module.exports = function throwIfNonUnexpectedError(err) { if (err && err.message === 'aggregate error') { for (var i = 0 ; i < err.length ; i += 1) { throwIfNonUnexpectedError(err[i]); } } else if (!err || !err._isUnexpected) { throw err; } };
darrindickey/chc-select
node_modules/unexpected/lib/throwIfNonUnexpectedError.js
JavaScript
mit
293
'use strict'; exports.__esModule = true; exports.configure = configure; var _aureliaViewManager = require('aurelia-view-manager'); var _datatable = require('./datatable'); var _columnsFilter = require('./columns-filter'); var _convertManager = require('./convert-manager'); function configure(aurelia) { aurelia....
SpoonX/aurelia-datatable
dist/native-modules/aurelia-datatable.js
JavaScript
mit
535
file:/home/charlike/dev/glob-fs/fixtures/a/d9.js
tunnckoCore/glob-fs
benchmark/playing/b/d9.js
JavaScript
mit
48
const DrawCard = require('../../drawcard.js'); class Alayaya extends DrawCard { setupCardAbilities() { this.reaction({ when: { afterChallenge: event => ( event.challenge.winner === this.controller && this.isParticipating() && ...
DukeTax/throneteki
server/game/cards/05-LoCR/Alayaya.js
JavaScript
mit
796
"use strict"; const conversions = require("webidl-conversions"); const utils = require("./utils.js"); const HTMLElement = require("./HTMLElement.js"); const impl = utils.implSymbol; function HTMLTextAreaElement() { throw new TypeError("Illegal constructor"); } Object.setPrototypeOf(HTMLTextAreaElement.prototype, HT...
danshapiro-optimizely/full_stack_redux
voting-client/node_modules/jsdom/lib/jsdom/living/generated/HTMLTextAreaElement.js
JavaScript
mit
12,969
$.fn.observationFieldsForm = function(options) { $(this).each(function() { var that = this $('.observation_field_chooser', this).chooser({ collectionUrl: '/observation_fields.json', resourceUrl: '/observation_fields/{{id}}.json', afterSelect: function(item) { $('.observation_field_ch...
lucas-ez/inaturalist
app/assets/javascripts/observations/observation_fields.js
JavaScript
mit
9,266
exports.createSession = function(req, res, newUser) { return req.session.regenerate(function() { req.session.user = newUser; // res.redirect('/'); }); }; exports.isLoggedIn = function(req, res) { // return req.session ? !!req.session.user : false; console.log(!!req.user); return req.user ? !!re...
TCL735/job-spotter
server/lib/utility.js
JavaScript
mit
476
//------------------------------------------------------------------------------------------------------- // 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/es5/array_map.js
JavaScript
mit
1,381
const gulp = require('gulp'); const util = require('gulp-util'); const zip = require('gulp-zip'); const release = require('gulp-github-release'); const folders = require('gulp-folders'); const nwBuilder = require('gulp-nw-builder'); const fs = require('fs'); const changelog = require('conventional-changelog'); const ...
seiyria/openchallenge
gulp/binaries.js
JavaScript
mit
1,935
(function () { 'use strict'; angular .module('app.layout') .controller('SidebarController', SidebarController); SidebarController.$inject = ['routerHelper', '$scope', '$rootScope']; /* @ngInject */ function SidebarController (routerHelper, $scope, $rootScope) { var vm = thi...
hitesh97/generator-aio-angular
app/templates/client/source/app/layout/sidebar.controller.js
JavaScript
mit
1,216
// ==UserScript== // @name Sticky vote buttons // @namespace http://stackexchange.com/users/4337810/ // @version 1.0 // @description Makes the vote buttons next to posts sticky whilst scrolling on that post // @author ᔕᖺᘎᕊ (http://stackexchange.com/users/4337810/) // @match *://*.stackexch...
shu8/Stack-Overflow-Optional-Features
Stand-alone-scripts/stickyVoteButtons.user.js
JavaScript
mit
1,377
/** * @author mrdoob / http://mrdoob.com/ * @author alteredq / http://alteredqualia.com/ * @author paulirish / http://paulirish.com/ */ THREE.FirstPersonControls = function ( object, domElement ) { if ( domElement === undefined ) { console.warn( 'THREE.FirstPersonControls: The second parameter "domElement" is...
SpinVR/three.js
examples/js/controls/FirstPersonControls.js
JavaScript
mit
7,190
"use strict"; /** * Copyright 2017 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 ...
aggiedefenders/aggiedefenders.github.io
node_modules/@firebase/database/dist/cjs/src/core/AuthTokenProvider.js
JavaScript
mit
3,512
import modules from 'ui/modules'; import angular from 'angular'; function Storage(store) { let self = this; self.store = store; self.get = function (key) { try { return JSON.parse(self.store.getItem(key)); } catch (e) { return null; } }; self.set = function (key, value) { try { ...
phupn1510/ELK
kibana/kibana/src/ui/public/storage/storage.js
JavaScript
mit
844
"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl...
Spect-AR/Spect-AR
node_modules/node_modules/ionic-native/dist/es5/plugins/camera.js
JavaScript
mit
4,969
// Copyright (c) 2020 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge...
uber/thriftrw
const.js
JavaScript
mit
1,818
define( "dojox/widget/nls/he/FilePicker", ({ name: "שם", path: "נתיב", size: "גודל (בבתים)" }) );
hariomkumarmth/champaranexpress
wp-content/plugins/dojo/dojox/widget/nls/he/FilePicker.js.uncompressed.js
JavaScript
gpl-2.0
123
/********************************************************************************** * * This file is part of e-venement. * * e-venement 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; ...
Fabrice-li/e-venement
web/js/tck-touchscreen-websockets.js
JavaScript
gpl-2.0
14,636
import PlanRequiredRoute from "../plan-required"; import Notify from 'ember-notify'; export default PlanRequiredRoute.extend({ model: function(params) { var _this = this; return this.store.find('entry', params.entry_id).then(function(entry) { // Force a reload if the meta data is out of date var...
closerlee/dayjot-root
ember/app/routes/entries/show.js
JavaScript
gpl-2.0
1,331
/* Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'flash', 'de', { access: 'Skriptzugriff', accessAlways: 'Immer', accessNever: 'Nie', accessSameDomain: 'Gleiche Domain', alignAbsBottom: 'Abs Unte...
SeeyaSia/www
web/libraries/ckeditor/plugins/flash/lang/de.js
JavaScript
gpl-2.0
1,330
/******************************************************************************* * KindEditor - WYSIWYG HTML Editor for Internet * Copyright (C) 2006-2012 kindsoft.net * * @author Roddy <luolonghao@gmail.com> * @website http://www.kindsoft.net/ * @licence http://www.kindsoft.net/license.php * @version 4.1.4 (2012-11-11...
chenlian2015/gagablog
zenTao/www/js/kindeditor/kindeditor.js
JavaScript
gpl-2.0
156,814
/** * 'json' test suite * * Usage: * nodeunit test.js * * Can limit the tests with the 'TEST_ONLY' environment variable: a * space-separated lists of dir names to which to limit. E.g.: * TEST_ONLY=hello-server nodeunit test.js * Can also prefix with a '-' to *exclude* that test. E.g.: to run all but ...
arundurvasula/seqcoverage
node_modules/json/test/test.js
JavaScript
gpl-2.0
6,355
var TRACE_LEVEL_NONE = new JsUnitTraceLevel(0, null); var TRACE_LEVEL_WARNING = new JsUnitTraceLevel(1, "#FF0000"); var TRACE_LEVEL_INFO = new JsUnitTraceLevel(2, "#009966"); var TRACE_LEVEL_DEBUG = new JsUnitTraceLevel(3, "#0000FF"); function JsUnitTracer(testManager) { this._testManager = testManager; ...
SuriyaaKudoIsc/wikia-app-test
extensions/FCKeditor/fckeditor/_test/automated/_jsunit/app/jsUnitTracer.js
JavaScript
gpl-2.0
3,897
var n = 10000000; function bar(f) { f(10); } function foo(b) { var result = 0; var imUndefined; var baz; var set = function (x) { result = x; return (imUndefined, baz); } baz = 40; if (b) { bar(set); if (result != 10) throw "Error: bad: " + result; if (baz !...
Debian/openjfx
modules/web/src/main/native/Source/JavaScriptCore/tests/stress/activation-sink-default-value.js
JavaScript
gpl-2.0
667
// AMD-ID "dojox/math/random/prng4" define("dojox/math/random/prng4", ["dojo", "dojox"], function(dojo, dojox) { dojo.getObject("math.random.prng4", true, dojox); // Copyright (c) 2005 Tom Wu // All Rights Reserved. // See "LICENSE-BigInteger" for details. // prng4.js - uses Arcfour as a PRNG functi...
hariomkumarmth/champaranexpress
wp-content/plugins/dojo/dojox/math/random/prng4.js.uncompressed.js
JavaScript
gpl-2.0
1,336
// ********************************************************************** // // Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved. // // This copy of Ice is licensed to you under the terms described in the // ICE_LICENSE file included in this distribution. // // ***************************************************...
elijah513/ice
js/src/Ice/Promise.js
JavaScript
gpl-2.0
7,772
/*global waitsFor:true expect:true describe:true beforeEach:true it:true spyOn:true */ describe("Discourse.Utilities", function() { describe("emailValid", function() { it("allows upper case in first part of emails", function() { expect(Discourse.Utilities.emailValid('Bob@example.com')).toBe(true); })...
erlend-sh/discourse
spec/javascripts/components/utilities_spec.js
JavaScript
gpl-2.0
2,325
/** * @file * Address widget and GMap geocoder routines. */ /*global jQuery, Drupal, GClientGeocoder */ /** * Provide a shared geocoder. * Lazy initialize it so it's not resident until needed. */ Drupal.gmap.geocoder = function () { var theGeocoder; if (!theGeocoder) { theGeocoder ...
BalloonIndustries/nufios
sites/all/modules/gmap/js/address.js
JavaScript
gpl-2.0
5,541
/* * jsPlumb * * Title:jsPlumb 2.0.2 * * Provides a way to visually connect elements on an HTML page, using SVG. * * This file contains the code for the Bezier connector type. * * Copyright (c) 2010 - 2015 jsPlumb (hello@jsplumbtoolkit.com) * * http://jsplumbtoolkit.com * http://github.com/sporritt/jspl...
rhalff/jsPlumb
src/connectors-bezier.js
JavaScript
gpl-2.0
3,277
/** * Librerías Javascript * * @package Roraima * @author $Author$ <desarrollo@cidesa.com.ve> * @version SVN: $Id$ * * @copyright Copyright 2007, Cide S.A. * @license http://opensource.org/licenses/gpl-2.0.php GPLv2 */ //FUNCIONES JAVASCRIPT var form = null; var arreglo = null; var inicio...
cidesa/roraima
web/js/observe.js
JavaScript
gpl-2.0
2,544
/** * 100% stacked area are multi-series area charts where categories are stacked (percentage * values) on top of each other, with an additional category 'Others' that is used to sum * up the various categories for each series to a perfect 100%. */ Ext.define('KitchenSink.view.charts.area.Stacked100', { extend:...
gedOHub/GClientGUI
ext/examples/kitchensink/classic/samples/view/charts/area/Stacked100.js
JavaScript
gpl-3.0
3,841
var searchData= [ ['_7eqresourcestream',['~QResourceStream',['../classqsf_1_1QResourceStream.html#a5bea8c4481aec48f45d10c0b98e366a9',1,'qsf::QResourceStream']]], ['_7eqsfmlwidget',['~QSFMLWidget',['../classqsf_1_1QSFMLWidget.html#a4eae9c14ac6a8389edcd5949e154f337',1,'qsf::QSFMLWidget']]] ];
KoczurekK/QSFML
docs/search/functions_b.js
JavaScript
gpl-3.0
296
/* Copyright (c) 2004-2011, 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 */ //>>built define("dojo/cldr/nls/en-au/gregorian",{"dateFormatItem-yMEd":"E, d/M/y","timeFormat-full":"h:mm:ss a zzzz"...
cryo3d/cryo3d
static/ThirdParty/dojo-release-1.9.3/dojo/cldr/nls/en-au/gregorian.js
JavaScript
gpl-3.0
633
/* ***** BEGIN LICENSE BLOCK ***** * Version: GPL 3.0 * * The contents of this file are subject to the General Public License * 3.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.gnu.org/licenses/gpl.html * * Software dist...
enozkan/exchangecalendar
interfaces/exchangeTimeZones/mivExchangeTimeZone.js
JavaScript
gpl-3.0
11,983
import ModalTrigger from 'ember-modal/components/modal-trigger'; export default ModalTrigger;
fm2g11/MEAN_Starter_Kit
public/node_modules/ui-bootstrap/node_modules/ember-modal/app/components/modal-trigger.js
JavaScript
gpl-3.0
95
'use strict'; define(['angular-mocks'], function(angularMocks) { describe('the adverse event service', function() { var rootScope, q, adverseEventService, outcomeServiceMock = jasmine.createSpyObj('OutcomeService', ['queryItems', 'addItem', 'editItem', 'deleteItem']), outcomeQueryDefer, o...
ConnorStroomberg/addis-core
src/main/webapp/resources/app/js/adverseEvent/adverseEventServiceIntSpec.js
JavaScript
gpl-3.0
2,892
/* Copyright (c) 2004-2008, 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["dijit._base.manager"]){ dojo._hasResource["dijit._base.manager"]=true; dojo.provide("dijit._base.man...
sguazt/dcsj-sharegrid-portal
web/resources/scripts/dojo/dijit/_base/manager.js
JavaScript
gpl-3.0
3,207
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; either version 2.1 of * th...
exsilium/cloud9
ppc/platform/loader2.js
JavaScript
gpl-3.0
18,651
// This file is part of Pa11y Webservice. // // Pa11y Webservice 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. // // Pa11y Webserv...
pa11y/webservice
test/integration/get-all-results.js
JavaScript
gpl-3.0
4,176
/************************************************************************* * tranSMART - translational medicine data mart * * Copyright 2008-2012 Janssen Research & Development, LLC. * * This product includes software developed at Janssen Research & Development, LLC. * * This program is free software: you can...
thehyve/naa-transmartApp
web-app/js/datasetExplorer/highDimensionData.js
JavaScript
gpl-3.0
24,989
/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ /* 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/. */ /** File Name: 15.9.5.13.js ECMA Section: ...
cstipkovic/spidermonkey-research
js/src/tests/ecma/Date/15.9.5.13-3.js
JavaScript
mpl-2.0
1,086
// Copyright 2013 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. // Flags: --harmony-unicode-regexps var s = "a".repeat(1E7) + "\u1234"; assertEquals(["\u1234", "\u1234"], /(\u1234)/u.exec(s));
Jet-Streaming/framework
deps/v8/test/mjsunit/harmony/unicode-regexp-unanchored-advance.js
JavaScript
mpl-2.0
298
/* * Copyright 2012 OSBI Ltd * * 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 a...
qixiaobo/saiku-self
saiku-ui/js/saiku/views/SelectionsModal.js
JavaScript
apache-2.0
27,022
//>>built define("dojox/editor/plugins/nls/latinEntities", { root: //begin v1.x content ({ /* These are already handled in the default RTE amp:"ampersand",lt:"less-than sign", gt:"greater-than sign", nbsp:"no-break space\nnon-breaking space", quot:"quote", */ iexcl:"inverted exclamation mark", cent:"cent si...
cfxram/grails-dojo
web-app/js/dojo/1.7.2/dojox/editor/plugins/nls/latinEntities.js
JavaScript
apache-2.0
9,970
var node = S(input, "application/json"); node.lastIndexOf("test");
camunda/camunda-spin
dataformat-json-jackson/src/test/resources/org/camunda/spin/javascript/nashorn/json/tree/JsonTreeEditListPropertyJavascriptTest.shouldFailReadLastIndexOfNonArray.js
JavaScript
apache-2.0
67
define([ 'text!views/home/home.html' ], function (template) { var model = kendo.observable({ title: 'Home' }); var view = new kendo.View(template, { model: model }); return view; });
kendo-labs/generator-kendo-ui
app/templates/spa/views/home/home.js
JavaScript
apache-2.0
210
//>>built define( "dojox/editor/plugins/nls/da/TextColor", //begin v1.x content ({ "setButtonText": "Definér", "cancelButtonText": "Annullér" }) //end v1.x content );
cfxram/grails-dojo
web-app/js/dojo/1.7.2/dojox/editor/plugins/nls/da/TextColor.js
JavaScript
apache-2.0
172
// Copyright (c) 2012 Ecma International. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- es5id: 15.2.3.6-3-134 description: > Object.defineProperty - 'value' property in 'Attributes' is own accessor property that overrides an inherited data property (8.10...
m0ppers/arangodb
3rdParty/V8/V8-5.0.71.39/test/test262/data/test/built-ins/Object/defineProperty/15.2.3.6-3-134.js
JavaScript
apache-2.0
844
/* * Copyright (c) 2015 Juniper Networks, Inc. All rights reserved. */ define([ 'jquery', 'underscore', 'co-test-utils', 'co-test-constants' ], function ($, _, cotu, cotc) { var defaultTestSuiteConfig = { class: '', groups: [], severity: cotc.SEVERITY_LOW }; var c...
nagakiran/contrail-web-core
webroot/test/ui/js/co.test.runner.js
JavaScript
apache-2.0
20,104
define( ({ viewer: { loading: { step1: "CARGANDO APLICACIÓN", step2: "CARGANDO DATOS", step3: "INICIALIZANDO", fail: "La carga de la comparativa de mapas ha fallado", loadBuilder: "CAMBIANDO A MODO DE BUILDER", redirectSignIn: "REDIRIGIENDO A LA PÁGINA DE INICIO DE SESIÓN", ...
mapsdotcom/swipe-map-storytelling-template-js
Swipe/src/resources/nls/es/template.js
JavaScript
apache-2.0
16,639
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */ /* Copyright 2012 Mozilla Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Licen...
jpambrun/jpx-medical
util.js
JavaScript
apache-2.0
45,189
;(function(root) { /** * Constructs a new cross storage client given the url to a hub. By default, * an iframe is created within the document body that points to the url. It * also accepts an options object, which may include a timeout, frameId, and * promise. The timeout, in milliseconds, is applied to e...
emiljas/cross-storage
lib/client.js
JavaScript
apache-2.0
14,264
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. import { Log } from './Log.js'; import { IFrameWindow } from './IFrameWindow.js'; export class IFrameNavigator { prepare(params) { ...
IdentityModel/oidc-client-js
src/IFrameNavigator.js
JavaScript
apache-2.0
656
/** * Copyright 2013 Google, Inc. * @fileoverview Calculate SHA1 hash of the given content. */ goog.provide("adapt.sha1"); goog.require("adapt.base"); /** * @param {number} n * @return {string} big-endian byte sequence */ adapt.sha1.encode32 = function(n) { return String.fromCharCode((n >>> 24)&0xFF, (n >>> 16...
kuad9/vivliostyle.js_study
src/adapt/sha1.js
JavaScript
apache-2.0
4,018
(function () { var ns = $.namespace('pskl.controller.settings'); var settings = { 'user' : { template : 'templates/settings/preferences.html', controller : ns.PreferencesController }, 'resize' : { template : 'templates/settings/resize.html', controller : ns.resize.ResizeControll...
piskelapp/piskel
src/js/controller/settings/SettingsController.js
JavaScript
apache-2.0
3,958
// Copyright 2015-present runtime.js project 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 applicab...
SpaceboyRoss01/PeabodyOS
src/system/node_modules/runtimejs/js/test/unit/lib/buffer-builder.js
JavaScript
apache-2.0
2,824
var b; b.reduce(function (c, d) { return c + d; }, 0); // should not error on '+'
hippich/typescript
tests/baselines/reference/genericContextualTypingSpecialization.js
JavaScript
apache-2.0
90
continue; ONE: for (var x in {}) continue TWO; TWO: for (var x in {}) { var fn = function () { continue TWO; }; } THREE: for (var x in {}) { var fn = function () { continue THREE; }; } for (var x in {}) { continue FIVE; FIVE: for (var x in {}) {...
hippich/typescript
tests/baselines/reference/invalidForInContinueStatements.js
JavaScript
apache-2.0
400
/* 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 * distributed...
roberthafner/flowable-engine
modules/flowable-ui-task/flowable-ui-task-app/src/main/webapp/scripts/landing-controller.js
JavaScript
apache-2.0
3,572
/* *name:dtt *time:2014.12.01 *content:注册页 */ seajs.config({ // 别名配置 alias: { 'head':'../../../../module/head/js/init.js', 'service':'../../../../module/service/js/init.js', 'rightTips':'../../../../module/rightTips/js/init.js', 'dialog':'../../../../module/dialog/js/init.js' } }); define...
ldjking/sharegrid
proxy/data/bankcard/zhuce/user/js-1223/project/user/register/js/init.js
JavaScript
apache-2.0
17,033
const React = require('react'); const CompLibrary = require('../../core/CompLibrary'); const Container = CompLibrary.Container; const GridBlock = CompLibrary.GridBlock; const CWD = process.cwd(); const translate = require('../../server/translate.js').translate; const siteConfig = require(`${CWD}/siteConfig.js`); /...
ArvinDevel/incubator-pulsar
site2/website/pages/en/versions.js
JavaScript
apache-2.0
4,767
var searchData= [ ['jsontographfunction',['jsonToGraphFunction',['../namespacechi.html#a6a3fedb48e6702c016f996d8a7f445fc',1,'chi']]], ['jsontographmodule',['jsonToGraphModule',['../namespacechi.html#a4489e333fecc4168278e94f8b3f81e3c',1,'chi']]], ['jsontographstruct',['jsonToGraphStruct',['../namespacechi.html#a62...
russelltg/chigraph
docs/search/functions_8.js
JavaScript
apache-2.0
497
// Copyright (c) Microsoft Corporation. All rights reserved. // Based in part on code from Apache Ripple, https://github.com/apache/incubator-ripple var utils = require('utils'); var _lastMouseEvent, _isMouseDown; // NOTE: missing view, detail, touches, targetTouches, scale and rotation function _createTouchEven...
busykai/cordova-simulate
src/app-host/touch-events.js
JavaScript
apache-2.0
2,718
/************************************************************************* Copyright (c) 20136 Adobe Systems Incorporated. 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...
edge-code/edge-inspect-api
edge-inspect-api-1.0.0.js
JavaScript
apache-2.0
30,259
/** * Copyright 2013-2014 Facebook, 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 agree...
atom/react
src/addons/transitions/ReactTransitionGroup.js
JavaScript
apache-2.0
5,458
$(document).ready(function () { form = $('#form'); $("#Grid tbody>tr").click(function () { var id = $(this).find("[name='id']").attr('value'); $("#grid_selecteditem").val(id); }); }); function ClearSelection(e) { $("#grid_selecteditem").val(""); } var options = {}; fu...
EIDSS/EIDSS-Legacy
EIDSS v6/eidss.webui/Scripts/Search/Panel.js
JavaScript
bsd-2-clause
2,371
"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })...
ChromeDevTools/devtools-frontend
node_modules/table/dist/src/index.js
JavaScript
bsd-3-clause
1,280
/** * Copyright (c) 2013-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @provides...
mroch/relay
src/tools/testEditDistance.js
JavaScript
bsd-3-clause
2,607
import Ember from 'ember'; import ColumnDefinition from 'ember-table/models/column-definition'; export default Ember.Controller.extend({ tableColumns: Ember.computed(function() { var dateColumn = ColumnDefinition.create({ savedWidth: 150, textAlign: 'text-align-left', headerCellName: 'Date', ...
Cuiyansong/ember-table
tests/dummy/app/controllers/simple.js
JavaScript
bsd-3-clause
1,711
/* * * Copyright (C) 2011, The Locker Project * All rights reserved. * * Please see the LICENSE file for more information. * */ var assert = require("assert"); var vows = require("vows"); var RESTeasy = require("api-easy"); var http = require("http"); var request = require('request'); var querystring = require("querys...
quartzjer/Locker
tests/locker-core-api-test.js
JavaScript
bsd-3-clause
9,146
import "ember"; import EmberHandlebars from "ember-handlebars"; var compile = EmberHandlebars.compile; var Router, App, AppView, router, container; var set = Ember.set; function bootApplication() { router = container.lookup('router:main'); Ember.run(App, 'advanceReadiness'); } // IE includes the host name func...
ming-codes/ember.js
packages/ember/tests/helpers/link_to_test.js
JavaScript
mit
58,903
/* * Copyright (c) 2014 - present Adobe Systems Incorporated. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * ...
busykai/brackets
test/spec/FindInFiles-test.js
JavaScript
mit
119,508
import Model from 'flarum/Model'; import Discussion from 'flarum/models/Discussion'; import IndexPage from 'flarum/components/IndexPage'; import Tag from 'tags/models/Tag'; import TagsPage from 'tags/components/TagsPage'; import DiscussionTaggedPost from 'tags/components/DiscussionTaggedPost'; import addTagList from ...
Luceos/flarum-tags
js/forum/src/main.js
JavaScript
mit
1,086
var $content, $deferred; $(document).ready(function() { // Bind ASAP events $(window).on("request.asap", pageRequested) .on("progress.asap", pageLoadProgress) .on("load.asap", pageLoaded) .on("render.asap", pageRendered) .on("error.asap", pageLoadError); $content = $("#content...
LoganArnett/Formstone
demo/site/extra/asap/js/main.js
JavaScript
mit
1,400
import { Class, clone, isArray } from './lib/objects'; import { diffs } from './lib/diffs'; import { eq } from './lib/eq'; import { PathNotFoundException } from './lib/exceptions'; /** `Document` is a complete implementation of the JSON PATCH spec detailed in [RFC 6902](http://tools.ietf.org/html/rfc6902). A docum...
beni55/orbit.js
lib/orbit/document.js
JavaScript
mit
14,393
function BxTimelineView(oOptions) { this._sActionsUri = oOptions.sActionUri; this._sActionsUrl = oOptions.sActionUrl; this._sObjName = oOptions.sObjName == undefined ? 'oTimelineView' : oOptions.sObjName; this._iOwnerId = oOptions.iOwnerId == undefined ? 0 : oOptions.iOwnerId; this._sAnimationEffect = ...
camperjz/trident
modules/boonex/timeline/updates/8.0.6_8.0.7/source/js/view.js
JavaScript
mit
5,516
var TasteEntriesIndexView = Backbone.View.extend({ initialize: function () { this.initial_data = $('#data').data('response'); this.collection = new TasteEntriesCollection(this.initial_data); this.render(); this.taste_entries_index_list_view = new TasteEntriesIndexListView({ el: '#entries_list', collec...
cgvarela/jennifer_dewalt
app/assets/javascripts/views/taste_entries_index_view.js
JavaScript
mit
586
var AWS = require('./core'); var SequentialExecutor = require('./sequential_executor'); /** * The namespace used to register global event listeners for request building * and sending. */ AWS.EventListeners = { /** * @!attribute VALIDATE_CREDENTIALS * A request listener that validates whether the request is...
ShareTracs/app
node_modules/aws-sdk/lib/event_listeners.js
JavaScript
mit
18,313
var searchData= [ ['changedetailsapi',['ChangeDetailsAPI',['../classbackend_1_1api_1_1users_1_1_change_details_a_p_i.html',1,'backend::api::users']]], ['chatmessageapi',['ChatMessageApi',['../classbackend_1_1api_1_1messages_1_1_chat_message_api.html',1,'backend::api::messages']]], ['chatuserapi',['ChatUserApi',['...
evanyc15/Fort-Nitta
Documentation/html/search/classes_1.js
JavaScript
mit
561
/* * The trigger API * * - Documentation: ../docs/input-trigger.md */ +function ($) { "use strict"; var TriggerOn = function (element, options) { var $el = this.$el = $(element); this.options = options || {}; if (this.options.triggerCondition === false) throw new Error('T...
timmarner/cms-backendtheme
themes/timmarner/assets/ui/js/input.trigger.js
JavaScript
mit
5,644
Astro.createValidator({ name: 'gte', validate: function(fieldValue, fieldName, compareValue) { if (_.isFunction(compareValue)) { compareValue = compareValue.call(this); } return fieldValue >= compareValue; }, events: { validationerror: function(e) { var fieldName = e.data.field; ...
ribbedcrown/meteor-astronomy-validators
lib/validators/size/gte.js
JavaScript
mit
606
define(function(require) { // Include parent class var utility = require('../Helper/utility.js') var Human = require('./Human.js') var Teacher = Human.extend({ init: function(firstName, lastName, age, specialty) { Human.init.apply(this, arguments); this.spe...
TelerikAcademy/flextry-Telerik-Academy
Web Design & Development/5. JavaScript OOP/11. Advanced OOP (Autumn Academy)/01. School - Prototypal OOP/scripts/Classes/Teacher.js
JavaScript
mit
545
/** ! * Google Drive File Picker Example * By Daniel Lo Nigro (http://dan.cx/) */ (function () { /** * Initialise a Google Driver file picker */ var FilePicker = window.FilePicker = function (options) { // Config this.apiKey = options.apiKey this.clientId = options.clientId // Elements ...
Rwing/hackmd
public/js/google-drive-picker.js
JavaScript
mit
3,553
version https://git-lfs.github.com/spec/v1 oid sha256:866863ba9feea81e907968a3bc09f6876511c89dbf5be91d1ed9358a2b6ad4a3 size 563
yogeshsaroya/new-cdnjs
ajax/libs/yui/3.2.0/datatype/lang/datatype-date-format_fr-CA.js
JavaScript
mit
128
import { createReturnPromise } from '../helpers' function getUserFactory() { function getUser({ firebase, path }) { return createReturnPromise(firebase.getUser(), path) } return getUser } export default getUserFactory
yusufsafak/cerebral
packages/node_modules/@cerebral/firebase/src/operators/getUser.js
JavaScript
mit
231
Joshfire.define(['joshfire/class', 'joshfire/tree.ui', 'joshfire/uielements/list', 'joshfire/uielements/panel', 'joshfire/uielements/panel.manager', 'joshfire/uielements/button', 'src/ui-components'], function(Class, UITree, List, Panel, PanelManager, Button, UI) { return Class(UITree, { buildTree: function() {...
joshfire-platform-templates/event
app/src/tree.ui.tablet-onepanel.js
JavaScript
mit
9,770