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
function render() { var mapNested3 = [1, 2, 3].map(function(i) { return <outer3><inner3 attr={i}></inner3></outer3>; }); }
jridgewell/babel-plugin-transform-incremental-dom
test/fixtures/expression-children/12/actual.js
JavaScript
mit
130
var Page = require('../page-object.js'); describe('Options: ', () => { describe('Swatch: ', () => { beforeAll(() => { Page.openPage(); Page.waitTillPageLoaded(); }); it('Should show the swatch by default', () => { expect(Page.swatch.isDisplayed()).toEqual(t...
ruhley/angular-color-picker
test/e2e/swatch.protractor.js
JavaScript
mit
710
/* Copyright (c) 2014, Pixel & Tonic, Inc. @license http://craftcms.com/license Craft License Agreement @see http://craftcms.com @package craft.app.resources */ (function(a){var c=Garnish.Base.extend({$form:null,$protocolField:null,$protocolSelect:null,$hiddenFields:null,$testBtn:null,$testSpinner:null,$p...
hellorich/go-craft
craft/app/resources/js/compressed/email_settings.js
JavaScript
mit
2,043
$(function () { 'use strict' QUnit.module('manipulator') QUnit.test('should be defined', function (assert) { assert.expect(1) assert.ok(Manipulator, 'Manipulator is defined') }) QUnit.test('should set data attribute', function (assert) { assert.expect(1) var $div = $('<div />').appendTo('#...
stanwmusic/bootstrap
js/tests/unit/dom/manipulator.js
JavaScript
mit
3,715
/**! * * Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file. */ export const locusEventKeys = [ `locus.summary`, `locus.self_changed`, `locus.participant_joined`, `locus.participant_left`, `locus.participant_declined`, `locus.participant_alerted`, `locus.participant_updated`, `locus.partic...
nickclar/spark-js-sdk
packages/node_modules/@ciscospark/plugin-locus/src/event-keys.js
JavaScript
mit
671
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator 0.11.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. ...
colemickens/autorest
AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/BodyString/operations/index.js
JavaScript
mit
499
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ process.on('message', (message) => { // Only process messages with the hash in 'run-module-as-observable-fork.ts'....
hansl/devkit
packages/angular_devkit/build_angular/src/utils/run-module-worker.js
JavaScript
mit
592
// CONFIGURE SAUCE CREDENTIALS HERE var username = "<USERNAME>", accessKey = "<ACCESS_KEY>"; var webdriver; try { webdriver = require('wd'); } catch( err ) { webdriver = require('../lib/main'); } var assert = require('assert'); var browser = webdriver.remote("ondemand.saucelabs.com", 80, username, accessKey); ...
espena/terminal
test/node_modules/testem/examples/saucelabs/node_modules/wd/examples/example.ondemand.ie.js
JavaScript
mit
1,190
(function () { // https://select2.github.io/examples.html var init = function () { if ($("#TrainingCode")) { $("#TrainingCode").select2(); } }; init(); // open dropdownon on focus $(document).on('focus', '.select2', function () { $(this).siblings('select')....
SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EmployerFinance.Web/dist/javascripts/apprentice/dropdown.js
JavaScript
mit
661
(function(jsGrid, $, undefined) { var NumberField = jsGrid.NumberField; var numberValueType = "number"; var stringValueType = "string"; function SelectField(config) { this.items = []; this.selectedIndex = -1; this.valueField = ""; this.textField = ""; if(config...
tabalinas/jsgrid
src/fields/jsgrid.field.select.js
JavaScript
mit
3,605
//>>built define("dojox/lang/aspect/profiler",["dojo","dijit","dojox"],function(b,f,d){b.provide("dojox.lang.aspect.profiler");(function(){var e=d.lang.aspect,c=function(a){this.args=a?[a]:[];this.inCall=0};b.extend(c,{before:function(){this.inCall++||console.profile.apply(console,this.args)},after:function(){--this.in...
darklilium/Factigis_2
arcgis_js_api/library/3.17/3.17compact/dojox/lang/aspect/profiler.js
JavaScript
mit
396
Xktta.Inflection = function(body){ var __this__ = this; var irregular = function(singular, plural){ __this__.inflection.singular[singular] = plural; __this__.inflection.plural[plural] = singular; } eval("new function (){\n\ var irregular = #{irregular};\n\ (#{body})(this);\n\ };" ....
juniormesquitadandao/xikitita
app/models/inflection.js
JavaScript
mit
435
/** * Editor role definition. */ SD.Permission.role({ name: 'editor', permissions: {} });
spacedrop/spacedrop
config/people/roles.js
JavaScript
mit
97
"use strict"; /** * This plugin adds ability to perform actions from the server. * "action":"reload" * "action":{"redirect":"/account"} * "action":{"redirect":"/account","delay":3000} * "action":{"name":"redirect","url":"/account","delay":3000} */ module.exports = function (sf) { sf.ajax.events.on('load', fu...
spiral/sf.js
src/core/ajax/baseActions.js
JavaScript
mit
4,274
/** * Copyright (c) 2014, 2016, Oracle and/or its affiliates. * The Universal Permissive License (UPL), Version 1.0 */ "use strict"; define(['ojs/ojcore', 'jquery', 'ojs/ojcomponentcore', 'ojs/ojdvt-base', 'ojs/internal-deps/dvt/DvtDiagram'], function(oj, $, comp, base, dvt) { /** * <table class="keyboard-table">...
peppertech/OracleJET-Samples
DeviceInteractions/src/js/libs/oj/v2.0.1/debug/ojdiagram.js
JavaScript
mit
23,345
export const ownAddress = 'http://izm.io';
dimaip/encultN
app/shared-settings.js
JavaScript
mit
43
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); exports['default'] = function (kibana) { return new kibana.Plugin({ uiExports: { visTypes: ['plugins/table_vis/table_vis'] } }); }; ; module.exports = exports['default'];
phupn1510/ELK
kibana/kibana/src/core_plugins/table_vis/index.js
JavaScript
mit
272
var searchData= [ ['gravityscale',['gravityScale',['../structb2_body_def.html#aadea3fa173ed1014739ec8b023de4336',1,'b2BodyDef::gravityScale()'],['../structb2_particle_system_def.html#ae1e7b92c07dd5aae0deefe178679a525',1,'b2ParticleSystemDef::gravityScale()']]], ['groundanchora',['groundAnchorA',['../structb2_pulley...
lowkey42/BanishedBlaze
dependencies/Box2D/Documentation/API-Ref/html/search/variables_6.js
JavaScript
mit
992
import Helper, { states } from './_helper'; import { module, test } from 'qunit'; module('Integration | ORM | Has Many | Reflexive | delete', function(hooks) { hooks.beforeEach(function() { this.helper = new Helper(); }); states.forEach((state) => { test(`deleting children updates the parent's foreign ...
jherdman/ember-cli-mirage
tests/integration/orm/has-many/3-reflexive/delete-test.js
JavaScript
mit
614
'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ "\u04ae\u04e8", "\u04ae\u0425" ], "DAY": [ "...
ereddate/angular.js
src/ngLocale/angular-locale_mn-cyrl-mn.js
JavaScript
mit
3,535
import THREE from 'three'; const vertexShader = ` precision mediump float; varying vec2 vUv; void main() { vUv = uv; gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 ); } `; const fragmentShader = ` precision mediump float; #define PI 3.1415...
mikatalk/three-es6-s3-boilerplate
src/js/steps/14/Horizon.js
JavaScript
mit
2,330
// Generated by CoffeeScript 2.3.1 (function () { const paths = require('./paths'); const config = { ext: [ `${paths.static.ext}/jquery/dist/jquery.js`, `${paths.static.ext}/moment/moment.js`, `${paths.static.ext}/bootstrap/js/alert.js`, `${paths.static.ext}/bootstrap/js/button.js`, ...
mdxs/gae-init
gulp/config.js
JavaScript
mit
756
import {normalize} from 'normalizr' import {getGraphQLFetcher} from 'src/common/util' import types from './types' import schemas from './schemas' import queries from './queries' export function findChapters() { return { types: [ types.FIND_CHAPTERS_REQUEST, types.FIND_CHAPTERS_SUCCESS, types.F...
LearnersGuild/echo
src/common/actions/chapter.js
JavaScript
mit
3,358
/*! this is mostly based on work by Richard Fairhurst, initially developed for iD editor, but abbandoned. See: http://lists.openstreetmap.org/pipermail/mapcss/2013-February/000341.html . This is under WTFPL. */ var styleparser = {};
Secretmapper/overpass-turbo
js/jsmapcss/styleparser.js
JavaScript
mit
233
/** HTML utility functions. */ if (twiki == undefined) var twiki = {}; twiki.HTML = { /** Writes HTML to an HTMLElement. @param inId : (String) id of element to write to @param inHtml : (String) HTML to write @return The updated HTMLElement */ setHtmlOfElementWithId:function(inId, inHtml) { var elem = documen...
facascante/vtwiki
pub/TWiki/TWikiJavascripts/twikiHTML.js
JavaScript
gpl-2.0
6,583
$(".shortcut").hover(function() { //$(this).addClass('well'); //$(this).removeClass('well-'); }, function() { //$(this).removeClass('well'); //$(this).addClass('well-light'); });
billgertz/FAB-UI
fabui/application/modules/dashboard/assets/js/dashboard.js
JavaScript
gpl-2.0
188
(function() { window.FSM = {}; FSM.Machine = (function() { function Machine(context) { this.context = context; this._stateTransitions = {}; this._stateTransitionsAny = {}; this._defaultTransition = null; this._initialState = null; this._currentState = null; } Machin...
ajnok/kprums
wp-content/plugins/page-builder-sandwich/page_builder_sandwich/js/dev/content-tools.js
JavaScript
gpl-2.0
285,516
mxn.register('leaflet', { Mapstraction: { init: function(element, api) { if (typeof L.Map === 'undefined') { throw new Error(api + ' map script not imported'); } var me = this; var map = new L.Map(element.id, { zoomControl: false }); map.addEventListener('moveend', function(){ me.endPan.fire()...
yeloweb/bali-premium
wp-content/plugins/geo-mashup/js/mxn/mxn.leaflet.core.js
JavaScript
gpl-2.0
13,139
var easy2map_imgmap_functions = (function() { //change 'border_width' into 'Border Width', for example normaliseCSSElement = function(item) { item = replaceAll(item, "_", " "); item = item.toLowerCase().replace(/\b[a-z]/g, function(letter) { return letter.toUpperCase(); }); ...
icommstudios/localsharingtree
wp-content/plugins/easy2map-photos/scripts/functions.imgmap.admin.js
JavaScript
gpl-2.0
41,805
OW_Components_DragAndDrop = function() { var self = this; this.prepare(); this.defaultSettings.handle = '.dd_handle'; this.initialize(); $(this.sectionSelector).each(function(){ DND_InterfaceFix.fix(this); }); this.events.reset = []; $('#reset_position_btn').click(function(){ ...
seret/oxtebafu
ow_static/plugins/base/js/drag_and_drop.js
JavaScript
gpl-2.0
4,137
(function() { // Load plugin specific language pack tinymce.PluginManager.requireLangPack('spqplugin'); tinymce.create('tinymce.plugins.SimplePullQuotesPlugin', { /** * Initializes the plugin, this will be executed after the plugin has been created. * This call is done before the editor instance has finishe...
YPaquis/RHumeurs.net
wp-content/plugins/simple-pull-quote/editor_plugin.js
JavaScript
gpl-2.0
2,693
/* Widget complements Autocomplete by enabling autocompletes to be used as value holders. It looks very much like Autocomplete in its design. Thus, it is recommended to read the source of Autocomplete first. Widget behaves like the autocomplete in facebook profile page, which all users should be able to use. Behind t...
meletakis/collato
lib/python2.7/site-packages/autocomplete_light/static/autocomplete_light/widget.js
JavaScript
gpl-2.0
14,613
require.def(function (require) { var a = require('a'); return { name: 'c', aName: a.name }; });
tfe/cloud9
support/ace/support/requirejs/tests/anon/c.js
JavaScript
gpl-3.0
124
// // background.js // ============= require(['jquery', 'js/modules/ui/image-form'], function ($) { "use strict"; $('#user-background-form').hide(); $('#background').on('change', function (e) { $('#user-background-form').submit(); }); $('.change-background-btn...
piotrek-golda/CivilHubIndependantCopy
places_core/static/places_core/js/modules/userspace/background.js
JavaScript
gpl-3.0
544
import React, { Component } from "react"; import PropTypes from "prop-types"; import { TextField } from "@reactioncommerce/reaction-ui"; class SortableTableFilter extends Component { render() { return ( <TextField i18nKeyPlaceholder="reactionUI.components.sortableTable.filterPlaceholder" i...
aeyde/reaction
imports/plugins/core/ui/client/components/table/sortableTableComponents/filter.js
JavaScript
gpl-3.0
705
/*<?xml version="1.0" encoding="UTF-8" ?>*/ ({ invalidMessage: "* 入力したデータに該当するものがありません。", missingMessage: "* 入力が必須です。", rangeMessage: "* 入力した数値は選択範囲外です。" })
idega/org.chiba.web
resources/javascript/dojo-0.4.4/src/widget/nls/ja/validate.js
JavaScript
gpl-3.0
251
/** * This module provides functionality to allow some components to control some states of other components. It is a * pretty rubbish way of doing this foisted upon us by having Java write web UIs. This module <strong>will</strong> * cause you pain and suffering. It may result in mental health issues. It is, howeve...
ricksbrown/wcomponents
wcomponents-theme/src/main/js/wc/ui/subordinate.js
JavaScript
gpl-3.0
26,874
/* -*- indent-tabs-mode: nil; js-indent-level: 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/. */ //--------------------------------------------------------...
cstipkovic/spidermonkey-research
js/src/tests/js1_8_1/regress/regress-452498-073.js
JavaScript
mpl-2.0
965
'use strict'; var ChatPage = require('./../pages/chat'), sessionPages = require('./../pages/session'), chatPage = new ChatPage(), loginPage = new sessionPages.Login(); describe('1% core user', () => { describe('when authenticated', () => { beforeAll(() => { loginPage.get(); loginPage....
P2Pvalue/teem
test/e2e/core/chat.js
JavaScript
agpl-3.0
579
/** * Shopware 4.0 * Copyright © 2012 shopware AG * * According to our dual licensing model, this program can be used either * under the terms of the GNU Affero General Public License, version 3, * or under a proprietary license. * * The texts of the GNU Affero General Public License with an additional * permi...
flyingSkull/dl-shopware
templates/_default/backend/risk_management/store/subshops.js
JavaScript
agpl-3.0
1,790
var expect = require('chai').expect; var runner = require('../runner'); describe('objc runner', function() { describe('.run', function() { runner.assertCodeExamples('objc'); it('should handle basic code evaluation', function(done) { runner.run({ language: 'objc', setup: false, ...
OverZealous/codewars-runner-cli
test/runners/objc_spec.js
JavaScript
agpl-3.0
25,327
/* * * * (c) 2014-2021 Highsoft AS * * Authors: Jon Arild Nygard / Oystein Moseng * * License: www.highcharts.com/license * * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!! * * */ 'use strict'; var __extends = (this && this.__extends) || (function () { var extendStatics = fun...
sfu-ireceptor/gateway
public/js/highcharts/code/es-modules/Series/Treemap/TreemapSeries.js
JavaScript
lgpl-3.0
56,863
function da(g){throw g;}var a=void 0,n=!0,q=null,s=!1;try{this.Module=Module}catch(ea){this.Module=Module={}}var ia="object"===typeof process&&"function"===typeof require,ka="object"===typeof window,la="function"===typeof importScripts,oa=!ka&&!ia&&!la; if(ia){Module.print=function(g){process.stdout.write(g+"\n")};Modu...
gamedevtech/gamedevtech.github.io
js/weblua.js
JavaScript
unlicense
445,834
import React from 'react'; class ProductItem extends React.Component { constructor(){ super(); this.clickFN = this.clickFN.bind(this); } clickFN(){ console.log("Here Click"); } render() { return ( <li> { this.props.data.name } - ...
tahashahid/cloud-computing-2017
ReactJS/class-2017-12-03/my-app/src/product-item/ProductItem.js
JavaScript
unlicense
534
'use strict'; var Benchmark = require('benchmark'); var ShelfPack = require('../.'); var BinPack = require('bin-pack'); var N = 10000; var dim = 10000; var sizes = [12, 16, 20, 24]; function randSize() { return sizes[Math.floor(Math.random() * sizes.length)]; } // generate data var fixedBoth = [], randWidth...
andrealmeid/ToT
node_modules/shelf-pack/bench/bench.js
JavaScript
unlicense
3,196
/* * 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...
securny/syncope
client/enduser/src/main/resources/META-INF/resources/app/js/controllers/UserController.js
JavaScript
apache-2.0
21,310
({ render: function(cmp, helper) { if(cmp.get("v.callsHelperMethodInRender")) { cmp.set("v.message", helper.getMessage()); } return this.superRender(); }, afterRender: function(cmp, helper) { this.superAfterRender(); if(cmp.get("v.callsHelperMethodInAfter...
forcedotcom/aura
aura-components/src/test/components/componentTest/helper/helperRenderer.js
JavaScript
apache-2.0
798
sap.ui.define(['sap/ui/core/UIComponent'], function(UIComponent) { "use strict"; var Component = UIComponent.extend("sap.m.sample.ObjectHeaderResponsiveI.Component", { metadata : { rootView : { "viewName": "sap.m.sample.ObjectHeaderResponsiveI.Page", "type": "XML", "async": true }, dependenc...
SQCLabs/openui5
src/sap.m/test/sap/m/demokit/sample/ObjectHeaderResponsiveI/Component.js
JavaScript
apache-2.0
555
/* Copyright 2014 Lectorius, 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 writing, software...
mitro-co/keyczarjs
keyczar.js
JavaScript
apache-2.0
17,814
// Copyright 2016, EMC, Inc. 'use strict'; module.exports = { friendlyName: 'Generate Tag', injectableName: 'Task.Catalog.GenerateTag', implementsTask: 'Task.Base.Catalog.GenerateTag', optionsSchema: 'generate-tag.json', options: { nodeIds: [] }, properties: {} };
nortonluo/on-tasks
lib/task-data/tasks/generate-tag.js
JavaScript
apache-2.0
303
/* ** Copyright [2013-2015] [Megam Systems] ** ** 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 ag...
konerunikhil/nilavu
app/assets/javascripts/angular/widgets/container/service.js
JavaScript
apache-2.0
1,480
/* * * 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"); y...
apache/cordova-qt
qml/cordova_wrapper.js
JavaScript
apache-2.0
2,060
class FollowBtnCtrl { constructor(Profile, User, $state) { 'ngInject'; this._Profile = Profile; this._User = User; this._$state = $state; } submit() { this.isSubmitting = true; if (!this._User.current) { this._$state.go('app.register'); return; } // If following al...
gustavovaliati/training_Symfony2.8_Angular1.5_AdminLTE
symfony-root/web/webapp/js/components/buttons/follow-btn.component.js
JavaScript
apache-2.0
914
/** * ==================================================================== * About * ==================================================================== * Sarissa cross browser XML library - IE XSLT Emulation (deprecated) * @version 0.9.6.1 * @author: Manos Batsis, mailto: mbatsis at users full stop sourceforge ...
BradNeuberg/rsh
impl/shim/version0.04/examples/lib/sarissa/sarissa_ieemu_xslt.js
JavaScript
apache-2.0
8,007
/*! * ${copyright} */ sap.ui.define(["sap/m/library"], function (library) { 'use strict'; // shortcut for sap.m.LightBoxLoadingStates var LightBoxLoadingStates = library.LightBoxLoadingStates; /** * LightBox renderer. * @namespace */ var LightBoxRenderer = {}; var className = 'sapMLightBox'; var clas...
SQCLabs/openui5
src/sap.m/src/sap/m/LightBoxRenderer.js
JavaScript
apache-2.0
4,560
/** * Created by Evan on 2016/3/27. */ /** *Show error message. *Example data:{key:"value"} *Please modify it according to yourself UI need. *@param errorInfo is a JSON object containing key and value properties. *@return null */ $.ajaxSetup({cache:false}); function showErrorMessage(errorInfo){ //$('#info_...
EvilGreenArmy/cms
src/main/webapp/js/admin/layout/common.js
JavaScript
apache-2.0
13,904
// Copyright (C) 2015 the V8 project authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- es6id: 22.1.2.3 description: > Calls the length setter if available info: > Array.of ( ...items ) ... 9. Let setStatus be Set(A, "length", len, true). ... ---*/ var...
m0ppers/arangodb
3rdParty/V8/V8-5.0.71.39/test/test262/data/test/built-ins/Array/of/sets-length.js
JavaScript
apache-2.0
816
/** * @class Util.map * * @author Steven House * @email steven.m.house@gmail.com * * Map utility functions */ // Include logging utility var log = Alloy.Globals.log; log.warn('[mapUtils] : Opened Library'); var xhr = require('network/httpClient'); var key = "AIzaSyCgBVzz7tXycmVYq4d-X0vax3MkkOSi5cs"; /** * Des...
shouse/To-Do-Demo
app/lib/mapUtils.js
JavaScript
apache-2.0
6,580
'use strict'; timing_test(function() { var polyfillRect = document.getElementById('polyfillRect'); var nativeRect = document.getElementById('nativeRect'); // nativeAnimateMotion does not expose the updating transform at(0, 'transform', 'translate(0, 0) rotate(0)', polyfillRect, polyfillRect); a...
ericwilligers/svg-animation
test/testcases/animateMotion-keyPoints-check.js
JavaScript
apache-2.0
1,114
// Copyright 2014-present runtime.js project 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 applicab...
SpaceboyRoss01/PeabodyOS
src/system/node_modules/runtimejs/js/core/net/udp-header.js
JavaScript
apache-2.0
1,388
// Copyright 2014 Samsung Electronics Co., Ltd. // // 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 la...
tilmannOSG/jerryscript
tests/jerry-test-suite/11/11.05/11.05.02/11.05.02-041.js
JavaScript
apache-2.0
667
// Generated by CoffeeScript 1.6.3 /* CoffeeScript Compiler v1.0.1 Released under the MIT License */ (function() { }).call(this);
UAK-35/wro4j
wro4j-extensions/src/test/resources/ro/isdc/wro/extensions/processor/coffeeScript/advanced/expectedNode/block_comment.js
JavaScript
apache-2.0
143
/** * 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...
arenadata/ambari
contrib/views/jobs/src/main/resources/ui/app/scripts/views/table_view.js
JavaScript
apache-2.0
10,405
var navs = [{ "title": "系统管理", "icon": "fa-cubes", "spread": true, "children": [{ "title": "登录日志", "icon": "&#xe63c;", "href": "admin/loginlog" }] }, { "title": "用户中心", "icon": "fa-cogs", "spread": false, "children": [{ "title": "用户管理", "icon": "fa-table", "href": "admin/user" }, { "title": "角色...
liuzongwen1/mss
target/belling-admin/static/datas/nav.js
JavaScript
apache-2.0
503
/*{ "pass": [ "transform-to-compound-assignment" ] }*/ (function () { var i; with (obj) { i; } i = i += 10; // This should be reduce }());
estools/esmangle
test/compare/compound-8.js
JavaScript
bsd-2-clause
180
// Copyright (C) 2020 Rick Waldron. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- esid: sec-ecmascript-standard-built-in-objects description: > The Uint8Array constructor implements [[Construct]] info: | IsConstructor ( argument ) The abstract operation IsCons...
sebastienros/jint
Jint.Tests.Test262/test/built-ins/TypedArrayConstructors/Uint8Array/is-a-constructor.js
JavaScript
bsd-2-clause
844
// Copyright Joyent, Inc. and other Node contributors. // // 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, modi...
kotarondo/PersHA.js
test/node/test/simple/test-http-res-write-after-end.js
JavaScript
bsd-3-clause
1,846
var util = require( 'util' ); exports.logExecuteData = []; exports.logData = function ( req ) { exports.logExecuteData.push({ body: req.body, headers: req.headers, trailers: req.trailers, method: req.method, url: req.url, params: req.params, query: req.query...
sfmc-developer-advocates/custom-activity-deskapi-node
routes/activityUtils.js
JavaScript
bsd-3-clause
1,742
// Copyright 2016 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. import {AlertDialog} from 'chrome://resources/js/cr/ui/dialogs.m.js'; import {util} from '../../../common/js/util.js'; /** * Alert dialog. */ export c...
scheib/chromium
ui/file_manager/file_manager/foreground/js/ui/files_alert_dialog.js
JavaScript
bsd-3-clause
1,349
Git.Remote = function(repo, name, repoUrl) { this.repo = repo this.name = name this.refs = {} this.url = repoUrl.replace(/\?.*/, "").replace(/\/$/, "") this.urlOptions = Git.Remote.queryParams(repoUrl) this.makeUri = function(path, extraOptions) { var uri = this.url + path var options = _(this.url...
isaacs/git.js
lib/git/remote.js
JavaScript
mit
1,653
define("function-amd-deps-module", ['module-a'], function(depA) { var content; });
jugglinmike/amdclean
test/fixtures/define/function-amd-deps/input-named.js
JavaScript
mit
85
var searchData= [ ['obszar',['obszar',['../classep___gmina.html#aa05db5ea090acb5d431aff0bbb8b97a6',1,'ep_Gmina\obszar()'],['../classep___powiat.html#aa05db5ea090acb5d431aff0bbb8b97a6',1,'ep_Powiat\obszar()'],['../classep___wojewodztwo.html#aa05db5ea090acb5d431aff0bbb8b97a6',1,'ep_Wojewodztwo\obszar()']]], ['order_5...
veriKami/ePF_API_doc
ePF_API_doxy-0.2.x-dev/html/search/functions_6f.js
JavaScript
mit
4,877
//----------- Imports -----------// import ProgressBar from './ProgressBar' //----------- Exports -----------// export default ProgressBar
mattmanske/react-baseplate
app/components/ProgressBar/index.js
JavaScript
mit
146
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionFace = (props) => ( <SvgIcon {...props}> <path d="M9 11.75c-.69 0-1.25.56-1.25 1.25s.56 1.25 1.25 1.25 1.25-.56 1.25-1.25-.56-1.25-1.25-1.25zm6 0c-.69 0-1.25.56-1.25 1.25s.56 1.25 1.25 1.25 1.25-.56 1.25-...
rhaedes/material-ui
src/svg-icons/action/face.js
JavaScript
mit
696
import expect from 'expect'; import reorderKeys from '../src/reorderKeys'; describe('reorderKeys', () => { it('should return the object in the new order specified by cb', () => { expect(Object.keys(reorderKeys({a: 1, b: 2}, () => ['b', 'a']))) .toEqual(['b', 'a']); expect(Object.keys(reorderKeys({b: 1,...
rt2zz/react-motion
test/reorderKeys-test.js
JavaScript
mit
584
/*jshint maxcomplexity: 10*/ module.exports = FormData //TODO: Massive spec: http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#constructing-form-data-set function FormData(elements) { return Object.keys(elements).reduce(function (acc, key) { var elem = elem...
emkay/node-on-the-road
node_modules/mercury/node_modules/value-event/node_modules/form-data-set/index.js
JavaScript
mit
1,929
$(document).ready(function(){ // delete $(".delete").click(function() { var confirm_msg = $(this).attr("confirm_msg"); var link = $(this).attr("link"); var answer = confirm(confirm_msg); if (answer) { $.ajax({ url: link, dataType: 'json', success: function(data) { if (...
elpd/coop
source/public/js/jquery/infra.js
JavaScript
mit
567
import { test } from 'qunit'; import moduleForAcceptance from '../../tests/helpers/module-for-acceptance'; moduleForAcceptance('Acceptance - Pagination'); test('Load the demo page', assert => { visit('/pagination'); andThen(function() { assert.ok(true, 'If this is passing, this page has no deprecation warnin...
sgasser/ember-cli-materialize
tests/acceptance/pagination-test.js
JavaScript
mit
336
/* Copyright (c) 2010, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://developer.yahoo.com/yui/license.html version: 2.8.2r1 */ YAHOO.namespace("tool"); //----------------------------------------------------------------------------- // TestCase object //------------------------------------...
inikoo/fact
libs/yui/yui-2in3/src/lib/yui/localcss/2.8.2/build/yuitest/yuitest_core.js
JavaScript
mit
72,630
/* * @name Ruido 1D * @description Uso de ruido Perlin 1D para asignar ubicación. */ var xoff = 0.0; var xincrement = 0.01; function setup() { createCanvas(710, 400); background(0); noStroke(); } function draw() { // Crear un fondo traslúcido fill(0, 10); rect(0,0,width,height); //float n = random(...
lasyapriyanka/p5.js-website
src/data/examples/es/08_Math/13_noise1D.js
JavaScript
mit
679
define(['../lang/isFunction'], function(isFunction) { /** Used as a safe reference for `undefined` in pre-ES5 environments. */ var undefined; /** * Resolves the value of property `key` on `object`. If the value of `key` is * a function it is invoked with the `this` binding of `object` and its result * ...
tomek-f/shittets
require-js-amd/require-zepto-lodash/static/js/lib/lodash-amd/object/result.js
JavaScript
mit
1,361
initSidebarItems({"constant":[["DIGITS","Approximate number of significant digits in base 10."],["EPSILON","Difference between `1.0` and the next largest representable number."],["INFINITY","Infinity (∞)."],["MANTISSA_DIGITS","Number of significant digits in base 2."],["MAX","Largest finite `f32` value."],["MAX_10_EXP"...
liigo/liigo.github.io
tmp/rust/inline-sidebar-items/std/f32/sidebar-items.js
JavaScript
mit
856
#!/usr/bin/env node var fs = require('fs'), async = require('async'), glob = require('glob'), GitUrlParse = require('git-url-parse'), _ = require('lodash'), packages = glob.sync('./ajax/libs/*/package.json'), colors = require('colors'), licenses = JSON.parse(fs.readFileSync('tools/license-list.json', 'ut...
ahocevar/cdnjs
tools/fixFormat.js
JavaScript
mit
6,749
$('#id_fecha_nacimiento').datepicker({ onSelect: function (value, ui) { var today = new Date(); var format = value.split("/"); var dob = new Date(format[2], format[1], format[0]); var diff = (today - dob); var age = Math.floor(diff / 31536000000); $('#id_edad').text(age); }, dateFormat: 'dd/mm/y...
pattyreinoso/voluntariadoHOI
hoi_project/static/js/hoi_project.js
JavaScript
mit
404
/** * @module Manage registering users * @requires appsecurity * @requires router * @requires errorHandler */ define(['services/appsecurity', 'plugins/router', 'services/errorhandler'], function (appsecurity, router, errorhandler) { var username = ko.observable().extend({ required: true }), ...
colinsr/DurandalAuth
DurandalAuth.Web/App/viewmodels/account/register.js
JavaScript
mit
2,270
{ collapse : 'Collapse', expand : 'Expand', filter_attrs: 'Filter attributes', name : 'Name', pause : 'Pause', title : 'Inspector', value : 'Value' }
inikoo/fact
libs/yui/yui3-gallery/src/gallery-inspector/lang/gallery-inspector_en.js
JavaScript
mit
211
'use strict'; const assert = require('./../../assert'); const common = require('./../../common'); let battle; describe('Battle Armor', function () { afterEach(function () { battle.destroy(); }); it('should prevent moves from dealing critical hits', function () { battle = common.createBattle([ [{species: '...
svivian/Pokemon-Showdown
test/sim/abilities/battlearmor.js
JavaScript
mit
1,478
/** * Copyright (c) Baidu Inc. All rights reserved. * * This source code is licensed under the MIT license. * See LICENSE file in the project root for license information. * * @file San 主文件 */ (function (root) { // 人工调整打包代码顺序,通过注释手工写一些依赖 // // require('./util/guid'); // // require('./util/empty'); /...
sufuf3/cdnjs
ajax/libs/san/3.7.3/san.spa.js
JavaScript
mit
311,881
/* Tabulator v4.2.1 (c) Oliver Folkerd */ var MoveColumns = function MoveColumns(table) { this.table = table; //hold Tabulator object this.placeholderElement = this.createPlaceholderElement(); this.hoverElement = false; //floating column header element this.checkTimeout = false; //click check timeout holder this....
extend1994/cdnjs
ajax/libs/tabulator/4.2.1/js/modules/moveable_columns.js
JavaScript
mit
8,622
/** * @license Highcharts JS v7.0.2 (2019-01-17) * * Money Flow Index indicator for Highstock * * (c) 2010-2019 Grzegorz Blachliński * * License: www.highcharts.com/license */ 'use strict'; (function (factory) { if (typeof module === 'object' && module.exports) { factory['default'] = factory; module.expor...
sufuf3/cdnjs
ajax/libs/highcharts/7.0.2/indicators/mfi.src.js
JavaScript
mit
6,910
// TODO: Fix buggles var DropMenu = Class.create(); DropMenu.prototype = { initialize: function(element) { this.menu = $(element); if(!this.menu) return; this.trigger = document.getElementsByClassName('trigger', this.menu)[0]; this.options = $('optgroup'); this.focused = false; Event.obs...
technoweenie/mephisto
public/javascripts/mephisto/application.js
JavaScript
mit
18,111
tinyMCE.addI18n({en_US:{ wordTube:{ desc : 'Insert a Flash Video' }}});
argyleink/jack
wp-content/plugins/wordtube/tinymce/langs/en_en.js
JavaScript
gpl-2.0
72
/* * PLUGIN MOBILE * * Czech language file. * * Author: */ theUILang.SortTorrents = "Sort torrents by"; theUILang.acs = "Ascending"; theUILang.decs = "Descending"; thePlugins.get("mobile").langLoaded();
Rapiddot/ruTorrent
plugins/mobile/lang/cs.js
JavaScript
gpl-3.0
241
const colors = require('colors/safe'); const jsdiff = require('diff'); module.exports = { identity (arg) { return arg; }, highlightTrailingWs (colorFunc, text) { if (colorFunc == null) { colorFunc = this.identity; } const wsTrailing = /[ \t]+$/gm; var curIndex = 0; var match; wh...
Hyask/radare2-regressions
new/common.js
JavaScript
gpl-3.0
1,636
//* TITLE XCloud **// //* VERSION 1.1.1 **// //* DESCRIPTION Sync XKit data on clouds **// //* DETAILS XCloud stores your XKit configuration on New-XKit servers so you can back up your data and synchronize it with other computers and browsers easily. Also compatable with STUDIOXENIX servers.**// //* DEVELOPER new-xkit ...
ShareNoMimosa/XKit
Extensions/xcloud.js
JavaScript
gpl-3.0
50,560
/** * IPTV service grid */ tvheadend.iptv = function(adapterId) { var fm = Ext.form; var enabledColumn = new Ext.grid.CheckColumn({ header: "Enabled", dataIndex: 'enabled', width: 45 }); var actions = new Ext.ux.grid.RowActions({ header:'', dataIndex: 'actions', width: 4...
unita02/tvheadend
src/webui/static/app/iptv.js
JavaScript
gpl-3.0
6,136
/* 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/. */ const React = require('react') const ReactDOM = require('react-dom') const Immutable = require('immutable') const ...
luixxiul/browser-laptop
app/renderer/components/tabs/tabs.js
JavaScript
mpl-2.0
9,451
var localeBundle = initLocaleBundle(); var jumpToYearTimer; var lastJumpToYearValue; /* * Set up the localization string bundle from timeline.properties */ function initLocaleBundle() { var src = 'chrome://zotero/locale/timeline.properties'; var localeService = Components.classes['@mozilla.org/intl/nslocaleservice...
rmzelle/zotero
chrome/skin/default/zotero/timeline/timelineControls.js
JavaScript
agpl-3.0
12,607
odoo.define('mail.DocumentViewer', function (require) { "use strict"; var core = require('web.core'); var Widget = require('web.Widget'); var QWeb = core.qweb; var SCROLL_ZOOM_STEP = 0.1; var ZOOM_STEP = 0.5; var DocumentViewer = Widget.extend({ template: "DocumentViewer", events: { 'click .o_downlo...
Aravinthu/odoo
addons/mail/static/src/js/document_viewer.js
JavaScript
agpl-3.0
8,741
// Build StaffDebug object var StaffDebug = (function() { /* global getCurrentUrl:true */ var getURL = function(action) { var pathname = this.getCurrentUrl(); return pathname.substr(0, pathname.indexOf('/courseware')) + '/instructor/api/' + action; }; var sanitizeString = function(strin...
pepeportela/edx-platform
lms/static/js/staff_debug_actions.js
JavaScript
agpl-3.0
6,535