code
stringlengths
2
1.05M
repo_name
stringlengths
5
114
path
stringlengths
4
991
language
stringclasses
1 value
license
stringclasses
15 values
size
int32
2
1.05M
var archiver = require('archiver'), async = require('async'), escape = require('handlebars').Utils.escapeExpression, fs = require('fs'), glob = require('glob'), path = require('path'), yui = require('yui'); var config = require('../config'), hbs = require('./hbs')...
igorstefurak/pushcourse
lib/layouts.js
JavaScript
bsd-3-clause
7,374
var searchData= [ ['native_5fhandle_5ftype_928',['native_handle_type',['../classpmem_1_1obj_1_1condition__variable.html#a5d6f2b49f88a03db9e9f3a2b49f6bf6d',1,'pmem::obj::condition_variable::native_handle_type()'],['../classpmem_1_1obj_1_1mutex.html#a746ecab28758da55f241b0f7b76ced36',1,'pmem::obj::mutex::native_handle_...
pbalcer/pbalcer.github.io
content/libpmemobj-cpp/master/doxygen/search/typedefs_7.js
JavaScript
bsd-3-clause
592
import Immutable from "immutable"; import { remote } from "electron"; import { from } from "rxjs/observable/from"; import * as nativeWindow from "../../src/notebook/native-window"; import { makeAppRecord, makeDocumentRecord } from "@nteract/types/core/records"; const path = require("path"); describe("tildify", () =...
captainsafia/nteract
applications/desktop/__tests__/renderer/native-window-spec.js
JavaScript
bsd-3-clause
3,118
/** * Copyright (c) 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. * * @provides...
chicoxyzzy/fbjs
packages/fbjs/src/core/TouchEventUtils.js
JavaScript
bsd-3-clause
1,271
/** * Global adapter config * * The `adapters` configuration object lets you create different global "saved settings" * that you can mix and match in your models. The `default` option indicates which * "saved setting" should be used if a model doesn't have an adapter specified. * * Keep in mind that options you...
gpedro/joy
config/adapters.js
JavaScript
bsd-3-clause
1,463
(function ($) { 'use strict'; var dw, dh, rw, rh, lx, ly; var defaults = { // The text to display within the notice box while loading the zoom image. loadingNotice: 'Loading image', // The text to display within the notice box if an error occurs when loading the zoom image. ...
201528013359030/basic_pai
views/js/easyzoom.js
JavaScript
bsd-3-clause
8,461
'use strict'; describe('onDisconnect', function() { var fireproof; beforeEach(function() { fireproof = new Fireproof(firebase); }); describe('#set', function() { it('promises to set the ref to the specified value on disconnect', function() { return fireproof .child('odSet') .on...
airdrummingfool/fireproof
test/spec/lib/on-disconnect.js
JavaScript
isc
2,784
var Orbit = requireModule("orbit"); // Globalize loader properties for use by other Orbit packages Orbit.__define__ = define; Orbit.__requireModule__ = requireModule; Orbit.__require__ = require; Orbit.__requirejs__ = requirejs; window.Orbit = Orbit;
opsb/orbit-firebase
build-support/globalize-orbit.js
JavaScript
mit
253
/////////////////////////////////////////////////////////////////////////// // Copyright © Esri. 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.ap...
tmcgee/cmv-wab-widgets
wab/2.15/jimu.js/BaseWidget.js
JavaScript
mit
12,218
vti_encoding:SR|utf8-nl vti_timelastmodified:TR|09 Feb 2017 03:34:58 -0000 vti_extenderversion:SR|6.0.2.8161 vti_backlinkinfo:VX|astro_site/mobile.html astro_site/mobile2.html
akarys92/astro_site
vendor/scrollreveal/_vti_cnf/scrollreveal.min.js
JavaScript
mit
176
/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */ (function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;return e.define("select2/i18n/et",[],function(){return{inputTooLong:function(e){var t=e.input.length-e.maximum,n="Sisesta "+t+" täht";r...
jpaoletti/java-presentation-manager-2
modules/jpm2-web-bs5/src/main/webapp/static/js/locale/select2/et.js
JavaScript
mit
775
'use strict'; module.exports = function copyto(grunt) { // Load task grunt.loadNpmTasks('grunt-copy-to'); // Options return { build: { files: [{ cwd: 'src', src: ['**/*.json'], dest: '.dist/' },{ cwd: 'src...
samsel/Gander
tasks/copyto.js
JavaScript
mit
436
/* define(['iframeResizerContent'], function() { describe('ParentIFrame methods: ', function() { var id = 'parentIFrame'; var log = LOG; it('Get ID of iFrame is same as iFrame', function() { mockInitFromParent(id,log); expect(window.parentIFrame.getId()).toBe(id); closeChild(); }); it('call met...
tlan16/sushi-co
web/protected/controls/iframeResizer/doc/spec/parentIFrameMethodsSpec.js
JavaScript
mit
1,024
define({ "showArcgisBasemaps": "Incluir mapas base do Portal", "add": "Clique para adicionar um novo mapa base", "edit": "Propriedades", "titlePH": "Título do mapa base", "thumbnailHint": "Clique na imagem para atualizar", "urlPH": "URL da Camada", "addlayer": "Adicionar mapa base", "warning": "Entrada ...
tmcgee/cmv-wab-widgets
wab/2.15/widgets/BasemapGallery/setting/nls/pt-br/strings.js
JavaScript
mit
1,850
import expect from 'expect'; import isFunction from '../../../src/validation/validators/isFunction'; describe('validators', () => { describe('toFunction', () => { it('should return infoObject if requested', () => { expect(isFunction(null, true)) .toEqual({ t...
vgno/roc-config
test/validation/validators/isFunction.js
JavaScript
mit
1,209
/*! * NETEYE Activity Indicator jQuery Plugin * * Copyright (c) 2010 NETEYE GmbH * Licensed under the MIT license * * Author: Felix Gnass [fgnass at neteye dot de] * Version: 1.0.0 */ /** * Plugin that renders a customisable activity indicator (spinner) using SVG or VML. */ (function($) { $.fn.activity = ...
MSylvia/feeds
Website/js/jquery.activity-indicator-1.0.1.js
JavaScript
mit
6,993
/* jshint browser:true */ /* global define, google */ define(['underscore', 'backbone', 'oro/translator'], function(_, Backbone, __) { 'use strict'; var $ = Backbone.$; /** * @export oro/mapservice/googlemaps * @class oro.mapservice.Googlemaps * @extends Backbone.View */ return...
minhnguyen-balance/oro_platform
web/bundles/oroaddress/js/mapservice/googlemaps.js
JavaScript
mit
5,828
/* global Dubtrack */ const modal = require('../utils/modal.js'); var isActiveTab = true; window.onfocus = function () { isActiveTab = true; }; window.onblur = function () { isActiveTab = false; }; var onDenyDismiss = function() { modal.create({ title: 'Desktop Notifications', content: "You have dism...
coryshaw1/DubPlus
src/js/utils/notify.js
JavaScript
mit
2,082
pageflow.VideoPlayer.bufferUnderrunWaiting = function(player) { var originalPause = player.pause; player.pause = function() { cancelWaiting(); originalPause.apply(this, arguments); }; function pauseAndPreloadOnUnderrun() { if (bufferUnderrun()) { pauseAndPreload(); } } function buff...
tf/pageflow-dependabot-test
app/assets/javascripts/pageflow/video_player/buffer_underrun_waiting.js
JavaScript
mit
1,736
var inspect = require("util").inspect, fs = require("fs"); module.exports = function(grunt) { var task = grunt.task; var file = grunt.file; var log = grunt.log; var verbose = grunt.verbose; var fail = grunt.fail; var option = grunt.option; var config = grunt.config; var template = grunt.template;...
ebberly/johnny-five-tutorial
node_modules/johnny-five/Gruntfile.js
JavaScript
mit
5,627
define([ 'extensions/collections/collection' ], function (Collection) { return Collection.extend({ initialize: function (models, options) { if(options !== undefined){ options.flattenEverything = false; } return Collection.prototype.initialize.apply(this, arguments); }, parse:...
alphagov/spotlight
app/common/collections/grouped_timeseries.js
JavaScript
mit
2,654
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator 0.11.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. ...
colemickens/autorest
AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/BodyComplex/autoRestComplexTestService.js
JavaScript
mit
1,993
import { isUndefined, isObject } from '../utils/isType'; $(() => { // url for the api we will be querying let url = ''; // key/value lookup for standards const descriptions = {}; // cleaned up structure of the API results const minTree = {}; // keeps track of how many waiting api-requests still need to ...
DigitalCurationCentre/roadmap
app/javascript/src/answers/rdaMetadata.js
JavaScript
mit
16,053
module.exports = require('./consistent_hashing');
shawnvan/coffee-server-demo
node_modules/consistent-hashing/lib/index.js
JavaScript
mit
50
var express = require('express'); var path = require('path'); var logger = require('morgan'); var cookieParser = require('cookie-parser'); var bodyParser = require('body-parser'); var index = require('./routes/index'); var users = require('./routes/users'); var app = express(); // view engine setup app.set('views', ...
lagerjs/lager
demo/express-app/app.js
JavaScript
mit
1,216
/* ========================================================== * autocomplete.js * Deal with the Typeahead.js/Bloodhound library to build the search field autocomplete * * Author: Yann, [email protected] * Date: 2014-05-01 14:23:18 * * Copyright 2014 Federal Chancellery of Switzerland * Licensed under MIT ...
eonum/drg-search
vendor/assets/javascripts/styleguide.js
JavaScript
mit
24,803
Xktta.I18n = function(locale, translations){ this.translations[locale] = translations || {}; return this; } Xktta.afterInit.push(function(){ var __this__ = Xktta; eval.call(__this__.window, "var I18n;"); I18n = { locale: 'en', translate: function(path, params){ var translation = path; v...
juniormesquitadandao/xikitita
app/models/i18n.js
JavaScript
mit
3,738
import Ember from 'ember'; export default Ember.Handlebars.template(function anonymous(Handlebars,depth0,helpers,partials,data) { this.compilerInfo = [4,'>= 1.0.0']; helpers = this.merge(helpers, Ember.Handlebars.helpers); data = data || {}; var buffer = '', stack1, helperMissing=helpers.helperMissing, escapeExpressi...
alicht/buddybuddy
public/tmp/tree_merger-tmp_dest_dir-KPkHvOkI.tmp/buddybuddy/templates/users/index.js
JavaScript
mit
1,413
exports.defaultType = require('ot-json0').type; exports.map = {}; exports.register = function(type) { if (type.name) exports.map[type.name] = type; if (type.uri) exports.map[type.uri] = type; }; exports.register(exports.defaultType);
share/livedb
lib/types.js
JavaScript
mit
242
/** * Copyright 2012-2017, Plotly, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ 'use strict'; module.exports = require('../src/traces/heatmapgl');
chethanjjj/gentelella
vendors/plotlyjs/lib/heatmapgl.js
JavaScript
mit
261
require('can-view-import/can-view-import_test');
tracer99/canjs
view/import/import_test.js
JavaScript
mit
49
import COMMAND from '../../../session/command'; import FileListWrapper from './file-list-wrapper'; import nativeMethods from '../native-methods'; import transport from '../../transport'; import settings from '../../settings'; import * as Browser from '../../utils/browser'; import * as HiddenInfo from './hidden-info'; i...
georgiy-abbasov/testcafe-hammerhead
src/client/sandbox/upload/info-manager.js
JavaScript
mit
7,469
/* Get Programming with JavaScript * Listing 12.04 * Guess the random number */ var getGuesser = function () { var secret = Math.floor(Math.random() * 10 + 1); return function (userNumber) { if (userNumber === secret) { return "Well done!"; } else { return "Unlucky, try again."; } }; ...
jrlarsen/GetProgramming
Ch12_Conditions/listing12.04.js
JavaScript
mit
829
(function () { var totalFactory =   function ($resource)  { return $resource("/api/priv/total/"); }; controlCajaApp.factory('totalFactory', ['$resource', totalFactory]); }());
froilanq/CursoAngularJS
10-Configuracion-Cache/client/totalFactory.js
JavaScript
mit
198
/* ** delay_deny ** ** This plugin delays all pre-DATA 'deny' results until the recipients are sent ** and all post-DATA commands until all hook_data_post plugins have run. ** This allows relays and authenticated users to bypass pre-DATA rejections. */ exports.hook_deny = function (next, connection, params) { /* p...
Synchro/Haraka
plugins/delay_deny.js
JavaScript
mit
5,266
module.exports = { entry: './client/index.js', output: { path: __dirname + '/public', filename: 'bundle.js' }, module: { loaders: [{ test: /\.jsx?$/, loader: 'babel-loader', exclude: /node_modules/ }] }, resolve: { extensions: ['.js', '.jsx'] }, devtool: 'source-map...
kelly-keating/kelly-keating.github.io
webpack.config.js
JavaScript
mit
324
define( 'test2', ['test3', 'test4'], function( obj, str ){ return 'test2 is done, deps : [ ' + obj.name + str + ' ]'; });
eleanors/EaseJS
core/test/assets/test2.js
JavaScript
mit
122
import React, { PureComponent } from 'react'; class ProgressBar extends PureComponent { render() { const { progress, className, percent = 100 } = this.props; return ( <div className={className}> {progress && <div className="progress"> <div className="progress-bar progress...
Apozhidaev/terminal.mobi
src/components/ProgressBar/index.js
JavaScript
mit
517
var DEFAULT_HANDEDNESS = require('../constants').DEFAULT_HANDEDNESS; var AXIS_LABELS = ['x', 'y', 'z', 'w']; var NUM_HANDS = 2; // Number of hands in a pair. Should always be 2. /** * Called on controller component `.play` handlers. * Check if controller matches parameters and inject tracked-controls component. * ...
RSpace/aframe
src/utils/tracked-controls.js
JavaScript
mit
6,862
module.exports={A:{A:{"2":"K D G E A B iB"},B:{"1":"AB","2":"2 C","132":"d J M H I"},C:{"1":"0 1 3 4 7 8 9 r s t u v w x y z IB BB CB DB GB","2":"2 fB FB F N K D G E A B C d J M H I O P Q R S T U V W X Y Z ZB YB","132":"6 a b c e f g h i j k l m n o L q"},D:{"1":"GB SB OB MB lB NB KB AB PB QB","2":"2 6 F N K D G E A B ...
quentinbernet/quentinbernet.github.io
node_modules/caniuse-lite/data/features/path2d.js
JavaScript
mit
984
const prettyBytes = require("pretty-bytes"); (prettyBytes(123): string); // $ExpectError prettyBytes("123"); // $ExpectError prettyBytes(true);
mwalkerwells/flow-typed
definitions/npm/pretty-bytes_v4.x.x/test_pretty-bytes_v4.x.x.js
JavaScript
mit
147
import React from 'react' import UiValidate from '../../../../components/forms/validation/UiValidate' import MaskedInput from '../../../../components/forms/inputs/MaskedInput' import UiDatepicker from '../../../../components/forms/inputs/UiDatepicker' const validationOptions = { // Rules for form validation rule...
backpackcoder/world-in-flames
src/app/routes/forms/components/layouts/ReviewForm.js
JavaScript
mit
5,184
jQuery(document).ready(function($) { var $start_date = $("#podlove_season_start_date") $start_date.datepicker({ dateFormat: $.datepicker.ISO_8601, changeMonth: true, changeYear: true }); $start_date.closest("div").on("click", function() { $start_date.datepicker("show"); }); });
katrinleinweber/podlove-publisher
lib/modules/seasons/js/admin.js
JavaScript
mit
311
/*jshint laxbreak:true */ var assert = require('assert'); var metadata = require('./index'); describe('metadata.cmd()', function() { it('returns command without exif data', function() { var cmd = 'identify -format "name=\nsize=%[size]\nformat=%m\n' + 'colorspace=%[colorspace]\nheight=%[height]\nwidt...
Turistforeningen/node-im-metadata
test.js
JavaScript
mit
4,447
module.exports = { "sha": "6d1fd68d5d273f6c46113f5843731131ad226d64", "name": "numenta/experiments", "target_url": "https://travis-ci.org/numenta/experiments", "description": "NuPIC Status: Travis CI build has not started.", "state": "pending", "branches": [], "commit": { "sha": "6d1...
brev/nupic.tools
test/github_payloads/status_nupic_pending.js
JavaScript
mit
10,928
describe('Layer', function() { // Currently not testing subdomain-based templatedmapprovider, since // the implementation should be kind of undefined. it('layer can be created and destroyed', function() { var p = new MM.TemplatedLayer( 'http://{S}.tile.openstreetmap.org/{Z}/{X}/{Y}.png',...
nickchikore/Product-Developer-Test
node_modules/modestmaps/test/spec/Layer.js
JavaScript
mit
1,490
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); require('./chunk-14c82365.js'); require('./helpers.js'); require('./chunk-cd0dcc1d.js'); require('./chunk-d7fda995.js'); var __chunk_5 = require('./chunk-13e039f5.js'); var __chunk_19 = require('./chunk-3b860353.js'); // var script = { na...
cdnjs/cdnjs
ajax/libs/buefy/0.8.20/cjs/message.js
JavaScript
mit
2,270
/// <reference path="./subject.ts" /> var Rx; (function (Rx) { })(Rx || (Rx = {})); (function () { var s = new Rx.AnonymousSubject(); }); //# sourceMappingURL=anonymoussubject.js.map
cyberpuffin/remanddel
node_modules/lite-server/node_modules/browser-sync/node_modules/rx/ts/core/subjects/anonymoussubject.js
JavaScript
mit
186
/** * @license Highcharts JS v8.2.2 (2020-10-22) * * Marker clusters module for Highcharts * * (c) 2010-2019 Wojciech Chmiel * * License: www.highcharts.com/license */ 'use strict'; (function (factory) { if (typeof module === 'object' && module.exports) { factory['default'] = factory; module...
cdnjs/cdnjs
ajax/libs/highcharts/8.2.2/modules/marker-clusters.src.js
JavaScript
mit
81,899
/** * WonderPlugin Carousel Skin Options * Copyright 2014 Magic Hills Pty Ltd - http://www.wonderplugin.com */ var WONDERPLUGIN_CAROUSEL_SKIN_OPTIONS = { classic : { width:240, height:180, skinsfoldername:"", arrowhideonmouseleave:1000, itembottomshadowimagetop:100, navhei...
master777/tap
wp-content/plugins/wonderplugin-carousel/engine/wonderplugincarouselskins.js
JavaScript
gpl-2.0
28,810
(function ($, Drupal) { 'use strict'; Drupal.behaviors.chosen = { attach: function (context, settings) { settings.chosen = settings.chosen || drupalSettings.chosen; // Prepare selector and add unwantend selectors. var selector = settings.chosen.selector; var options; // Function t...
SeeyaSia/www
web/modules/contrib/chosen/js/chosen.js
JavaScript
gpl-2.0
2,592
/** * Desarrollado por: Judelvis Antonio Rivas Perdomo * Fecha Creacion: 09 de Noviembre de 2014 */ $(function() { $('#tabs').tabs(); listar_pendientes(); listar_procesando(); listar_procesado(); listar_rechazo_cliente(); listar_rechazo_admin(); }); function listar_pendientes(){ var datos = "estatus=0&panel...
judelvis/jpa-garte
system/js/panel/principal.js
JavaScript
gpl-2.0
2,919
define(['multi-download'], function (multiDownload) { 'use strict'; return { download: function (items) { multiDownload(items.map(function (item) { return item.url; })); } }; });
gsnerf/MediaBrowser
MediaBrowser.WebDashboard/dashboard-ui/bower_components/emby-webcomponents/filedownloader.js
JavaScript
gpl-2.0
251
"use strict"; (function main_default_js(g) { // - g is the global object. // - User callbacks called without 'this', global only if callee is non-strict. // - The names of function expressions are not required, but are used in stack // traces. We name them where useful to show up (fname:#line always shows). mp.msg =...
torque/mpv
player/javascript/defaults.js
JavaScript
gpl-2.0
18,251
'use strict'; require('../common'); const assert = require('assert'); const Buffer = require('buffer').Buffer; function FakeBuffer() { } Object.setPrototypeOf(FakeBuffer, Buffer); Object.setPrototypeOf(FakeBuffer.prototype, Buffer.prototype); const fb = new FakeBuffer(); assert.throws(function() { Buffer.from(fb)...
domino-team/openwrt-cc
package/gli-pub/openwrt-node-packages-master/node/node-v6.9.1/test/parallel/test-buffer-fakes.js
JavaScript
gpl-2.0
994
/* html:after { display: none; content: '--small: (max-width: 500px) | --medium: (max-width: 1100px) | --large: (min-width: 1100px)'; } */ (function(window){ /*jshint eqnull:true */ 'use strict'; var docElem = document.documentElement; var create = function(){ if(!window.lazySizes || window.lazySizes.getCu...
georges5/bcangular
wp-content/plugins/wp-lazysizes-master/js/lazysizes/plugins/custommedia/ls.custommedia.js
JavaScript
gpl-2.0
2,072
/* Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'list', 'pt-br', { bulletedlist: 'Lista sem números', numberedlist: 'Lista numerada' } );
SeeyaSia/www
web/libraries/ckeditor/plugins/list/lang/pt-br.js
JavaScript
gpl-2.0
262
(function(){ // module factory: start var moduleFactory = function($) { // module body: start var module = this; $.require() .script("moment") .done(function() { var exports = function() { $.moment.lang('ar-ma', { months : "يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".sp...
BetterBetterBetter/B3App
media/foundry/5.0/scripts/moment/ar-ma.js
JavaScript
gpl-2.0
2,156
/** * Playlist Loader */ import Event from '../events'; import EventHandler from '../event-handler'; import {ErrorTypes, ErrorDetails} from '../errors'; import URLHelper from '../utils/url'; import AttrList from '../utils/attr-list'; //import {logger} from '../utils/logger'; class PlaylistLoader extends EventHandler...
ChubbyArse/Emby
MediaBrowser.WebDashboard/dashboard-ui/bower_components/hls.js/src/loader/playlist-loader.js
JavaScript
gpl-2.0
10,482
(function(){ var PushBullet = {}; PushBullet.init = function(clientId, redirectUri){ this.clientId = clientId; this.redirectUri = redirectUri; this.accessToken = localStorage.pushBulletAccessToken; }; //tests if we are authorized PushBullet.checkAuth = function(callback){ ...
Belthazor2008/googulator
public_html/lib/pushbullet.js
JavaScript
gpl-3.0
3,181
var gr__expj_8h = [ [ "gr_expj", "gr__expj_8h.html#a7d0144e5774158b746199c1da4d5b5ac", null ] ];
aviralchandra/Sandhi
build/gr36/docs/doxygen/html/gr__expj_8h.js
JavaScript
gpl-3.0
100
/* ************************************************************************ Copyright: License: Authors: ************************************************************************ */ qx.Theme.define("${Namespace}.theme.modern.Decoration", { decorations : { } });
09zwcbupt/undergrad_thesis
ext/poxdesk/qx/component/skeleton/contribution/trunk/source/class/custom/theme/modern/Decoration.tmpl.js
JavaScript
gpl-3.0
280
exports.play = 'afplay'; exports.raise_volume = 'osascript -e "set Volume 10"'; // unmutes as well
prey/prey-node-client
lib/agent/actions/alarm/mac.js
JavaScript
gpl-3.0
98
var UniteSettingsRev = new function(){ var arrControls = {}; var colorPicker; var t=this; this.getSettingsObject = function(formID){ var obj = new Object(); var form = document.getElementById(formID); var name,value,type,flagUpdate; //enabling all form items connected to mx var len = form.elem...
fwahyudi17/ofiskita
system/configa/revslider/js/settings.js
JavaScript
gpl-3.0
9,972
define([ 'database', 'backbone' ], function (DB, Backbone) { var MessageModel = Backbone.Model.extend({ defaults: { messageId: 0, sender: '', title: '', content: '', hasAttachment: false, sendDate: new Date(), url: '...
sanyaade-teachings/mobile-messaging
www/js/models/message.js
JavaScript
agpl-3.0
4,522
/* * Copyright (c) 2018. Wise Wild Web * * This File is part of Caipi and under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License * Full license at https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode * * @author : Nathanael Braun * @contact : [email protected]...
nathb2b/mamasound.fr
App/config.js
JavaScript
agpl-3.0
1,324
(function () { var ns = $.namespace('pskl.service'); ns.SelectedColorsService = function () { this.reset(); }; ns.SelectedColorsService.prototype.init = function () { $.subscribe(Events.PRIMARY_COLOR_SELECTED, this.onPrimaryColorUpdate_.bind(this)); $.subscribe(Events.SECONDARY_COLOR_SELECTED, thi...
RichardMarks/piskel
src/js/service/SelectedColorsService.js
JavaScript
agpl-3.0
1,011
v.setCursorPosition(0,19); v.type('/'); v.type('/'); v.type('/'); v.type('/'); v.type("ok");
hlamer/kate
tests/data/indent/cppstyle/comment11/input.js
JavaScript
lgpl-2.1
93
function main() { // Widget instantiation metadata... var widget = { id: "UploaderPlusAdmin", name: "SoftwareLoop.UploaderPlusAdmin", }; model.widgets = [widget]; } main();
sprouvez/uploader-plus
surf/src/main/amp/config/alfresco/web-extension/site-webscripts/uploader-plus/uploader-plus-admin.get.js
JavaScript
lgpl-3.0
204
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: > The initial value of Boolean.prototype is the Boolean prototype object es5id: 15.6.3.1_A1 description: Checking Boolean.prototype property ---*/ //CHECK#1 if (typeo...
m0ppers/arangodb
3rdParty/V8/V8-5.0.71.39/test/test262/data/test/built-ins/Boolean/prototype/S15.6.3.1_A1.js
JavaScript
apache-2.0
694
/* * JBoss, Home of Professional Open Source. * Copyright 2014 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * 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 Licen...
emmettu/pnc
ui/app/common/restclient/services/Build.js
JavaScript
apache-2.0
2,590
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
tequalsme/nifi
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-policy-management.js
JavaScript
apache-2.0
55,421
var estabelecimentoViewCtrl = angular.module('estabelecimentoViewCtrl', ['ngResource']); estabelecimentoViewCtrl.controller('estabelecimentoViewCtrl', ['$scope', '$http', function ($scope, $http) { $scope.estabelecimentos = []; $scope.carregarPontosCriticos = function(){ $http.get(...
ScHaFeR/AndePUCRS-WebService
andePuc/target/andePuc-1.0/js/controllers/estabelecimentoViewController.js
JavaScript
apache-2.0
497
//// [typeOfThisInStaticMembers13.ts] class C { static readonly c: "foo" = "foo" static bar = class Inner { static [this.c] = 123; [this.c] = 123; } } //// [typeOfThisInStaticMembers13.js] var C = /** @class */ (function () { function C() { } var _a, _b, _c, _d; _a...
Microsoft/TypeScript
tests/baselines/reference/typeOfThisInStaticMembers13(target=es5).js
JavaScript
apache-2.0
1,288
// create table view var tableview = Titanium.UI.createTableView(); Ti.App.fireEvent("show_indicator"); // create table view event listener tableview.addEventListener('click', function(e) { // event data var index = e.index; var section = e.section; var row = e.row; var rowdata = e.rowData; Titanium.UI.createAl...
arnaudsj/titanium_mobile
demos/SmokeTest/Resources/examples/yql_flickr.js
JavaScript
apache-2.0
1,970
'use strict'; let angular = require('angular'); module.exports = angular.module('spinnaker.serverGroup.configure.gce.instanceArchetypeCtrl', []) .controller('gceInstanceArchetypeCtrl', function($scope, instanceTypeService, modalWizardService) { var wizard = modalWizardService.getWizard(); $scope.$watch('c...
zanthrash/deck-1
app/scripts/modules/google/serverGroup/configure/wizard/ServerGroupInstanceArchetype.controller.js
JavaScript
apache-2.0
911
/// 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.4/15.4.4/15.4.4.14/15.4.4.14-9-b-i-6.js
JavaScript
apache-2.0
2,446
(function () { "use strict"; var fs = require("fs"), fse = require("fs-extra"), path = require("path"), readline = require("readline"); var _domainManager; function init(domainManager) { _domainManager = domainManager; if (!_domainManager.hasDomain("importNode"...
hyundukkim/WATT
libs/brackets-server/embedded-ext/importfile/node/ImportDomain.js
JavaScript
apache-2.0
5,812
var __extends = this.__extends || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } __.prototype = b.prototype; d.prototype = new __(); }; var S18 = (function (_super) { __extends(S18, _super); function S18() { _supe...
hippich/typescript
tests/baselines/reference/recursiveBaseCheck6.js
JavaScript
apache-2.0
400
'use strict'; var TodoServiceFactory = function(database){ return { // Return all todos in the database getTodos: function(){ return database('Todo').select().orderBy('createdAt', 'desc'); }, // Return a single todo by Id getTodo: function(id){ var p = Promise.defer(); database...
raffaeu/Syncho
src/node_modules/kontainer-di/examples/express/services/todo_service.js
JavaScript
apache-2.0
2,050
/* * Copyright 2015-present Boundless Spatial Inc., http://boundlessgeo.com * 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 ...
boundlessgeo/sdk
src/components/map/zoom-control.js
JavaScript
apache-2.0
2,469
/// 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.4/15.4.4/15.4.4.14/15.4.4.14-3-21.js
JavaScript
apache-2.0
2,528
define(function(require, exports, module) { var Morris=require("morris"); require("jquery.bootstrap-datetimepicker"); var Validator = require('bootstrap.validator'); var autoSubmitCondition=require("./autoSubmitCondition.js"); require('common/validator-rules').inject(Validator); var now = new Da...
18826252059/im
web/bundles/topxiaadmin/js/controller/analysis/classroom-income.js
JavaScript
apache-2.0
1,998
/// 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.6/15.2.3.6-4-45.js
JavaScript
apache-2.0
2,309
'use strict'; /** * @license * * 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 wri...
googlefonts/TachyFont
run_time/src/gae_server/www/js/tachyfont/work_queue.js
JavaScript
apache-2.0
5,429
'use strict'; var debug = require('debug')('ali-oss:sts'); var crypto = require('crypto'); var querystring = require('querystring'); var copy = require('copy-to'); var AgentKeepalive = require('agentkeepalive'); var is = require('is-type-of'); var ms = require('humanize-ms'); var urllib = require('urllib'); var globa...
WebDeltaSync/WebR2sync_plus
node_modules/ali-oss/lib/sts.js
JavaScript
apache-2.0
4,037
// Copyright 2014 Samsung Electronics Co., Ltd. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable la...
tilmannOSG/jerryscript
tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.05/15.08.02.05-010.js
JavaScript
apache-2.0
653
/// 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.10/15.10.4/15.10.4.1-2.js
JavaScript
apache-2.0
2,097
/** * Copyright 2013-2015, 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 oncall+r...
Aweary/relay
src/tools/__tests__/transformRelayQueryPayload-test.js
JavaScript
bsd-3-clause
4,969
import _forEachInstanceProperty from "@babel/runtime-corejs3/core-js/instance/for-each"; import _Object$getOwnPropertyDescriptor from "@babel/runtime-corejs3/core-js/object/get-own-property-descriptor"; import _filterInstanceProperty from "@babel/runtime-corejs3/core-js/instance/filter"; import _concatInstanceProperty ...
ChromeDevTools/devtools-frontend
node_modules/@babel/runtime-corejs3/helpers/esm/objectSpread.js
JavaScript
bsd-3-clause
1,330
// d. ii. If k + 2 is greater than or equal to strLen, throw a URIError exception. decodeURI('%1');
daejunpark/jsaf
tests/bug_detector_tests/urierror1.js
JavaScript
bsd-3-clause
100
/* * Copyright (c) 2008-present The Open Source Geospatial Foundation * * Published under the BSD license. * See https://github.com/geoext/geoext2/blob/master/license.txt for the full * text of the license. */ /** api: example[layeropacityslider] * Layer Opacity Slider * -------------------- * Use a slide...
chrismayer/geoext2
examples/layeropacityslider/layeropacityslider.js
JavaScript
bsd-3-clause
3,626
define([ "dojo/_base/declare", "dojo/_base/sniff", "dojo/dom-class", "dojo/dom-construct", "dojo/dom-style", "dijit/_Contained", "dijit/_Container", "dijit/_WidgetBase", "./IconMenuItem" ], function(declare, has, domClass, domConstruct, domStyle, Contained, Container, WidgetBase){ // module: // dojox/mobile...
kitsonk/expo
src/dojox/mobile/IconMenu.js
JavaScript
bsd-3-clause
3,265
//2 var __result1 = 2; // for SAFE var __expect1 = 2; // for SAFE
darkrsw/safe
tests/typing_tests/TAJS_micro/test2.js
JavaScript
bsd-3-clause
68
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. /** @const {number} */ const DEFAULT_BLACK_CURSOR_COLOR = 0; /** * @fileoverview * 'settings-manage-a11y-page' is the subpage with the accessibility *...
ric2b/Vivaldi-browser
chromium/chrome/browser/resources/settings/chromeos/os_a11y_page/manage_a11y_page.js
JavaScript
bsd-3-clause
23,701
var Checker = require('../../lib/checker'); var assert = require('assert'); var operators = require('../../lib/utils').unaryOperators; describe('rules/require-space-after-prefix-unary-operators', function() { var checker; beforeEach(function() { checker = new Checker(); checker.registerDefaultR...
appium/node-jscs
test/rules/require-space-after-prefix-unary-operators.js
JavaScript
mit
2,695
asynctest( 'browser.tinymce.ui.content.LinkTargetsTest', [ 'ephox.mcagar.api.LegacyUnit', 'ephox.agar.api.Pipeline', 'tinymce.ui.content.LinkTargets', 'tinymce.core.util.Arr', 'global!document' ], function (LegacyUnit, Pipeline, LinkTargets, Arr, document) { var success = arguments[argum...
pvskand/addictionRemoval
tinymce/src/ui/src/test/js/browser/content/LinkTargetsTest.js
JavaScript
mit
4,977
foo || bar; (x => x) || bar; (function a(x) { return x; }) || 2; 0 || function () { return alpha; }; a && b && c; a && b && c; a || b || c; a || b || c; a || b && c; a && (b || c); (a || b) && c; a && b || c;
kaicataldo/babel
packages/babel-generator/test/fixtures/types/LogicalExpression/output.js
JavaScript
mit
215
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: The "in" token can not be used as identifier es5id: 7.6.1.1_A1.13 description: Checking if execution of "in=1" fails negative: SyntaxError ---*/ in = 1;
PiotrDabkowski/Js2Py
tests/test_cases/language/keywords/S7.6.1.1_A1.13.js
JavaScript
mit
299
/*! * jQuery JavaScript Library v1.8.3 -ajax,-ajax/jsonp,-ajax/script,-ajax/xhr,-effects,-dimensions * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2012 jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * Date: Thu Feb 07...
eric-seekas/jquery-builder
dist/1.8.3/jquery-ajax-dimensions-effects.js
JavaScript
mit
217,443