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
/*global define*/ define({ "_widgetLabel": "グリッド オーバーレイ", "description": "座標グリッド オーバーレイを表示するカスタム Web AppBuilder ウィジェットです。" });
tmcgee/cmv-wab-widgets
wab/2.15/widgets/GridOverlay/nls/ja/strings.js
JavaScript
mit
213
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory() : typeof define === 'function' && define.amd ? define(factory) : (factory()); }(this, (function () { 'use strict'; var foo = 42; assert.equal( foo, 42 ); })));
Victorystick/rollup
test/form/side-effect/_expected/umd.js
JavaScript
mit
270
/* * 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. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ '...
lmazuel/azure-sdk-for-node
lib/services/containerinstanceManagement/lib/models/resourceLimits.js
JavaScript
mit
1,320
#!/usr/bin/env node /*! * Module dependencies. */ var CLI = require('../lib/cli'), argv = require('optimist').boolean('d') .boolean('device') .boolean('e') .boolean('emulator') .boolean('V') ...
makileeshao/e-grocery
temp/phonegap.min.js
JavaScript
mit
665
const {app, ipcMain, webContents, BrowserWindow} = require('electron') const {getAllWebContents} = process.atomBinding('web_contents') const renderProcessPreferences = process.atomBinding('render_process_preferences').forAllWebContents() const {Buffer} = require('buffer') const fs = require('fs') const path = require(...
gabriel/electron
lib/browser/chrome-extension.js
JavaScript
mit
12,158
/** * @fileoverview client模式,serve时js文件处理 * @author liweitao */ 'use strict'; module.exports = function ($, appConf, moduleConf, args) { return function (mod, modulePath, appPath) { return new Promise(function (resolve, reject) { var vfs = require('vinyl-fs'); var path = require('path'); var ...
JDC-FD/athena-html
lib/build/tasks/serve_js.js
JavaScript
mit
1,970
/* * Routes handlers */ var exec = require('child_process').exec, child_process = require('child_process'), fs = require('fs'), child_processes = []; // Basic routing module.exports = function(app) { app.get("/", getHomePage); app.post("/add", postAddScraper); } function getHomePage(req, res) { var port...
ecdeveloper/node-web-crawler
routes/index.js
JavaScript
mit
2,818
MSG.title = "Webduino Blockly 課程 1-3:控制兩顆 LED 燈"; MSG.subTitle = "課程 1-3:控制兩顆 LED 燈"; MSG.demoDescription = "點選下圖左右兩顆燈泡,分別控制兩顆 LED 的開或關";
Ye-Yong-Chi/webduino-blockly
msg/tutorials/led-3/zh-hant.js
JavaScript
mit
212
/*global require*/ require({ baseUrl : '.', paths : { domReady : '../../ThirdParty/requirejs-2.1.20/domReady', Cesium : '../../Source' } }, [ 'CesiumViewer' ], function() { });
srujant/MLNews
static/js/cesium/Apps/CesiumViewer/CesiumViewerStartup.js
JavaScript
mit
226
import requestAnimationFrame from 'requestanimationframe' import { DistributeHeight } from './DistributeHeight' export class Resize { constructor () { this.ticking = false // Create an instance of DistributeHeight for each element $('[data-distribute-height]').each((index, element) => { element.di...
carakas/forkcms
src/Frontend/Themes/Bootstrap4/src/Js/Utilities/Resize.js
JavaScript
mit
767
/*! * froala_editor v3.0.6 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2019 Froala Labs */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('froala-editor')) : typeof define === 'function...
sufuf3/cdnjs
ajax/libs/froala-editor/3.0.6/js/languages/ar.js
JavaScript
mit
20,426
//copy codes from d3.js, add 4 functions: tickAttr, tickTextAttr, minorTickAttr and domainAttr; //axis() changes, need a raphael paper object param, return raphael set object. //examples in ../examples/axis/ to know the usage. //a basic part for other data visualization format /*global d3*/ /*! * Axis兼容定义 */ ;(functi...
TBEDP/datavjs
build/stream_component.js
JavaScript
mit
61,243
var EventEmitter = require('events').EventEmitter; var fs = require('fs'); var content; function readFileIfRequired(cb) { if (!content) { //<co id="callout-globals-nexttick-3-1" /> fs.readFile(__filename, 'utf8', function(err, data) { content = data; console.log('readFileIfRequired: readFile'); ...
alexyoung/nodeinpractice
listings/globals/nexttick-order.js
JavaScript
mit
824
function* f1() { a = (yield) ? 1 : 1; a = yield 1 ? 1 : 1; a = (yield 1) ? 1 : 1; a = 1 ? yield : yield; a = 1 ? yield 1 : yield 1; } function* f2() { a = yield* 1 ? 1 : 1; a = (yield* 1) ? 1 : 1; a = 1 ? yield* 1 : yield* 1; } async function f3() { a = await 1 ? 1 : 1; a = (await 1) ? 1 : 1; a ...
rattrayalex/prettier
tests/format/js/yield/conditional.js
JavaScript
mit
347
import React from 'react'; import PropTypes from 'prop-types'; const Soon = () => ( <div> <article className="glitch"> <span>ALWAYS Ɐ WIP</span> </article> </div> ); export default Soon;
Arlefreak/arlefreakClient
src/js/components/soon/index.js
JavaScript
mit
227
module.exports = { rules: { 'max-nested-callbacks': 0 } };
nhnent/tui.tree
test/.eslintrc.js
JavaScript
mit
67
function setup() { createCanvas(600, 400); noLoop(); noStroke(); textSize(20); loadJSON("data.json", drawData); } function draw() { background(255, 0, 0); console.log(int(random(0, 2))); } function drawData(data) { background(120, 180, 200); // person 1 bubble fill(155, 30, 180, 180); ellip...
Montana-Media-Arts/120_CreativeCoding_Fall2017
p5_CodeExamples/08_data/05_loadJSON_callback/sketch.js
JavaScript
mit
682
version https://git-lfs.github.com/spec/v1 oid sha256:c2c3856c7f168c79af5e259afd0648e280f99384ba53df89f67814f2bafd5c74 size 18348
yogeshsaroya/new-cdnjs
ajax/libs/tinymce/4.1.4/plugins/lists/plugin.js
JavaScript
mit
130
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/hu",[],function(){return{errorLoading:function(){return"Az eredmények betöltése nem sikerült."},inputTooLong:function(e){return"Túl hosszú. "+(e.input.length-e.maximum)+" karakterrel több, mint ...
GawainLynch/bolt
public/bolt/js/locale/select2/hu.min.js
JavaScript
mit
683
'use strict'; /** * @ngdoc function * @name ng.filter:limitTo * @function * * @description * Creates a new array or string containing only a specified number of elements. The elements * are taken from either the beginning or the end of the source array or string, as specified by * the value and sign (positive ...
toebu/angular.js
src/ng/filter/limitTo.js
JavaScript
mit
3,848
'use strict'; const expect = require('chai').expect; const LiveReloadServer = require('../../../../lib/tasks/server/livereload-server'); const MockUI = require('console-ui/mock'); const MockExpressServer = require('../../../helpers/mock-express-server'); const net = require('net'); const EOL = require('os').EOL; const...
fpauser/ember-cli
tests/unit/tasks/server/livereload-server-test.js
JavaScript
mit
23,167
"use strict"; var chokidar = require("chokidar"), shell = require("shelljs"), files = { "./src/pages/schema-edit/parse-schema.js" : "./gen/parse-schema.js" }; exports.watch = function() { // Make sure files stay up to date in the /gen folder chokidar.watch(Object.keys(files)).on("all",...
tivac/anthracite
build/lib/files.js
JavaScript
mit
630
// Underscore.js 1.8.3 // http://underscorejs.org // (c) 2009-2016 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors // Underscore may be freely distributed under the MIT license. (function() { // Baseline setup // -------------- // Establish the root object, `window` (`self`...
nino-c/plerp.org
src/static/site/js/underscore.js
JavaScript
mit
55,589
// moment.js locale configuration // locale : Marathi (mr) // author : Harshad Kale : https://github.com/kalehv (function (factory) { if (typeof define === 'function' && define.amd) { define(['moment'], factory); // AMD } else if (typeof exports === 'object') { module.exports = factory(...
ta2yak/boocle
public/bower_components/moment/locale/mr.js
JavaScript
mit
3,946
// Call spamassassin via spamd var sock = require('./line_socket'); var prettySize = require('./utils').prettySize; var defaults = { spamd_socket: 'localhost:783', max_size: 500000, old_headers_action: "rename", subject_prefix: "*** SPAM ***", }; exports.hook_data_post = function (next, connectio...
eiriklv/Haraka
plugins/spamassassin.js
JavaScript
mit
10,175
"use strict"; var _foob, _foob$test; var _toArray = function (arr) { return Array.isArray(arr) ? arr : Array.from(arr); }; (_foob = foob).add.apply(_foob, [foo, bar].concat(_toArray(numbers))); (_foob$test = foob.test).add.apply(_foob$test, [foo, bar].concat(_toArray(numbers)));
stefanpenner/6to5
test/fixtures/transformation/es6-spread/contexted-method-call-multiple-args/expected.js
JavaScript
mit
281
import { useState } from 'react' import { useRouter } from 'next/router' import Link from 'next/link' import { gql, useMutation } from '@apollo/client' import { getErrorMessage } from '../lib/form' import Field from '../components/field' const SignUpMutation = gql` mutation SignUpMutation($email: String!, $password:...
azukaru/next.js
examples/api-routes-apollo-server-and-client-auth/pages/signup.js
JavaScript
mit
1,642
const nest = require('depnest') const { h, Value } = require('mutant') exports.needs = nest({ 'app.sync.goTo': 'first', 'message.html.backlinks': 'first', 'message.html.author': 'first', 'message.html.meta': 'map', 'message.html.timestamp': 'first' }) exports.gives = nest('message.html.layout') exports.cre...
dominictarr/patchbay
message/html/layout/mini.js
JavaScript
mit
950
var gbxremote = require('gbxremote'), async = require('async'); module.exports = require('./core').extend({ init: function() { this._super(); this.options.port = 2350; this.options.port_query = 5000; this.gbxclient = false; }, reset: function() { this._super(); if(this.gbxclient) { this.gbxclient.te...
kyroskoh/node-gamedig
protocols/nadeo.js
JavaScript
mit
1,995
/** * Module dependencies. */ var http = require('http'); var read = require('fs').readFileSync; var parse = require('url').parse; var engine = require('engine.io'); var client = require('socket.io-client'); var clientVersion = require('socket.io-client/package').version; var Client = require('./client'); var Names...
alexlevy0/socket.io
lib/index.js
JavaScript
mit
8,658
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: http://codemirror.net/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror"), require("../xml/xml"), require("../meta")); else if...
leungwensen/d2recharts
dist/lib/codemirror-5.18.2/mode/markdown/markdown.js
JavaScript
mit
26,589
'use strict'; var React = require('react'); var mui = require('material-ui'); var SvgIcon = mui.SvgIcon; var ActionSettingsInputHdmi = React.createClass({ displayName: 'ActionSettingsInputHdmi', render: function render() { return React.createElement( SvgIcon, this.props, React.createElement...
jotamaggi/react-calendar-app
node_modules/react-material-icons/icons/action/settings-input-hdmi.js
JavaScript
mit
498
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @file Horizontal Page Break */ // Register a plugin named "pagebreak". CKEDITOR.plugins.add( 'pagebreak', { init : function( editor ) { // Register...
evansd-archive/kohana-module--ckeditor
vendor/ckeditor/_source/plugins/pagebreak/plugin.js
JavaScript
mit
4,671
/*! * ===================================================== * dmui v0.1.0 (http://www.91holy.com) * ===================================================== */ /*! * dmui JavaScript Library v0.1.0 * https://dmui.com/ * Copyright dmui Foundation and other contributors * Released under the MIT license * https://gi...
desangel/dmui
example/js/dmui.js
JavaScript
mit
24,049
import { sortSurveyElements } from '../index'; describe('sortSurveyElements', () => { it('sorts survey elements by weight', () => { const inputSurvey = { title: 'Sample Survey', sections: [ { id: 1, title: 'Later Section', weight: 1 }, { id: 2, title: 'Earlier Sect...
cysjonathan/coursemology2
client/app/bundles/course/survey/utils/__test__/index.test.js
JavaScript
mit
1,481
const should = require('should'); const sinon = require('sinon'); const configUtils = require('../../../utils/configUtils'); // Stuff we are testing const img_url = require('../../../../core/frontend/helpers/img_url'); const logging = require('@tryghost/logging'); describe('{{img_url}} helper', function () { let...
ErisDS/Ghost
test/unit/frontend/helpers/img_url.test.js
JavaScript
mit
7,360
import { findPort, killApp, nextBuild, nextStart, renderViaHTTP, File, waitFor, } from 'next-test-utils' import webdriver from 'next-webdriver' import { join } from 'path' const appDir = join(__dirname, '../') let appPort let app let browser let html const indexPage = new File(join(appDir, 'pages/static...
zeit/next.js
test/integration/image-component/default/test/static.test.js
JavaScript
mit
4,891
const DrawCard = require('../../drawcard.js'); class AeronDamphair extends DrawCard { setupCardAbilities() { this.reaction({ when: { onCardSaved: event => event.card.getType() === 'character' }, handler: context => { let card = context.ev...
cryogen/gameteki
server/game/cards/04.4-TIMC/AeronDamphair.js
JavaScript
mit
813
function foo() { throw <Bar />; } function foo() { throw <Bar>baz</Bar>; } function foo() { throw <Bar baz={baz} />; } function foo() { throw <Bar baz={baz}>foo</Bar>; } function foo() { throw <></>; } function foo() { throw <>foo</>; }
rattrayalex/prettier
tests/format/js/throw_statement/jsx.js
JavaScript
mit
254
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); // This is a very simple test, and could be made more robust. // All we do is check for the presence of "http://" or "https://" // at the start of the string. var description = 'Relative src URLs can break (i.e. if recipients are outside t...
oysterbooks/oy
lib/rules/SrcAbsoluteURLRule.js
JavaScript
mit
555
var assert = require('assert'); var R = require('..'); describe('join', function() { it("concatenates a list's elements to a string, with an seperator string between elements", function() { var list = [1, 2, 3, 4]; assert.strictEqual(R.join('~', list), '1~2~3~4'); }); });
raine/ramda
test/join.js
JavaScript
mit
300
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var prefix = 'fas'; var iconName = 'intersection'; var width = 384; var height = 512; var ligatures = []; var unicode = 'f668'; var svgPathData = 'M166.74 33.62C69.96 46.04 0 133.11 0 230.68V464c0 8.84 7.16 16 16 16h64c8.84 0 16-7.16 16-16V224...
haraldnagel/greatreadingadventure
src/GRA.Web/wwwroot/lib/font-awesome/advanced-options/use-with-node-js/free-solid-svg-icons/faIntersection.js
JavaScript
mit
867
/* * Moonshine - a Lua virtual machine. * * Email: moonshine@gamesys.co.uk * http://moonshinejs.org * * Copyright (c) 2013-2015 Gamesys Limited. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "S...
gamesys/moonshine
vm/src/File.js
JavaScript
mit
1,769
// ---------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // ---------------------------------------------------------------------------- var promises = require('../utilities/promises'), log = require('../logger'); module.exports = ...
shrishrirang/azure-mobile-apps-node
src/data/memory.js
JavaScript
mit
1,959
/*globals EmberDev */ import Ember from "ember-metal/core"; import {get} from "ember-metal/property_get"; import {set} from "ember-metal/property_set"; import {forEach} from "ember-metal/array"; import run from "ember-metal/run_loop"; import Application from "ember-application/system/application"; import {DefaultResol...
g13013/ember.js
packages_es6/ember-application/tests/system/application_test.js
JavaScript
mit
7,427
parent.jQuery(window).load(function() { parent.jQuery('div.container select', document).change(function () { change(); }); parent.jQuery('div.container input', document).keyup(function () { change(); }); }); function change() { fsi=parseInt(parent.jQuery('#fontsize', document).val(),10); lh=pars...
joasssko/tironib
wp-content/plugins/knews/wysiwyg/fontpicker/scripts.js
JavaScript
gpl-2.0
1,150
// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- const Clutter = imports.gi.Clutter; const Cogl = imports.gi.Cogl; const GLib = imports.gi.GLib; const Gio = imports.gi.Gio; const Gtk = imports.gi.Gtk; const Meta = imports.gi.Meta; const Pango = imports.gi.Pango; const St = imports.gi.St; const Shell = im...
Devyani-Divs/gnome-shell
js/ui/lookingGlass.js
JavaScript
gpl-2.0
43,481
//>>built define("dojox/wire/ml/RestHandler",["dijit","dojo","dojox","dojo/require!dojox/wire/_base,dojox/wire/ml/util"],function(_1,_2,_3){ _2.provide("dojox.wire.ml.RestHandler"); _2.require("dojox.wire._base"); _2.require("dojox.wire.ml.util"); _2.declare("dojox.wire.ml.RestHandler",null,{contentType:"text/plai...
hariomkumarmth/champaranexpress
wp-content/plugins/dojo/dojox/wire/ml/RestHandler.js
JavaScript
gpl-2.0
1,541
define( "dojox/calendar/nls/fr/buttons", { previousButton: "◄", nextButton: "►", todayButton: "Aujourd'hui", dayButton: "Jour", weekButton: "Semaine", fourDaysButton: "4 jours", monthButton: "Mois" } );
hariomkumarmth/champaranexpress
wp-content/plugins/dojo/dojox/calendar/nls/fr/buttons.js.uncompressed.js
JavaScript
gpl-2.0
224
function setupFilterForm() { // make filter form expandable $('#filter-panel .card-header').on('click', function() { $('#filter-panel .card-body').toggle(200); if($('#filter-panel').hasClass('filter-panel-bottom')) { $('html,body').animate({ scrollTop: $(document).hei...
mudler/openQA
assets/javascripts/filter_form.js
JavaScript
gpl-2.0
1,918
// $Id$ function CRMLookupCallBack() { ZCForm.triggerExternalOnUser(ExternalFieldName); } function SDPODLookupCallBack() { ZCForm.triggerExternalOnUser(ExternalFieldName); } function gDocImportFile(fileName, gDocId) { var importEl = $("#gFormName"); if($(importEl).attr("importOpen") == 'true') { $("[name...
mohjaba/Health-Activity-Monitoring
1_code/www/Recommendation_files/form.js
JavaScript
gpl-2.0
185,459
(function ($) { /** * Drag and drop table rows with field manipulation. * * Using the drupal_add_tabledrag() function, any table with weights or parent * relationships may be made into draggable tables. Columns containing a field * may optionally be hidden, providing a better user experience. * * Created tableD...
kenorb-contrib/eid
sites/default/files/js/js_trYML-tyi_lsxuEEYX3YJChhmBiEWLjQ6cxOAGnjOVU.js
JavaScript
gpl-2.0
42,157
/*jslint browser: true, white: true, undef: true, nomen: true, eqeqeq: true, plusplus: true, bitwise: true, newcap: true, immed: true, indent: 4, onevar: false */ /*global window, $, jQuery, _ */ STUDIP.register = { re_username : null, re_email: null, re_name: null, clearErrors: function (...
kurvenschubser/studip-hks
public/assets/javascripts/register.js
JavaScript
gpl-2.0
3,919
/* ========================================================= * params/all.js v0.0.1 * ========================================================= * Copyright 2012 Wpbakery * * Visual composer javascript functions to enable fields. * This script loads with settings form. * ==========================================...
christaclark/jacksongorksi
wp-content/plugins/js_composer/assets/js/params/all.js
JavaScript
gpl-2.0
30,613
/* ======================================================================== \ | FORMA - The E-Learning Suite | | | | Copyright (c) 2013 (Forma) | | ...
formalms/formalms
html/appLms/modules/instmsg/instmsg.js
JavaScript
gpl-2.0
10,399
/*global _, _s, Backbone*/ define(function(require) { var Super = require('views/base'), B = require('bluebird'), THEAD = require('hbs!./table/thead.tpl'), TBODY = require('hbs!./table/tbody.tpl'), TD = require('hbs!./table/td.tpl'), TR = require('hbs!./table/tr.tpl'), ...
aduyng/visual-regression-tool
app/views/controls/table.js
JavaScript
gpl-2.0
5,666
// // namespace : HG.Statistics // info : - // HG.Statistics = HG.Statistics || {}; // HG.Statistics.ServiceCall = function (fn, opt1, opt2, callback) { $.ajax({ url: '/' + HG.WebApp.Data.ServiceKey + '/' + HG.WebApp.Data.ServiceDomain + '/Statistics/' + fn + '/' + opt1 + '/' + opt2, type: 'G...
Klagopsalmer/HomeGenie
BaseFiles/Common/html/js/api/homegenie.statistics.js
JavaScript
gpl-3.0
1,579
/* ************************************************************************ qooxdoo - the new era of web development http://qooxdoo.org Copyright: 2004-2008 1&1 Internet AG, Germany, http://www.1und1.de License: LGPL: http://www.gnu.org/licenses/lgpl.html EPL: http://www.eclipse.org/org/d...
09zwcbupt/undergrad_thesis
ext/poxdesk/qx/framework/source/class/qx/test/ui/virtual/Pane.js
JavaScript
gpl-3.0
24,514
/** * EditorCommands.js * * Copyright, Moxiecode Systems AB * Released under LGPL License. * * License: http://www.tinymce.com/license * Contributing: http://www.tinymce.com/contributing */ /** * This class enables you to add custom editor commands and it contains * overrides for native browser commands to a...
CentidoMS/CentidoMS
admin/js/tinymce/classes/EditorCommands.js
JavaScript
gpl-3.0
19,719
var Index = function () { return { //main function to initiate the module init: function () { App.addResponsiveHandler(function () { Index.initCalendar(); jQuery('.vmaps').each(function () { var map = jQuery(this); m...
1bigmac/OA
WebRoot/js/dashboard.js
JavaScript
gpl-3.0
14,347
//* TITLE Post Limit Checker **// //* VERSION 0.2.1 **// //* DESCRIPTION Are you close to the limit? **// //* DETAILS Shows you how many posts you can reblog today. **// //* DEVELOPER STUDIOXENIX **// //* FRAME false **// //* BETA false **// XKit.extensions.post_limit_checker = new Object({ running: false, apiKey: ...
sshao/XKit
Extensions/post_limit_checker.js
JavaScript
gpl-3.0
8,282
/* * 2007-2015 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy ...
tantchontampo/koomaakiti.com
themes/default-bootstrap/js/order-address.js
JavaScript
gpl-3.0
7,731
export default function(visitable, deletable, creatable, clickable, attribute, collection, filter) { return creatable({ visit: visitable('/:dc/acls'), acls: collection( '[data-test-tabular-row]', deletable({ name: attribute('data-test-acl', '[data-test-acl]'), acl: clickable('a'), ...
scalp42/consul
ui-v2/tests/pages/dc/acls/index.js
JavaScript
mpl-2.0
502
/* * Disorder is a class for storing genetic disorder info and loading it from the * the OMIM database. These disorders can be attributed to an individual in the Pedigree. * * @param disorderID the id number for the disorder, taken from the OMIM database * @param name a string representing the name of the disorder...
itaiGershtansky/phenotips
components/pedigree/resources/src/main/resources/pedigree/disorder.js
JavaScript
agpl-3.0
2,042
/** * Copyright (c) 2014, Oracle and/or its affiliates. * All rights reserved. */ "use strict";var l={"EU":["EU","Eurooppa"]};(this?this:window)['DvtBaseMapManager']['_UNPROCESSED_MAPS'][2].push(["europe","continent",l]);
afsinka/jet_jsp
src/main/webapp/js/libs/oj/v1.1.2/resources/internal-deps/dvt/thematicMap/resourceBundles/EuropeContinentBundle_fi.js
JavaScript
lgpl-2.1
224
enyo.depends( "source/VirtualSlidingPane.js", "source/CanonSlidingView.js", "source/CanonSliding.js" );
enyojs/enyo-1.0
support/examples/Layouts/VirtualSliding/depends.js
JavaScript
apache-2.0
106
/// 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.2/15.2.3/15.2.3.5/15.2.3.5-4-83.js
JavaScript
apache-2.0
2,261
/** * 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...
Mixpo/amphtml
src/service/timer-impl.js
JavaScript
apache-2.0
4,487
define(function(require, exports, module) { var showMessage = function(type, message, duration) { var $exist = $('.bootstrap-notify-bar'); if ($exist.length > 0) { $exist.remove(); } var html = '<div class="alert alert-' + type + ' bootstrap-notify-bar" style="display:n...
18826252059/im
web/assets/libs/common/bootstrap-notify.js
JavaScript
apache-2.0
1,441
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-2016 Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React from 'react'; import withStyles from 'isomorp...
webmaster444/webmaster444.github.io
react/dashboard_example/src/components/Header/Header.js
JavaScript
apache-2.0
7,706
// <![CDATA[ /** * Creative Commons has made the contents of this file * available under a CC-GNU-GPL license: * * http://creativecommons.org/licenses/GPL/2.0/ * * A copy of the full license can be found as part of this * distribution in the file COPYING. * * You may use this software in accordance with the *...
DZielke/laudatio
app/webroot/js/creativecommons/js/cc-prereq.js
JavaScript
apache-2.0
2,890
var a = 10; var b; var c = 10, d, e; var c2, d2 = 10; //# sourceMappingURL=sourceMapValidationVariables.js.map
hippich/typescript
tests/baselines/reference/sourceMapValidationVariables.js
JavaScript
apache-2.0
116
// Editor.js (function() { var STORAGE_KEY = slingUserId+'-browser-file'; var editor = ace.edit("editor"); var saveBtn = $('#saveBtn'); // parent file should set the aceMode variable editor.getSession().setMode(aceMode); editor.getSession().setUseWrapMode(false); editor.getSession().on('change', function(e) { ...
cmseifu/sling-browser
src/main/resources/SLING-CONTENT/apps/browser/static/edit/file.js
JavaScript
apache-2.0
844
/* -------------------------------------------------------------------------- */ /* Copyright 2002-2017, OpenNebula Project, OpenNebula Systems */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); you may ...
unistra/one
src/sunstone/public/app/tabs/vrouters-tab/form-panels/create.js
JavaScript
apache-2.0
3,937
/** * 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...
Mixpo/amphtml
test/functional/test-viewer.js
JavaScript
apache-2.0
43,772
define(function (require) { 'use strict'; var modules = require('modules'); var $ = require('jquery'); modules.get('a4c-common').factory('resizeServices', ['$timeout', function($timeout) { // the default min width and height for the application var minWidth = 640; var minHeight = 200; return ...
broly-git/alien4cloud
alien4cloud-ui/src/main/webapp/scripts/common/services/resize_services.js
JavaScript
apache-2.0
1,572
/* global girderTest, describe, it, expect, runs, waitsFor, girder, beforeEach */ girderTest.importPlugin('terms'); girderTest.startApp(); describe('Create and log in to a user for testing', function () { it('create an admin user', girderTest.createUser('rocky', 'rocky@phila.pa.us', 'Robert', 'Balboa', 'adrian'))...
Kitware/girder
plugins/terms/plugin_tests/termsSpec.js
JavaScript
apache-2.0
14,763
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: The length property of shift has the attribute DontEnum es5id: 15.4.4.9_A5.1 description: Checking use propertyIsEnumerable, for-in ---*/ //CHECK#1 if (Array.prototype.shift....
m0ppers/arangodb
3rdParty/V8/V8-5.0.71.39/test/test262/data/test/built-ins/Array/prototype/shift/S15.4.4.9_A5.1.js
JavaScript
apache-2.0
782
//>>built define( "dojox/editor/plugins/nls/hr/CollapsibleToolbar", ({ "collapse": "Spusti traku s alatima editora", "expand": "Proširi traku s alatima editora" }) );
cfxram/grails-dojo
web-app/js/dojo/1.7.2/dojox/editor/plugins/nls/hr/CollapsibleToolbar.js
JavaScript
apache-2.0
170
'use strict'; // Meta data used by the AngularJS docs app angular.module('pagesData', []) .value('NG_PAGES', { "api": { "name": "API Reference", "area": "api", "path": "api" }, "error/$animate/nocb": { "name": "nocb", "area": "error", "path": "error/$animate/nocb" }, "error/$animate...
LADOSSIFPB/nutrif
nutrif-web-refactor/lib/angular/docs/js/pages-data.js
JavaScript
apache-2.0
75,469
'use strict'; describe('Service: backend', function () { // load the service's module beforeEach(module('yeomanIonicAngularPhonegapSeedApp')); // instantiate service var backend; beforeEach(inject(function(_backend_) { backend = _backend_; })); it('should do something', function () { expect(!!...
nadavelyashiv/metal_finder
test/spec/services/backend.js
JavaScript
apache-2.0
352
//>>built define( "dojox/editor/plugins/nls/cs/InsertAnchor", //begin v1.x content ({ insertAnchor: "Vložit kotvu", title: "Vlastnosti kotvy", anchor: "Název:", text: "Popis:", set: "Nastavit", cancel: "Storno" }) //end v1.x content );
cfxram/grails-dojo
web-app/js/dojo/1.7.2/dojox/editor/plugins/nls/cs/InsertAnchor.js
JavaScript
apache-2.0
245
/* 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 writing, software dis...
samdutton/simpl
xhr/js/main.js
JavaScript
apache-2.0
1,051
/** * 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...
chaveznvg/amphtml
ads/inabox/inabox-messaging-host.js
JavaScript
apache-2.0
11,809
var accordion = function() { var e = new Foundation.Accordion($('.accordion')); }
georgemarshall/habitat
www/source/javascripts/accordion.js
JavaScript
apache-2.0
83
'use strict'; const { Readable } = require('stream'); const SILENCE_FRAME = Buffer.from([0xF8, 0xFF, 0xFE]); class Silence extends Readable { _read() { this.push(SILENCE_FRAME); } } module.exports = Silence;
Lewdcario/discord.js
src/client/voice/util/Silence.js
JavaScript
apache-2.0
220
describe('IDBIndex.count', function() { 'use strict'; it('should return an IDBRequest', function(done) { util.createDatabase('inline', 'inline-index', function(err, db) { var tx = db.transaction('inline', 'readwrite'); tx.onerror = function(event) { done(event.ta...
kberryman/IndexedDBShim
tests/IDBIndex/count-spec.js
JavaScript
apache-2.0
16,279
goog.provide('ol.animation'); goog.require('ol'); goog.require('ol.PreRenderFunction'); goog.require('ol.ViewHint'); goog.require('ol.coordinate'); goog.require('ol.easing'); /** * Generate an animated transition that will "bounce" the resolution as it * approaches the final value. * @param {olx.animation.BounceO...
NOAA-ORR-ERD/ol3
src/ol/animation.js
JavaScript
bsd-2-clause
6,053
require('fis3-smarty')(fis); fis.set('namespace', 'common');
moohing/fis3-smarty
doc/demo/common/fis-conf.js
JavaScript
bsd-2-clause
61
'use strict'; var util = require('../node_modules/mapbox-gl/js/util/util'); try { main(); } catch (err) { log('red', err.toString()); throw err; } function main() { var benchmarks = { simple_select_small: require('./tests/simple_select_small'), simple_select_large: require('./tests/si...
hendrikusR/open-layer
widget/assets/draw/mapbox-gl-draw/bench/index.js
JavaScript
bsd-3-clause
4,416
/* depends_on_multi_main 2.1.1 */
gocept/bowerstatic
bowerstatic/tests/bower_components/depends_on_multi_main/dist/resource.js
JavaScript
bsd-3-clause
34
import { moduleForModel, test } from 'ember-qunit'; moduleForModel('simple-model', 'SimpleModel', { // Specify the other units that are required for this test. needs: [] }); test('it exists', function() { var model = this.subject(); // var store = this.store(); ok(!!model); });
CENDARI/portia
slyd/tests/unit/models/simple-model-test.js
JavaScript
bsd-3-clause
295
/*! jQuery Colorbox v1.4.10 - 2013-04-02 (c) 2013 Jack Moore - jacklmoore.com/colorbox license: http://www.opensource.org/licenses/mit-license.php */ (function ($, document, window) { var // Default settings object. // See http://jacklmoore.com/colorbox for details. defaults = { transition: "elastic"...
jdages/AndrewsHouse
src/Orchard.Web/Modules/Orchard.jQuery/Scripts/jquery.colorbox.js
JavaScript
bsd-3-clause
28,161
/** * rcmuserAdminUsersApp.rcmuserAdminUsers */ angular.module('rcmuserAdminUsersApp').controller( 'rcmuserAdminUsers', [ '$window', '$scope', '$log', '$uibModal', 'RcmUserResult', 'RcmResults', 'rcmUserUserService', function ( $windo...
rodmcnew/Rcm
user-ui/public/admin-users-app/rcmuser-admin-users-controller.js
JavaScript
isc
2,694
(function(w){function D(c,b,f,k){if(b.points.errorbars){c=[{x:!0,number:!0,required:!0},{y:!0,number:!0,required:!0}];f=b.points.errorbars;if("x"==f||"xy"==f)b.points.xerr.asymmetric&&c.push({x:!0,number:!0,required:!0}),c.push({x:!0,number:!0,required:!0});if("y"==f||"xy"==f)b.points.yerr.asymmetric&&c.push({y:!0,numb...
teuben/masc
www/js/lib/js9-3.5/js/jquery.flot.errorbars.min.js
JavaScript
mit
3,362
(function () { 'use strict'; function foo () { return embiggen( 6, 7 ); } /** * Embiggens a number * @param {number} num - the number to embiggen * @param {number} factor - the factor to embiggen it by * @returns {number} */ function embiggen ( num, factor ) { return num * factor; } alert( foo()...
corneliusweig/rollup
test/form/samples/block-comments/_expected/iife.js
JavaScript
mit
331
require('./options-styles'); var CodeMirror = require('codemirror'); require('codemirror/addon/fold/foldcode'); require('codemirror/addon/fold/foldgutter'); require('codemirror/addon/fold/brace-fold'); require('codemirror/mode/javascript/javascript'); require('codemirror/addon/hint/show-hint'); require('codemirror/addo...
Randykerley/me
extension/src/options.js
JavaScript
mit
2,132
/** * Theme: Simple Admin Template * Author: Coderthemes * VectorMap */ ! function($) { "use strict"; var VectorMap = function() { }; VectorMap.prototype.init = function() { //various examples $('#world-map-markers').vectorMap({ map : 'world_mill_en', scaleColors : ['#4bd396', '#4bd396'], normal...
Fadhilamadan/Reminder
public/assets_multi/pages/jquery.jvectormap.init.js
JavaScript
mit
4,052
/*eslint-env node */ module.exports = function (grunt) { grunt.initConfig({ "bolt-init": { "plugin": { config_dir: "config/bolt" } }, "bolt-build": { "plugin": { config_js: "config/bolt/prod.js", output_dir: "scratch", main: "tinymce.wordcount.Plugin", filename: "plugin", gene...
oncebuilder/OnceBuilder
libs/tinymce/js/tinymce/plugins/wordcount/Gruntfile.js
JavaScript
mit
1,355
'use strict'; Editor.polymerElement({ });
jwu/ui-kit
src/widget/toolbar/toolbar.js
JavaScript
mit
44