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 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * @name: S15.4.3_A1.1_T2; * @section: 15.4.3, 15.2.4.2; * @assertion: The value of the internal [[Prototype]] property of * the Array constructor is the Function prototype object...
seraum/nectarjs
tests/ES3/Conformance/15_Native_ECMA_Script_Objects/15.4_Array_Objects/15.4.3_Properties_of_the_Array_Constructor/S15.4.3_A1.1_T2.js
JavaScript
mit
683
var _ = require('../util') var config = require('../config') var Dep = require('./dep') var arrayMethods = require('./array') var arrayKeys = Object.getOwnPropertyNames(arrayMethods) require('./object') /** * Observer class that are attached to each observed * object. Once attached, the observer converts target * o...
JsAaron/vue
src/observer/index.js
JavaScript
mit
4,987
"use strict"; const _ = require("lodash"); const isStandardSyntaxRule = require("../../utils/isStandardSyntaxRule"); const isStandardSyntaxSelector = require("../../utils/isStandardSyntaxSelector"); const parseSelector = require("../../utils/parseSelector"); const report = require("../../utils/report"); const ruleMess...
Epat9/YourHomeBudget
node_modules/stylelint/lib/rules/selector-id-pattern/index.js
JavaScript
mit
1,815
import React, { Component, PropTypes } from 'react' import { connect } from 'react-redux' import { loadRepoPage, loadMoreStargazers } from '../actions' import Repo from '../components/Repo' import User from '../components/User' import List from '../components/List' class RepoPage extends Component { constructor(pro...
HansDP/redux-saga
examples/real-world/containers/RepoPage.js
JavaScript
mit
2,432
/** * Initialization of file upload widget * * @author Nikolay Georgiev * @version 1.0 */ jQuery(document).ready(function(){ /** * Creates buttons */ jQuery('.neutron-file-upload-button').button(); /** * Searching for file upload elements */ jQuery('.neutron-file-upload'...
mortenthorpe/gladturdev
web/bundles/neutronform/js/file-upload.js
JavaScript
mit
12,645
export default { today: 'Heute', now: 'Jetzt', backToToday: 'Zurück zu Heute', ok: 'OK', clear: 'Zurücksetzen', month: 'Monat', year: 'Jahr', timeSelect: 'Zeit wählen', dateSelect: 'Datum wählen', monthSelect: 'Wähle einen Monat', yearSelect: 'Wähle ein Jahr', decadeSelect: 'Wähle ein Jahrzehnt'...
prodigalyijun/demo-by-antd
node_modules/rc-calendar/es/locale/de_DE.js
JavaScript
mit
807
"use strict"; // Gulp dev. var gulp = require('gulp'); var bump = require('gulp-bump'); var inject = require('gulp-inject'); var inlineNg2Template = require('gulp-inline-ng2-template'); var plumber = require('gulp-plumber'); var shell = require('gulp-shell'); var sourcemaps = require('gulp-sourcemaps'); var template =...
vebin/angular2-seed
gulpfile.js
JavaScript
mit
7,859
// Settings var browser = (typeof(window) !== 'undefined') ? true : false, root = browser ? window : global, nodeSassGlobbing = require('../index.js'), sass = require('node-sass'), path = require('path'), chai = require('chai'), expect = chai.expect, FIXTURES_DIR = path.join(__dirname, 'fixt...
alexburrows/dcl2018
web/themes/custom/dcl2018/node_modules/node-sass-globbing/test/test.js
JavaScript
gpl-2.0
1,658
;var ls = ls || {}; /** * Функционал личных сообщений */ ls.talk = (function ($) { /** * Init */ this.init = function () { // Добавляем или удаляем друга из списка получателей $('#friends input:checkbox').change(function () { ls.talk.toggleRecipient($('#' + $(this).attr...
ieasyweb/altocms
common/templates/frontend/libs/js/engine/talk.js
JavaScript
gpl-2.0
9,255
// The iteratee of yield* can be a proxy. function results(results) { var i = 0; function iterator() { return this; } function next() { return results[i++]; } var ret = { next: next } ret[Symbol.iterator] = iterator; return ret; } function* yield_results(expected) { ...
Yukarumya/Yukarum-Redfoxes
js/src/tests/ecma_6/Generators/delegating-yield-7.js
JavaScript
mpl-2.0
898
/* * jquery.socialshareprivacy.js | 2 Klicks fuer mehr Datenschutz * * http://www.heise.de/extras/socialshareprivacy/ * http://www.heise.de/ct/artikel/2-Klicks-fuer-mehr-Datenschutz-1333879.html * * Copyright (c) 2011 Hilko Holweg, Sebastian Hilbig, Nicolas Heiringhoff, Juergen Schmidt, * Heise Zeitschriften Ver...
slevon/volunteer_planner
scheduler/static/js/social_share/locale/pt/modules/twitter.js
JavaScript
agpl-3.0
1,029
odoo.define('point_of_sale.OrderList', function (require) { 'use strict'; const { useState } = owl.hooks; const { useListener } = require('web.custom_hooks'); const PosComponent = require('point_of_sale.PosComponent'); const Registries = require('point_of_sale.Registries'); /** * @props {...
rven/odoo
addons/point_of_sale/static/src/js/Screens/OrderManagementScreen/OrderList.js
JavaScript
agpl-3.0
1,009
OC.L10N.register( "files_versions", { "Could not revert: %s" : "No se puede revertir: %s", "Versions" : "Revisiones", "Failed to revert {file} to revision {timestamp}." : "No se ha podido revertir {archivo} a revisión {timestamp}.", "_%n byte_::_%n bytes_" : ["%n byte","%n bytes"], "Restore"...
sharidas/core
apps/files_versions/l10n/es_MX.js
JavaScript
agpl-3.0
492
define([ "model/task-summary", "view/entity-activities" ], function (TaskSummary, ActivityView) { describe("view/entity-activity", function () { var entity, view beforeEach(function () { entity = new Entity() entity.url = "fixtures/entity-summary.json" entit...
azharhashmi/brooklyn
usage/jsgui/src/test/javascript/specs/view/entity-activities-spec.js
JavaScript
apache-2.0
417
// Licensed to the Software Freedom Conservancy (SFC) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The SFC licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you m...
dbo/selenium-webdriver
test/testing/index_test.js
JavaScript
apache-2.0
5,410
// 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/regression-test-issue-3860.js
JavaScript
apache-2.0
1,481
define([ '../Core/Cartesian2', '../Core/Color', '../Core/defaultValue', '../Core/defined', '../Core/defineProperties', '../Core/destroyObject', '../Core/PixelFormat', '../Renderer/ClearCommand', '../Renderer/Framebuffer', '../Renderer/Pixel...
kaktus40/cesium
Source/Scene/AutoExposure.js
JavaScript
apache-2.0
14,249
//// [privacyTopLevelInternalReferenceImportWithoutExport.ts] // private elements module m_private { export class c_private { } export enum e_private { Happy, Grumpy } export function f_private() { return new c_private(); } export var v_private = new c_private(); ...
weswigham/TypeScript
tests/baselines/reference/privacyTopLevelInternalReferenceImportWithoutExport.js
JavaScript
apache-2.0
10,477
/** * * 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"); you ...
tveronezi/photodb
src/main/webapp/app/js/log.js
JavaScript
apache-2.0
1,245
/* * Copyright 2019 ThoughtWorks, 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 agr...
naveenbhaskar/gocd
server/webapp/WEB-INF/rails/spec/javascripts/helpers_spec.js
JavaScript
apache-2.0
1,330
/** * @fileoverview Adds a comment to the current commit with the build status. * * @author Pete LePage <petele@google.com> */ /* eslint no-console: 0 */ 'use strict'; const fs = require('fs'); const chalk = require('chalk'); const GitHubApi = require('github'); const TEST_LOG_FILE = './test-results.json'; co...
lucab85/WebFundamentals
tools/travis/addCommitComment.js
JavaScript
apache-2.0
6,744
/** * 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...
sebmarkbage/react
src/vendor/core/mapObject.js
JavaScript
apache-2.0
1,765
// This file was procedurally generated from the following sources: // - src/dstr-binding-for-await/ary-ptrn-elem-ary-rest-init.case // - src/dstr-binding-for-await/default/for-await-of-async-gen-let.template /*--- description: BindingElement with array binding pattern and initializer is used (for-await-of statement) e...
sebastienros/jint
Jint.Tests.Test262/test/language/statements/for-await-of/async-gen-dstr-let-ary-ptrn-elem-ary-rest-init.js
JavaScript
bsd-2-clause
2,317
// Meta data used by the AngularJS docs app angular.module('versionsData', []) .value('NG_VERSION', { "raw": "v1.3.0", "major": 1, "minor": 3, "patch": 0, "prerelease": [], "build": [], "version": "1.3.0", "codeName": "superluminal-nudge", "full": "1.3.0", "branch": "v1.3.x" }) .value('NG_VERSIO...
AlexKomrakov/nndl
web/angular-1.3.0/docs/js/versions-data.js
JavaScript
bsd-3-clause
17,146
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: Operator ~x returns ~ToInt32(x) es5id: 11.4.8_A3_T3 description: Type(x) is string primitive or String object ---*/ //CHECK#1 if (~"1" !== -2) { $ERROR('#1: ~"1" === -2. Ac...
PiotrDabkowski/Js2Py
tests/test_cases/language/expressions/bitwise-not/S11.4.8_A3_T3.js
JavaScript
mit
731
/* * Copyright (c) 2013 - 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 * ...
kolipka/brackets
test/spec/FileSystem-test.js
JavaScript
mit
73,412
/* * Copyright (c) 2015 - 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 * ...
revi/brackets
src/nls/fi/strings.js
JavaScript
mit
63,065
/* ***** 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...
amdorra/text2html
staticfiles/js/vendor/ace/src/ext-static_highlight.js
JavaScript
mit
5,973
"use strict";import U from"../parts/Utilities.js";var UNDEFINED,isArray=U.isArray,seriesType=U.seriesType;function accumulateAverage(a,e,r,t){var s=e[t],u=r[t];a.push([s,u])}function getTR(a,e){var r=a,t=e,s=r[1]-r[2],u=t===UNDEFINED?0:Math.abs(r[1]-t[3]),p=t===UNDEFINED?0:Math.abs(r[2]-t[3]);return Math.max(s,u,p)}fun...
cdnjs/cdnjs
ajax/libs/highcharts/8.1.2/es-modules/indicators/atr.src.min.js
JavaScript
mit
879
'use strict'; module.exports = { handlers: ['click-rail', 'drag-scrollbar', 'keyboard', 'wheel', 'touch'], maxScrollbarLength: null, minScrollbarLength: null, scrollXMarginOffset: 0, scrollYMarginOffset: 0, stopPropagationOnClick: true, suppressScrollX: false, suppressScrollY: false, swipePropagation...
irenesalomo/IreneSalomo
wp-content/themes/irenesalomo/assets/js/vendors/perfect-scrollbar/src/js/plugin/default-setting.js
JavaScript
gpl-2.0
421
/** * Akeeba Backup * * @package akeeba * @copyright Copyright (c)2009-2016 Nicholas K. Dionysopoulos * @license GNU GPL version 3 or, at your option, any later version **/ // Object initialisation if (typeof akeeba == 'undefined') { var akeeba = {}; } if (typeof akeeba.Configuration == 'undefined')...
Silasfelipegarcia/pdvoluntario
media/com_akeeba/js/configuration.js
JavaScript
gpl-2.0
49,334
//! jQuery.import.debug.js // (function($) { })(jQuery); //! This script was generated using Script# v0.7.4.0
LucasOromi/Ratrace.NET
jQuery/bin/Debug/jQuery.import.debug.js
JavaScript
apache-2.0
121
ManageIQ.angular.app.directive('updateDropdownForFilter', ['$timeout', function($timeout) { return { require: 'ngModel', link: function (scope, elem, attr, ctrl) { scope['form_' + ctrl.$name] = elem[0] scope['form_' + ctrl.$name + '_ngHide'] = attr.filterHide; scope['form_' + ctrl.$name + '...
KevinLoiseau/manageiq
app/assets/javascripts/directives/scheduler/updateDropdownForFilter.js
JavaScript
apache-2.0
2,811
//// [tests/cases/compiler/import_reference-to-type-alias.ts] //// //// [file1.ts] export module App { export module Services { export class UserServices { public getUserName(): string { return "Bill Gates"; } } } } //// [file2.ts] import appJs = re...
mihailik/TypeScript
tests/baselines/reference/import_reference-to-type-alias.js
JavaScript
apache-2.0
1,361
/* * Shim for Javascript unit tests; supplying expected global features. * This should be removed from the codebase once i18n services are provided. * Taken from default i18n file provided by Django. */ var angularModuleExtension = []; (function (globals) { var django = globals.django || (globals.django = ...
RudoCris/horizon
test-shim.js
JavaScript
apache-2.0
2,581
module.exports = { app: "flappy", skinId: "flappy", levelFile: "levels", levelId: "2", tests: [ // currently only testing missing blocks { description: "Expected solution", missingBlocks: [], xml: '<xml><block type="flappy_whenClick" deletable="false"><next><block type="flappy_flap">...
rvarshney/code-dot-org
apps/test/solutions/flappy/2.js
JavaScript
apache-2.0
826
// lessc_helper.js // // helper functions for lessc sys = require('util'); var lessc_helper = { //Stylize a string stylize : function(str, style) { var styles = { 'reset' : [0, 0], 'bold' : [1, 22], 'inverse' : [7, 27], 'underline' : ...
cloudinary/cloudinary_titanium
plugins/titanium-assets/1.0/node_modules/less/lib/less/lessc_helper.js
JavaScript
apache-2.0
3,908
define(["../main", "doh/main", "require", "../currency"], function(dojo, doh, require){ var runTest= function(dojo, t){ t.is("\u20ac123.45", dojo.currency.format(123.45, {currency: "EUR", locale: "en-us"})); t.is("$123.45", dojo.currency.format(123.45, {currency: "USD", locale: "en-us"})); t.is("$1,234.56", doj...
vadivelan-k/dojo_rails
vendor/assets/javascripts/dojo/tests/currency.js
JavaScript
mit
3,202
'use strict'; angular.module("ngSocial").directive('ngSocialMailru', ['$parse', function ($parse) { var options = { counter: { url: '//connect.mail.ru/share_count?url_list={url}&callback=1&func=JSON_CALLBACK', getNumber: function (data) { for (var url in data) if (data.hasOwnProperty(url)) { ...
develon/magnet
vendor/assets/bower_components/angular-social/src/scripts/07-mailru.js
JavaScript
mit
1,454
//jshint node:true /*global describe, it, beforeEach, afterEach*/ 'use strict'; var expect = require('chai').expect; var mockery = require('mockery'); var esformatter = require('../lib/esformatter'); var esformatterOptions = require('../lib/options'); var rocambole = require('rocambole'); var testPlugin = require('esf...
wbinnssmith/esformatter
test/plugins.spec.js
JavaScript
mit
7,825
version https://git-lfs.github.com/spec/v1 oid sha256:ad9aef711b44d8f0ceb899ee4c1331b30e515f6ccfa1c708606fbb4377e05f9f size 19807
yogeshsaroya/new-cdnjs
ajax/libs/yui/3.9.1/imageloader/imageloader-debug.js
JavaScript
mit
130
Template.room.events({ 'click .add-reaction'(event) { event.preventDefault(); event.stopPropagation(); const data = Blaze.getData(event.currentTarget); const user = Meteor.user(); const room = RocketChat.models.Rooms.findOne({ _id: data._arguments[1].rid }); if (Array.isArray(room.muted) && room.muted.in...
ealbers/Rocket.Chat
packages/rocketchat-reactions/client/init.js
JavaScript
mit
2,032
import { closest, hasClass, isChildOf, } from './../../../helpers/dom/element'; import {eventManager as eventManagerObject} from './../../../eventManager'; /** * */ function WalkontableEvent(instance) { var that = this; var eventManager = eventManagerObject(instance); //reference to instance this.in...
ibm-et/handsontable
src/3rdparty/walkontable/src/event.js
JavaScript
mit
8,192
Prism.languages.json={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,property:{pattern:/"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,greedy:!0},number:/-?\d+\.?\d*(e[+-]?\d+)?/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:true|false)\b/,null:{pattern:/\bnull\b/,alias:"keyword...
Leeps-Lab/otree-redwood
polymer/node_modules/prismjs/components/prism-json.min.js
JavaScript
mit
324
(function(a){a.fn.equalHeights=function(){var b=0;a(this).each(function(){if(a(this).height()>b){b=a(this).height()}});a(this).height(b);return this};a.event.add(window,"load",function(){a(".child_pages .post_thumb").equalHeights();a(".child_pages .child_page-container").equalHeights()})})(jQuery);
Reisuke1231/reiscreation
wp-content/themes/pacific/plugins/child-pages-shortcode/js/child-pages-shortcode.min.js
JavaScript
gpl-2.0
299
/* -*- 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: 01 June 2001 * * SUM...
JasonGross/mozjs
js/src/tests/ecma_3/Statements/regress-83532-001.js
JavaScript
mpl-2.0
1,130
// Copyright 2007 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...
SevInf/IEDriver
third_party/closure/goog/ui/submenu.js
JavaScript
apache-2.0
19,797
function tv_refresh(_args) { var isMobileWeb = Ti.Platform.osname === 'mobileweb', isTizen = Ti.Platform.osname === 'tizen', win = Ti.UI.createWindow({ title:_args.title }); var tv = Ti.UI.createTableView(); if ( !(isMobileWeb || isTizen) ) { tv.style = Titanium.UI.iPhone.TableViewStyle.GROUPED; } ...
jeehakim/KitchenSink-stable
Resources/ui/common/baseui/table_view_refresh.js
JavaScript
apache-2.0
1,259
steal(function() { /** * @constructor DocumentJS.tags.test @test * @parent DocumentJS * * Link to test page. * * @signature `@test URL` * * @codestart * /** * * A component for the lib library. * * @test lib/component/component.test * *| * lib.Component = function( name ) { ... } * @c...
willametteuniversity/webcirc2
static/documentjs/tags/test.js
JavaScript
apache-2.0
480
// Example file. Copy this to your project. Change then names of the referenced files or comment // them out. Convention is to name sass partials to start with an '_' module.exports = { verbose: true, // Set to true to show diagnostic information // IMPORTANT: Set next two configuration so you can customize // b...
mohammed52/something.pk
node_modules/bootstrap-sass-loader/bootstrap-sass.config.js
JavaScript
mit
2,613
import React, { PropTypes } from 'react'; import { findDOMNode } from 'react-dom'; import moment from 'moment'; import DayPicker from 'react-day-picker'; import { FormField, FormInput, FormRow, FormSelect, SegmentedControl } from 'elemental'; const INVERTED_OPTIONS = [ { label: 'Matches', value: false }, { label: '...
michaelerobertsjr/keystone
fields/types/date/DateFilter.js
JavaScript
mit
5,953
var regex = /(?:\uD838[\uDEC0-\uDEF9\uDEFF])/;
hzoo/babel
packages/babel-plugin-proposal-unicode-property-regex/test/fixtures/without-unicode-flag/unicode-12/output.js
JavaScript
mit
47
/* * Ext JS Library 2.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.onReady(function(){ Ext.QuickTips.init(); // Menus can be prebuilt and passed by reference var dateMenu = new Ext.menu.DateMenu({ handler : function(dp, date){ ...
appflower/appflower_engine
web/extjs-3/plugins/menu/menus.js
JavaScript
mit
6,057
(function () { var toc = (function () { 'use strict'; var PluginManager = tinymce.util.Tools.resolve('tinymce.PluginManager'); var DOMUtils = tinymce.util.Tools.resolve('tinymce.dom.DOMUtils'); var I18n = tinymce.util.Tools.resolve('tinymce.util.I18n'); var Tools = tinymce.util.Tools.resolve('tinymce.util...
seogi1004/cdnjs
ajax/libs/tinymce/4.7.8/plugins/toc/plugin.js
JavaScript
mit
7,000
"use strict";import"../../themes/grid-light.js";
cdnjs/cdnjs
ajax/libs/highcharts/8.1.2/es-modules/masters/themes/grid-light.src.min.js
JavaScript
mit
48
var keep = ['operator(group).name', 'operator(user).lastLogin']; if (!isMember) { keep.push('operator(name)'); keep.push('operator(user).username'); } Behaviour.register({ '#modifyButton': function(button) { button.onclick = function() { enableFormFields.apply(button.form, keep); if (isMember) { getObj...
diriger/solcyc
web/pages/operators/operatorProfile.js
JavaScript
gpl-2.0
935
/** * @file * @copyright 2020 Aleksej Komarov * @license MIT */ import { classes, pureComponentHooks } from 'common/react'; import { createVNode } from 'inferno'; import { ChildFlags, VNodeFlags } from 'inferno-vnode-flags'; import { CSS_COLORS } from '../constants'; /** * Coverts our rem-like spacing unit into ...
ToGWtF/yogstation
tgui/packages/tgui/components/Box.js
JavaScript
agpl-3.0
6,475
test('GET', function(){ expect(1); stop(); jQuery.get('http://google.com', function(res){ ok( !!(res && res.responseText), 'GET Request to Google.com succeeded!' ); start(); }); });
pscollins/uchicago-mock-trial
old-site/mock-trial/mock_trial_files/src/jQuery-Plugins/cross-domain-ajax/test/test.js
JavaScript
apache-2.0
262
import {Signals} from '#core/data-structures/signals'; describes.sandboxed('data structures - Signals', {}, (env) => { let clock; let signals; beforeEach(() => { clock = env.sandbox.useFakeTimers(); clock.tick(1); signals = new Signals(); }); it('should register signal without promise', () => {...
Gregable/amphtml
test/unit/core/data-structures/test-signals.js
JavaScript
apache-2.0
6,271
// src/polyfills.js must be the first import. import '#3p/polyfills'; import {register} from '#3p/3p'; import {draw3p, init} from '#3p/integration-lib'; import {imobile} from '#ads/vendors/imobile'; init(window); register('imobile', imobile); window.draw3p = draw3p;
jpettitt/amphtml
3p/vendors/imobile.js
JavaScript
apache-2.0
271
/** * @fileoverview The messaging protocol is intentionally kept close to * Web Activities (https://github.com/google/web-activities). We may switch * the exact WA version at some in the future. * * Notice! As much as possible, keep this module dependency-free. */ const SENTINEL = '__AMP__'; export class Messen...
jpettitt/amphtml
extensions/amp-access/0.1/iframe-api/messenger.js
JavaScript
apache-2.0
6,040
// src/polyfills.js must be the first import. import '#3p/polyfills'; import {register} from '#3p/3p'; import {draw3p, init} from '#3p/integration-lib'; import {chargeads} from '#ads/vendors/nws'; init(window); register('chargeads', chargeads); window.draw3p = draw3p;
jpettitt/amphtml
3p/vendors/chargeads.js
JavaScript
apache-2.0
273
/*! Raven.js 3.24.1 (f3b3500) | github.com/getsentry/raven-js */ !function(a){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=a();else if("function"==typeof define&&define.amd)define([],a);else{var b;b="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?se...
stefankroeckel/asmuchasicecream
node_modules/raven-js/dist/plugins/require.min.js
JavaScript
apache-2.0
1,062
const { assertAliases, definitionFile, singletonFunctions, transformableMethods, } = require('../babel-plugins/log-module-metadata'); const selector = Object.keys(transformableMethods) .map((name) => `CallExpression[callee.property.name=${name}]`) .concat(assertAliases.map((name) => `CallExpression[callee....
alanorozco/amphtml
build-system/eslint-rules/no-log-array.js
JavaScript
apache-2.0
2,196
// Copyright (c) 2015 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...
davewhat/tchannel
test/as-thrift.js
JavaScript
mit
12,964
WYMeditor.STRINGS['fr'] = { Strong: 'Mise en évidence', Emphasis: 'Emphase', Superscript: 'Exposant', Subscript: 'Indice', Ordered_List: 'Liste Ordonnée', Unordered_List: 'Liste Non-Ordonnée', Indent: 'Imbriqué', Outdent: 'Non-imbriqué', Undo: 'Annuler', Redo: 'Rétablir', Link: 'Lien',...
bryanmtl/g-refinerycms
core/app/assets/javascripts/wymeditor/lang/fr.js
JavaScript
mit
1,536
/** * Represents a limited emoji set used for both custom and unicode emojis. Custom emojis * will use this class opposed to the Emoji class when the client doesn't know enough * information about them. */ class ReactionEmoji { constructor(reaction, name, id) { /** * The message reaction this emoji refer...
mlue/discordbridge
node_modules/discord.js/src/structures/ReactionEmoji.js
JavaScript
mit
1,221
// flow-typed signature: 9d0d7b4cee70d8ca16304fe8c1b4bbed // flow-typed version: 23646d2d0e/react-hot-loader_v3.x.x/flow_>=v0.53.0 // @flow declare module "react-hot-loader" { declare class AppContainer<S, A> extends React$Component<{ errorReporter?: React$Element<any> | (() => React$Element<any>), children:...
hbibkrim/neon-wallet
flow-typed/npm/react-hot-loader_v3.x.x.js
JavaScript
mit
350
'use strict'; // Wrapper to abstract over using touch events or mouse events. var swipeTests = function(description, restrictBrowsers, startEvent, moveEvent, endEvent) { describe('$swipe with ' + description + ' events', function() { var element; if (restrictBrowsers) { // TODO(braden): Once we have o...
anasqadrei/angular.js
test/ngTouch/swipeSpec.js
JavaScript
mit
11,128
/******************************************************************************* * Copyright (c) 2015 Codenvy, S.A. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at *...
dhuebner/che
dashboard/e2e/projects/project-details/rename-project/rename-project.spec.js
JavaScript
epl-1.0
5,051
/************************************************************* * * MathJax/jax/output/SVG/fonts/Latin-Modern/Alphabets/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/SVG/fonts/Latin-Modern/Alphabets/Regular/Main.js
JavaScript
gpl-2.0
7,755
/* * Documentation JS script */ $(function () { var slideToTop = $("<div />"); slideToTop.html('<i class="fa fa-chevron-up"></i>'); slideToTop.css({ position: 'fixed', bottom: '20px', right: '25px', width: '40px', height: '40px', color: '#eee', 'font-size': '', 'line-height': '40...
xubinux/xbin-store
xbin-store-web-admin/src/main/resources/static/dist/js/docs.js
JavaScript
gpl-3.0
1,629
/* Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'stylescombo', 'ja', { label: 'スタイル', panelTitle: 'スタイル', panelTitle1: 'ブロックスタイル', panelTitle2: 'インラインスタイル', panelTitle3: 'オブジェクトスタイル' } );
gmuro/dolibarr
htdocs/includes/ckeditor/ckeditor/_source/plugins/stylescombo/lang/ja.js
JavaScript
gpl-3.0
384
define([ 'intern!object', 'intern/chai!assert', 'intern/dojo/node!leadfoot/keys', 'base/lib/config', 'base/lib/assert', 'base/lib/POM' ], function(registerSuite, assert, keys, config, libAssert, POM) { // Create this page's specific POM var Page = new POM({ // Any functions used...
MenZil/kuma
tests/ui/tests/footer.js
JavaScript
mpl-2.0
1,324
define(['jquery', 'compiled/jquery/serializeForm'], function ($){ var patterns = { validate: /^[a-zA-Z][a-zA-Z0-9_-]*(?:\[(?:\d*|[a-zA-Z0-9_-]+)\])*$/, key: /[a-zA-Z0-9_-]+|(?=\[\])/g, push: /^$/, fixed: /^\d+$/, named: /^[a-zA-Z0-9_-]+$/ }; var build = function(base, key, value){ ...
dgynn/canvas-lms
public/javascripts/jquery.toJSON.js
JavaScript
agpl-3.0
1,647
/* * Copyright 2005 Shinya Kasatani * * 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...
krosenvold/selenium-git-release-candidate
ide/main/src/content/selenium-ide-overlay.js
JavaScript
apache-2.0
11,195
// DO NOT EDIT! This test has been generated by /html/canvas/tools/gentest.py. // OffscreenCanvas test in a worker:2d.path.lineTo.nonfinite.details // Description:lineTo() with Infinity/NaN for first arg still converts the second arg // Note: importScripts("/resources/testharness.js"); importScripts("/html/canvas/reso...
nwjs/chromium.src
third_party/blink/web_tests/external/wpt/html/canvas/offscreen/path-objects/2d.path.lineTo.nonfinite.details.worker.js
JavaScript
bsd-3-clause
862
// 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...
Jonekee/chromium.src
third_party/google_input_tools/src/chrome/os/statistics.js
JavaScript
bsd-3-clause
6,878
require(['sub1'], function (sub1) {});
alkaest2002/gzts-lab
web/app/assets/frameworks/bower_components/r.js/build/tests/lib/moduleThenPlugin/main.js
JavaScript
bsd-3-clause
38
// Copyright 2014 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. cr.define('print_preview', function() { 'use strict'; /** * Modal dialog for print destination's advanced settings. * @param {!print_preview.Pr...
dushu1203/chromium.src
chrome/browser/resources/print_preview/settings/advanced_settings/advanced_settings.js
JavaScript
bsd-3-clause
7,034
var fs = require('fs'); exports = module.exports; exports.rmdirSync = (function(){ function iterator(url,dirs){ var stat = fs.statSync(url); if(stat.isDirectory()){ dirs.unshift(url); inner(url,dirs); }else if(stat.isFile()){ fs.unlinkSync(url); ...
AliTiger/lordofpomelo
game-server/bin/fileutil.js
JavaScript
mit
2,558
define("ace/snippets/groovy",["require","exports","module"], function(require, exports, module) { "use strict"; exports.snippetText = ""; exports.scope = "groovy"; }); (function() { window.require(["ace/snippets/groovy"], function(m) { if (typeof module == "...
NPellet/jsGraph
web/site/js/ace-builds/src/snippets/groovy.js
JavaScript
mit
503
__resources__["/task.js"] = {meta: {mimetype: "application/javascript"}, data: function(exports, require, module, __filename, __dirname) { /** * Module dependencies. */ var EventEmitter = window.EventEmitter; /** * Initialize a new 'Task' with the given 'opts' * * @param {Object} opts * @api public */...
AliTiger/lordofpomelo
web-server/public/js/model/task.js
JavaScript
mit
1,013
/* Copyright (c) 2012-2014 LevelUP contributors * See list at <https://github.com/rvagg/node-levelup#contributing> * MIT License * <https://github.com/rvagg/node-levelup/blob/master/LICENSE.md> */ var extend = require('xtend') , LevelUPError = require('./errors').LevelUPError , encodings = require(...
february29/Learning
web/vue/AccountBook-Express/node_modules/level-sublevel/node_modules/levelup/lib/util.js
JavaScript
mit
2,505
!function(a){a.fn.kvDatepicker.dates.bn={days:["রবিবার","সোমবার","মঙ্গলবার","বুধবার","বৃহস্পতিবার","শুক্রবার","শনিবার"],daysShort:["রবিবার","সোমবার","মঙ্গলবার","বুধবার","বৃহস্পতিবার","শুক্রবার","শনিবার"],daysMin:["রবি","সোম","মঙ্গল","বুধ","বৃহস্পতি","শুক্র","শনি"],months:["জানুয়ারী","ফেব্রুয়ারি","মার্চ","এপ্রিল","মে"...
Motorui/ass-app
web/assets/ba20fa05/js/locales/bootstrap-datepicker.bn.min.js
JavaScript
gpl-3.0
1,212
/* -*- 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/. */ var gTestfile = 'regress-243389-n....
tejassaoji/RhinoCoarseTainting
testsrc/tests/js1_5/Regress/regress-243389-n.js
JavaScript
mpl-2.0
853
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ // eslint-disable-next-line no-unused-vars var $hotChunkFilename$ = undefined; var $require$ = undefined; var hotAddUpdateChunk = undefined; var $hotMainFilename$ = undefined; var installedChunks = undefined; module.exp...
convox/convox.github.io
webpack/node_modules/webpack/lib/node/NodeMainTemplateAsync.runtime.js
JavaScript
apache-2.0
1,405
(function($){ // Share $('body').on('click', function(){ $('.article-share-box.on').removeClass('on'); }).on('click', '.article-share-link', function(e){ e.stopPropagation(); var $this = $(this), url = $this.attr('data-url'), encodedUrl = encodeURIComponent(url), id = 'article-shar...
wwh447/hexo-theme-unit-test
themes/bootstrap-blog/source/js/script.js
JavaScript
mit
2,744
var searchData= [ ['catmullrom',['catmullRom',['../a00358.html#ga8119c04f8210fd0d292757565cd6918d',1,'glm']]], ['ceil',['ceil',['../a00241.html#gafb9d2a645a23aca12d4d6de0104b7657',1,'glm']]], ['ceilmultiple',['ceilMultiple',['../a00302.html#ga1d89ac88582aaf4d5dfa5feb4a376fd4',1,'glm::ceilMultiple(genType v, genTy...
Jean-LouisH/LaniaEngine
thirdparty/glm-0.9.9.8/glm/doc/api/search/all_2.js
JavaScript
mit
7,470
/* */ var $ = require('./$'), $def = require('./$.def'), setProto = require('./$.set-proto'), $iter = require('./$.iter'), ITERATOR = require('./$.wks')('iterator'), ITER = require('./$.uid').safe('iter'), step = $iter.step, assert = require('./$.assert'), isObject = $.isObject, get...
megadreams/Aurelia
sample_application/jspm_packages/npm/core-js@0.9.18/modules/es6.reflect.js
JavaScript
cc0-1.0
4,313
/* jQuery */ ( function( $ ) { var nav = $( '.jp-wpcom-connect__vertical-nav-container' ), contentContainer = $( '.jp-wpcom-connect__content-container' ), nextFeatureButtons = $( '.jp-banner__button-container .next-feature' ); nav.on( 'click', '.vertical-menu__feature-item:not( .vertical-menu__feature-item-is-s...
matwaroff/Brandme-WP
wp-content/plugins/jetpack/_inc/jetpack-connection-banner.js
JavaScript
gpl-3.0
1,167
enyo.kind({ name: "PortsSearch", kind: "PortsHeader", title: "WebOS Ports Search", taglines: [ "Shiny search button, PRESS IT!", ], events:{ onSearch: "" }, components:[ {name: "SearchAnimator", kind: "Animator", onStep: "animatorStep", onStop: "animatorStop"}, {name: "Icon", kind: "Image", src: "icon.p...
mobileteck/FreeTetherCleanup
lib/webos-lib/source/PortsSearch.js
JavaScript
gpl-3.0
2,413
/* Copyright (c) 2011 Sencha Inc. - Author: Nicolas Garcia Belmonte (http://philogb.github.com/) 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 t...
pdxrunner/geode
geode-pulse/src/main/webapp/scripts/lib/jit.js
JavaScript
apache-2.0
492,115
// Copyright (c) 2012 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. /** * @typedef {{canBeDefault: boolean, * canBeEdited: boolean, * canBeRemoved: boolean, * default: boolean, * ...
js0701/chromium-crosswalk
chrome/browser/resources/options/search_engine_manager_engine_list.js
JavaScript
bsd-3-clause
12,434
(function(e){function G(){var d=!1,e=!1;this.stopPropagation=function(){d=!0};this.isPropagationStopped=function(){return d};this.stopImmediatePropagation=function(){e=!0};this.isImmediatePropagationStopped=function(){return e}}function A(){this.__nonDataRow=!0}function ba(){this.__group=!0;this.__updated=!1;this.count...
jorik041/recline
vendor/slickgrid/2.0.1/slick.grid.min.js
JavaScript
mit
34,311
'use strict'; var directive = {}; var service = { value: {} }; var DEPENDENCIES = { 'angular.js': 'http://code.angularjs.org/' + angular.version.full + '/angular.min.js', 'angular-resource.js': 'http://code.angularjs.org/' + angular.version.full + '/angular-resource.min.js', 'angular-sanitize.js': 'http://code....
EmprendedoresLA/emprendevs-equipo-1
webapp2/node_modules/grunt-docular/node_modules/docular/lib/angular/js/bootstrap/bootstrap-prettify.js
JavaScript
mit
8,869
/** * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v14.1.1 * @link http://www.ag-grid.com/ * @license MIT */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var utils_1 = require("../utils"); var CssClassApplier = (func...
joeyparrish/cdnjs
ajax/libs/ag-grid/14.1.1/lib/headerRendering/cssClassApplier.js
JavaScript
mit
2,450
/************************************************************* * * MathJax/localization/ia/ia.js * * Copyright (c) 2009-2017 The MathJax Consortium * * 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 ...
PipeBlack/PipeBlack.github.io
unpacked/localization/ia/ia.js
JavaScript
apache-2.0
1,971
// defaults, types, and shorthands. var path = require('path') var url = require('url') var Stream = require('stream').Stream var semver = require('semver') var stableFamily = semver.parse(process.version) var nopt = require('nopt') var os = require('os') var osenv = require('osenv') var umask = require('../utils/umas...
SangDeukLee/futsal
public/assets/node_js/node_modules/npm/lib/config/defaults.js
JavaScript
mit
10,065
/* Plugin Name: Cookie Bar Plugin URL: http://cookie-bar.eu/ @author: Emanuele "ToX" Toscano @description: Cookie Bar is a free & simple solution to the EU cookie law. */ /* * Available languages array */ var CookieLanguages = [ 'ca', 'cs', 'da', 'de', 'en', 'es', 'fr', 'hu', 'it', 'nl', ...
PeterDaveHello/jsdelivr
files/cookie-bar/1.5.19/cookiebar-latest.js
JavaScript
mit
12,609