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
/** * Why has this not been moved to e.g. @tryghost/events or shared yet? * * - We currently massively overuse this utility, coupling together bits of the codebase in unexpected ways * - We want to prevent this, not reinforce it * * Having an @tryghost/events or shared/events module would reinforce this bad patter...
janvt/Ghost
core/server/lib/common/events.js
JavaScript
mit
911
/*! jQuery UI - v1.9.2 - 2013-01-11 * http://jqueryui.com * Includes: jquery.ui.datepicker-hy.js * Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */ jQuery(function(e){e.datepicker.regional.hy={closeText:"Փակել",prevText:"<Նախ.",nextText:"Հաջ.>",currentText:"Այսօր",monthNames:["Հունվար"...
meso-unimpressed/pallet
public/javascripts/jquery-ui/ui/i18n/jquery.ui.datepicker-hy.min.js
JavaScript
mit
1,126
import PropTypes, { configStyleValidator, styleValidator } from './PropTypes' import Box from './components/Box' import Email from './components/Email' import Image from './components/Image' import Item from './components/Item' import Span from './components/Span' import A from './components/A' import renderEmail from ...
chromakode/react-html-email
src/index.js
JavaScript
mit
676
import ResourceProcessorBase from './resource-processor-base'; class ManifestProcessor extends ResourceProcessorBase { processResource (manifest, ctx, charset, urlReplacer) { var lines = manifest.split('\n'); for (var i = 0; i < lines.length; i++) { var line = lines[i].trim(); ...
georgiy-abbasov/testcafe-hammerhead
src/processing/resources/manifest.js
JavaScript
mit
1,000
/* Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'flash', 'fo', { access: 'Script atgongd', accessAlways: 'Altíð', accessNever: 'Ongantíð', accessSameDomain: 'Sama navnaøki', alignAbsBo...
chiave/gamp
public_html/ckeditor/plugins/flash/lang/fo.js
JavaScript
mit
1,374
/** * @ngdoc filter * @name map * @kind function * * @description * Returns a new collection of the results of each expression execution. */ angular.module('a8m.map', []) .filter('map', ['$parse', function($parse) { return function (collection, expression) { collection = (isObject(collection)) ...
mallowigi/angular-filter
src/_filter/collection/map.js
JavaScript
mit
572
var successCount = 0; for each (arg in args) { if (process(arg)) { successCount++; } } write(successCount + " out of " + args.length + " benchmarks passed the test", "test.result"); exit(); function process(name) { log = name + ".result"; s = ""; stgWork = import(name + ".g"); s += "Pr...
workcraft/workcraft
ci/flow-mpsat-g/test.js
JavaScript
mit
3,041
(function () { var common; this.setAsDefault = function () { var _external = window.external; if (_external && ('AddSearchProvider' in _external) && ('IsSearchProviderInstalled' in _external)) { var isInstalled = 0; try { isInstalled = _external.IsSearchProvide...
lenbo-ma/gso
public/javascripts/main.js
JavaScript
mit
1,797
define( ({ insertTableTitle: "Insertar tabla", modifyTableTitle: "Modificar tabla", rows: "Filas:", columns: "Columnas:", align: "Alinear:", cellPadding: "Relleno de celda:", cellSpacing: "Espaciado de celda:", tableWidth: "Ancho de tabla:", backgroundColor: "Color de fondo:", borderColor: "Color de borde:", ...
synico/springframework
lobtool/src/main/webapp/resources/javascript/dojox/editor/plugins/nls/es/TableDialog.js
JavaScript
mit
935
/* Copyright (c) 2015-2017 The Open Source Geospatial Foundation * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. ...
carto-tragsatec/visorCatastroColombia
WebContent/visorcatastrocol/lib/geoext/v3.1.0/src/component/Map.js
JavaScript
mit
14,751
/* @flow */ export default function extractSupportQuery(ruleSet: string): string { return ruleSet .split('{')[0] .slice(9) .trim() }
derek-duncan/fela
packages/fela-utils/src/extractSupportQuery.js
JavaScript
mit
147
// ## Globals var argv = require('minimist')(process.argv.slice(2)); var autoprefixer = require('gulp-autoprefixer'); var browserSync = require('browser-sync').create(); var changed = require('gulp-changed'); var concat = require('gulp-concat'); var flatten = require('gulp-flatten'); var gulp ...
MikeiLL/HealthyHappyHarmony
gulpfile.js
JavaScript
mit
8,996
import { moduleForComponent, test } from 'ember-qunit'; moduleForComponent('daterange-picker', 'DaterangePickerComponent', { // specify the other units that are required for this test // needs: ['component:foo', 'helper:bar'] }); test('it renders', function() { expect(2); // creates the component instanc...
wedgex/ember-bootstrap-daterange
tests/unit/components/daterange-picker-test.js
JavaScript
mit
493
/* Get Programming with JavaScript * Listing 4.02 * Displaying information from similar objects */ var movie1; var movie2; var movie3; movie1 = { title: "Inside Out", actors: "Amy Poehler, Bill Hader", directors: "Pete Doctor, Ronaldo Del Carmen" }; movie2 = { title: "Spectre", actors: "Daniel...
jrlarsen/AdventuresInJavaScript
Ch04_Functions/listing4.02.js
JavaScript
mit
1,566
'use strict'; var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; function _interopRequireDefault(obj) { return ...
raskolnikova/infomaps
node_modules/elemental/lib/components/Row.js
JavaScript
mit
1,695
version https://git-lfs.github.com/spec/v1 oid sha256:ba35426ce7731b677aeb9fca46043dc31d9cd6a87abedb15382e4c3bc001b548 size 1760
yogeshsaroya/new-cdnjs
ajax/libs/dojo/1.7.2/gears.js.uncompressed.js
JavaScript
mit
129
// SocketStream 0.3 // ---------------- 'use strict'; // console.log('CHECK'); // console.log(process.env); // console.log('/CHECK'); require('colors'); var EventEmitter2 = require('eventemitter2').EventEmitter2; // Get current version from package.json var version = exports.version = require('./utils/file').loadPa...
rybon/Remocial
node_modules/socketstream/lib/socketstream.js
JavaScript
mit
4,404
"use strict"; exports.__esModule = true; exports["default"] = isDate; function isDate(value) { return value instanceof Date && !isNaN(+value); } //# sourceMappingURL=isDate.js.map module.exports = exports["default"]; //# sourceMappingURL=isDate.js.map
binariedMe/blogging
node_modules/angular2/node_modules/@reactivex/rxjs/dist/cjs/util/isDate.js
JavaScript
mit
258
/** * # wrap/modernizr * * Wrap global instance for use in RequireJS modules * * > http://draeton.github.io/stitches<br/> * > Copyright 2013 Matthew Cobbs<br/> * > Licensed under the MIT license. */ define(function () { "use strict"; return Modernizr; });
SvDvorak/stitches
src/js/wrap/modernizr.js
JavaScript
mit
266
/*! * Reference link dialog plugin for Editor.md * * @file reference-link-dialog.js * @author pandao * @version 1.2.1 * @updateTime 2015-06-09 * {@link https://github.com/pandao/editor.md} * @license MIT */ (function () { var factory = function (exports) { var pluginNa...
Nightsuki/AVDir
theme/admin/static/editor.md/plugins/reference-link-dialog/reference-link-dialog.js
JavaScript
mit
5,283
'use strict'; exports.__esModule = true; exports['default'] = publish; function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } var _Subject = require('../Subject'); var _Subject2 = _interopRequireDefault(_Subject); var _multicast = require('./multicast'); var _multicast2 ...
binariedMe/blogging
node_modules/angular2/node_modules/@reactivex/rxjs/dist/cjs/operators/publish.js
JavaScript
mit
623
define(['underscore','backbone','aura'], function(_,Backbone,Aura) { console.log('loading index.js') var app=Aura({debug: { enable: true}}); app.components.addSource('aura', '../node_webkit/auraext'); app.components.addSource('kse', '../kse/aura_components'); app.use('../node_webkit/auraext/aura-backbone') ...
ksanaforge/swjzz
index.js
JavaScript
mit
598
;(function() { var ValueDirective = function() { }; _.extend(ValueDirective.prototype, { matcher: function($el) { return $el.data('value'); }, run: function($el) { $el.html($el.data('value')); } }); window.app = new xin.App({ el: x...
aliaraaab/xin-arch
js/app/app.js
JavaScript
mit
3,178
import getDocument from './get-document'; export default function(node) { const _document = getDocument(node); return _document.defaultView || window; }
DNACodeStudios/ally.js
src/util/get-window.js
JavaScript
mit
159
var expect = require('expect.js'); var helpers = require('../helpers'); var fakeRepositoryFactory = function () { function FakeRepository() { } FakeRepository.prototype.getRegistryClient = function () { return { unregister: function (name, cb) { cb(null, { name: name }); ...
rlugojr/bower
test/commands/unregister.js
JavaScript
mit
2,413
"use strict"; var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _extends2 = _interopRequireDefaul...
cdnjs/cdnjs
ajax/libs/material-ui/5.0.0-alpha.27/node/Card/Card.js
JavaScript
mit
3,406
var searchData= [ ['embedderdatafields',['EmbedderDataFields',['../classv8_1_1Context.html#a8e8a8c567e2d193f25f1ec211db0b5f9',1,'v8::Context']]], ['empty',['Empty',['../classv8_1_1String.html#aa393d47baa54467fe57001065e49194b',1,'v8::String']]], ['endofstream',['EndOfStream',['../classv8_1_1OutputStream.html#a6c5...
v8-dox/v8-dox.github.io
e1c9761/html/search/all_4.js
JavaScript
mit
3,498
module.exports = function (app) { app.get('/', function (req, res) { if (req.logout) { req.logout(); } res.redirect('/'); }); };
jgable/node-site
server/routes/logout.js
JavaScript
mit
174
define([ "require", // require.toUrl "./main", // to export dijit.BackgroundIframe "dojo/_base/config", "dojo/dom-construct", // domConstruct.create "dojo/dom-style", // domStyle.set "dojo/_base/lang", // lang.extend lang.hitch "dojo/on", "dojo/sniff" // has("ie"), has("trident"), has("quirks") ], function(re...
sjcobb/nfl-data-muncher
nfl-data-muncher/lib/dijit/BackgroundIframe.js
JavaScript
mit
3,629
const getWebpackConfig = require('./get-webpack-config'); module.exports = { globals: { __DEV__: false, __PROD__: false, __DEVSERVER__: false, __CLIENT__: false, __SERVER__: false, 'process.env.NODE_ENV': false }, settings: { 'import/resolver': { webpack: { config: getWe...
unimonkiez/react-cordova-boilerplate
bin/webpack-eslint.js
JavaScript
mit
355
var urlRegexp = /^(http|udp|ftp|dht)s?:\/\//; /** * Returns true if str is a URL. * * @param {String} str * @return {Boolean} */ exports.isURL = function(str) { return urlRegexp.test(str); }; /** * Returns true if n is an integer. * * @param {Number} n * @return {Boolean} */ exports.isInteger = function(...
studio666/node-torrent
lib/util.js
JavaScript
mit
879
/* eslint max-len: 0 */ import webpack from 'webpack'; import merge from 'webpack-merge'; import baseConfig from './webpack.config.base'; const port = process.env.PORT || 3000; export default merge(baseConfig, { debug: true, devtool: 'cheap-module-eval-source-map', entry: [ `webpack-hot-middleware/client?...
MustD/a3al
webpack.config.development.js
JavaScript
mit
1,083
export const API_FAIL = 'API_FAIL'; export const SAVE_TIMELINE_FAIL = 'SAVE_TIMELINE_FAIL';
WikiEducationFoundation/WikiEduDashboard
app/assets/javascripts/constants/api.js
JavaScript
mit
92
/*global GLOBE, Em */ GLOBE.Top10Controller = Em.ArrayController.extend({ needs: ['application'], relays: [], actions: { showRelayDetail: function(fingerprint) { this.transitionToRoute('relayDetail', fingerprint); } } });
isislovecruft/globe
src/js/controllers/Top10Controller.js
JavaScript
mit
266
import {default as getTeam} from './getTeam' import {default as createTeam} from './createTeam' import {default as addUserToTeam} from './addUserToTeam' import {default as addCollaboratorToRepo} from './addCollaboratorToRepo' import {default as getCollaboratorsForRepo} from './getCollaboratorsForRepo' import {default a...
LearnersGuild/echo
src/server/services/gitHubService/index.js
JavaScript
mit
873
/** * Librerías Javascript * * @package Roraima * @author $Author$ <desarrollo@cidesa.com.ve> * @version SVN: $Id$ * * @copyright Copyright 2007, Cide S.A. * @license http://opensource.org/licenses/gpl-2.0.php GPLv2 */ function codigopadre(){ var codigo=$('cideftit_codpre').value; if (codigo....
cidesa/siga-universitario
web/js/ingresos/ingtitpre.js
JavaScript
gpl-2.0
537
$(function() { $('img[data-hover]').hover(function() { $(this).attr('tmp', $(this).attr('src')).attr('src', $(this).attr('data-hover')).attr('data-hover', $(this).attr('tmp')).removeAttr('tmp'); }).each(function() { $('<img>').attr('src', $(this).attr('data-hover')); });; }); jQuery(documen...
alex789/random
wp-content/themes/randomTheme/js/jquery.js
JavaScript
gpl-2.0
528
//asteroid clone (core mechanics only) //arrow keys to move + x to shoot var bullets; var asteroids; var ship; var shipImage, bulletImage, particleImage; var MARGIN = 40; function setup() { createCanvas(800, 600); bulletImage = loadImage('assets/asteroids_bullet.png'); shipImage = loadImage('assets/asteroids_s...
sabotai/energyDrinkGame
p5.play/examples/asteroids.js
JavaScript
gpl-2.0
2,832
//>>built define("dojox/editor/plugins/nls/el/Smiley",({smiley:"Εισαγωγή εικονιδίου συναισθήματος",emoticonSmile:"Χαμόγελο",emoticonLaughing:"Γέλιο",emoticonWink:"Κλείσιμο ματιού",emoticonGrin:"Πλατύ χαμόγελο",emoticonCool:"Άνετος",emoticonAngry:"Θυμωμένος",emoticonHalf:"Μισό",emoticonEyebrow:"Σηκωμένο φρύδι",emoticon...
hariomkumarmth/champaranexpress
wp-content/plugins/dojo/dojox/editor/plugins/nls/el/Smiley.js
JavaScript
gpl-2.0
754
//>>built define("dojox/embed/flashVars",["dojo"],function(_1){ _1.deprecated("dojox.embed.flashVars","Will be removed in 2.0","2.0"); var _2={serialize:function(n,o){ var _3=function(_4){ if(typeof _4=="string"){ _4=_4.replace(/;/g,"_sc_"); _4=_4.replace(/\./g,"_pr_"); _4=_4.replace(/\:/g,"_cl_"); } return _...
hariomkumarmth/champaranexpress
wp-content/plugins/dojo/dojox/embed/flashVars.js
JavaScript
gpl-2.0
705
/** * Created by Stefan on 24.05.14. */ (function() { tinymce.create('tinymce.plugins.Footnotes', { /** * Initializes the plugin, this will be executed after the plugin has been created. * This call is done before the editor instance has finished its initialization so use the on...
austing/siq
wp-content/plugins/footnotes/js/wysiwyg-editor.js
JavaScript
gpl-2.0
3,155
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.ZoomOut = exports.ZoomIn = exports.SlideRight = exports.SlideLeft = undefined; var _slideLeft = require('./slide-left.scss'); var _slideLeft2 = _interopRequireDefault(_slideLeft); var _slideRight = require('./slide-right.scss'); ...
fonea/velon
themes/frontend/assets/vendor/node_modules/react-toolbox/lib/animations/index.js
JavaScript
gpl-2.0
816
/* * Ext JS Library 2.1 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ /** * @class Ext.Component * @extends Ext.util.Observable * <p>Base class for all Ext components. All subclasses of Component can automatically participate in the standard * Ext comp...
Kev/maybelater
static/ext-2.1/source/widgets/Component.js
JavaScript
gpl-2.0
31,082
"use strict"; describe("Services: bigQueryLogging", function() { beforeEach(module("risevision.common.components.logging")); var bigQueryLogging, httpResp, forceHttpError, externalLogEventSpy; beforeEach(module(function($provide) { $provide.service("$q", function() {return Q;}); $provide.factory("extern...
Rise-Vision/common-header
test/unit/components/userstate/services/svc-big-query-logging.tests.js
JavaScript
gpl-3.0
2,365
//>>built define("dijit/_KeyNavMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/keys","dojo/_base/lang","dojo/on","dijit/registry","dijit/_FocusMixin"],function(_1,_2,_3,_4,_5,on,_6,_7){ return _2("dijit._KeyNavMixin",_7,{tabIndex:"0",childSelector:null,postCreate:function(){ this.inherited(argu...
cryo3d/cryo3d
static/ThirdParty/dojo-release-1.9.3/dijit/_KeyNavMixin.js
JavaScript
gpl-3.0
5,071
import PropTypes from 'prop-types'; import React from 'react'; import Icon from 'Components/Icon'; import Link from 'Components/Link/Link'; import { icons } from 'Helpers/Props'; import styles from './ModalContent.css'; function ModalContent(props) { const { className, children, showCloseButton, onMo...
Radarr/Radarr
frontend/src/Components/Modal/ModalContent.js
JavaScript
gpl-3.0
1,031
"use strict"; tutao.provide('tutao.entity.sys.System'); /** * @constructor * @param {Object=} data The json data to store in this entity. */ tutao.entity.sys.System = function(data) { if (data) { this.updateData(data); } else { this.__format = "0"; this.__id = null; this.__permissions = null; ...
msoftware/tutanota-1
web/js/generated/entity/sys/System.js
JavaScript
gpl-3.0
18,395
/* Input Mask plugin extensions http://github.com/RobinHerbots/jquery.inputmask Copyright (c) 2010 - 2014 Robin Herbots Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) Version: 0.0.0 Optional extensions on the jquery.inputmask base */ (function ($) { //extra definitions $.ex...
anex/web_mask_field
static/lib/jquery.inputmask.extensions.js
JavaScript
gpl-3.0
4,746
/* * Ext JS Library 1.1 * Copyright(c) 2006-2007, Ext JS, LLC. * licensing@extjs.com * * http://www.extjs.com/license */ /* * Simplified Chinese translation * By DavidHu * 09 April 2007 */ Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">加载中...</div>'; if(Ext.View...
jeffreyhynes-360training/tarantula
app/assets/javascripts/ext/source/locale/ext-lang-zh_CN.js
JavaScript
gpl-3.0
4,566
/*! * FileInput Danish Translations * * This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or * any HTML markup tags in the messages must not be converted or translated. * * @see http://github.com/kartik-v/bootstrap-fileinput * * NOTE: this file must be saved in UTF-8 encoding. */...
ur13l/LaPurisimaWeb
public/js/locales/da.js
JavaScript
gpl-3.0
3,695
var searchData= [ ['kx122_5f2g',['KX122_2G',['../dc/da9/kx122_8h.html#af0d84feead3d8dc9e026be1d8bed0f1e',1,'kx122.h']]], ['kx122_5f4g',['KX122_4G',['../dc/da9/kx122_8h.html#a5f3b389fa7f60e02322cac6c4b9f339a',1,'kx122.h']]], ['kx122_5f8g',['KX122_8G',['../dc/da9/kx122_8h.html#a12e207bb6e2fdeffb820224db888f9dc',1,'...
gratefulfrog/SPI
RPI/Python/serialApp/DOC/Dox/html/search/defines_7.js
JavaScript
gpl-3.0
4,491
/* Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ //>>built define("dojo/cldr/nls/nl/number",{"group":".","percentSign":"%","exponential":"E","scientificFormat":"#E0",...
cryo3d/cryo3d
static/ThirdParty/dojo-release-1.9.3/dojo/cldr/nls/nl/number.js
JavaScript
gpl-3.0
596
import fs from 'fs'; import path from 'path'; import Wxr from 'wxr'; import Base from './base'; const NOT_SAFE_IN_XML = /[^\x09\x0A\x0D\x20-\xFF\x85\xA0-\uD7FF\uE000-\uFDCF\uFDE0-\uFFFD]/gm; export default class extends Base { constructor(...args) { super(...args); this.outputFile = path.join(think.RUNTIME_P...
Genffy/Blog.Genffy
src/admin/service/export/wordpress.js
JavaScript
gpl-3.0
1,230
/* webui functions */ function model_server(data) { var self = this; $.extend(self, data); self.mem_utilization = ko.computed(function() { return '{0} / {1}'.format(parseInt(self.memory), self.java_xmx); }) self.capacity = ko.computed(function() { return '{0} / {1}'.format(self.players_online, ...
koderiter/mineos
html/js/scriptin.js
JavaScript
gpl-3.0
30,637
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('cre...
kmcurry/3Scape
public/js/google.js
JavaScript
gpl-3.0
453
$(document).ready(function(){ $('#countdown').countdown( {date: '19 april 2013 16:24:00'} ); });
gengjian1203/GoldAbacus
vendor/countdown/ext.js
JavaScript
gpl-3.0
99
odoo.define('website_forum.tour_forum', function (require) { 'use strict'; var core = require('web.core'); var Tour = require('web.Tour'); var _t = core._t; Tour.register({ id: 'question', name: _t("Create a question"), steps: [ { title: _t("Create a Question!"), con...
akhmadMizkat/odoo
addons/website_forum/static/src/js/website_tour_forum.js
JavaScript
gpl-3.0
4,695
tutao.provide('tutao.tutanota.ctrl.lang.ja'); tutao.tutanota.ctrl.lang.ja.writing_direction = "ltr"; tutao.tutanota.ctrl.lang.ja.id = "ja"; tutao.tutanota.ctrl.lang.ja.keys = { "account_label": "ユーザー", "activate_action": "有効にする", "address_label": "アドレス", "add_action": "追加する", "adminEmailSettings_action": "メール...
msoftware/tutanota-1
web/js/ctrl/lang/ja.js
JavaScript
gpl-3.0
8,146
'use strict';var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc); switch (arguments.length) { case 2: return decorators.reduceRight(funct...
NodeVision/NodeVision
node_modules/angular2/src/web_workers/ui/xhr_impl.js
JavaScript
gpl-3.0
1,947
define("ghost-admin/templates/components/gh-subscribers-table", ["exports"], function (exports) { exports["default"] = Ember.HTMLBars.template((function () { var child0 = (function () { var child0 = (function () { var child0 = (function () { var child0 = (function () { return {...
Elektro1776/latestEarthables
core/client/tmp/broccoli_persistent_filterbabel-output_path-OKbFKF1N.tmp/ghost-admin/templates/components/gh-subscribers-table.js
JavaScript
gpl-3.0
12,139
// ┌────────────────────────────────────────────────────────────────────┐ \\ // │ Raphaël 2.1.2 - JavaScript Vector Library │ \\ // ├────────────────────────────────────────────────────────────────────┤ \\ // │ Copyright © 2008-2012 Dmitry Baranovskiy (http://raphaeljs.com) │ \\ // │ Copyrig...
CelineBoudier/rapid-router
game/static/game/js/raphael.js
JavaScript
agpl-3.0
299,673
/** MIT License http://www.opensource.org/licenses/mit-license.php Author Igor Vladyka <igor.vladyka@gmail.com> (https://github.com/Igor-Vladyka/leaflet.browser.print) **/ L.Control.BrowserPrint.Utils = { _ignoreArray: [], _cloneFactoryArray: [], _cloneRendererArray: [], _knownRenderers: {}, cloneOptions: fu...
Irstea/collec
display/node_modules/leaflet.browser.print/src/leaflet.browser.print.utils.js
JavaScript
agpl-3.0
7,246
// Copyright (C) 2015 the V8 project authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- es6id: 25.3.1.3 description: > When a generator is paused before a `try..catch` statement, `return` should interrupt control flow as if a `return` statement had appeare...
m0ppers/arangodb
3rdParty/V8/V8-5.0.71.39/test/test262/data/test/built-ins/GeneratorPrototype/return/try-catch-before-try.js
JavaScript
apache-2.0
988
// Copyright 2017, Google, Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in wr...
GoogleCloudPlatform/training-data-analyst
courses/developingapps/v1.3/nodejs/stackdriver-trace-monitoring/end/frontend/app.js
JavaScript
apache-2.0
2,594
// Copyright (C) 2015 the V8 project authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- es6id: 21.2.5.11 description: RegExp.prototype[Symbol.split] `length` property info: > The length property of the @@split method is 2. ES6 Section 17: [...] ...
m0ppers/arangodb
3rdParty/V8/V8-5.0.71.39/test/test262/data/test/built-ins/RegExp/prototype/Symbol.split/length.js
JavaScript
apache-2.0
781
angular.module('breadcrumbs', []);
caguillen214/directive-director
demoApp/components/breadcrumbs/breadcrumbs.js
JavaScript
apache-2.0
34
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
optimizely/incubator-zeppelin
zeppelin-web/src/app/app.controller.js
JavaScript
apache-2.0
1,628
/** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib 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 a...
stdlib-js/stdlib
lib/node_modules/@stdlib/plot/components/svg/symbols/lib/props/y-scale/get.js
JavaScript
apache-2.0
840
// Copyright (c) 2012 Ecma International. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- es5id: 15.2.3.7-6-a-297 description: > Object.defineProperties - 'O' is an Arguments object, 'P' is an array index named data property of 'O' but not defined in [[Par...
m0ppers/arangodb
3rdParty/V8/V8-5.0.71.39/test/test262/data/test/built-ins/Object/defineProperties/15.2.3.7-6-a-297.js
JavaScript
apache-2.0
1,101
/* * 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 may ...
witgo/spark
core/src/main/resources/org/apache/spark/ui/static/timeline-view.js
JavaScript
apache-2.0
10,145
var _Array$isArray = require("../core-js/array/is-array"); var arrayLikeToArray = require("./arrayLikeToArray"); function _maybeArrayLike(next, arr, i) { if (arr && !_Array$isArray(arr) && typeof arr.length === "number") { var len = arr.length; return arrayLikeToArray(arr, i !== void 0 && i < len ? i : len)...
BigBoss424/portfolio
v8/development/node_modules/@babel/runtime-corejs3/helpers/maybeArrayLike.js
JavaScript
apache-2.0
386
// Copyright (C) 2015 the V8 project authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- description: Return value after successful match es6id: 21.2.5.6 info: > [...] 5. Let global be ToBoolean(Get(rx, "global")). 6. ReturnIfAbrupt(global). 7. If ...
baslr/ArangoDB
3rdParty/V8/V8-5.0.71.39/test/test262/data/test/built-ins/RegExp/prototype/Symbol.match/builtin-success-return-val.js
JavaScript
apache-2.0
1,194
/// 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 /// ...
hnafar/IronJS
Src/Tests/ietestcenter/chapter15/15.5/15.5.4/15.5.4.20/15.5.4.20-1-2.js
JavaScript
apache-2.0
1,997
"use strict"; var core_1 = require("@angular/core"); var http_1 = require("@angular/http"); var Rx_1 = require("rxjs/Rx"); require("rxjs/add/operator/map"); var config_1 = require("../config"); var grocery_1 = require("./grocery"); /* This is a simple service that reads grocery lists from the backend. The Http service’...
Torgo13/CarWashApp
platforms/ios/build/emulator/CarWashApp.app/app/shared/grocery/grocery-list.service.js
JavaScript
apache-2.0
3,092
//// [internalAliasClassInsideLocalModuleWithExport.js] (function (x) { var c = (function () { function c() { } c.prototype.foo = function (a) { return a; }; return c; })(); x.c = c; })(exports.x || (exports.x = {})); var x = exports.x; (fun...
hippich/typescript
tests/baselines/reference/internalAliasClassInsideLocalModuleWithExport.js
JavaScript
apache-2.0
905
CKEDITOR.plugins.setLang('oembed', 'nl', { title : "Integratie van media-inhoud (foto's, video, content)", button : "Media-inhoud van externe websites", pasteUrl : "Geef een URL van een pagina in dat ondersteund wordt (Bijv.: YouTube, Flickr, Qik, Vimeo, Hulu, Viddler, MyOpera, etc.) ...", invalidUrl : "P...
ONLYOFFICE/CommunityServer
web/studio/ASC.Web.Studio/UserControls/Common/ckeditor/plugins/oembed/lang/nl.js
JavaScript
apache-2.0
1,170
$(function() { //搜索框交互 var placeholder = window.INPUT_PLACEHOLDER || '请输入要搜索的关键词', baiduUrl = 'http://www.baidu.com/s?wd=', googleUrl = 'http://www.google.com.hk/search?q=', searchEl = $('#search'); $('.button', searchEl).on('click', function(e) { v...
27979831/27979831.github.io
navigation/js/main.js
JavaScript
apache-2.0
7,078
// 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...
teppeis/closure-library
closure/goog/dom/pattern/abstractpattern.js
JavaScript
apache-2.0
1,621
/** * Copyright 2015 The AMP HTML Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
avimehta/amphtml
test/functional/test-platform.js
JavaScript
apache-2.0
7,502
/* * L.Handler.TouchZoom is used internally by L.Map to add touch-zooming on Webkit-powered mobile browsers. */ L.Handler.TouchZoom = L.Handler.extend({ enable: function() { if (!L.Browser.touch || this._enabled) { return; } L.DomEvent.addListener(this._map._container, 'touchstart', this._onTouchStart, t...
coomsie/Leaflet
src/handler/TouchZoom.js
JavaScript
bsd-2-clause
3,183
/* * World Calendars * https://github.com/alexcjohnson/world-calendars * * Batch-converted from kbwood/calendars * Many thanks to Keith Wood and all of the contributors to the original project! * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this sourc...
useabode/redash
node_modules/world-calendars/dist/regional/hi-IN.js
JavaScript
bsd-2-clause
1,725
/** * 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 * @format */ import React, {Component} from 'react'; import Link from 'gatsby-link'; import {Icon} from 'antd'; import '...
facebook/css-layout
website/src/components/Footer.js
JavaScript
bsd-3-clause
851
"aaaaaaaaaa,aaaaaaaaaaaaaaa".replace(/^(a+)\1*,\1+$/,"$1")
daejunpark/jsaf
tests/interpreter_tests/regexp-17.js
JavaScript
bsd-3-clause
59
// ========================================================================== // Project: SproutCore - JavaScript Application Framework // Copyright: ©2006-2011 Strobe Inc. and contributors. // Portions ©2008-2011 Apple Inc. All rights reserved. // License: Licensed under MIT license (see license.js) // ...
darkrsw/safe
tests/clone_detector_tests/sproutcore/frameworks/bootstrap/core.js
JavaScript
bsd-3-clause
398
/* ########################################################################### GLOBAL ASSETS RELEASE v6.0.2 BUILD DATE: 20100224 ########################################################################### */ // init values hele = new Array(); newspause = 4; // time to pause news items in seconds fx = op = ni = 0; t...
fbiville/annotation-processing-ftw
doc/javac/8/windows/javac_files/developer.js
JavaScript
mit
4,902
import * as chai from 'chai'; const expect = chai.expect; const chaiAsPromised = require('chai-as-promised'); import * as sinon from 'sinon'; import * as sinonAsPromised from 'sinon-as-promised'; import { ClickReport } from '../src/models/click_report'; chai.use(chaiAsPromised); describe('ClickReport', () => { cons...
davidgf/moonmail-models
tests/click_report.test.js
JavaScript
mit
1,612
/*! * jQuery JavaScript Library v1.10.2 -wrap,-css,-effects,-offset,-dimensions * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-07-07T17:01Z ...
michael829/jquery-builder
dist/1.10.2/jquery-css-dimensions-effects-offset-wrap.js
JavaScript
mit
226,026
'use strict'; // // Data-forge enumerator for iterating a standard JavaScript array. // var TakeIterator = function (iterator, takeAmount) { var self = this; self._iterator = iterator; self._takeAmount = takeAmount; }; module.exports = TakeIterator; TakeIterator.prototype.moveNext = function () { var self = th...
data-forge/data-forge-js
src/iterators/take.js
JavaScript
mit
524
define([], function() { /** * A specialized version of `_.map` for arrays without support for callback * shorthands or `this` binding. * * @private * @param {Array} array The array to iterate over. * @param {Function} iteratee The function invoked per iteration. * @returns {Array} Returns the ne...
tomek-f/shittets
require-js-amd/require-zepto-lodash/static/js/lib/lodash-amd/internal/arrayMap.js
JavaScript
mit
609
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ /* SHA-1 implementation in JavaScript (c) Chris Veness 2002-2014 / MIT Licence */ /* */ /* - see http://...
vinaymayar/maygh
src/client/util-sha1.js
JavaScript
mit
5,625
/** @module ember @submodule ember-routing-htmlbars */ import Ember from "ember-metal/core"; // Handlebars, uuid, FEATURES, assert, deprecate import { uuid } from "ember-metal/utils"; import run from "ember-metal/run_loop"; import { readUnwrappedModel } from "ember-views/streams/utils"; import { isSimpleClick } from "...
dgeb/ember.js
packages/ember-routing-htmlbars/lib/helpers/action.js
JavaScript
mit
8,975
import './polyfills.js'; export { WebGLRenderTargetCube } from './renderers/WebGLRenderTargetCube.js'; export { WebGLRenderTarget } from './renderers/WebGLRenderTarget.js'; export { WebGLRenderer } from './renderers/WebGLRenderer.js'; // export { WebGL2Renderer } from './renderers/WebGL2Renderer.js'; export { ShaderLi...
RemusMar/three.js
src/Three.js
JavaScript
mit
8,725
import { cachedData, getCurrentHoverElement, setCurrentHoverElement, addInteractionClass, } from '~/code_navigation/utils'; afterEach(() => { if (cachedData.has('current')) { cachedData.delete('current'); } }); describe('getCurrentHoverElement', () => { it.each` value ${'test'} ${undefin...
mmkassem/gitlabhq
spec/frontend/code_navigation/utils/index_spec.js
JavaScript
mit
1,439
const path = require(`path`) exports.chunkNamer = chunk => { if (chunk.name) return chunk.name let n = [] chunk.forEachModule(m => { n.push(path.relative(m.context, m.userRequest)) }) return n.join(`_`) }
mingaldrichgan/gatsby
packages/gatsby/src/utils/webpack-helpers.js
JavaScript
mit
220
var engine = require('../'); var express = require('express'); var path = require('path'); var app = express(); app.engine('dot', engine.__express); app.set('views', path.join(__dirname, './views')); app.set('view engine', 'dot'); app.get('/', function(req, res) { res.render('index', { fromServer: 'Hello from serv...
danlevan/express-dot-engine
examples/index.js
JavaScript
mit
1,097
var EventEmitter = require('events').EventEmitter; var util = require('util'); var WSProcessor = require('./wsprocessor'); var TCPProcessor = require('./tcpprocessor'); var logger = require('pomelo-logger').getLogger('pomelo', __filename); var HTTP_METHODS = [ 'GET', 'POST', 'DELETE', 'PUT', 'HEAD' ]; var ST_STARTE...
zdqk/pomelo
lib/connectors/hybrid/switcher.js
JavaScript
mit
2,721
'use strict'; var app = angular.module('myApp.payloads.directives', []); app.directive('runPayload', ['Payload', 'Command', '$routeParams', 'showToast', 'showErrors', 'gettextCatalog', function(Payload, Command, $routeParams, showToast, showErrors, gettextCatalog) { var link = function( scope, element, attrs ) { ...
ZakMooney/cucumber-frontend
client/components/payloads/payloads.directives.js
JavaScript
mit
1,390
/* flatpickr v4.6.0, @license MIT */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global = global || self, global.flatpickr = factory()); }(this, function () { 'use st...
joeyparrish/cdnjs
ajax/libs/flatpickr/4.6.0/flatpickr.js
JavaScript
mit
117,429
define([ 'gui/GuiTR' ], function (TR) { 'use strict'; var GuiConfig = function (guiParent, ctrlGui) { this._ctrlGui = ctrlGui; this._menu = null; // ui menu this.init(guiParent); }; GuiConfig.prototype = { /** Initialize */ init: function (guiParent) { // config stuffs this....
beni55/sculptgl
src/gui/GuiConfig.js
JavaScript
mit
677
import React, { memo } from 'react'; import SideBarItemTemplateWithData from '../RoomList/SideBarItemTemplateWithData'; import UserItem from './UserItem'; const Row = ({ item, data }) => { const { t, SideBarItemTemplate, avatarTemplate: AvatarTemplate, useRealName, extended } = data; if (item.t === 'd' && !item.u)...
VoiSmart/Rocket.Chat
client/sidebar/search/Row.js
JavaScript
mit
782