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
Komento.module("migrator.custom",function(e){var t=this;Komento.Controller("Migrator.Custom",{defaults:{"{migrateTable}":"#migrate-table","{componentFilter}":"#migrate-component-filter","{tableColumns}":".table-columns","{cycleAmount}":"#migrate-cycle"}},function(t){return{init:function(){t.loadTableColumns()},"{migrat...
serviciodeempleo/PaginaSPE
tmp/install_53ac99f860c4c/media/com_komento/scripts/migrator.custom.js
JavaScript
gpl-2.0
940
/** Search and NLP (natural language processing) support */ var englishInvalidKeywords = /^and|or|to|the|if|with|which|an$/; function isValidKeyword(x) { if (x.length < 2) return false; return !englishInvalidKeywords.test(x); } function getKeywords(s) { return s.toLowerCase().replace(',',' ').replace('\.',' ...
rezn8d/netentionjs2
client/search.js
JavaScript
gpl-3.0
1,840
/* =========================================================== * bootstrap-popover.js v2.0.4 * http://twitter.github.com/bootstrap/javascript.html#popovers * =========================================================== * Copyright 2012 Twitter, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"...
kevinnewesil/Grades2Show
protected/extensions/bootstrap/lib/bootstrap/js/bootstrap-popover.js
JavaScript
gpl-3.0
2,972
/** * Enables graph dragging. */ function enableGraphDragging() { /* Extending the jQuery draggable option to be fitted with right click for either graph or graphRootSVG. This also disables the context menu for graphRootSVG, but not for the tab.*/ $.extend($.ui.draggable.prototype, { _mouseInit: ...
tamaralipowski/courseography
public/js/graph/utilities/util.js
JavaScript
gpl-3.0
6,075
'use strict'; const glMatrix = require('@mapbox/gl-matrix'); const Buffer = require('../data/buffer'); const VertexArrayObject = require('./vertex_array_object'); const PosArray = require('../data/pos_array'); const pattern = require('./pattern'); const mat3 = glMatrix.mat3; const mat4 = glMatrix.mat4; const vec3 = gl...
geminy/aidear
oss/qt/qt-everywhere-opensource-src-5.9.0/qtlocation/src/3rdparty/mapbox-gl-native/src/3rd_party/mapbox-gl-shaders/js/render/draw_fill_extrusion.js
JavaScript
gpl-3.0
7,055
// Generated by CoffeeScript 1.9.3 var LocalizationManager, Polyglot, cozydb; Polyglot = require('node-polyglot'); cozydb = require('cozydb'); LocalizationManager = (function() { function LocalizationManager() {} LocalizationManager.prototype.polyglot = null; LocalizationManager.prototype.initialize = functi...
Gara64/cozy-home
build/server/helpers/localization_manager.js
JavaScript
agpl-3.0
2,197
UserLanguageViewController = BaseViewController.extend( { el: '#user_language_view_container', fluency_array: null, competency_array: null, document_object_type_id: null, qualification_group_api: null, qualification_api: null, qualification_group_array: null, qualification_array: null, initialize: function...
wakuki14/hrm
interface/html5/views/hr/qualification/UserLanguageViewController.js
JavaScript
agpl-3.0
16,764
import React from 'react'; import Analyzer from 'parser/core/Analyzer'; import Abilities from 'parser/core/modules/Abilities'; import SPELLS from 'common/SPELLS'; import SpellLink from 'common/SpellLink'; class InitialMarrowrendCast extends Analyzer { static dependencies = { abilities: Abilities, }; firstM...
ronaldpereira/WoWAnalyzer
src/parser/deathknight/blood/modules/features/InitialMarrowrendCast.js
JavaScript
agpl-3.0
1,522
/* global describe, it, expect */ (function() { 'use strict'; var root = this; root.define([], function() { describe('In Roboblocks.Blocks.text_print block', function () { it('generates expected default Arduino code', function () { expect( true ).to.equal( true ); var bool = Blockly.Block.obtain(Blo...
AMOsPL/roboblocks
test/spec/text_print.js
JavaScript
lgpl-3.0
510
sap.ui.define(['sap/uxap/BlockBase'], function (BlockBase) { "use strict"; var myBlock = BlockBase.extend("sap.uxap.testblocks.BasicDivBlock", { metadata: { properties: { "height": {type: "string", group: "Appearance"}, "backgroundColor": {type: "string", group: "Appearance"} } } }); return myBloc...
SQCLabs/openui5
src/sap.uxap/test/sap/uxap/qunit/blocks/BasicDivBlock.js
JavaScript
apache-2.0
334
/* * Waltz - Enterprise Architecture * Copyright (C) 2016, 2017, 2018, 2019 Waltz open source project * See README.md for more information * * 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 ...
khartec/waltz
waltz-ng/client/playpen/5/dynamic-nav-aid.js
JavaScript
apache-2.0
5,475
var arityFn = [ require('./0'), require('./1'), require('./2'), require('./3'), require('./4'), require('./5') ]; module.exports = function(fn, n) { if (n && n <= 5) { return arityFn[n](fn); } else { return fn; } };
GoogleCloudPlatform/prometheus-engine
third_party/prometheus_ui/base/web/ui/react-app/node_modules/arity-n/N.js
JavaScript
apache-2.0
243
/** * @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 */ // THIS CODE IS GENERATED - DO NOT MODIFY // See angular/tools/gulp-tasks/cldr/extract.js export default [ 'en-AS...
N03297857/2017Fall
node_modules/@angular/common/locales/en-AS.js
JavaScript
apache-2.0
1,658
/** * 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...
yieldbot/amphtml
src/url.js
JavaScript
apache-2.0
17,911
/** * @license * Copyright 2015 Google Inc. 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 requir...
jlhughes/foam
js/foam/apps/chatter/ui/NotificationsView.js
JavaScript
apache-2.0
1,564
//* @protected enyo.kind({ name: "enyo.DbRepeaterList", kind: enyo.VFlexBox, published: { pageSize: 50, stripSize: 20 }, events: { onQuery: "", onSetupRow: "" }, chrome: [ {kind: "Scroller", flex: 1, accelerated: false, components: [ {name: "client", kind: enyo.VirtualRepeater, accelerated: true, on...
enyojs/enyo-1.0
framework/source/palm/list/DbRepeaterList.js
JavaScript
apache-2.0
1,698
{ "AUTHORIZATION_REQUIRED": "Du har ikke adgang til at bruge fil manageren.", "INVALID_ACTION": "Invalid handling.", "MODE_ERROR": "Mode fejl.", "DIRECTORY_ALREADY_EXISTS": "Mappen '%s' eksisterer allerede.", "FILE_ALREADY_EXISTS": "The file '%s' already exists.", "UNABLE_TO_CREATE_DIRECTORY": "Ude af ...
vinco/grails-ckeditor
web-app/js/ofm/scripts/languages/da.js
JavaScript
apache-2.0
2,440
/* * Copyright 2013 Amadeus s.a.s. * 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 i...
lsimone/ariatemplates
test/aria/html/textinput/bind/BindableTestCaseTplScript.js
JavaScript
apache-2.0
1,011
module.exports={A:{A:{"2":"H D G E A B FB"},B:{"2":"C p x J","194":"L N I"},C:{"2":"0 1 2 3 aB CB F K H D G E A B C p x J L N I O P Q R S T U V W X Y Z b c d e f g h i j k l m n o M q r s t u v w YB SB","194":"4 5 6 8 9 y AB"},D:{"1":"HB IB JB KB","2":"0 1 2 3 4 5 6 F K H D G E A B C p x J L N I O P Q R S T U V W X Y Z...
ihmcrobotics/ihmc-realtime
websitedocs/website/node_modules/caniuse-lite/data/features/sharedarraybuffer.js
JavaScript
apache-2.0
871
/*! * ${copyright} */ // Provides the JSON model implementation of a property binding sap.ui.define(['sap/ui/model/PropertyBinding'], function(PropertyBinding) { "use strict"; /** * @class * Property binding implementation for JSON format. * * @param {sap.ui.model.control.ControlModel} oModel * @param...
SQCLabs/openui5
src/sap.ui.core/src/sap/ui/model/control/ControlPropertyBinding.js
JavaScript
apache-2.0
2,004
/** * Copyright 2015 The AMP HTML 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 applicable law o...
zhouyx/amphtml
extensions/amp-pinterest/0.1/amp-pinterest.js
JavaScript
apache-2.0
4,248
/* * Copyright 2015 Google Inc. 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 required by applicable...
jzitelli/webvr-polyfill
src/sensor-fusion/pose-predictor.js
JavaScript
apache-2.0
2,571
// Copyright 2018 Igalia, S.L. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- esid: sec-Intl.RelativeTimeFormat description: The prototype of the Intl.RelativeTimeFormat constructor is %FunctionPrototype%. info: | Unless specified otherwise in this document, the o...
sebastienros/jint
Jint.Tests.Test262/test/intl402/RelativeTimeFormat/constructor/prototype.js
JavaScript
bsd-2-clause
957
goog.provide('gxnat.slicerNode.Node'); goog.require('gxnat.slicerNode'); /** * @struct * @constructor */ gxnat.slicerNode.Node = function(){ goog.getUid(this); }; goog.exportSymbol('gxnat.slicerNode.Node', gxnat.slicerNode.Node);
evast/XNATImageViewer
src/main/scripts/viewer/gxnat/slicerNode/Node.js
JavaScript
bsd-3-clause
266
(function ($, window, document, undefined) { var $activeElm, preventShow, extend = $.extend, ms = $.mobiscroll, instances = ms.instances, userdef = ms.userdef, util = ms.util, pr = util.jsPrefix, has3d = util.has3d, getCoord = util.getCoord, ...
cboy868/lion
web/static/libs/meal/js/mobiscroll.widget.js
JavaScript
bsd-3-clause
29,146
#!/usr/bin/env node 'use strict'; const chalk = require('chalk'); const Vorpal = require('vorpal'); const GitHubAPI = require('github-api'); const untildify = require('untildify'); const fs = require('fs'); const path = require('path'); const os = require('os'); const child_process = require('child_process'); const...
richiethomas/react
scripts/release-manager/cli.js
JavaScript
bsd-3-clause
3,383
var cdb = require('cartodb.js'); module.exports = cdb.core.View.extend({ initialize: function() { _.bindAll(this, '_onWindowScroll'); this._bindScroll(); }, _onWindowScroll: function() { this.$el[ $(window).scrollTop() > this.options.anchorPoint ? 'addClass' : 'removeClass' ]('is-fixed'); }, _...
nuxcode/cartodb
lib/assets/javascripts/cartodb/common/views/scrollable_header.js
JavaScript
bsd-3-clause
600
const axios = require('axios'); const createRojakClient = (endpoint) => { const getSentimentsOfCandidate = (candidateId) => axios .get(`${endpoint}/candidates/${candidateId}/media-sentiments`) .then(resp => resp.data); return { getSentimentsOfCandidate, }; }; module.exports = crea...
CodeRiderz/rojak
rojak-ui-web/src/app/utils/createRojakClient.js
JavaScript
bsd-3-clause
335
define( //begin v1.x content { "dateFormatItem-yM": "MM/yyyy GGGGG", "dateFormatItem-yQ": "Q yyyy GGGGG", "dayPeriods-format-wide-pm": "p.m.", "eraNames": [ "eB" ], "dateFormatItem-MMMEd": "E d MMM", "dateFormatItem-hms": "h:mm:ss a", "dateFormatItem-yQQQ": "QQQ y G", "days-standAlone-wide": [ "Diumenge", ...
vadivelan-k/dojo_rails
vendor/assets/javascripts/dojo/cldr/nls/ca/buddhist.js
JavaScript
mit
3,437
module.exports=/[\u0300-\u036F\u0485\u0486\u064B-\u0655\u0670\u0951\u0952\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1DC0-\u1DE6\u1DFC-\u1DFF\u200C\u200D\u20D0-\u20F0\u302A-\u302D\u3099\u309A\uFE00-\uFE0F\uFE20-\uFE26]|\uD800\uDDFD|\uD834[\uDD67-\uDD69\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD]|\uDB40[\uDD00-\uDD...
marclundgren/mithril-fidm-app
node_modules/gulp-jscs/node_modules/jscs/node_modules/unicode-6.3.0/scripts/Inherited/regex.js
JavaScript
mit
324
(function() { var Tabs = function(element, options) { this.element = element; this.$element = $(element); this.options = options; this.metadata = this.$element.data('options'); }; Tabs.prototype = { defaults: { tabListClass: ".list__tabs", ...
TheAlloyTeam/alloy
assets/js/modules/alloy.tabs.js
JavaScript
mit
3,690
for (var i = 1; i <= 100; i++) { if (i % 15 === 0) { console.log('FizzBuzz'); } else if (i % 3 === 0) { console.log('Fizz'); } else if (i % 5 === 0) { console.log('Buzz'); } else { console.log(i); } }
nimblecode/nimblecode
server/library/prompts/js/02-fizzBuzz.js
JavaScript
mit
226
(function() { 'use strict'; angular.module('formlyApp').factory('province', province); function province() { function getProvinces() { return [{ "name": "Alberta", "value": "alberta" }, { "name": "British Columbia", ...
siwenlu/angular_demo
validation/scripts/service/province.js
JavaScript
mit
1,530
// Parser for TypeScript-style definition files // // Takes a TypeScript file as, for example, found in // github.com/borisyankov/DefinitelyTyped , and spits out Tern type // description JSON data. var fs = require("fs"); // The TypeScript code is all there in the npm package, but it's not // exporting anything as a ...
pombredanne/tern
lib/typescript.js
JavaScript
mit
6,634
var parent = require('../../actual/instance/replace-all'); module.exports = parent;
zloirock/core-js
packages/core-js/features/instance/replace-all.js
JavaScript
mit
85
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _pure = require('recompose/pure'); var _pure2 = _interopRequireDefault(_pure); var _SvgIcon = require('../../SvgIcon'); var _SvgIcon2 = _interopRequireDe...
myfintech/material-ui
svg-icons/content/remove-circle.js
JavaScript
mit
876
/** * Copyright © 2013-2017 Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ define([ 'ko', 'underscore' ], function (ko, _) { 'use strict'; function iterator(callback, args, elem) { callback = elem[callback]; if (_.isFunction(callback)) { ret...
j-froehlich/magento2_wk
vendor/magento/module-ui/view/base/web/js/lib/knockout/extender/observable_array.js
JavaScript
mit
2,120
if (typeof ColumnsPlugins === 'undefined') var ColumnsPlugins = {}; ColumnsPlugins.gotopage = { init: function() { var $this = this; $this.$el.one('keyup', '.gotopage', function() { $this.gotoPage(parseInt($(this).val())); }); }, create: function() { th...
xjsender/Haoku
public/columns/plugins/gotopage.js
JavaScript
mit
403
var fs = require('fs'); var spawn = require('child_process').spawn; var path = require('path'); var Promise = require('bluebird'); module.exports = function(log) { var install = function (project, options) { options = options || {}; return new Promise(function(resolve, reject){ var bowerJson = JSON.s...
quentinyang/freight-server
lib/installers/bower.js
JavaScript
mit
1,979
// Base 64 encoding const BASE_64_CHARS = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; const BASE_64_VALS = Object.create(null); const getChar = val => BASE_64_CHARS.charAt(val); const getVal = ch => ch === '=' ? -1 : BASE_64_VALS[ch]; for (let i = 0; i < BASE_64_CHARS.length; i++) { BASE_6...
Hansoft/meteor
packages/base64/base64.js
JavaScript
mit
3,289
var fs = require('fs') var path = require('path') var compiler = require('../lib/compiler') var assert = require('assert') var hash = require('hash-sum') // test custom transform compiler.applyConfig({ customCompilers: { test: function (content, cb) { content = content.replace('not ', '') cb(null, co...
fire17643/Vue-resource
vueify-master/test/test.js
JavaScript
mit
2,105
var foo = function () { var ref = babelHelpers.asyncToGenerator(function* () { var wat = yield bar(); }); return function foo() { return ref.apply(this, arguments); }; }();
benjamn/babel
packages/babel-plugin-transform-async-to-generator/test/fixtures/async-to-generator/expression/expected.js
JavaScript
mit
189
'use strict'; const common = require('../common'); if (!common.hasCrypto) common.skip('missing crypto'); if (!common.enoughTestMem) common.skip('Insufficient memory for TLS benchmark test'); // Because the TLS benchmarks use hardcoded ports, this should be in sequential // rather than parallel to make sure it d...
enclose-io/compiler
lts/test/benchmark/test-benchmark-tls.js
JavaScript
mit
501
import isBrowser from 'src/lib/isBrowser' describe('isBrowser', () => { it('should return true in a browser', () => { // tests are run in a browser, this should be true isBrowser.should.be.true() }) it('should return false when there is no document', () => { require('imports?document=>undefined!src/...
clemensw/stardust
test/specs/lib/isBrowser-test.js
JavaScript
mit
683
/* * * * (c) 2009-2020 Torstein Honsi * * License: www.highcharts.com/license * * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!! * * */ 'use strict'; import H from '../parts/Globals.js'; /** * Containing the position of a box that should be avoided by labels. * * @interface Highc...
generalludd/expenses
js/highcharts/es-modules/modules/series-label.src.js
JavaScript
mit
29,465
// References: // http://paulirish.com/2011/requestanimationframe-for-smart-animating/ // https://gist.github.com/1579671 // http://updates.html5rocks.com/2012/05/requestAnimationFrame-API-now-with-sub-millisecond-precision // https://gist.github.com/timhall/4078614 // https://github.com/Financial-Times/polyfill-servic...
photonstorm/phaser
src/polyfills/requestAnimationFrame.js
JavaScript
mit
1,445
/** * Filter to keep request sequence. */ var logger = require('pomelo-logger').getLogger('pomelo', __filename); var taskManager = require('../../common/manager/taskManager'); module.exports = function() { return new Filter(); }; var Filter = function() { }; /** * request serialization after filter */ Filter.p...
leeboo/pomelo
lib/filters/handler/serial.js
JavaScript
mit
860
var SCRATCH_UUID = 'a495ff20c5b14b44b5121370f02d74de'; var SCRATCH_ONE = 'a495ff21c5b14b44b5121370f02d74de'; function ScratchOne() { } ScratchOne.prototype.readOne = function(callback) { this.readDataCharacteristic(SCRATCH_UUID, SCRATCH_ONE, callback); }; ScratchOne.prototype.writeOne = function(data, callback) { ...
stuthedew/Radiation_Bean
nodeRed/node_modules/ble-bean/lib/ScratchOne.js
JavaScript
mit
722
var FRAME_RATE = 50; var MY_RADIUS = 10; var MAX_SPEED = 10; var walkerManagers = []; function Walker(x, y, radius, index) { this.x = x; this.y = y; this.radius = radius; this.index = index; } Walker.prototype.update = function(time) { this.x += (sin(this.index + time) + map(noise(time, this.index), 0, 1, -...
processing/p5.js-website
src/assets/p5_featured/karenpeng_homepagesketch/sketch.js
JavaScript
mit
2,796
import{__decorate,__metadata}from"tslib";import{ɵɵdefineInjectable,ɵɵinject,Injectable}from"@angular/core";import{Angulartics2}from"angulartics2";var facebookEventList=["ViewContent","Search","AddToCart","AddToWishlist","InitiateCheckout","AddPaymentInfo","Purchase","Lead","CompleteRegistration"],Angulartics2Facebook=f...
cdnjs/cdnjs
ajax/libs/angulartics2/8.3.0/facebook/fesm5/angulartics2-facebook.min.js
JavaScript
mit
986
function test() { var o = {}; o.__proto__ = Array.prototype; return o instanceof Array; } if (!test()) throw new Error("Test failed");
Debian/openjfx
modules/web/src/main/native/Source/JavaScriptCore/tests/es6/Object.prototype.__proto___set_prototype.js
JavaScript
gpl-2.0
149
/** * plugin for displaying ROIs over an image canvas * * Requires Raphael http://raphaeljs.com/ * and scale.raphael.js http://shapevent.com/scaleraphael/ */ $.fn.roi_display = function(options) { return this.each(function(){ var self = this; var viewerId = this.id; var $viewport...
dominikl/openmicroscopy
components/tools/OmeroWeb/omeroweb/webgateway/static/webgateway/js/ome.roidisplay.js
JavaScript
gpl-2.0
43,802
'use strict'; const common = require('../common'); const assert = require('assert'); const cp = require('child_process'); const net = require('net'); if (process.argv[2] === 'child') { process.stdout.write('this should be ignored'); process.stderr.write('this should not be ignored'); const pipe = new net.Socket...
domino-team/openwrt-cc
package/gli-pub/openwrt-node-packages-master/node/node-v6.9.1/test/parallel/test-child-process-fork-stdio.js
JavaScript
gpl-2.0
1,286
/** * @file tech.js * Media Technology Controller - Base class for media playback * technology controllers like Flash and HTML5 */ import Component from '../component'; import HTMLTrackElement from '../tracks/html-track-element'; import HTMLTrackElementList from '../tracks/html-track-element-list'; import mergeOpt...
chaeMil/oazatv-server
web-project/www/assets/bower_components/video.js/src/js/tech/tech.js
JavaScript
gpl-3.0
19,629
/** * tinymce.js * * Copyright 2009, Moxiecode Systems AB * Released under LGPL License. * * License: http://tinymce.moxiecode.com/license * Contributing: http://tinymce.moxiecode.com/contributing */ (function(win) { var whiteSpaceRe = /^\s*|\s*$/g, undefined; /** * Core namespace with co...
plymouthstate/mahara
htdocs/js/tinymce/classes/tinymce.js
JavaScript
gpl-3.0
16,498
define([ "dojo/_base/array", // array.forEach array.indexOf array.map "dojo/_base/declare", // declare "dojo/_base/fx", // fx.fadeIn fx.fadeOut "dojo/dom", // dom.byId "dojo/dom-class", // domClass.add "dojo/dom-geometry", // domGeometry.position "dojo/dom-style", // domStyle.set, domStyle.get "dojo/_base/lang"...
avz-cmf/zaboy-middleware
www/js/dijit-master/Tooltip.js
JavaScript
gpl-3.0
21,810
var TemplateLibraryTemplateView = require( 'elementor-templates/views/template/base' ), TemplateLibraryTemplateLocalView; TemplateLibraryTemplateLocalView = TemplateLibraryTemplateView.extend( { template: '#tmpl-elementor-template-library-template-local', ui: function() { return _.extend( TemplateLibraryTemplate...
pojome/elementor
assets/dev/js/editor/components/template-library/views/template/local.js
JavaScript
gpl-3.0
1,432
import { loadTranslations } from "/imports/plugins/core/core/server/startup/i18n"; // import ar from "./ar.json"; // import bg from "./bg.json"; // import de from "./de.json"; // import el from "./el.json"; import en from "./en.json"; // import es from "./es.json"; // import fr from "./fr.json"; // import he from "./h...
anthonybrown/reaction
imports/plugins/included/product-variant/server/i18n/index.js
JavaScript
gpl-3.0
1,012
/* YUI 3.8.0 (build 5744) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add("lang/datatype-date-format_es-AR",function(e){e.Intl.add("datatype-date-format","es-AR",{a:["dom","lun","mar","mi\u00e9","jue","vie","s\u00e1b"],A:["domingo","lunes","marte...
relipse/cworklog
public_html/js/yui/3.8.0/build/datatype-date-format/lang/datatype-date-format_es-AR.js
JavaScript
gpl-3.0
673
/* * /MathJax/localization/it/MathML.js * * Copyright (c) 2009-2015 The MathJax Consortium * * 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/license...
KWZwickau/KREDA-Sphere
Library/MathJax/2.5.0/localization/it/MathML.js
JavaScript
agpl-3.0
2,362
// moment.js locale configuration // locale : malayalam (ml) // author : Floyd Pink : https://github.com/floydpink (function( factory ) { if (typeof define === 'function' && define.amd) { define( ['moment'], factory ); // AMD } else { if (typeof exports === 'object') { module.export...
hannesk001/SPHERE-Framework
Library/Moment.Js/2.8.4/locale/ml.js
JavaScript
agpl-3.0
3,352
/*! jQuery UI - v1.10.3 - 2014-01-05 * http://jqueryui.com * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ jQuery(function(t){t.datepicker.regional.it={closeText:"Chiudi",prevText:"&#x3C;Prec",nextText:"Succ&#x3E;",currentText:"Oggi",monthNames:["Gennaio","Febbraio","Marzo","Aprile","Maggio"...
Mono46/MyBox
lib/jquery-ui-1.10.3/development-bundle/ui/minified/i18n/jquery.ui.datepicker-it.min.js
JavaScript
unlicense
825
/*! * UI development toolkit for HTML5 (OpenUI5) * (c) Copyright 2009-2016 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ sap.ui.define([], function() { "use strict"; /** * Provide methods for sap.m.routing.Targets in sync mode * @private * @exper...
SuicidePreventionSquad/SeniorProject
resources/sap/m/routing/sync/Targets-dbg.js
JavaScript
apache-2.0
1,236
define("dijit/form/_Spinner", ["dojo", "dijit", "text!dijit/form/templates/Spinner.html", "dijit/form/ValidationTextBox"], function(dojo, dijit) { dojo.declare( "dijit.form._Spinner", dijit.form.RangeBoundTextBox, { // summary: // Mixin for validation widgets with a spinner. // description: // This class ...
sulistionoadi/belajar-springmvc-dojo
training-web/src/main/webapp/js/dojotoolkit/dijit/form/_Spinner.js
JavaScript
apache-2.0
4,979
/* * Copyright (c) 2015 Juniper Networks, Inc. All rights reserved. */ define([ 'underscore', 'contrail-view', 'contrail-list-model' ], function (_, ContrailView, ContrailListModel) { var vRouterCfgListView = ContrailView.extend({ el: $(contentContainer), render: function () { ...
vishnuvv/contrail-web-controller
webroot/config/infra/vrouters/ui/js/views/vRouterCfgListView.js
JavaScript
apache-2.0
1,819
goog.provide('ol.source.TileDebug'); goog.require('ol.Tile'); goog.require('ol.TileState'); goog.require('ol.dom'); goog.require('ol.size'); goog.require('ol.source.Tile'); /** * @constructor * @extends {ol.Tile} * @param {ol.TileCoord} tileCoord Tile coordinate. * @param {ol.Size} tileSize Tile size. * @param ...
itayod/ol3
src/ol/source/tiledebugsource.js
JavaScript
bsd-2-clause
3,038
/* * Copyright (C) 2008 Apple 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: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
guorendong/iridium-browser-ubuntu
third_party/WebKit/Source/devtools/front_end/profiler/CPUProfileView.js
JavaScript
bsd-3-clause
26,618
'use strict' const inherits = require('util').inherits const HookedWalletEthTxSubprovider = require('./hooked-wallet-ethtx.js') module.exports = WalletSubprovider inherits(WalletSubprovider, HookedWalletEthTxSubprovider) function WalletSubprovider (wallet, opts) { opts.getAccounts = function (cb) { cb(null, [...
DigixGlobal/truffle-lightwallet-provider
node_modules/web3-provider-engine/subproviders/wallet.js
JavaScript
bsd-3-clause
584
/* Language: Less Author: Max Mikhailov <seven.phases.max@gmail.com> Category: css */ function(hljs) { var IDENT_RE = '[\\w-]+'; // yes, Less identifiers may begin with a digit var INTERP_IDENT_RE = '(' + IDENT_RE + '|@{' + IDENT_RE + '})'; /* Generic Modes */ var RULES = [], VALUE = []; // forward ...
tenbits/highlight.js
src/languages/less.js
JavaScript
bsd-3-clause
4,761
/** * uri validator * * @link http://formvalidation.io/validators/uri/ * @author https://twitter.com/formvalidation * @copyright (c) 2013 - 2015 Nguyen Huu Phuoc * @license http://formvalidation.io/license/ */ (function($) { FormValidation.I18n = $.extend(true, FormValidation.I18n || {}, { ...
dereksheppard/kcdev
src/js/scripts/form-validator/src/js/validator/uri.js
JavaScript
mit
5,424
/* * Manages the control palette loading and displaying */ +function ($) { "use strict"; var Base = $.oc.foundation.base, BaseProto = Base.prototype var ControlPalette = function() { Base.call(this) this.controlPaletteMarkup = null this.popoverMarkup = null this.cont...
LukeTowers/oc-queencityhack2k17-site
plugins/rainlab/builder/formwidgets/formbuilder/assets/js/formbuilder.controlpalette.js
JavaScript
mit
8,398
/************************************************************* * * MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Main.js * * Copyright (c) 2009-2016 The MathJax Consortium * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with t...
masterfish2015/my_project
半导体物理/js/mathjax/unpacked/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Main.js
JavaScript
mit
1,298
import config from './config/environment' import Ember from 'ember' import loadInitializers from 'ember-load-initializers' import Resolver from './resolver' const {Application} = Ember let App Ember.MODEL_FACTORY_INJECTIONS = true App = Application.extend({ modulePrefix: config.modulePrefix, podModulePrefix: con...
ciena-frost/ember-frost-object-browser
tests/dummy/app/app.js
JavaScript
mit
419
run_spec(__dirname, null, ["typescript"]); run_spec(__dirname, { trailingComma: "all" }, ["typescript"]); run_spec(__dirname, { trailingComma: "es5" }, ["typescript"]);
despairblue/prettier
tests/trailing_comma/jsfmt.spec.js
JavaScript
mit
169
var qs = require('querystring'); var url = require('url'); var Entities = require('html-entities').AllHtmlEntities; var FORMATS = require('./formats'); var VIDEO_URL = 'https://www.youtube.com/watch?v='; /** * Parses a string representation of amount of milliseconds. * * @param {String} time * @retu...
aingc/FunkBot
node_modules/ytdl-core/lib/util.js
JavaScript
mit
9,704
module.exports={title:"Google Earth",slug:"googleearth",svg:'<svg role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title>Google Earth icon</title><path d="M12 0c-1.326 0-2.597.22-3.787.613 4.94-1.243 8.575 1.72 11.096 5.606 1.725 2.695 2.813 2.83 4.207 2.412A11.956 11.956 0 0012 0zM7.658 2.156c-1.644....
cdnjs/cdnjs
ajax/libs/simple-icons/4.16.0/googleearth.min.js
JavaScript
mit
913
require("should"); var PurchaseRequest = require('../../data-util/purchasing/purchase-request-data-util'); var helper = require("../../helper"); var validate = require("dl-models").validator.purchasing.purchaseRequest; var PurchaseRequestManager = require("../../../src/managers/purchasing/purchase-request-manager"); v...
AndreaZain/dl-module
test/purchasing/purchase-request/post.js
JavaScript
mit
1,636
/**! Qoopido.demand 5.1.1 | https://github.com/dlueth/qoopido.demand | (c) 2018 Dirk Lueth */ !function(d){"use strict";provide(["/demand/function/iterate"],function(e){function t(e){var t,n,r=e.match(c);r&&(t=function(e){var t,n=d.getItem(e);if(n&&(t=n.match(s)))return Array.prototype.slice.call(t,1)}((n=r[1],"["+a+"]...
jonobr1/cdnjs
ajax/libs/qoopido.demand/5.1.1/cache/states.js
JavaScript
mit
693
/** * Copyright 2012 Google Inc. 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 required by applic...
NeuralSpaz/acmamap
www/CanvasLayerOptions.js
JavaScript
gpl-2.0
2,031
tinyMCE.addI18n('ko.campsiteattachment',{ editor_button: "File Attachment", select_to_link: "You need to select some text before creating a link to a file" });
ahilles107/Newscoop
newscoop/js/tinymce/plugins/campsiteattachment/langs/ko.js
JavaScript
gpl-3.0
168
import { delegate } from 'rails-ujs'; function handleDeleteStatus(event) { const [data] = event.detail; const element = document.querySelector(`[data-id="${data.id}"]`); if (element) { element.parentNode.removeChild(element); } } [].forEach.call(document.querySelectorAll('.trash-button'), (content) => { ...
blackle/mastodon
app/javascript/packs/admin.js
JavaScript
agpl-3.0
1,793
YUI.add('ac-geocode-mock', function (Y) { var MockYQLRequest = function (query, config) { this._callback = config.on.success; }; MockYQLRequest.prototype.send = function () { var result = { "query":{ "count":1, "created":"2014-02-14T19:47:14Z", ...
co-ment/comt
src/cm/media/js/lib/yui/yui3-3.15.0/src/autocomplete/docs/assets/ac-geocode-mock.js
JavaScript
agpl-3.0
3,624
var filename = "#empty#"; var content = "#empty#"; for each (field in formdata.fields) { if (field.name == "file" && field.isFile) { filename = field.filename; content = field.content; } } model.filename = filename; model.content = content;
nguyentienlong/community-edition
projects/qa-share/testdata/formdata/formdata.post.js
JavaScript
lgpl-3.0
266
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * The join function is intentionally generic. * It does not require that its this value be an Array object * * @path ch15/15.4/15.4.4/15.4.4.5/S15.4.4.5_A2_T4.js * @description O...
popravich/typescript
tests/Fidelity/test262/suite/ch15/15.4/15.4.4/15.4.4.5/S15.4.4.5_A2_T4.js
JavaScript
apache-2.0
3,228
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * parseInt may interpret only a leading portion of the string as * a number value; it ignores any characters that cannot be interpreted as part * of the notation of an decimal lite...
popravich/typescript
tests/Fidelity/test262/suite/ch15/15.1/15.1.2/15.1.2.2/S15.1.2.2_A8.js
JavaScript
apache-2.0
2,366
/* * (c) Copyright 2015 Hewlett-Packard Development Company, L.P. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
BiznetGIO/horizon
openstack_dashboard/static/app/core/openstack-service-api/glance.service.spec.js
JavaScript
apache-2.0
10,343
// This file was procedurally generated from the following sources: // - src/async-generators/yield-promise-reject-next-for-await-of-sync-iterator.case // - src/async-generators/default/async-expression.template /*--- description: yield Promise.reject(value) in for-await-of is treated as throw value (Unnamed async gene...
sebastienros/jint
Jint.Tests.Test262/test/language/expressions/async-generator/yield-promise-reject-next-for-await-of-sync-iterator.js
JavaScript
bsd-2-clause
1,366
var searchData= [ ['call_5factive',['CALL_ACTIVE',['../client__channel_8c.html#a6ca2e6dbf0562417ab7c66e8907a56b1a38c567ba414b95843eea67ead22156b9',1,'client_channel.c']]], ['call_5fcancelled',['CALL_CANCELLED',['../client__channel_8c.html#a6ca2e6dbf0562417ab7c66e8907a56b1a64c64130e25c5cd2d884b8c16093a89d',1,'client...
fichter/grpc
doc/ref/core.internal/html/search/enumvalues_2.js
JavaScript
bsd-3-clause
2,547
import { Observable } from 'rx'; // add rx methods to express export default function() { return function expressExtensions(req, res, next) { // express flash will overwrite render with one that will // dump flash messages to locals on every call to render // Use this when that behavior is not wanted ...
FreeCodeCampQuito/FreeCodeCamp
server/middlewares/express-extensions.js
JavaScript
bsd-3-clause
653
/* ***** BEGIN LICENSE BLOCK ***** * Distributed under the BSD license: * * Copyright (c) 2010, Ajax.org B.V. * 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 so...
ektx/ace
lib/ace/mode/c9search_highlight_rules.js
JavaScript
bsd-3-clause
7,506
/** * Backbone localStorage Adapter * Version 1.1.0 * * https://github.com/jeromegn/Backbone.localStorage */ (function (root, factory) { if (typeof define === "function" && define.amd) { // AMD. Register as an anonymous module. define(["underscore","backbone"], function(_, Backbone) { // Use...
shridharsahil/libraryweb-site
www/sites/all/libraries/backbone/examples/backbone.localStorage.js
JavaScript
bsd-3-clause
5,702
var nwmatcher = require("nwmatcher"); function addNwmatcher(document) { if (!document._nwmatcher) { document._nwmatcher = nwmatcher({ document: document }); } return document._nwmatcher; } exports.applyQuerySelector = function(doc, dom) { doc.querySelector = function(selector) { return addNwmatcher(th...
adamvert/flickrtxt
node_modules/jsdom/lib/jsdom/selectors/index.js
JavaScript
mit
1,064
(function ($) { AjaxSolr.CalendarWidget = AjaxSolr.AbstractFacetWidget.extend({ afterRequest: function () { var self = this; $(this.target).datepicker('destroy').datepicker({ dateFormat: 'yy-mm-dd', defaultDate: new Date(1987, 2, 1), maxDate: $.datepicker.parseDate('yy-mm-dd', this.manager....
zireael007/ISI-Turystycznie
webInterface/widgets/CalendarWidget.js
JavaScript
mit
1,024
/*! * migrate - Migration * Copyright (c) 2010 TJ Holowaychuk <tj@vision-media.ca> * MIT Licensed */ /** * Expose `Migration`. */ module.exports = Migration; function Migration(title, up, down) { this.title = title; this.up = up; this.down = down; }
kevingomes17/minutes-of-meeting
node_modules/mongoose-migrate/lib/migration.js
JavaScript
mit
265
var utils = require('../utils'); var prism = new (require('../prism')); class CodeOutput { constructor() { this.container = utils.strToEl( '<div class="code-output">' + '<pre><code></code></pre>' + '</div>' + ''); this._codeEl = this.container.querySelector('code'); } async setSv...
bobbigmac/svgomg
src/js/page/ui/code-output.js
JavaScript
mit
484
var five = require("../lib/johnny-five.js"); var board = new five.Board(); board.on("ready", function() { var motors = new five.Motors([ { controller: "EVS_EV3", pin: "BAM1" }, { controller: "EVS_EV3", pin: "BBM1" }, ]); this.wait(2000, function() { motors.rev(); this.wait(2000, function() { ...
andreihod/monitor_temperatura_arduino
node_modules/johnny-five/eg/motors-EVS_EV3.js
JavaScript
mit
374
var Iconv = require("iconv").Iconv, app = require("./app"), Configurable = require("./configurable"); var iconv = new Iconv("UTF-8", "ASCII//TRANSLIT//IGNORE"); var wsReplacement = "-"; var overrides = {}; function getWhitespaceReplacement() { // For future improvements return "-"; } var Namer = function...
asantamarian/jingo
lib/namer.js
JavaScript
mit
1,725
import { wrap as aesKw } from '../runtime/aeskw.js'; import * as ECDH from '../runtime/ecdhes.js'; import { encrypt as pbes2Kw } from '../runtime/pbes2kw.js'; import { encrypt as rsaEs } from '../runtime/rsaes.js'; import { encode as base64url } from '../runtime/base64url.js'; import generateCek, { bitLength as cekLeng...
cdnjs/cdnjs
ajax/libs/jose/4.2.0/lib/encrypt_key_management.js
JavaScript
mit
3,366
/*! * froala_editor v2.8.5 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2018 Froala Labs */ (function (factory) { if (typeof define === 'function' && define.amd) { // AMD. Register as an anonymous module. define(['jquery'], factory)...
felideo/SianiMVC
public/froala/js/languages/hr.js
JavaScript
gpl-2.0
11,079
(function( $ ) { $.fn.hasScrollBar = function() { return this.get(0).scrollHeight > this.height(); }; $.fn.lionbars_reload = function() { $(this).find('.lb-v-scrollbar').remove(); height=$(this).height(); width=$(this).width(); $(this).removeAttr('style').remo...
part-time-project/italians
wp-content/themes/theflavour-parent/framework/static/javascript/jquery.lionbars.0.3.js
JavaScript
gpl-2.0
18,084