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
var cucumberSteps = function() { var Given = When = Then = this.defineStep; var World = require('./cucumber_world').World; this.World = World; Given(/^a scenario with:$/, function(steps, callback) { this.addScenario("A scenario", steps); callback(); }); Given(/^the step "([^"]*)" has a passing m...
mekentosj/ling
node_modules/cucumber/features/step_definitions/cucumber_steps.js
JavaScript
mit
9,379
window.initUserList = () => { initUserSelections(); initUserDeleteBtn(); initUserMergeBtn(); }; const initUserSelections = () => { $('input[name=user_db]').each(function() { userSelectRow($(this)); }); $('#select-all').change(function() { $('input[name=user_db]').prop('checked', $(this).is(':checke...
lipis/github-stats
main/static/src/script/site/user.js
JavaScript
mit
3,998
(function () { requirejs.config({ paths: { 'breeze': '../Scripts/breeze.debug', 'breeze.savequeuing': '../Scripts/breeze.savequeuing', 'jquery': '../Scripts/jquery-1.8.3.min', 'ko': '../Scripts/knockout-2.2.0', ...
kyroskoh/breeze.js.samples
net/Todo-Knockout-Require/Todo-Knockout/app/main.js
JavaScript
mit
1,163
module.exports = function (grunt) { 'use strict'; // Project configuration. var saucekey = process.env.saucekey; if (!saucekey) { console.warn('Unable to load Saucelabs key'); } grunt.initConfig({ jade: { release: { files: { ...
wrleskovec/thoughtcrime
node_modules/db.js/Gruntfile.js
JavaScript
mit
4,788
var oembedUtils = require('./oembedUtils'); module.exports = { provides: ['oembedLinks', '__noOembedLinks'], getData: function(url) { var oembedLinks = oembedUtils.findOembedLinks(url); return { oembedLinks: oembedLinks, __noOembedLinks: !oembedLinks || !oembedLinks.le...
loklak/loklak_webclient
iframely/lib/plugins/system/oembed/knownEndpoints.js
JavaScript
mit
393
import React from 'react'; import ReactDOM from 'react-dom'; import JqxRangeSelector from '../../../jqwidgets-react/react_jqxrangeselector.js'; import JqxButton from '../../../jqwidgets-react/react_jqxbuttons.js'; class App extends React.Component { componentDidMount() { this.refs.setSelection.on('click',...
luissancheza/sice
js/jqwidgets/demos/react/app/rangeselector/defaultfunctionality/app.js
JavaScript
mit
1,409
'use strict'; var _jsxAstUtils = require('jsx-ast-utils'); var _schemas = require('../util/schemas'); var _isHiddenFromScreenReader = require('../util/isHiddenFromScreenReader'); var _isHiddenFromScreenReader2 = _interopRequireDefault(_isHiddenFromScreenReader); function _interopRequireDefault(obj) { return obj &&...
SuzanneRashka/Q2_Project
node_modules/eslint-plugin-jsx-a11y/lib/rules/anchor-has-content.js
JavaScript
mit
2,594
var crypto = require('crypto'); var keystone = require('../'); var scmp = require('scmp'); var utils = require('keystone-utils'); /** * Creates a hash of str with Keystone's cookie secret. * Only hashes the first half of the string. */ function hash(str) { // force type str = '' + str; // get the first half str...
lojack/keystone
lib/session.js
JavaScript
mit
6,998
var alias = Ember.computed.alias, not = Ember.computed.not; App.ProjectIndexController = Ember.ObjectController.extend({ // Track the project budget and billing details hoursBudgeted: alias('hourBudget'), clientName: alias('client.name'), isInternal: not('client'), // Sum up the hours logged for...
freshbooks/ember-training
app/controllers/project/index.js
JavaScript
mit
640
// Masonry var Masonry = function() { 'use strict'; // Handle Masonry var handleMasonry = function() { var $container = $('.js__masonry'); // initialize Masonry after all images have loaded $container.imagesLoaded( function() { $container.masonry({ itemSelector: '.js__masonry-item', // ...
soonsam123/Django_FKSC
static/inicial/js/components/masonry.js
JavaScript
mit
1,242
var loadState={ preload:function(){ //add a loading label on screen var loadingLabel = game.add.text(game.width/2, 150, 'loading...', { font:'30px Arial', fill:'#ffffff'}); loadingLabel.anchor.setTo(0.5,0.5); //display progress bar var progressBar= game.add.sprite(game.width/2,200,'progressBar'); prog...
nickchulani99/ITE-445
week_9_2/js/load.js
JavaScript
mit
1,412
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. 'use strict'; var should = require('should'); var http = require('http'); var util = require('util'); var assert = require('assert'); var _ = require('underscor...
tonytang-microsoft-com/autorest
AutoRest/Generators/NodeJS/Azure.NodeJS.Tests/AcceptanceTests/coverage.js
JavaScript
mit
1,673
"use strict"; // Replace `#!` with `//` so `typescript`, `flow`, and `espree` can parse it as line comment // Inspired by ESLint parse function https://github.com/eslint/eslint/blob/9d6063add931f0803cae1676d5df307baf114360/lib/linter/linter.js#L635 function replaceHashbang(text) { if (text.charAt(0) === "#" && text....
jlongster/prettier
src/language-js/parser/replace-hashbang.js
JavaScript
mit
431
(function (define) { 'use strict'; define(function (require) { var interceptor; interceptor = require('rest/interceptor'); /** * Authenticates the request using JWT Authentication * * @param {Client} [client] client to wrap * @param {Object} config * * @returns {Client} */ return inte...
Khurafat/LaraGist_WEB
resources/assets/js/interceptors/jwtAuth.js
JavaScript
mit
1,267
/*! * jQuery JavaScript Library v1.11.1 -effects,-effects/Tween,-effects/animatedSelector,-effects/support * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * ...
eric-seekas/jquery-builder
dist/1.11.1/jquery-effects.js
JavaScript
mit
261,498
import Immutable from "immutable"; const UserRecord = Immutable.Record({ id: "", karma: 0, created: null }); export default class User extends UserRecord {}
oneut/async-react-router
examples/ssr-with-redux/src/app/models/User.js
JavaScript
mit
165
/* global define, require */ /* Blur Adapted from v002 by Anton Marini and Tom Butterworth * Copyright vade - Anton Marini * Creative Commons, Attribution - Non Commercial - Share Alike 3.0 http://v002.info/plugins/v002-blurs/ */ (function (root, factory) { 'use strict'; if (typeof define === 'function' && define....
hwdro/Seriously.js
effects/seriously.blur.js
JavaScript
mit
8,523
/* --- name: Mouse description: Maps mouse events to their touch counterparts authors: Christoph Pojer (@cpojer) license: MIT-style license. requires: [Custom-Event/Element.defineCustomEvent, Browser.Features.Touch] provides: Mouse ... */ if (!Browser.Features.Touch) (function(){ var down = false; var conditio...
cpojer/mootools-mobile
Source/Desktop/Mouse.js
JavaScript
mit
991
/* * @name Figuras simples * @description Este ejemplo incluye una elipse, un rectángulo, un triángulo y una flor. */ function setup() { // crear el lienzo createCanvas(720, 400); background(200); // Definir colores fill(204, 101, 192, 127); stroke(127, 63, 120); // Un rectángulo rect(40, 120, 120,...
processing/p5.js-website
src/data/examples/es/90_Hello_P5/01_shapes.js
JavaScript
mit
593
declare type VNodeChildren = Array<any> | () => Array<any> | string declare type VNodeComponentOptions = { Ctor: Class<Component>, propsData: ?Object, listeners: ?Object, parent: Component, children: ?VNodeChildren, tag?: string } declare interface MountedComponentVNode { componentOptions: VNodeComponen...
arron9/promotion
public/libs/vue-validator/decls/vnode.js
JavaScript
gpl-2.0
1,400
// TODO: change the axis /* vim: set expandtab sw=4 ts=4 sts=4: */ /** ** @fileoverview JavaScript functions used on tbl_select.php ** ** @requires jQuery ** @requires js/functions.js **/ /** ** Display Help/Info **/ function displayHelp() { PMA_ajaxShowMessage(PMA_messages.strDisplayH...
blahoink/grassroots
phpmyadmin/js/tbl_zoom_plot_jqplot.js
JavaScript
gpl-2.0
22,740
jQuery(document).ready(function(){ var active_tab = window.location.hash.replace('#top#',''); if ( active_tab == '' ) active_tab = jQuery('.em-tab').attr('id'); jQuery('#'+active_tab).addClass('active'); jQuery('#'+active_tab+'-tab').addClass('nav-tab-active'); jQuery('#em-tabs a').click(function() { ...
de5pair/shop
wp-content/plugins/easy-modal/inc/js/easy-modal-admin.js
JavaScript
gpl-2.0
11,583
/* Croatian i18n for the jQuery UI date picker plugin. */ /* Written by Vjekoslav Nesek. */ jQuery(function($){ $.datepicker.regional['hr'] = { clearText: 'izbriši', clearStatus: 'Izbriši trenutni datum', closeText: 'Zatvori', closeStatus: 'Zatvori kalendar', prevText: '&#x3c;', prevStatus: 'Prikaži prethodni mj...
mouadben/typo6
typo3conf/ext/t3jquery/res/jquery/ui/1.6.x/ui/i18n/jquery.ui.datepicker-hr.js
JavaScript
gpl-2.0
1,328
function Event(evType, data){ this.eventType = evType; this.data = data; } Event.GROUP_ADDED = "GROUP_ADDED"; Event.REMOVE_GROUP = "REMOVE_GROUP"; Event.GROUP_CHANGE = "GROUP_CHANGE"; Event.ADD_NEW_GROUP = "ADD_NEW_GROUP"; Event.GALLERY_DATA_CHANGE = "GALLERY_DATA_CHANGE"; Event.REORDER_GALLERY_GROUPS = "REORDER_GA...
muschalski/starterweb
wp-content/plugins/parallax-gravity-landing-page-builder/com/sakuraplugins/js/events/genericevents.js
JavaScript
gpl-2.0
376
/* Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'horizontalrule', 'pt-br', { toolbar: 'Inserir Linha Horizontal' } );
SeeyaSia/www
web/libraries/ckeditor/plugins/horizontalrule/lang/pt-br.js
JavaScript
gpl-2.0
240
/** The minplayer namespace. */ var minplayer = minplayer || {}; // Default player. minplayer["default"] = function(context, options) { // Derive from minplayer. minplayer.call(this, context, options); }; /** * Define this template prototype. */ minplayer["default"].prototype = new minplayer(); m...
geoffreygevalt/ywp
sites/all/modules/html5_media/player/templates/default/js/minplayer.default.js
JavaScript
gpl-2.0
1,738
'use strict'; var fs = require('fs') , resolve = require('path').resolve , omap = require('es5-ext/lib/Object/map') , deferred = require('deferred') , delay = deferred.delay , promisify = deferred.promisify , mkdir = promisify(fs.mkdir) , writeFile = promisify(fs.writeFile) , unl...
OliveAwesomesauz/pipe.js
node_modules/webmake/node_modules/fs2/test/_get-conf-file-map.js
JavaScript
gpl-2.0
3,891
/** * This file adds some LIVE to the Theme Customizer live preview. To leverage * this, set your custom settings to 'postMessage' and then add your handling * here. Your javascript should grab settings from customizer controls, and * then make any necessary changes to the page using jQuery. */ ( function( $ ) { ...
maya/wp-test
wp-content/themes/radcliffe/js/theme-customizer.js
JavaScript
gpl-2.0
635
import Ember from "ember"; // import Notify from 'ember-notify'; export default Ember.Route.extend({ beforeModel: function() { if (!this.get('session.isAuthenticated')) { this.transitionTo('index'); } //else { // if (this.get('session.currentUser.mustSubscribe')) { // this.transitionTo('p...
closerlee/dayjot-root
ember/app/routes/plan-required.js
JavaScript
gpl-2.0
434
/* * This file is part of the Claroline Connect package. * * (c) Claroline Consortium <consortium@claroline.net> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /* global Strophe */ /* global $pres */ /* global Routing */ export ...
ClaroBot/Distribution
plugin/chat/Resources/modules/xmpp/Service/XmppService.js
JavaScript
gpl-3.0
5,921
"use strict"; var url = require('url'), QS = require('querystring'), $ = require('jquery'), L = require('leaflet'), _ = require('lodash'), console = require('console-browserify'); exports.getUpdatedQueryString = function (k, v) { var parsedUrl = url.parse(window.location.href, true); var q...
kdeloach/otm-core
opentreemap/treemap/js/src/utility.js
JavaScript
gpl-3.0
6,450
var searchData= [ ['pwm',['PWM',['../group__PWM.html',1,'']]] ];
mariusmm/cursembedded
Simplicity/FreeRTOS_App_1_trace/Doc/html/search/groups_4.js
JavaScript
gpl-3.0
67
/************************************************************************ * This file is part of EspoCRM. * * EspoCRM - Open Source CRM application. * Copyright (C) 2014-2017 Yuri Kuznetsov, Taras Machyshyn, Oleksiy Avramenko * Website: http://www.espocrm.com * * EspoCRM is free software: you can redistribute it...
PanuWeb/espocrm
client/src/views/admin/dynamic-logic/conditions/field-types/date.js
JavaScript
gpl-3.0
1,538
/* Copyright (C) 2014 PencilBlue, LLC 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. This program is distributed in th...
bitcot/bitcot
include/http/parsers/form_body_parser.js
JavaScript
gpl-3.0
1,744
/** * @constructor * @param {jasmine.Env} env * @param actual * @param {jasmine.Spec} spec */ jasmine.Matchers = function(env, actual, spec, opt_isNot) { this.env = env; this.actual = actual; this.spec = spec; this.isNot = opt_isNot || false; this.reportWasCalled_ = false; }; // todo: @deprecated as of ...
djacobs/iWitness
vendor/jasmine/src/core/Matchers.js
JavaScript
gpl-3.0
12,478
/* * 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/. */ /* * Copyright (c) 2014, Joyent, Inc. */ /* * * _.---.._ * _ _.-' \ \ ...
GrimDerp/manatee
snapshotter.js
JavaScript
mpl-2.0
3,034
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ (function(){CKEDITOR.on("dialogDefinition",function(a){var b;b=a.data.name;a=a.data.definition;"link"==b?(a.removeContents("target"),a.removeContents("upload"),a.removeCont...
rahulvador/CoreHD
var/httpd/htdocs/js/thirdparty/ckeditor-4.0/plugins/bbcode/plugin.js
JavaScript
agpl-3.0
9,164
/** * Copyright (c) 2014, 2015, Oracle and/or its affiliates. * All rights reserved. */ "use strict"; define(["ojs/ojcore","jquery","ojs/ojcomponentcore","ojs/ojdvt-base","ojs/internal-deps/dvt/DvtDiagram"],function(a,f,d,b,c){a.Da("oj.ojDiagram",f.oj.dvtBaseComponent,{widgetEventPrefix:"oj",options:{optionChange:nu...
afsinka/jet_jsp
src/main/webapp/js/libs/oj/v1.1.2/min/ojdiagram.js
JavaScript
lgpl-2.1
3,612
/** * Copyright (c) 2014, Oracle and/or its affiliates. * All rights reserved. */ "use strict";var l={"SA":["SA","S\u00F8r-Amerika"]};(this?this:window)['DvtBaseMapManager']['_UNPROCESSED_MAPS'][2].push(["southAmerica","continent",l]);
afsinka/jet_jsp
src/main/webapp/js/libs/oj/v1.1.2/resources/internal-deps/dvt/thematicMap/resourceBundles/SouthAmericaContinentBundle_no.js
JavaScript
lgpl-2.1
238
/* * Cheerio default options */ exports.default = { xml: false, decodeEntities: true, }; var xmlModeDefault = { _useHtmlParser2: true, xmlMode: true }; exports.flatten = function (options) { return options && options.xml ? typeof options.xml === 'boolean' ? xmlModeDefault : Object.assign({}, ...
mosser/ArduinoML-kernel
externals/xtext/node_modules/cheerio/lib/options.js
JavaScript
lgpl-3.0
367
var dtypes = require('../constants/arraytypes.json') module.exports = function (x) { return Object.prototype.toString.call(x) in dtypes }
andrealmeid/ToT
node_modules/regl/lib/util/is-typed-array.js
JavaScript
unlicense
140
/** * Copyright 2016 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...
dvoytenko/amphtml
extensions/amp-form/0.1/amp-form.js
JavaScript
apache-2.0
14,609
export class MockReporter { constructor() { this.logs = []; } receive(log) { var {level, message, group} = log; this.logs.push(`[${level}|${group}] ${message}`); } }
angular/diary.js
src/reporters/mock.js
JavaScript
apache-2.0
189
export { default } from './ApplicationTokenList';
GoogleCloudPlatform/sap-deployment-automation
third_party/github.com/ansible/awx/awx/ui_next/src/screens/Application/ApplicationTokens/index.js
JavaScript
apache-2.0
50
/*! * jQuery Form Plugin * version: 4.2.1 * Requires jQuery v1.7.2 or later * Copyright 2017 Kevin Morris * Copyright 2006 M. Alsup * Project repository: https://github.com/jquery-form/form * Dual licensed under the MIT and LGPLv3 licenses. * https://github.com/jquery-form/form#license */ /* global ActiveXObje...
k2madureira/ongaku-ccb
www/public/js/jquery.form.js
JavaScript
apache-2.0
41,018
#! /usr/bin/env node // Copyright, 2017, EMC, Inc. /* jshint node: true */ 'use strict'; var nock = require('nock'); describe('RedfishTool', function(){ var redfishTool, waterline = {}, sandbox = sinon.sandbox.create(); before(function(){ helper.setupInjector([ helper.r...
AlaricChan/on-tasks
spec/lib/utils/job-utils/redfish-tool-spec.js
JavaScript
apache-2.0
3,028
// @flow // Page for /more/network-and-system import * as React from 'react' import { css } from 'styled-components' import { Page } from '../../components/Page' import { NetworkSettingsCard } from '../../components/NetworkSettingsCard' import { SystemInfoCard } from '../../components/SystemInfoCard' // TODO(mc, 2020...
Opentrons/labware
app/src/pages/More/NetworkAndSystem.js
JavaScript
apache-2.0
714
//table to JSON function serializeTable(table, strict) { function getMeta() { const candidates = table.find("thead th[data-member]"); const keys = []; $.each(candidates, function () { const el = $(this); const index = el.index(); const member = el.attr("d...
SurajRepo/frapid
src/Frapid.Web/scripts/frapid/core/json.js
JavaScript
apache-2.0
1,798
// Copyright (c) 2012 Ecma International. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- es5id: 15.2.3.6-4-528 description: > ES5 Attributes - fail to update [[Configurable]] attribute of accessor property ([[Get]] is a Function, [[Set]] is undefined, [[E...
m0ppers/arangodb
3rdParty/V8/V8-5.0.71.39/test/test262/data/test/built-ins/Object/defineProperty/15.2.3.6-4-528.js
JavaScript
apache-2.0
1,095
/* * © Copyright IBM Corp. 2011, 2015 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
gotreasa/ConnectionsToolbarForFirefox
chrome/content/connectionsPreferencesDialog.js
JavaScript
apache-2.0
6,721
var args = arguments[0] || {}; function closeView (){ if(args.vp){ args.vp.hide(); args.vp.release(); args.vp = null; } if(args.reset) { var win = Alloy.createController('feed', 1).getView(); var t = Ti.UI.iPhone.AnimationStyle.CURL_UP; win.open({transition:t}); } //else { args.ventana.close(); //...
lucheins/liveonstage
app/controllers/ios/actionbarIos.js
JavaScript
apache-2.0
897
function tv_layout3() { var win = Titanium.UI.createWindow(); win.backgroundImage='/images/chip.jpg'; var data =[]; var section = Ti.UI.createTableViewSection(); data.push(section); // ROW 1 var row1 = Ti.UI.createTableViewRow(); row1.backgroundColor = '#670000'; row1.selectedBackgroundColor = '#670000';...
appcelerator/titanium_mobile_tizen
tests/samples/KitchenSink/Resources/ui/handheld/ios/baseui/table_view_layout_3.js
JavaScript
apache-2.0
3,316
var _Symbol$iterator = require("../core-js/symbol/iterator"); var _Symbol = require("../core-js/symbol"); function _typeof(obj) { "@babel/helpers - typeof"; if (typeof _Symbol === "function" && typeof _Symbol$iterator === "symbol") { module.exports = _typeof = function _typeof(obj) { return typeof obj;...
BigBoss424/portfolio
v8/development/node_modules/@babel/runtime-corejs3/helpers/typeof.js
JavaScript
apache-2.0
592
import React from "react"; import { observer } from "mobx-react"; import AutoMeter from "components/StatusBar/AutoMeter"; import Notification from "components/StatusBar/Notification"; import TrafficLightIndicator from "components/StatusBar/TrafficLightIndicator"; import DrivingMode from "components/StatusBar/DrivingMo...
msbeta/apollo
modules/dreamview/frontend/src/components/StatusBar/index.js
JavaScript
apache-2.0
1,580
'use strict'; var Rx = require(__dirname); var marbleTesting = require('./spec-js/helpers/marble-testing'); global.rxTestScheduler = new Rx.TestScheduler(marbleTesting.assertDeepEqual); function it(callback) { callback(); } it.asDiagram = function asDiagram() { return function (spec, callback) { callback();...
IgorMinar/RxJS
.markdown-doctest-setup.js
JavaScript
apache-2.0
1,223
Blockly.Msg.ACTUAL = "çağırış"; Blockly.Msg.ADD = "Əlavə et"; Blockly.Msg.ADD_COMMENT = "Şərh əlavə et"; Blockly.Msg.ADD_PARAMETER = "Parametr əlavə edin"; Blockly.Msg.CHANGE_VALUE_TITLE = "Qiyməti dəyiş:"; Blockly.Msg.COLLAPSE_ALL = "Blokları yığ"; Blockly.Msg.COLLAPSE_BLOCK = "Bloku yığ"; Blockly.Msg.COLOUR_BLEND_COL...
ty-po/code-dot-org
dashboard/public/apps-package/js/az_az/blockly_locale-80dbf1a8cbb260e8a093bc0f6aa30866.js
JavaScript
apache-2.0
30,564
/* jshint strict: false, sub: true */ /* global print */ 'use strict'; // ////////////////////////////////////////////////////////////////////////////// // / DISCLAIMER // / // / Copyright 2016 ArangoDB GmbH, Cologne, Germany // / Copyright 2014 triagens GmbH, Cologne, Germany // / // / Licensed under the Apache Licen...
wiltonlazary/arangodb
js/client/modules/@arangodb/testsuites/arangosh.js
JavaScript
apache-2.0
14,136
// 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. // Flags: --allow-natives-syntax // Parameters can't have parentheses (both patterns and identifiers) assertThrows("( ({x: 1}) ) => {};", SyntaxError);...
weolar/miniblink49
v8_7_5/test/mjsunit/regress/regress-8630.js
JavaScript
apache-2.0
1,278
/** * Created by Chris Taylor on 23/07/15. */ var localnametok = "LocalName"; var infixconstok = "support.function.InfixConstructor"; var prefixConstok = "support.function.PrefixConstructor"; var qnametok = "constant.buildin.constant.other.qname"; var urltok = "constant.buildin.constant.other.url"; var integertok = "...
drdozer/shortbol
shortbol/server/jvm/src/main/public/json/ace-builds/src/mode-sbolshorthand2.js
JavaScript
apache-2.0
11,788
var __extends = this.__extends || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } __.prototype = b.prototype; d.prototype = new __(); }; var C = (function () { function C() { } Object.defineProperty(C.prototype, "X", {...
hippich/typescript
tests/baselines/reference/derivedGenericClassWithAny.js
JavaScript
apache-2.0
1,721
(function (globals) { var django = globals.django || (globals.django = {}); django.pluralidx = function (n) { var v=(n != 1); if (typeof(v) == 'boolean') { return v ? 1 : 0; } else { return v; } }; /* gettext library */ django.catalog = { "%curr% of %total%": "%c...
saukrIppl/seahub
static/scripts/i18n/es/djangojs.js
JavaScript
apache-2.0
12,631
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: The String.prototype.charCodeAt.length property has the attribute DontEnum es5id: 15.5.4.5_A8 description: > Checking if enumerating the String.prototype.charCodeAt.length...
m0ppers/arangodb
3rdParty/V8/V8-5.0.71.39/test/test262/data/test/built-ins/String/prototype/charCodeAt/S15.5.4.5_A8.js
JavaScript
apache-2.0
1,549
'use strict'; var examplesAppModule = require('../examplesApp'); /** * @ngInject */ examplesAppModule .controller('NestedNgRepeat', ['$timeout', '$scope', '$element', 'dragularService', function NestedNgRepeatCtrl($timeout, $scope, $element, dragularService) { $timeout(function() { // timeount due to ngRepeat ...
LineGuide/LG-web
public/bower_components/dragular/docs/src/examples/exampleNestedNgRepeat/exampleNestedNgRepeat.js
JavaScript
apache-2.0
1,351
// This file was automatically generated. Do not modify. 'use strict'; goog.provide('Blockly.Msg.sr'); goog.require('Blockly.Msg'); /** @export */ Blockly.Msg.ADD_COMMENT = "Додај коментар"; /** @export */ Blockly.Msg.CANNOT_DELETE_VARIABLE_PROCEDURE = "Не могу да обришем варијаблу ’%1’ јер је део дефиниције функц...
trodi/blockly
msg/js/sr.js
JavaScript
apache-2.0
45,174
"use strict"; const conversions = require("webidl-conversions"); const utils = require("./utils.js"); const ScrollLogicalPosition = require("./ScrollLogicalPosition.js"); const ScrollOptions = require("./ScrollOptions.js"); exports._convertInherit = (obj, ret, { context = "The provided value" } = {}) => { ScrollOp...
GoogleCloudPlatform/prometheus-engine
third_party/prometheus_ui/base/web/ui/react-app/node_modules/jsdom/lib/jsdom/living/generated/ScrollIntoViewOptions.js
JavaScript
apache-2.0
1,328
// Copyright (c) 2012 Ecma International. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- es5id: 15.3.4.5-21-2 description: > Function.prototype.bind - [[Get]] attribute of 'arguments' property in 'F' is thrower ---*/ function foo() { } var o...
m0ppers/arangodb
3rdParty/V8/V8-5.0.71.39/test/test262/data/test/built-ins/Function/prototype/bind/15.3.4.5-21-2.js
JavaScript
apache-2.0
401
/*! jQuery UI - v1.10.3 - 2013-05-15 * http://jqueryui.com * Includes: jquery.ui.effect-highlight.js * Copyright 2013 jQuery Foundation and other contributors Licensed MIT */ (function(t){t.effects.effect.highlight=function(e,i){var s=t(this),n=["backgroundImage","backgroundColor","opacity"],a=t.effects.setMode(s,e.mo...
muffato/public-plugins
orm/htdocs/components/00_jquery_ui_effect_highlight.js
JavaScript
apache-2.0
635
/* global before, describe, it */ var async = require('async') var base = '/api/route-resources' var supertest = require('./supertest') var RouteResources = require('../../lib/route-resource/model') var resources = require('../fixtures/route-resources') var agent = supertest.agent() describe(base, function () { be...
miraculixx/modeify
test/server/route-resources.js
JavaScript
bsd-3-clause
1,827
/** * Copyright 2013-2014, 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 react-co...
joshbedo/react
src/test/__tests__/reactComponentExpect-test.js
JavaScript
bsd-3-clause
1,118
/*jslint browser: true, devel: true, node: true, ass: true, nomen: true, unparam: true, indent: 4 */ /** * @license * Copyright (c) 2015 The ExpandJS authors. All rights reserved. * This code may only be used under the BSD style license found at https://expandjs.github.io/LICENSE.txt * The complete set of authors ...
rl189020/expandjs
lib/array/intersection.js
JavaScript
bsd-3-clause
1,376
/** * Allow any authenticated user. */ var error_responses = { "authenication_required" : { errorCode: "91", message: "A user access token is required to request this resource. Please log in."} }; module.exports = function (req, res, ok) { // User is allowed, proceed to controller if (req.isAuthenticated())...
meghanlarson/mmlc-api
api/policies/authenticated.js
JavaScript
bsd-3-clause
436
/*jslint indent: 2, unparam: true*/ /*global $: false, document: false, togglbutton: false*/ 'use strict'; togglbutton.render('.issue_view:not(.toggl)', {}, function (elem) { var projectSelect, project, link, container, spanTag, issue_id = $('#issue_overview', elem).getAttribute('data-issue-id'), descri...
bitbull-team/toggl-button
src/scripts/content/eventum.js
JavaScript
bsd-3-clause
1,048
import _curry1 from "./internal/_curry1.js"; /** * Checks if the input value is `null` or `undefined`. * * @func * @memberOf R * @since v0.9.0 * @category Type * @sig * -> Boolean * @param {*} x The value to test. * @return {Boolean} `true` if `x` is `undefined` or `null`, otherwise `false`. * @example * * ...
ChromeDevTools/devtools-frontend
node_modules/ramda/es/isNil.js
JavaScript
bsd-3-clause
556
import Coordinate from './geom/Coordinate' import CoordinateList from './geom/CoordinateList' import Envelope from './geom/Envelope' import LineSegment from './geom/LineSegment' import GeometryFactory from './geom/GeometryFactory' import Geometry from './geom/Geometry' import Point from './geom/Point' import LineString...
atlregional/otp.io
node_modules/jsts/src/org/locationtech/jts/geom.js
JavaScript
isc
983
var Promise = require('rsvp').Promise; var merge = require('ember-cli-lodash-subset').merge; var inflection = require('inflection'); module.exports = { description: 'Generates a model and route.', install: function(options) { return this._process('install', options); }, uninstall: function(option...
DanielJRaine/employee-forms-auth
node_modules/ember-cli-legacy-blueprints/blueprints/resource/index.js
JavaScript
mit
2,023
(function (tree) { tree.mixin = {}; tree.mixin.Call = function (elements, args, index) { this.selector = new(tree.Selector)(elements); this.arguments = args; this.index = index; }; tree.mixin.Call.prototype = { eval: function (env) { var mixins, args, rules = [], match = false; for (va...
FireworksProject/platform.y
nodejs_server/lib/less/tree/mixin.js
JavaScript
mit
4,279
import { BoxGeometry, Vector3 } from '../../../build/three.module.js'; const _tempNormal = new Vector3(); function getUv( faceDirVector, normal, uvAxis, projectionAxis, radius, sideLength ) { const totArcLength = 2 * Math.PI * radius / 4; // length of the planes between the arcs on each axis const centerLength...
kaisalmen/three.js
examples/jsm/geometries/RoundedBoxGeometry.js
JavaScript
mit
4,650
var x = function (foo) { for (var _len = arguments.length, bar = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { bar[_key - 1] = arguments[_key]; } console.log(bar); }; var y = function (foo) { for (var _len2 = arguments.length, bar = Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _...
ameyms/babel
packages/babel-plugin-transform-es2015-parameters/test/fixtures/parameters/rest-member-expression-deoptimisation/expected.js
JavaScript
mit
4,696
describe( 'MainController', function() { var MainCtrl, $location, $httpBackend, $scope, MapService, state, queryService; beforeEach( module( 'SolrHeatmapApp' ) ); beforeEach( inject( function( $controller, _$location_, $rootScope, _$httpBackend_, _Map_, _$state_, _queryService_) { $location = _$lo...
terranodo/angular-search
tests/controller/Main.spec.js
JavaScript
mit
2,185
var searchData= [ ['radians',['radians',['../interface_t_l_m_angle.html#a1cdfede1c67bfae83ac622da174501b8',1,'TLMAngle']]], ['rawdata',['rawData',['../interface_t_l_m_emg_event.html#a7fac6bdf3f8ea4009a71ae1fdaa9fcc9',1,'TLMEmgEvent']]], ['roll',['roll',['../interface_t_l_m_euler_angles.html#a70dea082d7777b03958ad...
omarmjhd/archer
ios/Myo-iOS-SDK-0.5.2/docs/search/properties_9.js
JavaScript
mit
358
/* YUI 3.8.0pr2 (build 154) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ if (typeof _yuitest_coverage == "undefined"){ _yuitest_coverage = {}; _yuitest_coverline = function(src, line){ var coverage = _yuitest_coverage[src]; if ...
SHMEDIALIMITED/tallest-tower
node_modules/grunt-contrib/node_modules/grunt-contrib-yuidoc/node_modules/yuidocjs/node_modules/yui/datatype-date-parse/datatype-date-parse-coverage.js
JavaScript
mit
3,999
const Question = Jymfony.Component.Console.Question.Question; const PasswordRenderer = Jymfony.Component.Console.Question.Renderer.PasswordRenderer; const SttyPasswordRenderer = Jymfony.Component.Console.Question.Renderer.SttyPasswordRenderer; const Terminal = Jymfony.Component.Console.Terminal; /** * Represents a qu...
jymfony/console
src/Question/PasswordQuestion.js
JavaScript
mit
1,197
/** * @module gestures */ /** * Single tap and a double tap on a place * * @class Tap * @static */ /** * @event tap * @param {Object} ev */ /** * @event doubletap * @param {Object} ev */ /** * @param {String} name */ (function(name) { var hasMoved = false; function tapGesture(ev, inst) { ...
sekys/ivda
web/libs/vis/node_modules/hammerjs/src/gestures/tap.js
JavaScript
mit
3,025
// The MIT License // Copyright (c) 2010 Atsuya Takagi // // 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, mod...
Christopheraburns/projecttelemetry
node_modules/splunk-sdk/contrib/static-resource/lib/staticresource/handler.js
JavaScript
mit
4,373
import TTFGlyph from './TTFGlyph'; /** * Represents a TrueType glyph in the WOFF2 format, which compresses glyphs differently. */ export default class WOFF2Glyph extends TTFGlyph { _decode() { // We have to decode in advance (in WOFF2Font), so just return the pre-decoded data. return this._font._transforme...
diegomura/react-pdf
packages/fontkit/src/glyph/WOFF2Glyph.js
JavaScript
mit
391
'use strict'; const sinon = require('sinon'); require('sinon-as-promised'); const lruCache = module.exports = sinon.stub(); lruCache.set = sinon.stub(); lruCache.get = sinon.stub(); lruCache.instance = { set: lruCache.set, get: lruCache.get }; lruCache.returns(lruCache.instance);
jonathan-fielding/polyfill-service
test/unit/mock/lru-cache.mock.js
JavaScript
mit
287
/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @generated SignedSource<<08d477ab88c659b4aab42c5c9ba5517b>> * @flow * @lightSyntaxTransform * @nogrep */ /* eslint-disabl...
voideanvalue/relay
packages/relay-runtime/store/__tests__/__generated__/RelayModernEnvironmentWithOperationTrackerTest1Query.graphql.js
JavaScript
mit
6,588
"use strict"; /* exported Properties */ var Properties = module.exports = { __proto__: null, //A "align-items" : "flex-start | flex-end | center | baseline | stretch", "align-content" : "flex-start | flex-end | center | space-between | space-around | stretch...
rcarauta/rcarauta-projects
node_modules/parserlib/src/css/Properties.js
JavaScript
mit
28,168
var assert = require('assert'); var sodium = require('../build/Release/sodium'); var assert = require('assert'); describe("AEAD", function () { it("aes256gcm should encrypt and decrypt to the same string", function (done) { var message = Buffer.from("This is a plain text message"); var additionalDa...
paixaop/node-sodium
test/test_crypto_aead.js
JavaScript
mit
11,784
(function($, undefined) { $.KBWidget({ name: 'kbaseNarrativeCellMenu', parent: 'kbaseWidget', options: {cell: null}, init: function(options) { this._super(options); // console.log(['cell menu', this.options.cell]); var $deleteBtn = $('<button ty...
rsutormin/narrative
src/notebook/ipython_profiles/profile_narrative/kbase_templates/static/kbase/js/widgets/narrative_core/kbaseNarrativeCellMenu.js
JavaScript
mit
6,275
var Deferred = require("promised-io/promise").Deferred; module.exports = function(conf, log4js) { var logger = log4js.getLogger("prepare"); var deferred = new Deferred(); return function preServerStart() { logger.info('Any setup before server start here'); deferred.resolve(); // do this in ...
aweijnitz/ABTestServer.js
lib/server/startupHook.js
JavaScript
mit
464
// flow-typed signature: 5934458d8287c23337a0363563a548f9 // flow-typed version: b77688cf5d/@babel/register_v7.x.x/flow_>=v0.30.x declare module '@babel/register' { declare type Ignore = boolean | string | RegExp | (filename: string) => boolean; declare type Options = {| ast?: boolean, auxiliaryCommentAfte...
lbryio/lbry-app
flow-typed/npm/@babel/register_v7.x.x.js
JavaScript
mit
1,621
/** * HTML tokenizer by Marijn Haverbeke * http://codemirror.net/ * @constructor * @memberOf __xmlParseDefine * @param {Function} require * @param {Underscore} _ */ emmet.define('xmlParser', function(require, _) { var Kludges = { autoSelfClosers : {}, implicitlyClosed : {}, contextGrabbers : {}, doNotIn...
JackyDing/Jacky.Emmet
src/Jacky.Emmet/Assets/javascript/parsers/xmlParser.js
JavaScript
mit
7,418
/** * @module zrender/tool/color */ var kCSSColorTable = { 'transparent': [0,0,0,0], 'aliceblue': [240,248,255,1], 'antiquewhite': [250,235,215,1], 'aqua': [0,255,255,1], 'aquamarine': [127,255,212,1], 'azure': [240,255,255,1], 'beige': [245,245,220,1], 'bisque': [255,228,196,1],...
ginny315/dataShowSystem
require+echarts/app/scripts/lib/echarts/node_modules/zrender/lib/tool/color.js
JavaScript
mit
17,173
module.exports = function() { if (true) { if (true) { if (true) { return false } } } }
codyseibert/random
stethoscope/node_modules/grunt-complexity/test/fixtures/sample.js
JavaScript
mit
103
/*! hyperform.js.org */ 'use strict'; /* the following code is borrowed from the WebComponents project, licensed * under the BSD license. Source: * <https://github.com/webcomponents/webcomponentsjs/blob/5283db1459fa2323e5bfc8b9b5cc1753ed85e3d0/src/WebComponents/dom.js#L53-L78> */ // defaultPrevented is broken in IE...
joeyparrish/cdnjs
ajax/libs/hyperform/0.10.0/hyperform.cjs.js
JavaScript
mit
86,285
/* Highcharts JS v5.0.7 (2017-01-17) (c) 2009-2016 Torstein Honsi License: www.highcharts.com/license */ (function(L,a){"object"===typeof module&&module.exports?module.exports=L.document?a(L):a:L.Highcharts=a(L)})("undefined"!==typeof window?window:this,function(L){L=function(){var a=window,B=a.document,A=a.naviga...
stawen/automation-draft
v2/asset/js/highcharts.js
JavaScript
mit
193,784
//= require_tree ./application
robotex82/ecm_youtube_backend
app/assets/javascripts/ecm/youtube/backend/application.js
JavaScript
mit
31
var http = require('http'); var cicada = require('../'); var ci = cicada('/tmp/blarg'); ci.on('commit', function (commit) { commit.run('test').on('exit', function (code) { var status = code === 0 ? 'PASSED' : 'FAILED'; console.log(commit.hash + ' ' + status); }); }); var server = http.createSe...
tsiry95/openshift-strongloop-cartridge
strongloop/node_modules/strong-fork-cicada/example/ci.js
JavaScript
mit
358
/** * @author alteredq / http://alteredqualia.com/ */ THREE.EffectComposer = function ( renderer, renderTarget ) { this.renderer = renderer; if ( renderTarget === undefined ) { var width = window.innerWidth || 1; var height = window.innerHeight || 1; var parameters = { minFilter: THREE.LinearFilter, magFi...
seacloud9/ds.GlamShader
vendor/scripts/EffectComposer.js
JavaScript
mit
2,598