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
// Copyright (C) 2016 the V8 project authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- es6id: 13.12.11 description: > Completion value when execution continues through multiple cases and ends with a normal completion info: | SwitchStatement : switch (...
sebastienros/jint
Jint.Tests.Test262/test/language/statements/switch/cptn-dflt-b-fall-thru-nrml.js
JavaScript
bsd-2-clause
2,594
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow strict * @format */ // flowlint ambiguous-object-type:error 'use strict'; export type CompileResult = 'HAS_CHANGES' | ...
yungsters/relay
packages/relay-compiler/codegen/CodegenTypes.js
JavaScript
bsd-3-clause
516
ivphpanYandexMap = { id:'', idCords:'#ivphpanYandexMapCords', options: { center: [], zoom: 16, controls: ["zoomControl", "fullscreenControl","geolocationControl"] }, map:'', cords:[], points:[], events:[], init:function(id,options) { ivphpanYandexMa...
ivphpan/royalparkcitykz
modules/cms/components/yandexMap/assets/yii2-yandex-map.js
JavaScript
bsd-3-clause
4,177
module.exports = { // COLORS: // redish: .C-f2438c // blueish: .C-07f 'breakPoints': { 'sm': '@media(min-width:700px)', 'md': '@media(min-width:992px)', 'lg': '@media(min-width:1200px)' }, // custom atomic classes mapped to their values 'custom': { 'Bdx(1)': '...
pablolmiranda/fluxible
site/configs/atomic.js
JavaScript
bsd-3-clause
714
/* ***** BEGIN LICENSE BLOCK ***** * Distributed under the BSD license: * * Copyright (c) 2010, Ajax.org B.V. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of sou...
papandreou/assetgraph
testdata/relations/JavaScriptRequireJsCommonJsCompatibilityRequire/ace/3rdparty/ace/keyboard/emacs.js
JavaScript
bsd-3-clause
17,163
import state from './state'; import mutations from './mutations'; import * as actions from './actions'; export default () => ({ namespaced: true, state: state(), mutations, actions, });
stoplightio/gitlabhq
app/assets/javascripts/vuex_shared/modules/modal/index.js
JavaScript
mit
195
var chai = require('chai'); var expect = chai.expect; describe('Environment Variables', function() { describe('process.env.FACEBOOK_TEST_EMAIL', function() { it('should be set', function() { expect(process.env.FACEBOOK_TEST_EMAIL).to.exist; }); }); describe('process.env.FACEBOOK_TEST_PASSWORD', function() {...
wolfenbarger/pa-website
test/e2e/env_vars.js
JavaScript
mit
747
"use strict"; var helper = require('../../helper'); var DealTrackingStageManager = require('../../../src/managers/sales/deal-tracking-stage-manager'); var generateCode = require("../../../src/utils/code-generator"); var dealTrackingBoard = require("./deal-tracking-board-data-util"); class DealTrackingStageDataUtil { ...
indriHutabalian/dl-module
test/data-util/sales/deal-tracking-stage-data-util.js
JavaScript
mit
1,192
/** * @module ember-paper */ import Component from '@ember/component'; import { run } from '@ember/runloop'; import Translate3dMixin from '../mixins/translate3d-mixin'; /** * @class PaperDialogInner * @extends Ember.Component * @uses Translate3dMixin */ export default Component.extend(Translate3dMixin, { tagN...
pauln/ember-paper
addon/components/paper-dialog-inner.js
JavaScript
mit
1,450
/** * Release * Called as last, tells the user has released the screen * @events release */ Hammer.gestures.Release = { name : 'release', index : Infinity, handler: function releaseGesture(ev, inst) { if(ev.eventType == Hammer.EVENT_END) { inst.trigger(this.name, ev); } } };
frangucc/gamify
www/sandbox/pals/sandbox/ScenarioRunner/app/lib/hammer/gestures/release.js
JavaScript
mit
305
var macros = require('./macros') , statsd = require('statsd-parser') , lynx = macros.lynx , test = macros.test , udpServer = macros.udpServer , connection = macros.connection , count = 0 , finished = false ; // // TOTAL is the number of iterations to do // DESIRED is the min...
authbox-lib/lynx
tests/sampling-test.js
JavaScript
mit
2,717
var FieldType = require('../Type'); var util = require('util'); var utils = require('keystone-utils'); /** * Text FieldType Constructor * @extends Field * @api public */ function text(list, path, options) { this._nativeType = String; this._underscoreMethods = ['crop']; text.super_.call(this, list, path, options...
mikaoelitiana/keystone
fields/types/text/TextType.js
JavaScript
mit
1,260
Class.Binds = new Class({ bindMethods: function(){} });
fakedarren/mooshell
media/js/clientcide/Compatibility/Class.Extras/Class.Binds.js
JavaScript
mit
56
import { Meteor } from 'meteor/meteor'; import { check } from 'meteor/check'; import { hasPermission } from '../../app/authorization'; import { Users, Subscriptions, Messages } from '../../app/models'; import { settings } from '../../app/settings'; import { Notifications } from '../../app/notifications'; Meteor.metho...
Sing-Li/Rocket.Chat
server/methods/removeRoomLeader.js
JavaScript
mit
1,900
import AccountsServer from '@accounts/server'; import MongoAdapter from '@accounts/mongo'; import { MongoInternals } from 'meteor/mongo'; import { Meteor } from 'meteor/meteor'; Meteor.startup(() => { const mongodb = MongoInternals.defaultRemoteCollectionDriver().mongo.db; const mongoAdapter = new MongoAdapter(mong...
pkgodara/Rocket.Chat
packages/rocketchat-accounts/server/config.js
JavaScript
mit
570
const expect = require('chai').expect; const errorInEachBrowserContains = require('../../../../assertion-helper.js').errorInEachBrowserContains; describe('[Raw API] Drag actions', function () { describe('drag', function () { it('Should drag an element by an offset', function () { ...
DevExpress/testcafe
test/functional/fixtures/api/raw/drag/test.js
JavaScript
mit
3,199
/** * Created by aleckim on 2017. 7. 11.. */ "use strict"; var Logger = require('../lib/log'); global.log = new Logger(__dirname + "/debug.log"); var assert = require('assert'); describe('unit test - kasi rise set controller', function() { //it('test gather rise set from api', function (done) { // ...
seankim2/TodayWeather
server/test/testKasiRiseSetController.js
JavaScript
mit
710
import { module, test } from '../qunit'; import moment from '../../moment'; module('weeks in year'); test('isoWeeksInYear', function (assert) { assert.equal( moment([2005]).isoWeeksInYear(), 52, 'ISO year 2005 has 52 iso weeks' ); assert.equal( moment([2006]).isoWeeksInYear...
julionc/moment
src/test/moment/weeks_in_year.js
JavaScript
mit
8,280
/* * arrive.js * v2.2.0 * https://github.com/uzairfarooq/arrive * MIT licensed * * Copyright (c) 2014-2015 Uzair Farooq */ (function(window, $, undefined) { "use strict"; if(!window.MutationObserver || typeof HTMLElement === 'undefined'){ return; //for unsupported browsers } var arriveUniqueId = ...
ashutosh2k12/arrive
src/arrive.js
JavaScript
mit
11,153
Tinytest.add("blaze-tools - token parsers", function (test) { var run = function (func, input, expected) { var scanner = new HTMLTools.Scanner('z' + input); // make sure the parse function respects `scanner.pos` scanner.pos = 1; var result = func(scanner); if (expected === null) { test.equa...
alphanso/meteor
packages/blaze-tools/token_tests.js
JavaScript
mit
2,426
'use strict'; var personalsApp = angular.module('personals'); personalsApp.controller('ApptSlotController', ['$scope', 'slotService', function($scope, slotService) { $scope.slotList = slotService.slotList; $scope.slot = []; $scope.disabled = false; $scope.dayOptions = [ ...
bhuvansalanke/BookingApplication
modules/personals/client/controllers/appt-slot.client.controller.js
JavaScript
mit
2,847
/** * @author alteredq / http://alteredqualia.com/ * * Dot screen shader * based on glfx.js sepia shader * https://github.com/evanw/glfx.js */ THREE.DotScreenRGBShader = { uniforms: { "tDiffuse": { type: "t", value: null }, "tSize": { type: "v2", value: new THREE.Vector2( 256, 256 ) }, "center": { ...
mcanthony/glam
libs/three.js.r68/shaders/DotScreenRGBShader.js
JavaScript
mit
1,375
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _reactAddonsPureRenderMixin = require('react-addons-pure-render-mixin'); var _reactAddonsPureRenderMixin2 = _interopRequireDefault(_reactAddonsPureRenderMi...
Sporks/Doc-tor
node_modules/material-ui/lib/svg-icons/social/person.js
JavaScript
cc0-1.0
1,013
Clazz.declarePackage ("org.eclipse.jface.bindings"); Clazz.load (["org.eclipse.core.commands.contexts.IContextManagerListener", "org.eclipse.jface.bindings.ISchemeListener", "java.util.HashMap", "$.Locale", "$wt.SWT"], "org.eclipse.jface.bindings.BindingManager", ["java.lang.NullPointerException", "$.StringBuffer", "j...
royleexhFake/mayloon-portingtool
sources/net.sf.j2s.lib/j2slib/org/eclipse/jface/bindings/BindingManager.js
JavaScript
epl-1.0
30,331
/** * @file * Adds smooth scrolling to TOC anchor links. * * From: Scroll window smoothly in jQuery - Animated scroll * http://blog.freelancer-id.com/2009/03/26/scroll-window-smoothly-in-jquery/ */ (function ($) { Drupal.tocFilterScrollToOnClick = function() { // Make sure links still has hash. if (!t...
Pepino710/peenolab
sites/all/modules/toc_filter/toc_filter.js
JavaScript
gpl-2.0
1,175
/* * resizable_options.js */ (function($) { module("resizable: options"); test( "alsoResize", function() { expect( 2 ); var other = $( "<div>" ) .css({ width: 50, height: 50 }) .appendTo( "body" ), element = $( "#resizable1" ).resizable({ alsoResize: other }), handle = ".ui-resizable-e"...
cuongnd/test_pro
media/jui_front_end/jquery-ui-1.11.1/tests/unit/resizable/resizable_options.js
JavaScript
gpl-2.0
14,298
/* * Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa...
md-5/jdk10
test/jdk/tools/jpackage/resources/query-msi-property.js
JavaScript
gpl-2.0
1,937
/** * jsBezier-0.6 * * Copyright (c) 2010 - 2013 Simon Porritt (simon.porritt@gmail.com) * * licensed under the MIT license. * * a set of Bezier curve functions that deal with Beziers, used by jsPlumb, and perhaps useful for other people. These functions work with Bezier * curves of arbitrary degree. * * - functions ...
bchiroma/DreamProject_2
dream/platform/static/lib/jquery.jsplumb.js
JavaScript
gpl-3.0
444,768
module.exports = { options: { jshintrc: true }, beforeconcat: '<%= concat.dev.src %>' };
Apiki/wp-ghost
public/ghost/grunt/jshint.js
JavaScript
gpl-3.0
93
odoo.define('point_of_sale.models', function (require) { "use strict"; var BarcodeParser = require('barcodes.BarcodeParser'); var PosDB = require('point_of_sale.DB'); var devices = require('point_of_sale.devices'); var core = require('web.core'); var Model = require('web.DataModel'); var formats = require('web.formats...
hieukypc/ERP
openerp/addons/point_of_sale/static/src/js/models.js
JavaScript
gpl-3.0
81,206
// Copyright (c) 2016, Velometro Mobility Inc and contributors // For license information, please see license.txt frappe.query_reports["Production Order Stock Report"] = { "filters": [ { "fieldname":"warehouse", "label": __("Warehouse"), "fieldtype": "Link", "options": "Warehouse" } ] }
hassanibi/erpnext
erpnext/manufacturing/report/production_order_stock_report/production_order_stock_report.js
JavaScript
gpl-3.0
304
/*! * Ext JS Library 3.2.0 * Copyright(c) 2006-2010 Ext JS, LLC * licensing@extjs.com * http://www.extjs.com/license */ // for old browsers window.undefined = window.undefined; /** * @class Ext * Ext core utilities and functions. * @singleton */ Ext = { /** * The version of the framework * @ty...
xantus/comet-desktop
public/desktop/lib/ext-3.2-beta/adapter/ext/ext-base-debug.js
JavaScript
gpl-3.0
122,739
/** * Created by panos on 10/16/15. */ (function () { 'use strict'; window.Toolbar = function (panels, editor) { this.element = document.createElement("div"); this.element.className = "fm-editor-toolbar"; this.editor = editor; this.createPanels(panels); }; Toolbar.__name__ = ["Toolbar"]; To...
remytms/Distribution
plugin/formula/Resources/public/tinymce/plugins/formula/js/components/Toolbar.js
JavaScript
gpl-3.0
1,403
/* ### jQuery XML to JSON Plugin v1.2 - 2013-02-18 ### * http://www.fyneworks.com/ - diego@fyneworks.com * Licensed under http://en.wikipedia.org/wiki/MIT_License ### Website: http://www.fyneworks.com/jquery/xml-to-json/ *//* # INSPIRED BY: http://www.terracoder.com/ AND: http://www.thomasfrank.se/xml_...
LTPV/LTPV
share/ltpv/inc/jquery.xml2json.js
JavaScript
lgpl-2.1
7,347
/*global dojoConfig:true */ /*jslint browser:true,sloppy:true,nomen:true,unparam:true,plusplus:true,indent:4 */ /* | Copyright 2013 Esri | | 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 ...
Esri/transportation-511
js/library/coreLibrary/dojoConfiguration.js
JavaScript
apache-2.0
1,312
//// [tests/cases/compiler/declarationEmitInferredTypeAlias5.ts] //// //// [0.ts] export type Data = string | boolean; let obj: Data = true; //// [1.ts] import * as Z from "./0" //let v2: Z.Data; let v = "str" || true; export { v } //// [0.js] "use strict"; exports.__esModule = true; var obj = true; //// ...
Microsoft/TypeScript
tests/baselines/reference/declarationEmitInferredTypeAlias5.js
JavaScript
apache-2.0
580
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _reactAddonsPureRenderMixin = require('react-addons-pure-render-mixin'); var _reactAddonsPureRenderMixin2 = _interopRequireDefault(_reactAddonsPureRenderMi...
Maxwelloff/react-football
node_modules/material-ui/lib/svg-icons/notification/airline-seat-recline-normal.js
JavaScript
apache-2.0
1,352
enyo.kind({ name: "enyo.sample.ListNoSelectSample", classes: "list-sample enyo-fit", components: [ {name: "list", kind: "List", count: 20000, noSelect: true, multiSelect: false, classes: "enyo-fit list-sample-list", onSetupItem: "setupItem", components: [ {name: "item", classes: "list-sample-item enyo-borde...
meznak/TwitterSearchApp
lib/layout/list/samples/ListNoSelectSample.js
JavaScript
apache-2.0
801
//// [computedPropertyNames31_ES5.ts] class Base { bar() { return 0; } } class C extends Base { foo() { () => { var obj = { [super.bar()]() { } // needs capture }; } return 0; } } //// [computedPropertyNames31_ES5.js] var __ext...
microsoft/TypeScript
tests/baselines/reference/computedPropertyNames31_ES5.js
JavaScript
apache-2.0
1,758
/* * Copyright (C) 2015 Stratio (http://stratio.com) * * 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 app...
Frannie-Ludmilla/sparta
web/src/scripts/controllers/policy-wizard/modal/policy-json-creation-modal.js
JavaScript
apache-2.0
2,972
import React, { Component } from 'react'; import { Image } from 'react-native'; const splashscreen = require('../../../img/splashscreen.png'); export default class SplashPage extends Component { static propTypes = { navigator: React.PropTypes.shape({}), } componentWillMount() { const navigator = this...
bengaara/simbapp
js/components/splashscreen/index.js
JavaScript
apache-2.0
606
var __extends = this.__extends || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } __.prototype = b.prototype; d.prototype = new __(); }; var derived = (function (_super) { __extends(derived, _super); function derived() { ...
hippich/typescript
tests/baselines/reference/extendBaseClassBeforeItsDeclared.js
JavaScript
apache-2.0
504
function JSLINT(source, options) { JSLINT.errors = [ { line: 1, character: 1, reason: "I don't like you", evidence: "eWeWeWeWeWe" } ]; return false; }
happygiraffe/jslint4java
jslint4java-ant/src/test/resources/antunit/always-fail-lint.js
JavaScript
bsd-2-clause
188
define([ 'require', 'jquery', 'base/js/namespace', 'base/js/events', 'base/js/utils', 'notebook/js/codecell', ], function ( requirejs, $, Jupyter, events, utils, codecell ) { "use strict"; var CodeCell = codecell.CodeCell; var Scratchpad = function (nb) { var scratchpad = this; th...
jcb91/IPython-notebook-extensions
src/jupyter_contrib_nbextensions/nbextensions/scratchpad/main.js
JavaScript
bsd-3-clause
4,144
import { TempNode } from '../core/TempNode.js'; import { FunctionNode } from '../core/FunctionNode.js'; import { UVNode } from '../accessors/UVNode.js'; class CheckerNode extends TempNode { constructor( uv ) { super( 'f' ); this.uv = uv || new UVNode(); } generate( builder, output ) { const snoise = bui...
damienmortini/dlib
node_modules/three/examples/jsm/nodes/procedural/CheckerNode.js
JavaScript
isc
1,188
/** * Lo-Dash 2.4.1 (Custom Build) <http://lodash.com/> * Build: `lodash modularize modern exports="amd" -o ./modern/` * Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/> * Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE> * Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Inv...
john-bixly/Morsel
app/vendor/lodash-amd/modern/arrays/sortedIndex.js
JavaScript
mit
2,889
window._loadedScripts = window._loadedScripts || {}; window._loadedScripts['mscorlib'] = true; //! Script# Core Runtime //! More information at http://projects.nikhilk.net/ScriptSharp //! (function () { var globals = { version: '0.7.4.0', isUndefined: function (o) { return (o === undefined); }, ...
yblender/SparkleXrm
SparkleXrmSource/DebugWeb/WebResources/sparkle_/js/mscorlib.js
JavaScript
mit
50,016
PANDA.models.RelatedUpload = Backbone.Model.extend({ /* Equivalent of panda.models.RelatedUpload. */ urlRoot: PANDA.API + "/upload" }); PANDA.collections.RelatedUploads = Backbone.Collection.extend({ /* A collection of panda.models.RelatedUpload equivalents. */ model: PANDA.models.Relat...
newsapps/panda
client/static/js/models/related_uploads.js
JavaScript
mit
379
import { dateTickFormat, initDateFormats } from '~/lib/utils/tick_formats'; import { setLanguage } from '../../helpers/locale_helper'; describe('tick formats', () => { describe('dateTickFormat', () => { beforeAll(() => { setLanguage('de'); initDateFormats(); }); afterAll(() => { setLa...
dreampet/gitlab
spec/javascripts/lib/utils/tick_formats_spec.js
JavaScript
mit
978
'use strict'; /** * @typedef {import('../lib/types').XastElement} XastElement * @typedef {import('../lib/types').XastParent} XastParent * @typedef {import('../lib/types').XastNode} XastNode */ const JSAPI = require('../lib/svgo/jsAPI.js'); exports.type = 'visitor'; exports.name = 'reusePaths'; exports.active = f...
svg/svgo
plugins/reusePaths.js
JavaScript
mit
3,379
'use strict'; var forEach; var isArray; var isString; var jqLite; /** * @ngdoc module * @name ngMessages * @description * * The `ngMessages` module provides enhanced support for displaying messages within templates * (typically within forms or when rendering message objects that return key/value data). * Inste...
Aremyst/angular.js
src/ngMessages/messages.js
JavaScript
mit
27,865
var http = require('http'), httpProxy = require('http-proxy'); // Create a proxy server with custom application logic var proxy = httpProxy.createProxyServer({}); proxy.on('error', function (err, req, res) { res.writeHead(500, { 'Content-Type': 'text/plain' }); res.end(err); }); // If "-pm" is at the ...
yonisM/landsome
strong-resources/app.js
JavaScript
mit
954
/** @license * @pnp/sp-taxonomy v1.2.2-0 - pnp - Provides a fluent API to work with SharePoint taxonomy * MIT (https://github.com/pnp/pnpjs/blob/master/LICENSE) * Copyright (c) 2018 Microsoft * docs: https://pnp.github.io/pnpjs/ * source: https://github.com/pnp/pnp * bugs: https://github.com/pnp/pnp/issues */ im...
seogi1004/cdnjs
ajax/libs/pnp-sp-taxonomy/1.2.2-0/sp-taxonomy.js
JavaScript
mit
23,456
version https://git-lfs.github.com/spec/v1 oid sha256:37458aa009289b4e322bdafbe4cf377fe339d7935c23e14bbbac5cc19e1ac4b0 size 150033
yogeshsaroya/new-cdnjs
ajax/libs/mojio-js/2.2.5/mojio-js-models.js
JavaScript
mit
131
define(["pex/sys/Platform"], function(Platform) { function Test() { } if (Platform.isPlask) Test.msg = "Hello Node!"; if (Platform.isBrowser) Test.msg = "Hello World Wide Web!"; if (Platform.isEjecta) Test.msg = "Hello iOS!"; return Test; });
szymonkaliski/pex
examples/tests/Nothing.js
JavaScript
mit
256
var HASH = '#'.charCodeAt(0); var DOT = '.'.charCodeAt(0); var TAG_NAME = 0; var ID = 1; var CLASS_NAME = 2; var parseQuery = function (query) { var tag = null; var id = null; var className = null; var mode = TAG_NAME; var offset = 0; for (var i = 0; i <= query.length; i++) { var char = query.charCod...
jonobr1/cdnjs
ajax/libs/redom/3.13.2/redom.es.js
JavaScript
mit
15,352
/* */ "format cjs"; "use strict"; exports.__esModule = true; exports.CallExpression = CallExpression; exports.ModuleDeclaration = ModuleDeclaration; function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototyp...
coolsirch88/2RAB
src/TwoRooms.Web/wwwroot/jspm_packages/npm/babel-core@5.4.7/lib/babel/transformation/transformers/validation/react.js
JavaScript
mit
1,218
wn.provide("wn.model"); $.extend(wn.model, { new_names: {}, new_name_count: {}, get_new_doc: function(doctype) { wn.provide("locals." + doctype); var doc = { docstatus: 0, doctype: doctype, name: wn.model.get_new_name(doctype), __islocal: 1, owner: user }; wn.model.set_default_values(doc); ...
gangadhar-kadam/mic-wnframework
public/js/wn/model/create_new.js
JavaScript
mit
3,214
import { Vector4 } from '../math/Vector4'; import { Vector3 } from '../math/Vector3'; import { Vector2 } from '../math/Vector2'; import { Color } from '../math/Color'; import { _Math } from '../math/Math'; /** * @author mrdoob / http://mrdoob.com/ */ function BufferAttribute( array, itemSize, normalized ) { if ( ...
dushmis/three.js
src/core/BufferAttribute.js
JavaScript
mit
6,725
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")); var _objectWithoutPropertiesLoose2 = _inte...
cdnjs/cdnjs
ajax/libs/material-ui/5.0.0-beta.3/node/MenuList/MenuList.js
JavaScript
mit
11,414
// route.delete.config.js const RouteConfig = { action: 'delete' , method: 'delete' , url: '/:id' , callback: '' }; module.exports = RouteConfig;
Webschool-io/be-mean
Systems/sistema/server/modules/users/routes/route.delete.config.js
JavaScript
cc0-1.0
162
/** * jQuery EasyUI 1.2.6 * * Licensed under the GPL terms * To use it on other terms please contact us * * Copyright(c) 2009-2012 stworthy [ stworthy@gmail.com ] * */ (function($){ var _1=false; $.fn.resizable=function(_2,_3){ if(typeof _2=="string"){ return $.fn.resizable.methods[_2](this,_3); } function ...
sanqian123/Xin
studentleave/WebRoot/easyui/plugins/jquery.resizable.js
JavaScript
gpl-2.0
4,204
"use strict"; tutao.provide('tutao.tutanota.ctrl.ContactCsvHandler'); /** * @interface */ tutao.tutanota.ctrl.ContactCsvHandler = function() {}; /** * For csv to contact import. */ tutao.tutanota.ctrl.ContactCsvHandler.prototype.startContact = function(contact) {}; /** * For csv to contact import. */ tutao.tu...
msoftware/tutanota-1
web/js/ctrl/ContactCsvHandler.js
JavaScript
gpl-3.0
800
gapi.analytics.ready(function() { var nDaysAgo = /(\d+)daysAgo/; var dateFormat = /\d{4}\-\d{2}\-\d{2}/; /** * Convert a date acceptable to the Core Reporting API (e.g. `today`, * `yesterday` or `NdaysAgo`) into the format YYYY-MM-DD. Dates * already in that format are simply returned. * @return {st...
rocklegend-org/website
src/public/assets/app/components/datepicker.js
JavaScript
gpl-3.0
3,846
var VisualMapModel = require('./VisualMapModel'); var zrUtil = require('zrender/lib/core/util'); var VisualMapping = require('../../visual/VisualMapping'); var visualDefault = require('../../visual/visualDefault'); var reformIntervals = require('../../util/number').reformIntervals; var Piecew...
mo-norant/FinHeartBel
website/node_modules/echarts/lib/component/visualMap/PiecewiseModel.js
JavaScript
gpl-3.0
20,045
define([],function(){var a=null,b=null,c=function(b){a=b},d=function(){return a},e=function(){return null!==a},f=function(a){b=a},g=function(){return b},h=function(){c(null),f(null)};return{setEventId:c,getEventId:d,hasEventId:e,setDurationDays:f,getDurationDays:g,clearAll:h}});
vvzh/moodle
calendar/amd/build/drag_drop_data_store.min.js
JavaScript
gpl-3.0
279
module.exports = function (sequelize, DataTypes) { return sequelize.define("OAuthLogin", { id: { type: DataTypes.INTEGER, primaryKey: true, autoIncrement: true } }, { charset: "utf8", collate: "utf8_general_ci", updatedAt: false }); };
humphd/thimble.mozilla.org
services/login.webmaker.org/app/db/models/oauthLogin.js
JavaScript
mpl-2.0
280
/// 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 /// ...
youfoh/webkit-efl
LayoutTests/ietestcenter/Javascript/TestCases/15.4.4.15-8-a-12.js
JavaScript
lgpl-2.1
2,482
define(["helper/OutputAudio", "Tone/source/Oscillator", "helper/Offline", "Test", "helper/Meter"], function (OutputAudio, Oscillator, Offline, Test, Meter) { return function(Constr, args){ context("Oscillator Tests", function(){ it ("extends Tone.Oscillator", function(){ var instance = new Constr(args); ...
googlecreativelab/chrome-music-lab
soundspinner/third_party/Tone.js/test/helper/OscillatorTests.js
JavaScript
apache-2.0
2,092
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * The | regular expression operator separates two alternatives. * The pattern first tries to match the left Alternative (followed by the sequel of the regular expression). * If it ...
hippich/typescript
tests/Fidelity/test262/suite/ch15/15.10/15.10.2/15.10.2.3/S15.10.2.3_A1_T6.js
JavaScript
apache-2.0
1,505
var changeVC=function(){ var req = new Request.HTML({url:'validcode.php', onComplete: function() { $('vcImg').setProperty('src','/images/vc.png?'+$time()); } }); req.send(); } mooAutoObject.initAdminLogin=function(){ $('autoForm').addEvent('submit',function(e){ var emailPattern=/(\S)+[@]{1}(\S)+[.]{...
royalwang/saivi
tpl/Agent/Common/js/user.js
JavaScript
apache-2.0
3,035
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * toString: If radix is an integer from 2 to 36, but not 10, * the result is a string, the choice of which is implementation-dependent * * @path ch15/15.7/15.7.4/15.7.4.2/S15.7.4....
hippich/typescript
tests/Fidelity/test262/suite/ch15/15.7/15.7.4/15.7.4.2/S15.7.4.2_A2_T15.js
JavaScript
apache-2.0
1,385
(function() { var Command, LocalCommand, Protocol, __hasProp = {}.hasOwnProperty, __extends = 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 ...
apache/cordova-firefoxos
node_modules/node-firefox-forward-ports/node_modules/adbkit/lib/adb/command/host-transport/local.js
JavaScript
apache-2.0
1,272
CKEDITOR.plugins.setLang("preview","bn",{preview:"প্রিভিউ"});
viticm/pfadmin
vendor/frozennode/administrator/public/js/ckeditor/plugins/preview/lang/bn.js
JavaScript
apache-2.0
75
var application = require("application"); var device = (function () { function device() { } Object.defineProperty(device, "language", { get: function () { if (!device._language) { var context = application.android.context, locale = context.getResourc...
duzun/sample-Friends
app/extensions/platform-ext/platform-ext.android.js
JavaScript
apache-2.0
1,143
// This file was procedurally generated from the following sources: // - src/dstr-binding/obj-ptrn-id-init-fn-name-class.case // - src/dstr-binding/default/async-gen-func-decl-dflt.template /*--- description: SingleNameBinding assigns `name` to "anonymous" classes (async generator function declaration (default paramete...
sebastienros/jint
Jint.Tests.Test262/test/language/statements/async-generator/dstr-dflt-obj-ptrn-id-init-fn-name-class.js
JavaScript
bsd-2-clause
1,615
// Copyright 2014 The ChromeOS IME Authors. All Rights Reserved. // limitations under the License. // See the License for the specific language governing permissions and // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // distributed under the License is distributed on an "AS-IS" BASIS, // Un...
sgraham/nope
third_party/google_input_tools/src/chrome/os/inputview/elements/content/emojikey.js
JavaScript
bsd-3-clause
4,116
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ 'use strict'; function SetPolyfill() { this._cache = []; } SetPolyfill.prototype.add = function(e) { if (this._cache.indexOf(e) ==...
hoastoolshop/react-native
Libraries/Animated/src/polyfills/Set.js
JavaScript
bsd-3-clause
469
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * @name: S7.9_A6.2_T7; * @section: 7.9, 12.6.3; * @assertion: Check For Statement for automatic semicolon insertion. * If automatic insertion semicolon would become one of the two...
rapha/sputnik
tests/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T7.js
JavaScript
bsd-3-clause
503
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: Operator x / y returns ToNumber(x) / ToNumber(y) es5id: 11.5.2_A3_T1.2 description: Type(x) and Type(y) vary between primitive number and Number object ---*/ //CHECK#1 if (1 ...
PiotrDabkowski/Js2Py
tests/test_cases/language/expressions/division/S11.5.2_A3_T1.2.js
JavaScript
mit
771
define({ "_widgetLabel": "Ominaisuustaulu", "_featureAction_ShowRelatedRecords": "Näytä liittyvät tietueet", "_featureAction_ViewInTable": "Näytä ominaisuustaulukossa", "ok": "OK", "cancel": "Peruuta", "unsupportQueryWarning": "Karttatason on tuettava kyselytoimintoa, jotta karttatason voi näyttää Ominaisuu...
cmccullough2/cmv-wab-widgets
wab/2.3/widgets/AttributeTable/nls/fi/strings.js
JavaScript
mit
2,073
/** @license * @pnp/config-store v1.1.3 - pnp - provides a way to manage configuration within your application * MIT (https://github.com/pnp/pnpjs/blob/master/LICENSE) * Copyright (c) 2018 Microsoft * docs: https://pnp.github.io/pnpjs/ * source: https:github.com/pnp/pnpjs * bugs: https://github.com/pnp/pnpjs/issu...
sashberd/cdnjs
ajax/libs/pnp-config-store/1.1.3/config-store.es5.js
JavaScript
mit
8,802
var Test = /*#__PURE__*/ function () { "use strict"; function Test() { babelHelpers.classCallCheck(this, Test); } babelHelpers.createClass(Test, [{ key: "test", get: function get() { return 5 + 5; }, set: function set(val) { this._test = val; } }]); return Test; }();
Skillupco/babel
packages/babel-plugin-transform-classes/test/fixtures/spec/instance-getter-and-setter/output.js
JavaScript
mit
318
export default { el: { colorpicker: { confirm: 'Қабылдау', clear: 'Тазалау' }, datepicker: { now: 'Қазір', today: 'Бүгін', cancel: 'Болдырмау', clear: 'Тазалау', confirm: 'Қабылдау', selectDate: 'Күнді таңдаңыз', selectTime: 'Сағатты таңдаңыз', s...
Raganof/element
src/locale/lang/kz.js
JavaScript
mit
3,123
/** * Ruby */ module.exports = { // find document blocks between '=begin' and '=end' docBlocksRegExp: /\=begin\uffff?(.+?)\uffff?(?:\s*)?\=end/g, // remove not needed tabs at the beginning inlineRegExp: /^(\t*)?/gm };
dvogt23/KartApp-www
node_modules/apidoc/node_modules/apidoc-core/lib/languages/rb.js
JavaScript
mit
236
/* * The MIT License * * Copyright (c) 2015, Sebastian Sdorra * * 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, ...
WarlaxZ/angular-dashboard-framework
src/scripts/provider.js
JavaScript
mit
8,527
'use strict'; const fs = require('fs'); const path = require('path'); const ts = require('./typescript'); /** * @param name {string} * @param source {string} */ const DEPRECATED_FEATURES = (function getFeatures() { let fileName = path.join( __dirname, '..', 'packages', '@ember', 'deprecated-f...
sly7-7/ember.js
broccoli/deprecated-features.js
JavaScript
mit
1,408
/** * Command to save an image in an active window. */ qx.Class.define("skel.Command.Save.CommandSaveImage", { extend : skel.Command.Command, type : "singleton", /** * Constructor. */ construct : function() { this.base( arguments, "Save...", null ); this.setEnabled( false )...
slovelan/NRAODev
carta/html5/common/skel/source/class/skel/Command/Save/CommandSaveImage.js
JavaScript
gpl-2.0
2,876
/** * A gesture recognizer for swipe events */ Ext.define('Ext.event.gesture.Swipe', { extend: 'Ext.event.gesture.SingleTouch', priority: 500, handledEvents: ['swipestart', 'swipe', 'swipecancel'], /** * @member Ext.dom.Element * @event swipe * Fires when there is a swip...
sqlwang/my_wpblog
wp-content/themes/extjs/ext/packages/core/src/event/gesture/Swipe.js
JavaScript
gpl-2.0
5,286
define('echarts/chart/line', [ 'require', './base', 'zrender/shape/Polyline', '../util/shape/Icon', '../util/shape/HalfSmoothPolygon', '../component/axis', '../component/grid', '../component/dataZoom', '../config', '../util/ecData', 'zrender/tool/util', 'zrender/tool/colo...
gggooo/fly
fly/src/main/webapp/echarts/build/source/chart/line.js
JavaScript
gpl-3.0
35,979
for (var i = 0; i < 90; ++i) { y = {x: 1}; } Object.defineProperty(Object.prototype, "zz", {set: (v) => 1 }); function f() { for (var i=0; i<1500; i++) { y[0] = 0; if (i > 1400) y.zz = 3; } } f();
cstipkovic/spidermonkey-research
js/src/jit-test/tests/ion/bug1222905.js
JavaScript
mpl-2.0
239
//// [comparisonOperatorWithSubtypeObjectOnIndexSignature.ts] class Base { public a: string; } class Derived extends Base { public b: string; } var a1: { [a: string]: string }; var b1: { [b: string]: string }; var a2: { [index: string]: Base }; var b2: { [index: string]: Derived }; var a3: { [index: number...
basarat/TypeScript
tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnIndexSignature.js
JavaScript
apache-2.0
4,515
use dashboarddb db.createUser( { user: "dashboarduser", pwd: "1qazxSw2", roles: [ {role: "readWrite", db: "dashboard"} ] }) db.dummmyCollection.insert({x: 1});
satishc1/Hygieia
mongosrc.js
JavaScript
apache-2.0
212
appcan.define("optionList", function($, exports, module) { var model_hiddenLine = '<li style="position: relative;border-bottom:1px solid #BABABA;color: black;display: -webkit-box !important;display: box !important;-webkit-box-align: center;box-align: center; padding:0;min-height: 6em;" <%if(group){%>data-group="<%=g...
xurigan/appcan-docs-v2
系统功能/uexJsonXmlTrans/widget/js/appcan.optionList.js
JavaScript
apache-2.0
17,905
/* Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'showblocks', 'hi', { toolbar: 'ब्लॉक दिखायें' } );
ldilov/uidb
plugins/ckeditor/plugins/showblocks/lang/hi.js
JavaScript
apache-2.0
249
/** * Copyright (c) 2015 Samsung Electronics, 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: * * * Redistributions of source code must retain the above copyright notice, this * li...
Minjung-Baek/Dexter
project/dexter-monitor/util/dexter-util.js
JavaScript
bsd-2-clause
3,373
/** * Copyright (c) 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. * * @providesModule F...
tonylinyy/fixed-data-table
src/transition/FixedDataTable.react.js
JavaScript
bsd-3-clause
15,766
tinyMCE.addI18n('ro.advimage_dlg',{ tab_general:"General", tab_appearance:"Afi\u015Fare", tab_advanced:"Avansat", general:"General", title:"Titlu", preview:"Previzualizare", constrain_proportions:"Men\u0163ine propor\u0163ii", langdir:"Direc\u0163ie limb\u0103", langcode:"Cod limb\u0103", long_desc:"Link desc...
racontemoi/shibuichi
jsparty/tiny_mce2/plugins/advimage/langs/ro_dlg.js
JavaScript
bsd-3-clause
1,268
'use strict'; // Load modules // Declare internals var internals = {}; exports.method = function (value) { return value; };
ldesplat/lab
test/lint/eslint/with_config/fail.js
JavaScript
bsd-3-clause
131
; (function() { window.require(["ace/snippets/eiffel"], function(m) { if (typeof module == "object" && typeof exports == "object" && module) { module.exports = m; } }); })(...
codykrieger/ace-rails-ap
vendor/assets/javascripts/ace/snippets/eiffel.js
JavaScript
mit
335