code
stringlengths
2
1.05M
repo_name
stringlengths
5
114
path
stringlengths
4
991
language
stringclasses
1 value
license
stringclasses
15 values
size
int32
2
1.05M
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: The production x >>= y is the same as x = x >> y es5id: 11.13.2_A4.7_T2.7 description: > Type(x) is different from Type(y) and both types vary between String (primitiv...
asgerf/parsejs.dart
test/testcases/test-262/ch11/11.13/11.13.2/S11.13.2_A4.7_T2.7.js
JavaScript
bsd-2-clause
840
var LispMachine = DEFCLASS("LispMachine", null, function(D, P){ var BASE_PACK = LispPackage.get("%"); // normal RET context function LispRet(m, pc) { this.f = m.f; this.code = m.code; this.pc = pc; this.env = m.env; ...
mishoo/SLip
js/machine.js
JavaScript
bsd-2-clause
48,111
var DimensionPickerWidget = {}; DimensionPickerWidget.show = function(elmt, dimensions, onPick, staticChoices) { var popupDom = createPopupMenuDom(elmt); popupDom.bodyDiv.style.overflow = "auto"; popupDom.bodyDiv.style.height = "400px"; for (var i = 0; i < staticChoices.length; i++) { var ...
hostilefork/hack2unify
src/scripts/dimension-picker-widget.js
JavaScript
bsd-2-clause
5,567
(function(root, undefined) { var app = root.Spinoza, rivets = root.rivets; app.module("Views.Citations", function(mod, app, BB, BM, $, _) { mod.ListItem = BM.ItemView.extend({ template : 'jst:citation_item', events : { 'click .fx-edit' : 'onEdit' }, initialize: function...
fokus-llc/spinoza
app/assets/javascripts/spinoza/views/citations/list.js
JavaScript
bsd-2-clause
1,906
async function* f() { () => yield a; }
eslint/espree
tests/fixtures/ecma-version/9/async-generator/invalid-yield-in-nested-function-1.src.js
JavaScript
bsd-2-clause
38
var doAsync; if(typeof module != "undefined" && module.exports){ var EventEmitter = require("events").EventEmitter; doAsync = process.nextTick.bind(process); }else{ doAsync = function(fn){ setTimeout(fn,1); } } /** An io listener that sends messages to the functions wanting to handle them. @constructor...
formula1/Silk-Skeleton
core/abstract/MessageRouter.js
JavaScript
bsd-2-clause
4,312
goog.provide('ol.test.interaction.Draw'); describe('ol.interaction.Draw', function() { var target, map, source; var width = 360; var height = 180; beforeEach(function(done) { target = document.createElement('div'); var style = target.style; style.position = 'absolute'; style.left = '-1000px';...
bartvde/ol3
test/spec/ol/interaction/drawinteraction.test.js
JavaScript
bsd-2-clause
26,688
goog.provide('ol.ImageTile'); goog.require('ol'); goog.require('ol.Tile'); goog.require('ol.TileState'); goog.require('ol.events'); goog.require('ol.events.EventType'); /** * @constructor * @extends {ol.Tile} * @param {ol.TileCoord} tileCoord Tile coordinate. * @param {ol.TileState} state State. * @param {strin...
klokantech/ol3
src/ol/imagetile.js
JavaScript
bsd-2-clause
3,233
goog.provide('ol.source.ImageStatic'); goog.require('ol.Image'); goog.require('ol.ImageUrlFunctionType'); goog.require('ol.extent'); goog.require('ol.proj'); goog.require('ol.source.Image'); /** * @constructor * @extends {ol.source.Image} * @param {ol.source.ImageStaticOptions} options Options. * @todo stabilit...
yinxiaomei/ol3
src/ol/source/imagestaticsource.js
JavaScript
bsd-2-clause
1,784
var amazon = require('./main/client.js'); var client = amazon.createClient({ awsId: "awsId", awsSecret: "awsSecret", awsTag: "crawlr" }); var ignoreProductType = [ 'DOWNLOADABLE_MUSIC_TRACK', 'ABIS_DVD', 'DOWNLOADABLE_MOVIE', 'ABIS_MUSIC', 'BOOKS_1973_AND_LATER', 'SOFTWARE_GAMES', 'MOBILE_APPLICATION', 'CON...
zGrav/amazon_qa_crawl
crawl_products.js
JavaScript
bsd-2-clause
2,506
import _Any from "./any" /** * Unknown type */ export default class _Mixed extends _Any { /** * * @param {?string} [origin_class] eg. "\DateTime" * @param {?string} [origin_symbol] eg. "modify" * @param {?string} [origin_hint] eg. "call", usually only helpful where no * symbol is known. ...
jj101k/php-lint
src/lib/php-type/mixed.js
JavaScript
bsd-2-clause
1,933
/* * jQuery UI Effects Explode 1.8.16 * * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) Dual licensed under * the MIT or GPL Version 2 licenses. http://jquery.org/license * * http://docs.jquery.com/UI/Effects/Explode * * Depends: jquery.effects.core.js */ (function(j) { j.effects.explode = functi...
zhangjunfang/eclipse-dir
foundation-portal/src/main/webapp/scripts/lib/jquery/development-bundle/ui/minified/jquery.effects.explode.min.js
JavaScript
bsd-2-clause
2,312
/** * Created by slashman on 28.10.14. */ $(document).ready(function(){ $('i[data-toggle=tooltip]').tooltip(); $('.problem-details').on('show.bs.collapse', function () { $('.problem-details.in').collapse('hide'); }); $('input[name=phone],input[name="LoginForm[phone]"],input[name="User[phone]"]...
Mirocow/mastaki
js/common.js
JavaScript
bsd-3-clause
379
/*jslint node: true */ 'use strict'; var http = require('http'); var https = require('https'); var fs = require('fs'); var httpProxy = require('http-proxy'); var settings = require('../../settings'); var server = require('../../lib/server'); var key = fs.readFileSync(__dirname + '/../data/test-key.pem', 'utf8'); var...
LocalData/localdata-api
test/lib/router.js
JavaScript
bsd-3-clause
1,412
var searchData= [ ['bads',['bads',['../class_f_i_f_f_l_i_b_1_1_fiff_cov.html#ab8dc4bd79129bad78d569e17a4a7bf8f',1,'FIFFLIB::FiffCov::bads()'],['../class_f_i_f_f_l_i_b_1_1_fiff_info_base.html#abb2b7b298afe7439c1012962c2a8c43c',1,'FIFFLIB::FiffInfoBase::bads()']]], ['block',['block',['../class_f_i_f_f_l_i_b_1_1_fiff_...
CBoensel/mne-cpp
doc/html/search/variables_1.js
JavaScript
bsd-3-clause
541
define([ 'config' ], function(config) { return { 'SITE_NAME': config.site.name, /* Sidebar Navigation */ 'SIDEBAR_SEARCH': '在 {{site}} 上搜索', 'SIDEBAR_HOME' : '首页', 'SIDEBAR_DASHBOARD': '个人中心', 'SIDEBAR_PROBLEM': '试题', 'SIDEBAR_CONTEST': '竞赛', 'SIDEBAR_DISCUSS': '讨论', 'SIDEBAR_JUD...
OnWind/CloudOJ
src/i18n/zh_cn.js
JavaScript
bsd-3-clause
2,156
function(doc) { if (doc.ownerId && doc.moduleId) { emit(doc.ownerId+"_"+doc.moduleId, doc); } }
NCIP/edct-collector
src/main/db/designDocuments/caCURE/views/GetDocsByOwnerAndModule/map.js
JavaScript
bsd-3-clause
118
/* * Copyright 2013 The Toolkitchen Authors. All rights reserved. * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE file. */ (function(scope) { /** * This class contains the gesture recognizers that create the PointerGesture * events. * * @class PointerGe...
kublaj/apps
old/todomvc/toolkit/platform/PointerGestures/src/initialize.js
JavaScript
bsd-3-clause
1,743
(function(){ 'use strict'; /** * @memberOf motech-common * @ngdoc directive * @name InputMap * @scope true * * @param { } ng-model Takes variable that contains an object * * @description * Creates an input that is able to recieve key-value pairs. * * This ...
motech/motech-ui
src/common/input-map/input-map.directive.js
JavaScript
bsd-3-clause
1,968
/** * Copyright (c) 2016, salesforce.com, inc. * All rights reserved. * Licensed under the BSD 3-Clause license. * For full license text, see LICENSE.txt file in the repo root or * https://opensource.org/licenses/BSD-3-Clause */ /** * tests/api/v1/aspects/delete.js */ 'use strict'; // eslint-disable-line stric...
salesforce/refocus
tests/api/v1/aspects/delete.js
JavaScript
bsd-3-clause
9,575
/** * Created by Riven on 2016/12/17. */ var KittenBot = function (runtime) { this.runtime = runtime this.color = { "primary": "#FF6680", "secondary": "#FF4D6A", "tertiary": "#FF3355" }; }; KittenBot.PULSE_PER_METER = 14124; KittenBot.BASE_WIDTH = 0.128; KittenBot.PULSE_PER_ROUN...
KittenBot/Kittenblock
nwjs/plugins/kittenbot/kittenbot.js
JavaScript
bsd-3-clause
21,935
'use strict'; const syllable = require('syllable'); const natural = require('natural'); const Tagger = natural.BrillPOSTagger; const tokenizer = new natural.WordTokenizer(); const BASE = './node_modules/natural/lib/natural/brill_pos_tagger'; const RULES = BASE + '/data/English/tr_from_posjs.txt'; const LEXICON = BASE...
ednapiranha/node-random-haiku
index.js
JavaScript
bsd-3-clause
3,674
cinema.views.StaticInformationWidget = Backbone.View.extend({ initialize: function (settings) { this.model = settings.model; this.analysisInfo = settings.analysisInfo; this.namingPattern = ''; for (var idx = 0; idx < this.analysisInfo.information.length; idx+=1) { this....
Kitware/cinema
web/src/js/lib/widgets/StaticInformationWidget.js
JavaScript
bsd-3-clause
574
// @flow import { type ThreadInfo } from './thread-types'; export const calendarThreadFilterTypes = Object.freeze({ THREAD_LIST: 'threads', NOT_DELETED: 'not_deleted', }); export type CalendarThreadFilterType = $Values< typeof calendarThreadFilterTypes, >; export type CalendarThreadFilter = { +type: 'threads...
Ashoat/squadcal
lib/types/filter-types.js
JavaScript
bsd-3-clause
960
Dashboard = { init: function(data){ if(typeof data != 'undefined'){ var attributes = [ ]; $.each(attributes, function(index, element){ if(typeof data[element] != 'undefined') Dashboard[element] = data[element]; }); ...
remk-wadriga/vicesisters-yii2-project
web/backend/js/pages/dashboard.js
JavaScript
bsd-3-clause
487
/* Copyright 2015-2017 Robert Schroll * * This file is part of Juno and is distributed under the terms of the * BSD license. See the file LICENSE for full details. */ 'use strict'; const { dialog, BrowserWindow } = require('electron'); const { spawn, execSync } = require('child_process'); const process = require('p...
rschroll/juno
src/notebook.js
JavaScript
bsd-3-clause
5,912
/* Copyright (c) 2006-2013, Alexis Royer, http://alexis.royer.free.fr/CLI All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the abo...
kn65op/cli-toolkit
web/cli-traces.js
JavaScript
bsd-3-clause
2,382
var root = d3.selectAll('svg') function stopScrolling(touchEvent) {touchEvent.preventDefault();} document.addEventListener( 'touchstart' , stopScrolling , false ) document.addEventListener( 'touchmove' , stopScrolling , false ) window.setTimeout(render, 0)
monfera/sf-student-dashboard
dashboard.js
JavaScript
bsd-3-clause
259
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // TODO:(kaznacheev) Share the EXIF constants with exif_parser.js var EXIF_MARK_SOS = 0xffda; // Start of "stream" (the actual image data). var EXIF_...
zcbenz/cefode-chromium
chrome/browser/resources/file_manager/js/image_editor/exif_encoder.js
JavaScript
bsd-3-clause
17,299
let app = angular.module('delivery', ['ngMaterial', 'firebase', 'ngMap', 'ngStorage', 'ionic-toast', 'ngSanitize']); app.run(function(FB) { FB.registerSW(); }); app.factory('FB', ['$http', '$firebaseAuth', '$firebaseArray', '$firebaseObject', '$q', '$localStorage', 'ionicToast', function($http, $firebaseAuth, $fireb...
HyperManTT/ECommerceSaleor
notification app/public/js/app.js
JavaScript
bsd-3-clause
8,025
/** * Copyright (c) 2008-2011 The Open Planning Project * * Published under the GPL license. * See https://github.com/opengeo/gxp/raw/master/license.txt for the full text * of the license. */ /** * @requires plugins/Tool.js * @requires GeoExt/widgets/tree/LayerNode.js * @requires GeoExt/widgets/tree/TreeNode...
Geoneer/GeoExplorer
app/static/externals/gxp/src/script/plugins/LayerTree.js
JavaScript
bsd-3-clause
9,499
/* Copyright (c) 2015-present, salesforce.com, inc. All rights reserved */ /* Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */ export default {"viewBox":"0 0 52 52","xmlns":"http://www.w3.org/2000/svg","path":{"d":"M27.8 3.1l6.4 13.5 14.2 2.2c1.6.2 2.2 2.3 1 3.4L39.1 32.8l2.4 14.8c.2 1.7-1.4 3-...
salesforce/design-system-react
icons/action/new_custom11.js
JavaScript
bsd-3-clause
449
var gl; // gl context var points; window.onload = function init() { var canvas = document.getElementById("gl-canvas"); gl = WebGLUtils.setupWebGL(canvas); if(!gl) { alert("WegGL is not available"); } var vertices = [-0.5, -0.5, -0.5, 0.5, 0.5, 0.5, 0.5, -0.5]; gl.viewport(0, 0, canvas.width,...
rtedin/webgl-course
examples/square.js
JavaScript
bsd-3-clause
911
(function(){ function getState( editor, path ) { var firstBlock = path.block || path.blockLimit; if ( !firstBlock || firstBlock.getName() == 'body' ) return CKEDITOR.TRISTATE_OFF; // See if the first block has a aside parent. if ( firstBlock.getAscendant( 'aside', true ) ) return CKEDITOR.TRISTATE_ON; retu...
ZG-Tennis/django-ckeditor
ckeditor/static/ckeditor/ckeditor/plugins/aside/plugin.js
JavaScript
bsd-3-clause
8,307
import { showcaseConverter } from "@times-components/storybook"; import showcase from "./slice-layout.showcase"; showcaseConverter(module, showcase);
newsuk/times-components
packages/slice-layout/slice-layout.stories.js
JavaScript
bsd-3-clause
151
/*jshint laxcomma:true, evil:true, expr:true */ (function(define, require){ define([ 'text!chat/templates/message/show.html' , 'chat/init' , 'chat/libs/md5' , 'chat/models/message' ], function(showtmpl){ var $ = jQuery , App = Datajam.Chat ; App.views.Message = Backbone.View....
sunlightlabs/datajam-chat
public/javascripts/datajam/chat/views/message.js
JavaScript
bsd-3-clause
5,770
//-- //-- Deprecated String functions //-- // @Deprecated: no direct replacement, since not used in core code String.prototype.toJSONString = function() { // Convert a string to it's JSON representation by encoding control characters, double quotes and backslash. See json.org var m = { '\b': '\\b', '\f': '\\f', ...
TeravoxelTwoPhotonTomography/nd
doc/node_modules/tiddlywiki/editions/tw2/source/tiddlywiki/deprecated/Strings.js
JavaScript
bsd-3-clause
702
// Copyright 2012, <Georg Nordhausen, onionblossom (at) gmail (dot) com>: License details can be found in LICENSE.markdown. Object.prototype.foreach = function( callback ) { for( var k in this ) { if(this.hasOwnProperty(k)) { callback( k, this[ k ] ); } } } Array.prototype.foreach = function( callbac...
GeorgX/data-flooder
src/popup.js
JavaScript
bsd-3-clause
1,871
#!/usr/bin/env node /** * Copyright (c) 2015-present, 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 direct...
channl/create-lambda-app
packages/lambda-scripts/bin/lambda-scripts.js
JavaScript
bsd-3-clause
1,606
"use strict" var fs=require("fs"), path=require("path"), localPath=process.cwd(); module.exports.init=function(currentDirName){ //创建基础配置文件 var sourcePackagePath=path.normalize(currentDirName+"/package.json"), sourceConfigPath=path.normalize(currentDirName+"/gbuilder.config.js"), distP...
happyhour7/gbuilder
src/arguments/process/init.js
JavaScript
bsd-3-clause
1,533
function getDocHeight() { var n = document; return Math.max(Math.max(n.body.scrollHeight, n.documentElement.scrollHeight), Math.max(n.body.offsetHeight, n.documentElement.offsetHeight), Math.max(n.body.clientHeight, n.documentElement.clientHeight)) } var Grid = function(n, t, i) { this.array = null, this.size...
hkzhe/hkzhe
js/wt.boxes.min.js
JavaScript
bsd-3-clause
7,795
/** * @license Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/license */ /** * This file was added automatically by CKEditor builder. * You may re-use it at any time to build CKEditor again. * * If you would like to build CKEd...
derUli/ulicms
ulicms/admin/ckeditor/build-config.js
JavaScript
bsd-3-clause
2,671
var classPCPASimulator_1_1PAState = [ [ "PAState", "classPCPASimulator_1_1PAState.html#a6daf181b6e1d44c041f9cb77a93f9bfb", null ], [ "Equals", "classPCPASimulator_1_1PAState.html#a471242ee31dcb8d6073982f1aa89adb0", null ], [ "Equals", "classPCPASimulator_1_1PAState.html#a0bae237d8d1f341d6c35171d94d8aca4", n...
J4kubS/PCPASimulator
PCPASimulator/doc/html/classPCPASimulator_1_1PAState.js
JavaScript
bsd-3-clause
718
(function() { 'use strict'; angular.module('GNAdmin.effects') .service('EffectsService', EffectsService); EffectsService.$inject = ['$http']; function EffectsService($http) { var APIURL = 'http://localhost:28469/api/effects'; return { addEffect: addEffect, deleteEffect: delete...
tenthirtyone/character-tracker
app/js/admin/effects/admin.effects.service.js
JavaScript
bsd-3-clause
2,476
var Request = require('shipyard/http/Request'), dom = require('shipyard/dom'); var flightdeck = require('flightdeck'); var admin_settings; var PRESSED = 'pressed'; function setMsg(msg) { var elem = dom.$('package_msg'); elem.set('html', msg); setTimeout(function() { elem.set('html', ''); }, 2000); } function...
mozilla/FlightDeck
media/base/js/admin/index.js
JavaScript
bsd-3-clause
1,738
(function() { MBooks.IndexView = Ember.View.extend({ layoutName: "mbooks_container", templateName: "index" }); }).call(this);
DavidAlphaFox/home
dist/views.js
JavaScript
bsd-3-clause
139
function multipleChartTests(failureChecker) { var fc = failureChecker; fc.setTestName("multiple charts"); fc.setCase("default"); var cm; cm.setChartData() //possible use ranking functions already in place fc.assert(cm.tab.rank[0], ["Q1"] , "Tab rank 0"); fc.assert(cm.tab.rank[1], ["Q...
SCAII/SCAII
viz/js/test/multipleChartTests.js
JavaScript
bsd-3-clause
3,006
const horse26k = [[134,140], [135,141], [142,142], [132,142], [143,142], [134,143], [124,143], [141,144], [131,144], [121,144], [144,145], [134,145], [124,145], [146,140], [142,146], [132,146], [122,146], [147,140], [142,147], [132,147], [122,147], [148,139], [133,148], [123,148], [113,148], [149,146], [121,149], [111,...
AndriiHeonia/hull
debug/data/horse26k.js
JavaScript
bsd-3-clause
288,909
/* * Copyright (C) 2012 Google Inc. All rights reserved. * Copyright (C) 2012 Intel Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retai...
Pluto-tv/blink-crosswalk
Source/devtools/front_end/timeline/TimelinePanel.js
JavaScript
bsd-3-clause
66,274
/** * Copyright 2013-present, 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...
shergin/react
src/isomorphic/children/__tests__/onlyChild-test.js
JavaScript
bsd-3-clause
2,253
define(['jquery', './EpubReader', 'readium_shared_js/helpers'], function($, EpubReader, Helpers){ $(function(){ var urlParams = Helpers.getURLQueryParams(); // embedded, epub // (epub is ebookURL) EpubReader.loadUI(urlParams); $(document.body).on('click', function() { $(doc...
GermanCentralLibraryForTheBlind/readium-js-viewer
src/js/ReadiumViewerLite.js
JavaScript
bsd-3-clause
1,861
'use strict'; /* global VS, Vinylsiding */ /** * Modal content helper. * Appends overlay div to body. * Attaches open/close event listeners to elements. * Manipulates DOM to overlay content and show modal content. * Clicking the modal or hitting esc will close it by default. * Use class `clickable` on elements th...
jayfid/vinyl
app/scripts/modal.js
JavaScript
bsd-3-clause
4,573
var mongoose = require('mongoose'); var Schema = mongoose.Schema; module.exports = mongoose.model('attachment', { postid: { type: Schema.ObjectId }, type: String, filedata: Buffer });
Qlik-Branch/branch-resource-library
server/models/attachment.js
JavaScript
isc
197
import { BufferAttribute, BufferGeometry, Float32BufferAttribute, InterleavedBuffer, InterleavedBufferAttribute, TriangleFanDrawMode, TriangleStripDrawMode, TrianglesDrawMode, Vector3 } from 'three'; function computeTangents( geometry ) { geometry.computeTangents(); console.warn( 'THREE.BufferGeometryUtil...
damienmortini/dlib
node_modules/three/examples/jsm/utils/BufferGeometryUtils.js
JavaScript
isc
22,606
export { uiInit } from './init'; export { uiAccount } from './account'; export { uiAttribution } from './attribution'; export { uiBackground } from './background'; export { uiBackgroundDisplayOptions } from './background_display_options'; export { uiBackgroundOffset } from './background_offset'; export { uiChangesetEdi...
digidem/iD
modules/ui/index.js
JavaScript
isc
3,328
var searchData= [ ['rect',['Rect',['../classstar_1_1_rect.html',1,'star']]], ['rectanglecollidercomponent',['RectangleColliderComponent',['../classstar_1_1_rectangle_collider_component.html',1,'star']]], ['resource',['Resource',['../classstar_1_1_resource.html',1,'star']]], ['resourcedescriptor',['ResourceDescr...
StarEngine/manual
html/search/classes_72.js
JavaScript
mit
388
import config from 'src/config' const createOptions = config.server.rethinkdb.tableCreation export function up(r, conn) { return Promise.all([ r.tableCreate('moderators', createOptions) .run(conn) .then(() => { return r.table('moderators').indexCreate('chapterId').run(conn) }), ]) } ...
sdweber422/echo
src/data/migrations/20160517152001-moderators.js
JavaScript
mit
421
// Generated on 2015-02-25 using generator-angular 0.11.1 'use strict'; // # Globbing // for performance reasons we're only matching one level down: // 'test/spec/{,*/}*.js' // use this if you want to recursively match all subfolders: // 'test/spec/**/*.js' module.exports = function (grunt) { // Load grunt tasks a...
grexlort/electro-polcode
web/front/Gruntfile.js
JavaScript
mit
11,636
if (!('$sa' in window)) { window.$sa = {}; } (function($sa, $) { var _instance; $sa.SVGLoader = function(options_) { if (_instance) { return _instance; } if (!(this instanceof $sa.SVGLoader)) { return _instance = new $sa.SVGLoader(options_); } var _this = this, options = { asset : { ...
bennyschudel/jsvg
dist/jsvg.js
JavaScript
mit
6,331
import { CLOSE_RESET_PASSWORD_DIALOG, OPEN_EDIT_MEDIA_DIALOG, CLOSE_EDIT_MEDIA_DIALOG, OPEN_PREVIEW_MEDIA_DIALOG, CLOSE_PREVIEW_MEDIA_DIALOG, OPEN_LOGIN_DIALOG, CLOSE_LOGIN_DIALOG, } from '../constants/ActionTypes'; export function openEditMediaDialog(playlistID, media) { return { type: OPEN_EDIT_MEDIA_D...
welovekpop/uwave-web-welovekpop.club
src/actions/DialogActionCreators.js
JavaScript
mit
1,223
// Copyright (c) 2012 Turbulenz Limited /*global TurbulenzEngine: false*/ /*global Utilities: false*/ // // NetworkLatencyBehaviour // Implement nextMessageDelay() that returns an integer value in ms // var NetworkLatencyBehaviour = (function () { function NetworkLatencyBehaviour() { } NetworkLatencyBehavio...
sneakyfildy/turborace
jslib/networklatencysimulator.js
JavaScript
mit
6,620
/*! * weui.js v1.1.1 (https://weui.io) * Copyright 2017, wechat ui team * MIT license */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(); else if(typeof define === 'function' && define.amd) define([], factory)...
RuanShan/wechatmore
vendor/assets/javascripts/weui.js
JavaScript
mit
137,536
/* DO NOT MODIFY - This file has been generated and will be regenerated Semantic UI v2.1.8 */ /*! * # Semantic UI - Sticky * http://github.com/semantic-org/semantic-ui/ * * * Copyright 2015 Contributors * Released under the MIT license * http://opensource.org/licenses/MIT * */ ;(function ( $, window, docu...
kmcroft13/box-templates
client/lib/semantic-ui/definitions/modules/sticky.js
JavaScript
mit
29,033
/* global test */ import RouterBuilder from '../../lib/RouterBuilder/RouterBuilder'; import RouteTranslations from '../../lib/RoutesTranslations'; import { ok, strictEqual } from 'assert'; // const routesLangsConfig = fs.readYamlFileSync('example/routesLangs.yml'); const routesLangsConfig = new Map([ ['api', new ...
christophehurpeau/springbokjs-router
test/src/nested-segments.js
JavaScript
mit
2,339
window.C2S_EXAMPLES['emptyArc'] = function(ctx) { // Draw shapes for (i = 0; i < 4; i++) { for (j = 0; j < 3; j++) { ctx.beginPath(); ctx.arc(100, 100, 100, Math.PI, Math.PI); ctx.fill(); } } };
gliffy/canvas2svg
test/example/emptyArc.js
JavaScript
mit
265
var pseudoFS = null; var util = require('util'); try { pseudoFS = require(__dirname + '/build/Debug/pseudofs.node'); console.error(" ********** using pseudoFS debug module. ************* "); } catch(e) { try { pseudoFS = require(__dirname + '/build/Release/pseudofs.node'); } catch(e) { console.error(" *******...
WigWagCo/node-pseudofs
index.js
JavaScript
mit
1,679
module.exports = require('./lib/jsonrpc-ws');
enix/node-jsonrpc-ws
index.js
JavaScript
mit
46
/** * author: Nils Gehlenborg - nils@hms.harvard.edu */ var ElementViewerConfigurations = { scatterplot: scatterplotConfiguration, histogram: histogramConfiguration, wordCloud: wordCloudConfiguration, variantFrequency: variantFrequencyConfiguration, }; $(EventManager).bind("element-viewer-removed", ...
VCG/upset
element-viewer.js
JavaScript
mit
15,937
'use strict'; var webpackTestConfig = require('../webpack.tests.config.js'); module.exports = function(config) { config.set({ browsers: ['PhantomJS'], // karma only needs to know about the test bundle files: [ './test.bundle.js' ], singleRun: true, frame...
Mayho/react-news
test/karma.conf.js
JavaScript
mit
1,234
var MiniShare; ;(function(global, document, $){ "use strict"; MiniShare = global.MiniShare = global.MiniShare || {}; MiniShare.$twitterButton = $('.minishare-tw'); MiniShare.$facebookButton = $('.minishare-fb'); MiniShare.$googleButton = $('.minishare-gp'); MiniShare.$mailButton = $('.minish...
lanacioncom/el-laberinto-politico-de-los-candidatos
js/libs/minishare.js
JavaScript
mit
3,260
//------------------------------------------------------------------------------------------------------- // Copyright (C) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. //---------------------------------------------------------...
Microsoft/ChakraCore
test/Bugs/deferredStubBugs.js
JavaScript
mit
2,592
version https://git-lfs.github.com/spec/v1 oid sha256:7ab8156b7a15a6f239aa701e2ffaf1139db928380dfc5d089051d019f3850db7 size 23630
yogeshsaroya/new-cdnjs
ajax/libs/yui/3.1.2/io/io-base.js
JavaScript
mit
130
version https://git-lfs.github.com/spec/v1 oid sha256:c02ed64a00e83008237e9e6c6c58ddbfb2d22fc744e4bba68cab58f728ef9e51 size 2725
yogeshsaroya/new-cdnjs
ajax/libs/angular.js/1.3.2/i18n/angular-locale_pa-arab.js
JavaScript
mit
129
'use strict'; var React = require('react'); var SvgIcon = require('../../svg-icon'); var ActionPermMedia = React.createClass({ displayName: 'ActionPermMedia', render: function render() { return React.createElement( SvgIcon, this.props, React.createElement('path', { d: 'M2 6H0v5h.01L0 20c0 1...
checkraiser/material-ui2
lib/svg-icons/action/perm-media.js
JavaScript
mit
525
module.exports = '../super-module';
dimapaloskin/inpack
test/fixtures/structures/preinstalled/super-module/index.js
JavaScript
mit
36
import PropTypes from 'prop-types'; import React from 'react'; import ImmutablePropTypes from 'react-immutable-proptypes'; import classNames from 'classnames'; import { paperPropType } from 'utils/constants'; import FileLoader from './components/file-loader'; import ImportViewRow from './components/row'; import './v...
bobinette/papernet-front
src/scenes/imports/view.js
JavaScript
mit
2,164
module.exports = function(grunt) { // Project configuration. grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), uglify: { options: { banner: '/*! <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %> */\n' }, build: { src: 'src/<%= pkg.name %>.js', de...
rainbowCN/solution
bower/bower_components/bt/Gruntfile.js
JavaScript
mit
698
version https://git-lfs.github.com/spec/v1 oid sha256:27df66743c015795c6cdf51c821cb691ad16738fac103f2d85fcab9fab68c1ae size 2286
yogeshsaroya/new-cdnjs
ajax/libs/moment.js/2.7.0/lang/cs.min.js
JavaScript
mit
129
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc); switch (arguments.length) { case 2: return decorators.reduceRight(function(o, d) { r...
cmichaelgraham/aurelia-ts-port
dist/system/templating-resources/repeat.js
JavaScript
mit
14,787
var searchData= [ ['leaderboardsapi',['LeaderboardsAPI',['../classbackend_1_1api_1_1leaderboards_1_1_leaderboards_a_p_i.html',1,'backend::api::leaderboards']]], ['py',['py',['../namespaceleaderboards_1_1py.html',1,'leaderboards']]] ];
evanyc15/Fort-Nitta
Documentation/html/search/all_5.js
JavaScript
mit
239
(function($) { var cultures = $.cultures, en = cultures.en, standard = en.calendars.standard, culture = cultures["nl-BE"] = $.extend(true, {}, en, { name: "nl-BE", englishName: "Dutch (Belgium)", nativeName: "Nederlands (België)", language: "nl", numbe...
Leandro-b-03/SmartBracelet
public/library/javascripts/jquery.GlobalMoneyInput/globinfo/jQuery.glob.nl-BE.js
JavaScript
mit
1,885
import ApplicationController from "./applicationController.js"; import <%= Name %> from "../models/<%= name %>.js"; import MultiError from "blunder"; import {isAssigned} from "proven"; import {BadRequestError} from "../errors.js"; const validateId = Symbol("validateId"), validateData = Symbol("validateData"); export...
FreeAllMedia/generator-troupe
generators/app/templates/es6/app/controllers/_modelController.js
JavaScript
mit
2,753
require('ts-node').register({ compilerOptions: { module: 'CommonJS' }, // and other tsconfig.json options as you like }); module.exports = require('./rollup.config.ts');
ealbertos/dotfiles
vscode.symlink/extensions/bung87.rails-0.17.8/rollup.config.js
JavaScript
mit
194
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @generated SignedSource<<3a8bb2a293a3c7a9b716e09bbc2916a6>> * @flow * @lightSyntaxTransform * @nogrep */ /* eslint-disable ...
atxwebs/relay
packages/react-relay/relay-hooks/__tests__/__generated__/useFragmentNodeTestUserQuery.graphql.js
JavaScript
mit
4,535
/** * Created by Raphson on 7/1/16. */ var helper = require('sendgrid').mail; var sg = require('sendgrid')(process.env.SENDGRID_API_KEY); module.exports = { /** * Send An Email To The Admin About Enquiries Made By Users * @param req * @param res * @return json */ sendMessage: function...
iamraphson/mernmap
server/controller/contact.server.controller.js
JavaScript
mit
1,255
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "m14.65 4.98-5-1.75c-.42-.15-.88-.15-1.3-.01L4.36 4.56C3.55 4.84 3 5.6 3 6.46v11.85c0 1.41 1.41 2.37 2.72 1.86l2.93-1.14c.22-.09.47-.09.69-.01l5 1.75c.42.15....
oliviertassinari/material-ui
packages/mui-icons-material/lib/esm/MapRounded.js
JavaScript
mit
491
import { connect } from "react-redux"; import LeaderItem from "../components/leader_item"; import { urlForUser } from "../../shared/util"; import { stringify } from "querystring"; import { defaultObservationParams } from "../../shared/util"; function mapStateToProps( state ) { const leader = state.leaders.topIdentif...
calonso-conabio/inaturalist
app/webpack/taxa/show/containers/top_identifier_container.js
JavaScript
mit
1,108
import models from '../models'; import express from 'express'; import _ from 'lodash'; let router = express.Router(); const lists = [ { id: 1, title: '5 Bests Movies of March 2015', image: 'http://www.lonelyplanet.com/themes/best-in-travel/top-10-cities/images/san-francisco.jpg', movies: [3201, 320...
sabarasaba/moviez.city-server
src/controllers/lists.js
JavaScript
mit
1,285
/** * XadillaX created at 2016-02-16 10:37:43 With ♥ * * Copyright (c) 2016 Souche.com, all rights * reserved. */ "use strict"; module.exports = (oj) => { oj.get("/", (req, resp) => { resp.redirect("/problem/list/1"); }); };
XadillaX/nbut-online-judge-v3-web
src/controller/problem/index.js
JavaScript
mit
249
export default function ejemploClase(){ class ClaseEjemplo{ constructor(){ console.log('Aqui esta el constructor'); } meotodoUno(){ console.log('Aqui esta el metodo one'); } meotodoDos(){ console.log('Aqui esta el metodo deux'); } ...
jpgonzalezquinteros/sovos-reactivo-2017
tp-1/facundo-esquivel-fagiani/src/ES6/ejemplos.js
JavaScript
mit
443
/** * Express configuration */ 'use strict'; var express = require('express'); var favicon = require('serve-favicon'); var morgan = require('morgan'); var compression = require('compression'); var bodyParser = require('body-parser'); var methodOverride = require('method-override'); var cookieParser = require('cooki...
aladdin83/MCMS
server/config/express.js
JavaScript
mit
1,420
//>>built define({previousButton:"\u25c4",nextButton:"\u25ba",todayButton:"\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49",dayButton:"\u0e27\u0e31\u0e19",weekButton:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c",fourDaysButton:"4 \u0e27\u0e31\u0e19",monthButton:"\u0e40\u0e14\u0e37\u0e2d\u0e19"});
ycabon/presentations
2020-devsummit/arcgis-js-api-road-ahead/js-api/dojox/calendar/nls/th/buttons.js
JavaScript
mit
285
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Sergey Melyukov @smelukov */ "use strict"; const { ReplaceSource } = require("webpack-sources"); const Generator = require("../Generator"); const InitFragment = require("../InitFragment"); const RuntimeGlobals = require("../RuntimeGlobals"); ...
webpack/webpack
lib/css/CssGenerator.js
JavaScript
mit
3,181
/* IMPORTANT * This snapshot file is auto-generated, but designed for humans. * It should be checked into source control and tracked carefully. * Re-generate by setting TAP_SNAPSHOT=1 and running tests. * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' exports[`__tests__/commands/1.n...
ZoomCar/zcui
tap-snapshots/__tests__-commands-1.new.js-TAP.test.js
JavaScript
mit
2,211
(function($) { var cultures = $.cultures, en = cultures.en, standard = en.calendars.standard, culture = cultures["ky"] = $.extend(true, {}, en, { name: "ky", englishName: "Kyrgyz", nativeName: "Кыргыз", language: "ky", numberFormat: { ',': ...
Leandro-b-03/SmartBracelet
public/library/javascripts/jquery.GlobalMoneyInput/globinfo/jQuery.glob.ky.js
JavaScript
mit
2,076
function ScrollbarComponentData() { this.enabled = true; } export { ScrollbarComponentData };
aidinabedi/playcanvas-engine
src/framework/components/scrollbar/data.js
JavaScript
mit
99
var searchData= [ ['chief_5fonly_5fhooks',['chief_only_hooks',['../classnabu_1_1neuralnetworks_1_1trainers_1_1standard__trainer_1_1StandardTrainer.html#a5f13484cde1db47531ea903cd4d0f627',1,'nabu.neuralnetworks.trainers.standard_trainer.StandardTrainer.chief_only_hooks()'],['../classnabu_1_1neuralnetworks_1_1trainers_...
vrenkens/nabu
docs/search/functions_3.js
JavaScript
mit
1,855
window.Digitimate = (function () { "use strict"; var postAsync = function (url) { return new Promise(function (fulfill, reject) { var request = new XMLHttpRequest(); request.open('POST', url, true); request.onload = function() { var resp = request.responseText; var data; ...
jacob-ebey/digitimate
browser-client/digitimate.js
JavaScript
mit
2,713
/*! * UI development toolkit for HTML5 (OpenUI5) * (c) Copyright 2009-2017 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ sap.ui.define(["jquery.sap.global"],function(q){"use strict";var V={};V.render=function(r,c){};return V;},true);
Hochfrequenz/aurelia-openui5-bridge
sample/vendor/openui5/sap/m/ViewSettingsPopoverRenderer.js
JavaScript
mit
299
(function() { 'use strict'; /** * Module dependencies */ var _ = require('lodash'); /** * Extend user's controller */ module.exports = _.extend( require('./users/users.authentication.server.controller'), require('./users/users.authorization.server.controller'), require('./users/users...
shackApp/mean-core
modules/users/server/controllers/users.server.controller.js
JavaScript
mit
417