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
// setVariable can create a new property on a with block's bindings object, if // it is shadowing an existing property on the prototype chain. var g = newGlobal(); var dbg = Debugger(g); dbg.onDebuggerStatement = function (frame) { var env = frame.environment.find("x"); env.setVariable("x", 2); }; g.eval("var ...
michath/ConMonkey
js/src/jit-test/tests/debug/Environment-setVariable-12.js
JavaScript
mpl-2.0
754
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 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/. */ //--------------------------------...
JasonGross/mozjs
js/src/tests/js1_8/regress/regress-469547.js
JavaScript
mpl-2.0
912
// This file contains YUI-specific wrapper code and overrides for the // handlebars-base module. Handlebars.VERSION += '-yui'; /** Registers a helper function that will be made available to all templates. Helper functions receive the current template context as the `this` object, and can also receive arguments passe...
co-ment/comt
src/cm/media/js/lib/yui/yui3-3.15.0/src/handlebars/js/yui-handlebars-base-after.js
JavaScript
agpl-3.0
2,791
odoo.define('mail/static/src/components/discuss_mobile_mailbox_selection/discuss_mobile_mailbox_selection_tests.js', function (require) { 'use strict'; const { afterEach, afterNextRender, beforeEach, start, } = require('mail/static/src/utils/test_utils.js'); QUnit.module('mail', {}, function () { QUni...
rven/odoo
addons/mail/static/src/components/discuss_mobile_mailbox_selection/discuss_mobile_mailbox_selection_tests.js
JavaScript
agpl-3.0
3,995
/* Copyright 2011, AUTHORS.txt (http://ui.operamasks.org/about) Dual licensed under the MIT or LGPL Version 2 licenses. */ OMEDITOR.plugins.add( 'button', { beforeInit : function( editor ) { editor.ui.addHandler( OMEDITOR.UI_BUTTON, OMEDITOR.ui.button.handler ); } }); /** * Button UI element. * @constant * @...
yonghuang/fastui
samplecenter/basic/timeTest/operamasks-ui-2.0/development-bundle/ui/editor/_source/plugins/button/plugin.js
JavaScript
lgpl-3.0
7,300
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.it = {})); }(this, (function (export...
idreamsoft/iCMS
assets/oneui/js/plugins/flatpickr/l10n/it.js
JavaScript
lgpl-3.0
1,876
import '../../../amp-ad/0.1/amp-ad-xorigin-iframe-handler'; // Need the following side-effect import because in actual production code, // Fast Fetch impls are always loaded via an AmpAd tag, which means AmpAd is // always available for them. However, when we test an impl in isolation, // AmpAd is not loaded already, s...
Gregable/amphtml
extensions/amp-a4a/0.1/test/test-amp-a4a.js
JavaScript
apache-2.0
126,033
// Copyright (c) 2011 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. // File Description: // Contains all the necessary functions for rendering the NTP on mobile // devices. /** * The event type used to determ...
plxaye/chromium
src/chrome/browser/resources/ntp_android/ntp_android.js
JavaScript
apache-2.0
90,327
/* * Copyright 2016 The Closure Compiler Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
anomaly/closure-compiler
test/com/google/javascript/jscomp/runtime_tests/generator_test.js
JavaScript
apache-2.0
20,521
/** * Sitespeed.io - How speedy is your site? (http://www.sitespeed.io) * Copyright (c) 2014, Peter Hedenskog, Tobias Lidskog * and other contributors * Released under the Apache 2.0 License */ 'use strict'; var Aggregator = require('../aggregator'); module.exports = new Aggregator('requestsWithoutGzip', 'Reques...
guptaanoop2005/sitespeed.io
lib/aggregators/yslow/requestsWithoutGzip.js
JavaScript
apache-2.0
693
/** * @license * Copyright 2017 The FOAM Authors. All Rights Reserved. * http://www.apache.org/licenses/LICENSE-2.0 */ foam.CLASS({ package: 'foam.swift.parse.json', name: 'BooleanParser', extends: 'foam.swift.parse.parser.ProxyParser', requires: [ 'foam.swift.parse.parser.Alt', 'foam.swift.parse.p...
jacksonic/vjlofvhjfgm
src/foam/swift/parse/json/BooleanParser.js
JavaScript
apache-2.0
646
'use strict'; (function (scope) { /** * Music rest * * @class MusicRest * @extends MusicElement * @param {Object} [obj] * @constructor */ function MusicRest(obj) { scope.MusicElement.call(this, obj); this.decorations = []; this.startSlurs = []; ...
countshadow/MyScriptJS
src/output/music/musicRest.js
JavaScript
apache-2.0
3,176
"use strict"; var dog = { content: { dogName: { dataKey: 'name' }, dogAge: { value: function (input) { return 2015 - input; }, dataKey: 'birthYear' } }, dataKey: 'dog' }; var person = { content: { p...
amida-tech/jsonapter
test/test_cases/case-assign-0.js
JavaScript
apache-2.0
1,111
/*global define*/ define([ '../Core/defaultValue', '../Core/defined', '../Core/defineProperties', '../Core/DeveloperError', '../Core/Event', './createMaterialPropertyDescriptor', './createPropertyDescriptor' ], function( defaultValue, defined, ...
ceos-seo/Data_Cube_v2
ui/django_site_v2/data_cube_ui/static/assets/js/Cesium-1.23/Source/DataSources/BoxGraphics.js
JavaScript
apache-2.0
6,378
import { Component } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; import { TodoStoreService } from '../../services/todo-store.service'; import template from './todo-footer.template.html'; @Component({ selector: 'todo-footer', template: template }) export class TodoFooterComponent { const...
gabrielmancini/interactor
src/demo/angular2_es2015/app/components/todo-footer/todo-footer.component.js
JavaScript
bsd-2-clause
879
// Copyright 2018 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. /** * @fileoverview * 'crostini-subpage' is the settings subpage for managing Crostini. */ /** * The current confirmation state. * @enum {string} *...
chromium/chromium
chrome/browser/resources/settings/chromeos/crostini_page/crostini_subpage.js
JavaScript
bsd-3-clause
13,574
/** * 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 oncall+r...
michaelchum/relay
src/query/__tests__/RelayQuery-test.js
JavaScript
bsd-3-clause
15,208
var x:string = NaN var y:string = Number.MAX_VALUE; var z:number = new TypeError().name; var w:string = parseInt("...");
margaritis/flow
tests/lib/libtest.js
JavaScript
bsd-3-clause
121
// Copyright 2012 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
isabela-angelo/scratch-tangible-blocks
scratch-blocks/node_modules/google-closure-library/closure/goog/style/bidi.js
JavaScript
bsd-3-clause
7,753
/* 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/Stateful",["./_base/declare","./_base/lang","./_base/array"],function(_1,_2,_3){return _1("doj...
NCIP/cabio
software/cabio-api/system/web/dojo/Stateful.js
JavaScript
bsd-3-clause
1,113
module.exports = require('regenerate')().addRange(0x1A20, 0x1A5E).addRange(0x1A60, 0x1A7C).addRange(0x1A7F, 0x1A89).addRange(0x1A90, 0x1A99).addRange(0x1AA0, 0x1AAD);
Engineering-Robert/personal-website
plugins/gatsby-plugin-feed-custom/node_modules/regenerate-unicode-properties/Script_Extensions/Tai_Tham.js
JavaScript
mit
167
version https://git-lfs.github.com/spec/v1 oid sha256:2cfc15a0c2e5311575bc6496401a60f78c3a72b87d5cda39fcf2686a897eceea size 1639
yogeshsaroya/new-cdnjs
ajax/libs/mathjax/2.1/fonts/HTML-CSS/TeX/png/AMS/Regular/unpacked/MiscTechnical.js
JavaScript
mit
129
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * @name: S15.5.4.19_A1_T7; * @section: 15.5.4.19; * @assertion: String.prototype.toLocaleUpperCase(); * @description: Call toLocaleUpperCase() function of NaN; */ Number.prototype.to...
seraum/nectarjs
tests/ES3/Conformance/15_Native_ECMA_Script_Objects/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.19_String.prototype.toLocaleUpperCase/S15.5.4.19_A1_T7.js
JavaScript
mit
745
import _ from 'underscore'; RocketChat.updateUserTokenpassBalances = function(user) { if (user && user.services && user.services.tokenpass) { const tcaPublicBalances = RocketChat.getPublicTokenpassBalances(user.services.tokenpass.accessToken); const tcaProtectedBalances = RocketChat.getProtectedTokenpassBalances(...
mrinaldhar/Rocket.Chat
packages/rocketchat-tokenpass/server/functions/updateUserTokenpassBalances.js
JavaScript
mit
561
/* ================================================================= Simple Line Chart ================================================================= */ var cssAnimationData = { labels: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], series: [ [1, 2, 2.7, 0, 3...
sangse0911/caption-project
public/js/admins/charts-chartist.js
JavaScript
mit
8,630
'use strict'; var fs = require('fs'); var EOL = require('os').EOL; var format = require('../../format'); var consoleTransport = require('../console'); var findLogPath = require('./find-log-path'); transport.findLogPath = findLogPath; transport.format = formatFn; transp...
mastergberry/electron-builder
test/fixtures/test-app-yarn-several-workspace/node_modules/electron-log/lib/transports/file/index.js
JavaScript
mit
2,463
"use strict"; arr.map(function (x) { return x * MULTIPLIER; }); //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNjcmlwdC5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLEdBQUcsQ0FBQyxHQUFKLENBQVEsVUFBQSxDQUFDO0FBQUEsU0FBSSxDQUFDLEdBQUcsVUFBUjtBQUFBLENBQVQiLCJmaWxlIjoi...
jridgewell/babel
packages/babel-cli/test/fixtures/babel/filename --out-file --source-maps inline/out-files/script2.js
JavaScript
mit
405
/** * Theme Name: Modern Slide In * Version: 2.0.0 * Theme URL: http://sequencejs.com/themes/modern-slide-in/ * * A minimalist theme for showcasing products * * This theme is powered by Sequence.js - The * responsive CSS animation framework for creating unique sliders, * presentations, banners, and other step-...
seintoseiya/onesway
works/048/js/modern-slide-in/scripts/sequence-theme.modern-slide-in.js
JavaScript
mit
1,051
//Play the sound function playAudio(url){ //Change path for android devices if(device.platform.toLowerCase() === "android") url = "/android_asset/www/" + url; // Play the audio file at url var my_media = new Media(url, // success callback function() {}, // error callback...
horatiu11/CALVin
www/js/sounds.js
JavaScript
mit
2,329
/** @odoo-module **/ import { MockModels } from '@mail/../tests/helpers/mock_models'; import { patch } from 'web.utils'; patch(MockModels, 'website_livechat/static/tests/helpers/mock_models.js', { //---------------------------------------------------------------------- // Public //-----------------------...
jeremiahyan/odoo
addons/website_livechat/static/tests/helpers/mock_models.js
JavaScript
gpl-3.0
1,704
define(["backbone", "underscore", "gettext"], function(Backbone, _, gettext) { var CourseDetails = Backbone.Model.extend({ defaults: { org : '', course_id: '', run: '', start_date: null, // maps to 'start' end_date: null, // maps to 'end' enrollment_start: null, ...
mjg2203/edx-platform-seas
cms/static/js/models/settings/course_details.js
JavaScript
agpl-3.0
3,996
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * The toString function is not generic, it cannot be transferred * to other kinds of objects for use as a method and there is should be * a TypeError exception if its this value is...
popravich/typescript
tests/Fidelity/test262/suite/ch15/15.7/15.7.4/15.7.4.2/S15.7.4.2_A4_T04.js
JavaScript
apache-2.0
1,160
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * If F contains any character other than 'g', 'i', or 'm', or if it contains the same one more than once, then throw a SyntaxError exception * * @path ch15/15.10/15.10.4/S15.10.4.1...
popravich/typescript
tests/Fidelity/test262/suite/ch15/15.10/15.10.4/S15.10.4.1_A5_T4.js
JavaScript
apache-2.0
668
// 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...
jerryscript-project/jerryscript
tests/jerry/reflect-preventextensions.js
JavaScript
apache-2.0
791
// Copyright 2015 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
rf232/dashboard
src/app/frontend/logs/logs_controller.js
JavaScript
apache-2.0
8,687
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * URI tests * * @path ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A4_T2.js * @description Checking RUSSIAN ALPHABET */ //CHECK#1 if (decodeURIComponent("http://ru.wikipedia.org/wiki/%d0...
hippich/typescript
tests/Fidelity/test262/suite/ch15/15.1/15.1.3/15.1.3.2/S15.1.3.2_A4_T2.js
JavaScript
apache-2.0
1,104
export { default } from 'shared/all-dns-records/service';
pengjiang80/ui
lib/shared/app/all-dns-records/service.js
JavaScript
apache-2.0
58
var searchData= [ ['t',['t',['../structcoap__queue__t.html#ab5edd7b3b3ddd98d8356febbd4726e7c',1,'coap_queue_t']]], ['tail',['tail',['../structUT__hash__table.html#a00a889a5e1ebaeec0a83ec2701df1992',1,'UT_hash_table']]], ['tbl',['tbl',['../structUT__hash__handle.html#ad2035ee3b2aa55b22e352341372a5e73',1,'UT_hash_h...
hekra01/libcoap
doc/html/search/variables_74.js
JavaScript
bsd-2-clause
1,951
angular.module('argus.directives.dashboardResource', []) .directive('agDashboardResource', ['DashboardService', '$sce', '$compile', '$rootScope', '$timeout', function(DashboardService, $sce, $compile, $rootScope, $timeout) { return { restrict: 'E', scope: false, link: function(scope, element...
aertoria/Argus
ArgusWeb/app/js/directives/dashboardResource.js
JavaScript
bsd-3-clause
831
ReactTemplate = {}; ReactTemplate._classNames = require('classnames/dedupe');
AdrianoCahete/spacedrop
packages/react-templates/client.browserify.js
JavaScript
mit
78
/* * Kendo UI Web v2013.3.1119 (http://kendoui.com) * Copyright 2013 Telerik AD. All rights reserved. * * Kendo UI Web commercial licenses may be obtained at * https://www.kendoui.com/purchase/license-agreement/kendo-ui-web-commercial.aspx * If you do not own a commercial license, this file shall be governed by the * G...
hschaen/teamcalbaseball
wp-content/themes/teamcalbaseball/src/js/cultures/kendo.culture.en-BZ.js
JavaScript
gpl-2.0
2,569
import React, { Component } from "react"; import PropTypes from "prop-types"; class CartItems extends Component { static propTypes = { handleImage: PropTypes.func, handleLowInventory: PropTypes.func, handleRemoveItem: PropTypes.func, handleShowProduct: PropTypes.func, item: PropTypes.object, ...
together-web-pj/together-web-pj
imports/plugins/core/checkout/client/components/cartItems.js
JavaScript
gpl-3.0
2,273
// Copyright 2014 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: --allow-natives-syntax --debug-code --gc-interval=201 --verify-heap // Flags: --max-inlined-bytecode-size=999999 --max-inlined-bytecode-size-...
zero-ui/miniblink49
v8_7_5/test/mjsunit/regress/regress-347914.js
JavaScript
gpl-3.0
6,621
/* global $, bootbox */ /* jshint -W097 */ "use strict"; var Admin = function() { }; Admin.prototype = { constructor: Admin }; Admin.makeSlug = function (selectorsFrom, selectorTo, callback){ if (selectorsFrom instanceof Array === false) { selectorsFrom = [selectorsFrom]; } var valueFrom = ''; for (var i=...
rinodung/yii2-shop-cms
backend/assets/backend/js/admin.js
JavaScript
gpl-3.0
6,297
/** * Copyright (c) 2015, Arthur Schiwon <blizzz@owncloud.com> * This file is licensed under the Affero General Public License version 3 or later. * See the COPYING-README file. */ OCA = OCA || {}; (function() { /** * @classdesc a Port Detector. It executes the auto-detection of the port * by the Nextcloud...
andreas-p/nextcloud-server
apps/user_ldap/js/wizard/wizardDetectorTestAbstract.js
JavaScript
agpl-3.0
1,693
//// [tests/cases/compiler/moduleAugmentationsImports2.ts] //// //// [a.ts] export class A {} //// [b.ts] export class B {x: number;} //// [c.d.ts] declare module "C" { class Cls {y: string; } } //// [d.ts] /// <reference path="c.d.ts"/> import {A} from "./a"; import {B} from "./b"; A.prototype.getB ...
Microsoft/TypeScript
tests/baselines/reference/moduleAugmentationsImports2.js
JavaScript
apache-2.0
2,514
module.define("org/arangodb/graph-common", function(exports, module) { /*jshint strict: false */ //////////////////////////////////////////////////////////////////////////////// /// @brief Graph functionality /// /// @file /// /// DISCLAIMER /// /// Copyright 2010-2012 triagens GmbH, Cologne, Germany /// /// Licensed ...
pekeler/arangodb
js/apps/system/_admin/aardvark/APP/frontend/js/modules/org/arangodb/graph-common.js
JavaScript
apache-2.0
26,289
// Copyright 2015 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
rf232/dashboard
src/app/frontend/jobdetail/jobdetail_module.js
JavaScript
apache-2.0
1,890
/*! Copyright (C) 2017 Google Inc. Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file> */ //= require can.jquery-all //= require models/cacheable (function(can) { can.Model.Cacheable("CMS.Models.NotificationConfig", { root_object: "notification_config", root_collection: "no...
AleksNeStu/ggrc-core
src/ggrc/assets/javascripts/models/notification_config.js
JavaScript
apache-2.0
2,516
jQuery(document).ready(function() { validation2('editDataSetForm', function(form) { form.submit(); }, { 'beforeValidateHandler' : function() { selectAllById('selectedDataElementList'); selectAllById('selectedIndicatorList'); }, 'rules' : getValidationRules("section") }); checkValueIsExist("sectionNam...
kakada/dhis2
dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/javascript/editSection.js
JavaScript
bsd-3-clause
567
// Copyright (c) 2011 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. chrome.test.runTests([ function tabsCreateThrowsError() { chrome.test.setExceptionHandler(function(_, exception) { chrome.test.assertEq('t...
ondra-novak/chromium.src
chrome/test/data/extensions/api_test/bindings/exception_in_handler_should_not_crash/page.js
JavaScript
bsd-3-clause
1,259
module.exports={A:{A:{"1":"B A","2":"J C G E UB"},B:{"1":"D X g H L"},C:{"1":"0 2 4 X g H L M N O P Q R S T U V W u Y Z a b c d e f K h i j k l m n o p q r w x v z t s","2":"1 SB F I QB PB","36":"J C G E B A D"},D:{"1":"0 2 4 8 P Q R S T U V W u Y Z a b c d e f K h i j k l m n o p q r w x v z t s EB AB TB BB CB","2":"F...
xbpp/xbpp.github.io
node_modules/caniuse-lite/data/features/blobbuilder.js
JavaScript
mit
808
/*! * OOUI v0.26.4 * https://www.mediawiki.org/wiki/OOUI * * Copyright 2011–2018 OOUI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * * Date: 2018-04-17T22:23:58Z */ ( function ( OO ) { 'use strict'; /** * Namespace for all classes, static methods and static pro...
extend1994/cdnjs
ajax/libs/oojs-ui/0.26.4/oojs-ui.js
JavaScript
mit
754,333
pc.extend(pc, function () { var Orientation = function () { pc.events.attach(this); }; Orientation.prototype.attach = function (window) { this.window = window; this.onOrientationEvent = this.onOrientationEvent.bind(this); this.window.addEventListener('...
horryq/engine-1
src/input/input_orientation.js
JavaScript
mit
1,085
import MisagoRoute from 'misago/routes/misago'; export default MisagoRoute.extend({ actions: { didTransition: function() { document.title = this.get('settings.forum_index_title') || this.get('settings.forum_name'); } } });
leture/Misago
misago/emberapp/app/routes/index.js
JavaScript
gpl-2.0
242
// Farsi/Persian // from Google Translate -- please help improve this translation if (typeof FlexibleMap != "undefined") { FlexibleMap.prototype.i18n["fa"] = { "Click for details" : "برای جزئیات کلیک کنید", "Directions" : "جهت نقشه", "From" : "محل عزیمت", "Get directions" : "جهت نقشه" }; }
mathewhtc/cats-old
wp-content/plugins/wp-flexible-map/i18n/fa.js
JavaScript
gpl-2.0
344
$(document).ready(function(){ $('#submitMassEdit').click(function(){ var editArr = new Array() $('.editCheck').each(function() { if (this.checked == true) { editArr.push($(this).attr('id').split('-')[1]) } }); if (editArr.length == 0) return url = 'massEdit?toEdit...
eXistenZNL/SickRage
gui/slick/js/massUpdate.js
JavaScript
gpl-3.0
4,080
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 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/. */ /* * * Date: 14 Mar 2003 * S...
michath/ConMonkey
js/src/tests/ecma_3/Expressions/11.6.1-1.js
JavaScript
mpl-2.0
3,092
steal('./typer.js','funcunit/qunit',function(typer){ module("documentjs/tags/helpers/typer") test("name",function(){ same( typer.type("can.Control"), { types: [{ type: "can.Control" }] }); }); test("application",function(){ same( typer.type("foo"), { types: [{type: "foo"}] }, "basic");...
willametteuniversity/webcirc2
static/documentjs/tags/helpers/typer_test.js
JavaScript
apache-2.0
3,683
// This file was automatically generated. Do not modify. 'use strict'; goog.provide('Blockly.Msg.lki'); goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "گةپ دائن"; Blockly.Msg.AUTH = "لطفا ئئ اپلیکیشن را ثبت کةن و آثارتان فعال کةن تا ذخیره بو و اجازهٔ اشتراک‌ نیائن توسط هؤمة بو"; Blockly.Msg.CHANGE_VALUE_T...
drigz/blockly
msg/js/lki.js
JavaScript
apache-2.0
36,739
//// [tests/cases/compiler/noCrashOnImportShadowing.ts] //// //// [b.ts] export const zzz = 123; //// [a.ts] import * as B from "./b"; interface B { x: string; } const x: B = { x: "" }; B.zzz; export { B }; //// [index.ts] import { B } from "./a"; const x: B = { x: "" }; B.zzz; import * as OriginalB ...
basarat/TypeScript
tests/baselines/reference/noCrashOnImportShadowing.js
JavaScript
apache-2.0
709
import {withAmp} from '@ampproject/storybook-addon'; import * as Preact from '#preact'; export default { title: 'amp-instagram-0_1', decorators: [withAmp], parameters: { extensions: [{name: 'amp-instagram', version: '0.1'}], }, args: { width: 500, height: 600, layout: 'fixed', 'data-shor...
alanorozco/amphtml
extensions/amp-instagram/0.1/storybook/Basic.amp.js
JavaScript
apache-2.0
799
(function() { "use strict"; angular.module('demo.drag', [ 'common.drag' ]) .controller('DemoDragCtrl', ['$scope', function($scope) { $scope.object = { top: 0, left: 0 }; $scope.codeExample = "<div drag='object'></div>"; }]);...
michaeljcalkins/angular-common
modules/drag/demo/demo-drag.js
JavaScript
mit
331
var obj = { name : "Officer", surname : "Dibble" } console.log('JavaScript object:'); console.log(obj); var json = JSON.stringify(obj); console.log('JavaScript object to JSON:'); console.log(json); var parsedJson = JSON.parse(json); console.log('JSON to JavaScript object:'); console.log(parsedJson);
chandleryou/nodeUbuntu
learning/nodejsbook.io.examples/hour15/example03/app.js
JavaScript
mit
309
'use strict'; var React = require('react/addons'); var PureRenderMixin = React.addons.PureRenderMixin; var SvgIcon = require('../../svg-icon'); var NotificationSmsFailed = React.createClass({ displayName: 'NotificationSmsFailed', mixins: [PureRenderMixin], render: function render() { return React.createEl...
sparkymat/youhaveto-react
node_modules/material-ui/lib/svg-icons/notification/sms-failed.js
JavaScript
mit
565
"use strict";import"../../indicators/roc.src.js";
cdnjs/cdnjs
ajax/libs/highcharts/8.1.2/es-modules/masters/indicators/roc.src.min.js
JavaScript
mit
49
/* 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/loadInit",["./_base/loader"],function(a){return{dynamic:0,normalize:function(a){return a},load:a.load...
aconyteds/Esri-Ozone-Map-Widget
vendor/js/esri/arcgis_js_api/library/3.12/3.12compact/dojo/loadInit.js
JavaScript
apache-2.0
328
/** * 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. * * @format * @flow strict-local */ 'use strict'; const React = require('react'); const ReactNative = require('react-native'); c...
pandiaraj44/react-native
IntegrationTests/SimpleSnapshotTest.js
JavaScript
bsd-3-clause
1,338
/** * 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...
sathrall/magic-mirror
node_modules/react/lib/ReactVersion.js
JavaScript
isc
382
'use strict'; var gutil = require('gulp-util'); var error = gutil.PluginError; var through = require('through2'); var csslint = require('csslint').CSSLint; var RcLoader = require('rcloader'); var formatOutput = function(report, file, options) { if (!report.messages.length) { return { success: true }; ...
firstziiz/Premier
node_modules/gulp-csslint/index.js
JavaScript
mit
3,443
/* This file is part of Ext JS 4.2 Copyright (c) 2011-2013 Sencha Inc Contact: http://www.sencha.com/contact Commercial Usage Licensees holding valid commercial licenses may use this file in accordance with the Commercial Software License Agreement provided with the Software or, alternatively, in accordance with th...
ryancanulla/findMe
web/ext/src/rtl/grid/RowEditor.js
JavaScript
mit
908
// Copyright 2014 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-generators --expose-debug-as debug var Debug = debug.Debug; var listener_called; function listener(event, exec_state, event_data,...
kingland/go-v8
v8-3.28/test/mjsunit/harmony/regress/regress-3280.js
JavaScript
mit
600
/**! Qoopido.demand 4.2.6-alpha.2 | https://github.com/dlueth/qoopido.demand | (c) 2018 Dirk Lueth */ !function(){"use strict";provide(["/demand/abstract/handler"],function(t){var n=/^text\/.+/;function e(){}return e.prototype={validate:function(t){return n.test(t)},process:function(t){provide(function(){return t.sourc...
seogi1004/cdnjs
ajax/libs/qoopido.demand/4.2.6-alpha.2/handler/text.js
JavaScript
mit
383
#!/usr/bin/env node var pathIsAbsolute = require("path-is-absolute"); var commander = require("commander"); var Module = require("module"); var babel = require("babel-core"); var inspect = require("util").inspect; var path = require("path"); var repl = require("repl"); ...
forivall-old-repos/tacoscript-babel-shared-history
packages/tacoscript-cli/src/_babel-node.js
JavaScript
mit
4,053
// @flow o?.m<T>(e);
jridgewell/babel
packages/babel-parser/test/fixtures/flow/typeapp-call/method-call-optional/input.js
JavaScript
mit
21
/************************************************************* * * MathJax/jax/output/HTML-CSS/fonts/STIX-Web/Alphabets/Italic/Main.js * * Copyright (c) 2013 The MathJax Consortium * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
shayzluf/lazoozweb
wiki/extensions/Math/modules/MathJax/unpacked/jax/output/HTML-CSS/fonts/STIX-Web/Alphabets/Italic/Main.js
JavaScript
gpl-2.0
6,642
/************************************************************* * * MathJax/jax/output/HTML-CSS/fonts/Gyre-Termes/Size2/Regular/Main.js * * Copyright (c) 2013 The MathJax Consortium * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the ...
shayzluf/lazoozweb
wiki/extensions/Math/modules/MathJax/unpacked/jax/output/HTML-CSS/fonts/Gyre-Termes/Size2/Regular/Main.js
JavaScript
gpl-2.0
2,747
// $Id: imce.js,v 1.15.2.10 2009/07/09 19:29:09 ufku Exp $ //Global container. var imce = {tree: {}, findex: [], fids: {}, selected: {}, selcount: 0, ops: {}, cache: {}, urlId: {}, vars: {previewImages: 1, cache: 1}, hooks: {load: [], list: [], navigate: [], cache: []}, //initiate imce. initiate: function() { imce....
skotin/EW
sites/all/modules/imce/js/imce.js
JavaScript
gpl-2.0
23,173
/* YUI 3.8.0 (build 5744) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('graphics-svg-default', function (Y, NAME) { Y.Graphic = Y.SVGGraphic; Y.Shape = Y.SVGShape; Y.Circle = Y.SVGCircle; Y.Rect = Y.SVGRect; Y.Ellipse = Y.SVGEllipse; Y.Path =...
relipse/cworklog
public_html/js/yui/3.8.0/build/graphics-svg-default/graphics-svg-default.js
JavaScript
gpl-3.0
373
import { Import } from "/server/api/core/import"; export function registerLayout(layout) { Shops.find().forEach((shop) => { Import.layout(layout, shop._id); }); }
NahomAgidew/eCommerce
imports/plugins/core/layout/lib/layouts.js
JavaScript
gpl-3.0
172
d2hStoreMenuItems("TX__217", [["Documents/performingorganization.htm", "right", "Performing Organization"],["Documents/gloss_performingorganization1.htm", "d2hWnd_SecondaryPopup", "Performing Organization"]]);
sanjupolus/KC6.oLatest
coeus-help/src/main/resources/AKLinks/TX__217.js
JavaScript
agpl-3.0
212
import { config, path, fsAsync, _, utils } from 'azk'; import h from 'spec/spec_helper'; import { Generator } from 'azk/generator'; import { Manifest } from 'azk/manifest'; describe('Azk generator tool index:', function() { var outputs = []; var UI = h.mockUI(beforeEach, outputs); var generator = new Generator(U...
gullitmiranda/azk
spec/generator/index_spec.js
JavaScript
apache-2.0
6,134
/* YUI 3.6.0 (build 5521) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('profiler', function(Y) { /** * The YUI JavaScript profiler. * @module profiler */ //---------------------------------------------------------...
bretkikehara/wattdepot-visualization
src/main/webapp/yui/3.6.0/build/profiler/profiler.js
JavaScript
bsd-3-clause
21,547
// DO NOT EDIT! This test has been generated by /html/canvas/tools/gentest.py. // OffscreenCanvas test in a worker:2d.shadow.pattern.alpha // Description:Shadows are drawn correctly for partially-transparent fill patterns // Note: importScripts("/resources/testharness.js"); importScripts("/html/canvas/resources/canvas...
scheib/chromium
third_party/blink/web_tests/external/wpt/html/canvas/offscreen/shadows/2d.shadow.pattern.alpha.worker.js
JavaScript
bsd-3-clause
1,300
// Copyright 2006 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requ...
darkrsw/safe
tests/clone_detector_tests/closure-library-read-only/closure/goog/color/color.js
JavaScript
bsd-3-clause
23,709
module.exports={A:{A:{"2":"J C G E B A VB"},B:{"2":"D Y g H L"},C:{"2":"0 1 3 4 5 TB z 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 y u t RB QB"},D:{"1":"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 y u t","2":"9...
MrsHannahJ/portfolio
node_modules/caniuse-lite/data/features/sdch.js
JavaScript
mit
784
'use strict'; /* exported selectDirective, optionDirective */ var noopNgModelController = { $setViewValue: noop, $render: noop }; function setOptionSelectedStatus(optionEl, value) { optionEl.prop('selected', value); /** * When unselecting an option, setting the property to null / false should be enough * H...
jbedard/angular.js
src/ng/directive/select.js
JavaScript
mit
33,328
/** * marked - a markdown parser * Copyright (c) 2011-2014, Christopher Jeffrey. (MIT Licensed) * https://github.com/chjj/marked */ ;(function() { 'use strict'; /** * Block-Level Grammar */ var block = { newline: /^\n+/, code: /^( {4}[^\n]+\n*)+/, fences: noop, hr: /^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\...
kitrap/kitrap
node_modules/marked/lib/marked.js
JavaScript
gpl-2.0
31,804
// Copyright 2019 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. function (){}
zero-ui/miniblink49
v8_7_5/test/message/fail/missing-function-name.js
JavaScript
gpl-3.0
182
x = { ...y }
bcbcarl/esprima
test/fixtures/es2018/spread-property/shallow-clone.js
JavaScript
bsd-2-clause
12
/*jslint sloppy: true, nomen: true */ /*global exports:true,phantom:true */ /* This file is part of the PhantomJS project from Ofi Labs. Copyright (C) 2011 Ariya Hidayat <ariya.hidayat@gmail.com> Copyright (C) 2011 Ivan De Marino <ivan.de.marino@gmail.com> Copyright (C) 2011 James Roe <roejames12@hotmail.com>...
brandingbrand/phantomjs
src/modules/webpage.js
JavaScript
bsd-3-clause
28,720
version https://git-lfs.github.com/spec/v1 oid sha256:2c93e4b2c3b0359d5c785aa52ab96a999d6571f7882a037eff6f0053892f43c1 size 921
yogeshsaroya/new-cdnjs
ajax/libs/yui/3.9.1/widget-htmlparser/widget-htmlparser-min.js
JavaScript
mit
128
(function() { "use strict"; this.wrap = function(elem, wrapper) { elem.parentNode.insertBefore(wrapper, elem); wrapper.appendChild(elem); } this.unwrap = function(elem) { var wrapper = elem.parentNode; wrapper.parentNode.replaceChild(elem, wrapper); } this.createElement = function(tagName...
eileencodes/rails
guides/assets/javascripts/guides.js
JavaScript
mit
2,530
/* editableFactory is used to generate editable directives (see `/directives` folder) Inside it does several things: - detect form for editable element. Form may be one of three types: 1. autogenerated form (for single editable elements) 2. wrapper form (element wrapped by <form> tag) 3. linked form (element has ...
hookano/angular-xeditable
src/js/editable-element/directive.js
JavaScript
mit
4,983
"use strict";var _interopRequireWildcard=require("@babel/runtime/helpers/interopRequireWildcard"),_interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0});var _exportNames={tableClasses:!0};Object.defineProperty(exports,"default",{enumerable:!...
cdnjs/cdnjs
ajax/libs/material-ui/5.0.0-alpha.36/node/Table/index.min.js
JavaScript
mit
860
// masonry code $(document).ready(function() { $('#post-area').masonry({ // options itemSelector : '.post', // options... isAnimated: true, animationOptions: { duration: 400, easing: 'linear', queue: false } }); }); // hover code for index templates $(document).ready(function() ...
JBean/wordpress
wp-content/themes/gridly/js/functions.js
JavaScript
gpl-2.0
933
/** * @license Highcharts JS v6.0.4 (2017-12-15) * * Support for parallel coordinates in Highcharts * * (c) 2010-2017 Pawel Fus * * License: www.highcharts.com/license */ 'use strict'; (function(factory) { if (typeof module === 'object' && module.exports) { module.exports = factory; } else { ...
Motorui/ass-app
vendor/bower/highcharts/modules/parallel-coordinates.src.js
JavaScript
gpl-3.0
18,056
/** Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"...
crosswalk-project/crosswalk-cordova-android
spec/create.spec.js
JavaScript
apache-2.0
2,509
'use strict'; const path = require('path'); const gulp = require('gulp'); const eslint = require('gulp-eslint'); const spawn = require('cross-spawn'); const excludeGitignore = require('gulp-exclude-gitignore'); const nsp = require('gulp-nsp'); gulp.task('nsp', nodeSecurityProtocol); gulp.task('watch', watch); gulp.ta...
FountainJS/generator-fountain-gulp
gulpfile.js
JavaScript
mit
1,193
function WebGLProperties() { let properties = new WeakMap(); function get( object ) { let map = properties.get( object ); if ( map === undefined ) { map = {}; properties.set( object, map ); } return map; } function remove( object ) { properties.delete( object ); } function update( obje...
06wj/three.js
src/renderers/webgl/WebGLProperties.js
JavaScript
mit
560