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
//>>built define({"days-standAlone-short":"dom seg ter qua qui sex s\u00e1b".split(" "),"field-weekday":"Dia da semana","field-wed-relative+0":"esta quarta-feira","field-wed-relative+1":"pr\u00f3xima quarta-feira","dateFormatItem-GyMMMEd":"E, d 'de' MMM 'de' y G","dateFormatItem-MMMEd":"E, d 'de' MMM","field-tue-relati...
ycabon/presentations
2020-devsummit/arcgis-js-api-road-ahead/js-api/dojo/cldr/nls/pt-pt/islamic.js
JavaScript
mit
4,028
class A { static get #x() {} get #x() {} }
kaicataldo/babel
packages/babel-parser/test/fixtures/experimental/class-private-names-duplicated/static-get-instance-get/input.js
JavaScript
mit
46
const fs = require('fs'); const fse = require('fs-extra'); const path = require('path'); module.exports = function (params) { const unpackFile = path.join( params.appOutDir, '*NAMECASENOSPACE*.app/Contents/Resources/app.asar.unpacked' ); fse.removeSync(unpackFile); };
cmgustavo/copay
app-template/afterPack-template.js
JavaScript
mit
283
var WINDOW = { ms_Width: 0, ms_Height: 0, ms_Callbacks: { 70: "WINDOW.toggleFullScreen()" // Toggle fullscreen }, initialize: function initialize() { this.updateSize(); // Create callbacks from keyboard $(document).keydown(function(inEvent) { WINDOW.callAction(inEvent.keyCode); }) ; $(window).resiz...
Kike-Ramirez/canoaGame
public/js/window.js
JavaScript
mit
1,521
// Converted from: ../../examples/obj/torus/Torus.obj // vertices: 576 // faces: 576 // materials: 1 // // Generated with OBJ -> Three.js converter // http://github.com/alteredq/three.js/blob/master/utils/exporters/convert_obj_three.py var model = { "version" : 1, "materials": [ { "DbgCo...
pushmatrix/three.js
examples/obj/torus/Torus_bin.js
JavaScript
mit
464
/*! * Module dependencies. */ 'use strict'; const MongooseError = require('./'); /** * Schema validator error * * @param {Object} properties * @inherits MongooseError * @api private */ function ValidatorError(properties) { let msg = properties.message; if (!msg) { msg = MongooseError.messages.genera...
aguerny/LacquerTracker
node_modules/mongoose/lib/error/validator.js
JavaScript
mit
1,874
/* @Name: Horizontal multilevel menu @Author: Muffin Group @WWW: www.muffingroup.com @Version: 1.5.2 */ (function($){ $.fn.extend({ muffingroup_menu: function(options) { var menu = $(this); var defaults = { delay : 100, hoverClass : 'hover', arrows : true, animation...
dwivivagoal/KuizMilioner
themes/standar/assets/js/mfn.menu.js
JavaScript
mit
1,868
import Moment from 'moment'; import { functions, has, includes } from 'lodash'; export default function(dateString, context) { const date = Moment(dateString); if (has(context.hash, 'type') && includes(functions(date), context.hash.type)) { return date[context.hash.type](); } return date.cale...
pierredup/CSBill
src/CoreBundle/Resources/public/js/extend/handlebars/helpers/date.js
JavaScript
mit
330
Clazz.declarePackage ("J.smiles"); Clazz.load (["java.util.Hashtable", "JU.BS", "J.smiles.VTemp"], "J.smiles.SmilesGenerator", ["JU.List", "$.SB", "J.smiles.InvalidSmilesException", "$.SmilesAromatic", "$.SmilesAtom", "$.SmilesBond", "$.SmilesParser", "$.SmilesSearch", "J.util.BSUtil", "$.Elements", "$.JmolMolecule", ...
cheminfo/Visualizer-grunt
src/lib/jsmol/j2s/J/smiles/SmilesGenerator.js
JavaScript
mit
20,543
define([ // '../../../../src/utils/event', // '../../../../src/utils/objectCreate' ], function( // Event, // objectCreate ){ var objectCreate = hello.utils.objectCreate; var utils = hello.utils; // // Events // describe('utils / event', function(){ var hello, arbitary_data, event_name; beforeEach(function(){ ...
HynesIP/hello.js
tests/specs/unit/utils/events.js
JavaScript
mit
2,636
import collapsibleFactory from '../common/collapsible'; import collapsibleGroupFactory from '../common/collapsible-group'; const PLUGIN_KEY = 'menu'; /* * Manage the behaviour of a menu * @param {jQuery} $menu */ class Menu { constructor($menu) { this.$menu = $menu; this.$body = $('body'); ...
sacr3dc0w/cornerstone
assets/js/theme/global/menu.js
JavaScript
mit
2,199
'use strict'; var users = require('../../app/controllers/users'), speakers = require('../../app/controllers/speakers'); module.exports = function(app) { // Speakers Routes app.route('/speakers') .get(speakers.list) .post(users.requiresLogin, speakers.create); app.route('/speakers/:speakerId') .get(speak...
IsabellaAlves/conference-api
app/routes/speakers.server.routes.js
JavaScript
mit
573
import * as React from 'react'; import ApiPage from 'docs/src/modules/components/ApiPage'; import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations'; import jsonPageContent from './avatar.json'; export default function Page(props) { const { descriptions, pageContent } = props; return <ApiP...
oliviertassinari/material-ui
docs/pages/material/api/avatar.js
JavaScript
mit
633
var webpack = require('webpack'); var path = require('path'); module.exports = { entry: './src/main.ts', output: { filename: './bundle.js' }, resolve: { root: [ path.join(__dirname, 'src') ], extensions: ['', '.ts', '.js'] }, module: { loaders: [ { test: /\.ts$/, loader: 'ts-loader'...
lesliezjm/Angular2
hello-world/webpack.config.js
JavaScript
mit
335
(function($) { $.Redactor.prototype.source = function() { return { init: function() { var button = this.button.addFirst('html', 'HTML'); this.button.setIcon(button, '<i class="re-icon-html"></i>'); this.button.addCallback(button, this.source.toggle); var style = { 'width': '100%', '...
nathanhnew/NLNF
static/redactor/plugins/source.js
JavaScript
mit
5,162
(function () { 'use strict'; angular .module('crowdsource.config', ['angular-loading-bar']) .config(config); config.$inject = ['$httpProvider', '$locationProvider', '$mdThemingProvider', 'cfpLoadingBarProvider']; /** * @name config * @desc Enable HTML5 routing */ fu...
xasos/crowdsource-platform
static/js/crowdsource.config.js
JavaScript
mit
2,999
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: > If the eval function is called with some argument, then use a first argument es5id: 15.1.2.1_A1.2_T1 description: eval("x = 1", "x = 2"), x equal 1, not 2 ---*/ //C...
PiotrDabkowski/Js2Py
tests/test_cases/built-ins/eval/S15.1.2.1_A1.2_T1.js
JavaScript
mit
440
module.exports = [ require('./ngdoc'), require('./name'), require('./area'), require('./module'), require('./id'), require('./restrict'), require('./eventType'), require('./example'), require('./element'), require('./fullName'), require('./priority'), require('./title'), require('./parent'), ...
uistyleguide/uistyleguide.github.io
node_modules/dgeni-packages/ngdoc/tag-defs/index.js
JavaScript
mit
370
Astro.createValidator({ name: 'array', validate: _.isArray, events: { validationerror: function(e) { var fieldName = e.data.field; e.data.message = 'The "' + fieldName + '" field\'s value has to be an array'; } } });
ribbedcrown/meteor-astronomy-validators
lib/validators/type/array.js
JavaScript
mit
254
/* * * * (c) 2010-2020 Torstein Honsi * * License: www.highcharts.com/license * * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!! * * */ 'use strict'; import H from './Globals.js'; /** * @interface Highcharts.PointEventsOptionsObject */ /** * Fires when the point is selected either...
generalludd/expenses
js/highcharts/es-modules/parts/Interaction.js
JavaScript
mit
47,404
/* * ##### Sasson - advanced drupal theming. ##### * * SITENAME scripts. * */ (function($) { // DUPLICATE AND UNCOMMENT // Drupal.behaviors.behaviorName = { // attach: function(context) { // // Do some magic... // } // }; })(jQuery);
farald/pingvin
sites/all/themes/sasson/SUBTHEME/scripts/script.js
JavaScript
gpl-2.0
252
/* * jQuery The Final Countdown plugin v1.0.0 beta * http://github.com/hilios/jquery.countdown * * Copyright (c) 2011 Edson Hilios * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software wi...
medisend/wp-production
wp-content/themes/NativeChurch/plugins/countdown/js/jquery.countdown.min.js
JavaScript
gpl-2.0
4,054
var findPosts; (function($){ findPosts = { open : function(af_name, af_val) { var st = document.documentElement.scrollTop || $(document).scrollTop(); if ( af_name && af_val ) { $('#affected').attr('name', af_name).val(af_val); } $('#find-posts').show().draggable({ handle: '#find-post...
shaonsikdar/Wishmagnet
wp-admin/js/media.dev.js
JavaScript
gpl-2.0
2,287
/***** Ajax login script ******/ var $ = jQuery; $(document).ready(function(){ $('#king-form>.btn-login').click(function(){ $('#king-form p.status').show().text(ajax_user_object.loadingmessage); $.ajax({ url: ajax_user_object.ajaxurl, data: $('#king-form').serialize(), type: 'POST', dataType: ...
pivotlearning/wpsite
wp-content/themes/linstar/assets/js/king.user.js
JavaScript
gpl-2.0
1,502
/** @constructor */ function RecordSet(f) { /** @function */ this.write = f; } /* [ { symbols: [ { doc: { tags: [] }, returns: [], type: "", properties: [], isa: "CONSTRUCTOR", desc: "", ...
sdondley/timeline
similie_timeline/tools/jsdoc/examples/data/properties_methods1.js
JavaScript
gpl-2.0
1,435
var namespace_a_e_mmailer = [ [ "AEMMailer", "d5/d12/class_a_e_mmailer_1_1_a_e_m_mailer.html", "d5/d12/class_a_e_mmailer_1_1_a_e_m_mailer" ], [ "Error", "dc/d02/class_a_e_mmailer_1_1_error.html", null ], [ "MissingEmailAccountsException", "d9/d2a/class_a_e_mmailer_1_1_missing_email_accounts_exception.html",...
gratefulfrog/SPI
RPI/Python/serialApp/DOC/Dox/html/d0/d90/namespace_a_e_mmailer.js
JavaScript
gpl-3.0
426
var EA_keys = {8:"Retour arriere",9:"Tabulation",12:"Milieu (pave numerique)",13:"Entrer",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"Verr Maj",27:"Esc",32:"Espace",33:"Page up",34:"Page down",35:"End",36:"Begin",37:"Fleche gauche",38:"Fleche haut",39:"Fleche droite",40:"Fleche bas",44:"Impr ecran",45:"Inser",46:"Supp...
4n6g4/gtsdm
malra/fo/main/lib/editarea/edit_area/keyboard.js
JavaScript
gpl-3.0
4,425
/* YUI 3.9.0pr1 (build 202) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */ YUI.add('pjax-content', function (Y, NAME) { /** `Y.Router` extension that provides the content fetching and handling needed to implement the standard pjax (HTMP5 pushState + Ajax) functionality. @module pjax @submodule pjax-cont...
rochestb/Adventurly
node_modules/grunt-contrib-yuidoc/node_modules/yuidocjs/node_modules/yui/pjax-content/pjax-content.js
JavaScript
gpl-3.0
8,651
'use strict'; var async = require('async'); var validator = require('validator'); var _ = require('underscore'); var db = require('../database'); var topics = require('../topics'); var user = require('../user'); var privileges = require('../privileges'); var plugins = require('../plugins'); var cache = require('./cac...
sweetpi/NodeBB
src/posts/edit.js
JavaScript
gpl-3.0
3,791
/* * Copyright (c) 2011-2013 Lp digital system * * This file is part of BackBee. * * BackBee is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any l...
backbee/BbCoreJs
src/tb/apps/content/main.js
JavaScript
gpl-3.0
4,642
// Copyright (C) 2015 Leslie Zhai <xiang.zhai@i-soft.com.cn> .pragma library var v2 = false; var isAway = false; var isRobot = false; var uin = ""; var sid = ""; var skey = ""; var ticket = ""; var deviceId = ""; var loginUserName = ""; var loginNickName = ""; var initSyncKey; var syncKey; var initContactList; var wxV...
oxmcvusd/qwx
qml/global.js
JavaScript
gpl-3.0
550
import register from '../../utils/register' import routeHelperConfig from './route-helper.provider' import routeHelper from './route-helper.factory' let registerApp = new register('blocks.router', [ 'ngRoute' ]) registerApp .provider('routeHelperConfig', routeHelperConfig) .factory('routeHelper', routeHelper)
remytms/Distribution
plugin/website/Resources/modules/blocks/router/router.module.js
JavaScript
gpl-3.0
318
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ (function(Mozilla){ 'use strict'; function onLoad() { var browserHelpContent = document.getElemen...
sgarrity/bedrock
media/js/firefox/all/all-downloads-unified-init.js
JavaScript
mpl-2.0
1,683
import Route from '@ember/routing/route'; export default Route.extend({ beforeModel: function(transition) { if (transition.targetName === this.routeName) { transition.abort(); return this.replaceWith('vault.cluster.settings.mount-secret-backend'); } }, });
quixoten/vault
ui/app/routes/vault/cluster/settings/index.js
JavaScript
mpl-2.0
282
define(['jquery', 'uri', 'base/ui', 'masonry', 'base/login', 'analytics', 'localized', 'jquery-ui.autocomplete'], function ($, URI, UI, Masonry, webmakerAuth, analytics, localized) { var query = $('.search-poster').attr('data-query'), queryKeys = URI.parse(window.location.href).queryKey, $searchPoster...
mozilla/webmaker.org
public/js/pages/search.js
JavaScript
mpl-2.0
5,188
SchedulePolicyViewController = BaseViewController.extend( { el: '#schedule_policy_view_container', over_time_policy_api: null, initialize: function() { this._super( 'initialize' ); this.edit_view_tpl = 'SchedulePolicyEditView.html'; this.permission_id = 'schedule_policy'; this.viewId = 'SchedulePolicy'; t...
maestrano/timetrex
interface/html5/views/policy/schedule_policy/SchedulePolicyViewController.js
JavaScript
agpl-3.0
11,599
Clazz.declarePackage ("org.jmol.render"); Clazz.load (["org.jmol.render.ShapeRenderer", "org.jmol.util.Point3f", "$.Point3i", "$.Vector3f"], "org.jmol.render.FontLineShapeRenderer", ["java.lang.Float", "org.jmol.constant.EnumAxesMode", "org.jmol.util.TextFormat"], function () { c$ = Clazz.decorateAsClass (function () {...
ksripathi/edx-demo-course
static/jsmol/j2s/org/jmol/render/FontLineShapeRenderer.js
JavaScript
agpl-3.0
7,166
import validateComponentConfig from '../validation/validateComponentConfig'; import normalizeComponentConfig from '../helper/normalizeComponentConfig'; import createFactory from '../helper/createFactory'; import printError from '../helper/printError'; export default function adaptDefineComponentFunction({ createCo...
mcjazzyfunky/js-surface
boxroom/archive/js-surface-2018-05-05-important/src/main/adaption/adaptDefineComponentFunction.js
JavaScript
lgpl-3.0
1,404
import dt from 'datatables.net-bs'; import 'datatables.net-bs/css/dataTables.bootstrap.css'; import $ from 'jquery'; import { d3format, fixDataTableBodyHeight } from '../javascripts/modules/utils'; import './pivot_table.css'; dt(window, $); module.exports = function (slice, payload) { const container = slice.conta...
alanmcruickshank/superset-dev
superset/assets/visualizations/pivot_table.js
JavaScript
apache-2.0
2,278
// ---------------------------------------------------------------------------- // To provide some additional features for OpenLayers, portions of the OpenLayers support // have been copied from 'mapstraction.js' [www.mapstraction.com] which includes the // copyright included below. // --------------------------------...
aldridged/gtg-gts-bhp
war/track/js/maps/OpenLayers.js
JavaScript
apache-2.0
68,376
var FormFileUpload = function () { return { //main function to initiate the module init: function () { // Initialize the jQuery File Upload widget: $('#fileupload').fileupload({ disableImageResize: false, autoUpload: false, ...
zeickan/Infected-Engine
static/admin/pages/scripts/form-fileupload.js
JavaScript
apache-2.0
2,203
/** enyo.ScrollStrategy is a helper kind which implements a default scrolling strategy for an <a href="#enyo.Scroller">enyo.Scroller</a>. enyo.ScrollStrategy is not typically created in application code. */ enyo.kind({ name: "enyo.ScrollStrategy", noDom: true, events: { onScroll: "doScroll" }, published: { ...
pierotofy/glassomium
src/server/WebRoot/apps/Youtube/enyo/source/touch/ScrollStrategy.js
JavaScript
apache-2.0
4,637
/* jshint unused: false */ /* global beforeEach, afterEach */ /* global describe, it, expect, jasmine */ /* global runs, spyOn, waitsFor, waits */ /* global window, eb, loadFixtures, document */ /* global $, _, d3*/ /* global describeInterface, describeIntegeration*/ /* global PreviewAdapter*/ // /////////////////////...
hkernbach/arangodb
js/apps/system/_admin/aardvark/APP/test/specs/graphViewer/specAdapter/previewAdapterSpec.js
JavaScript
apache-2.0
8,929
/* @licstart The following is the entire license notice for the JavaScript code in this file. Copyright (C) 1997-2019 by Dimitri van Heesch This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundati...
marwac-9/myframework
code/exts/glfw/docs/html/menudata.js
JavaScript
apache-2.0
1,065
/* * @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 require...
mdittmer/foam
js/foam/core/dao/ErrorDAO.js
JavaScript
apache-2.0
917
import Ember from 'ember'; import Sortable from 'ui/mixins/sortable'; export default Ember.Controller.extend(Sortable, { sortBy: 'name', sorts: { state: ['stateSort','name','id'], name: ['name','id'], ip: ['displayIp','name','id'], image: ['imageUuid','id'], }, });
ubiquityhosting/rancher_ui
app/virtualmachines/index/controller.js
JavaScript
apache-2.0
305
/* * Copyright 2013 The Polymer Authors. All rights reserved. * Use of this source code is goverened by a BSD-style * license that can be found in the LICENSE file. */ suite('HTMLShadowElement', function() { var unwrap = ShadowDOMPolyfill.unwrap; test('olderShadowRoot', function() { var host = document.c...
passiweinberger/passiweinberger.github.io
webgl-globe/polymer-globe/polymer/polymer-all/ShadowDOM/test/js/HTMLShadowElement.js
JavaScript
apache-2.0
1,096
function infostart_rate(ob_id, vote) { $.get("/bitrix/components/infostart/objects_new.list/ajax_rate.php", {ID:ob_id, TYPE:vote}, function(answer) { alert(answer); }); }
allustin/one-c-connectors
OldDemo/1c-transaction/Article/Глобальные транзакции в сервис-ориентированной архитектуре и... 1С_files/scripts.js
JavaScript
apache-2.0
200
/* Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ (function() { CKEDITOR.dialog.add( 'pastetext', function( editor ) { return { title : editor.lang.pasteText.title, minWidth : CKEDITOR.env.ie && CK...
taobataoma/saivi
cms/editor/ckeditor/_source/plugins/pastetext/dialogs/pastetext.js
JavaScript
apache-2.0
1,694
// Copyright (c) 2012 Ecma International. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- es5id: 15.2.3.13-2-5 description: Object.isExtensible returns true for all built-in objects (String) ---*/ var e = Object.isExtensible(String); assert.sameValue(e, true, 'e');
sebastienros/jint
Jint.Tests.Test262/test/built-ins/Object/isExtensible/15.2.3.13-2-5.js
JavaScript
bsd-2-clause
320
// Copyright (c) 2012 Ecma International. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- es5id: 15.2.3.12-3-8 description: Object.isFrozen returns false for all built-in objects (String) ---*/ var b = Object.isFrozen(String); assert.sameValue(b, false, 'b');
sebastienros/jint
Jint.Tests.Test262/test/built-ins/Object/isFrozen/15.2.3.12-3-8.js
JavaScript
bsd-2-clause
314
// Copyright (C) 2015 André Bargull. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- esid: sec-string.prototype.valueof description: > String.prototype.valueOf.length is 0. info: | String.prototype.valueOf ( ) 17 ECMAScript Standard Built-in Objects: Every b...
sebastienros/jint
Jint.Tests.Test262/test/built-ins/String/prototype/valueOf/length.js
JavaScript
bsd-2-clause
1,079
// Copyright (c) 2012 Ecma International. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- es5id: 15.2.3.6-4-542 description: > ES5 Attributes - property ([[Get]] is a Function, [[Set]] is a Function, [[Enumerable]] is true, [[Configurable]] is false) is un...
sebastienros/jint
Jint.Tests.Test262/test/built-ins/Object/defineProperty/15.2.3.6-4-542.js
JavaScript
bsd-2-clause
705
// Copyright (C) 2017 Mozilla Corporation. All rights reserved. // This code is governed by the license found in the LICENSE file. /*--- esid: sec-atomics.islockfree description: Testing descriptor property of Atomics.add includes: [propertyHelper.js] features: [Atomics] ---*/ verifyProperty(Atomics, 'add', { enume...
sebastienros/jint
Jint.Tests.Test262/test/built-ins/Atomics/isLockFree/descriptor.js
JavaScript
bsd-2-clause
378
/** * 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 directory. * * @provides...
htc2u/react-native
Libraries/Components/View/View.js
JavaScript
bsd-3-clause
20,196
function setupTest( target, event, dataToPaste, externalPassCondition ){ var logNode=document.getElementsByTagName('p')[0].firstChild; logNode.data=''; if( typeof target==='string' ){ if( target.indexOf('.')>-1 ){ // for example "myElementID.firstChild" var tmp=target.split('.'); target=document.getEl...
frivoal/presto-testo
core/standards/scripts/clipboard-events/tests/_lib.js
JavaScript
bsd-3-clause
3,277
var n = require('./nodejs'); n.a; n.b.c; exports.a2 = n.a; exports.b2 = n.b; exports.c2 = n.b.c;
sourcegraph/jsg
testdata/nodejs_require.js
JavaScript
bsd-3-clause
98
/** * 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 directory. * * @provides...
jeffchienzabinet/react-native
website/layout/AutodocsLayout.js
JavaScript
bsd-3-clause
16,538
// 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. /** @constructor */ function TaskManager() { } cr.addSingletonGetter(TaskManager); TaskManager.prototype = { /** * Handle window close. * @t...
leighpauls/k2cro4
chrome/browser/resources/task_manager/main.js
JavaScript
bsd-3-clause
22,270
//When change in default attribute: // Make code revision and check all values working with the default HTML attribute name 'gridindex' and or the variable `attribute` var navigationItem, attribute; var navigationActive = false; var gridindex = "1-2"; var backupGridindex = "1-2"; var lastGridindex_col = {}; var attrib...
ValorNaram/isl
templates/sitemap/_files/gridcontrol.js
JavaScript
mit
5,585
// @ts-check const { ESLintUtils } = require('@typescript-eslint/experimental-utils') const RuleTester = ESLintUtils.RuleTester const rule = require('../react-proper-lifecycle-methods') // ------------------------------------------------------------------------------ // Tests // -------------------------------------...
j-f1/forked-desktop
eslint-rules/tests/react-proper-lifecycle-methods.test.js
JavaScript
mit
13,201
angular.module('ui.bootstrap.alert', []) .controller('UibAlertController', ['$scope', '$attrs', '$timeout', function($scope, $attrs, $timeout) { $scope.closeable = !!$attrs.close; if (angular.isDefined($attrs.dismissOnTimeout)) { $timeout(function() { $scope.close(); }, parseInt($attrs.dismissOnTime...
tmcgee123/bootstrap
src/alert/alert.js
JavaScript
mit
1,768
/* * This file contains generic tests that are run against every rule. Early on, * we found some common rule patterns that would cause errors under certain * conditions. Instead of tracking them down individually, this file runs * the same tests on every defined rule to track down these patterns. * * When run in ...
sergeychernyshev/csslint
tests/all-rules.js
JavaScript
mit
2,325
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ "use strict"; const { SyncWaterfallHook } = require("tapable"); const Template = require("../Template"); class JsonpMainTemplatePlugin { apply(mainTemplate) { const needChunkOnDemandLoadingCode = chunk => { for (...
marchefk/marchefk.github.io
node_modules/webpack/lib/web/JsonpMainTemplatePlugin.js
JavaScript
mit
18,103
// from https://gist.github.com/mathewbyrne/1280286 slugify = function(text){ return text.toString().toLowerCase() .replace(/\s+/g, '-') // Replace spaces with - .replace(/[^\w\-]+/g, '') // Remove all non-word chars .replace(/\-\-+/g, '-') // Replace multiple - with single - ....
ejmr/tips
.doxie.render.toc.js
JavaScript
mit
647
define(function() { "use strict"; function RangeFilter(columnKey, isMinEnabled, minValue, isMaxEnabled, maxValue) { InputValidator.validateNotNull("columnKey", columnKey); InputValidator.validateNotNull("isMinEnabled", isMinEnabled); InputValidator.validateNotNull("minValue", minVal...
jmthompson2015/vizzini
game/starfightersquadrons/src/main/js/upgradestats/RangeFilter.js
JavaScript
mit
2,166
const debug = require('ghost-ignition').debug('api:canary:utils:serializers:input:authors'); const slugFilterOrder = require('./utils/slug-filter-order'); const utils = require('../../index'); function setDefaultOrder(frame) { if (!frame.options.order && frame.options.filter) { frame.options.autoOrder = sl...
e10/Ghost
core/server/api/canary/utils/serializers/input/authors.js
JavaScript
mit
804
(function() { 'use strict'; /* * This feature allows you to specify a grid over a portion or the entire chart area. * * @name grid */ d4.feature('grid', function(name) { var xAxis = d3.svg.axis(); var yAxis = d3.svg.axis(); return { accessors: { formatXAxis: function(xAxis)...
heavysixer/d4
src/features/grid.js
JavaScript
mit
1,718
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(d...
HipsterZipster/angular2-webpack-starter
node_modules/@angular/material/button-toggle/button-toggle.js
JavaScript
mit
20,521
var searchData= [ ['get_5fmodel_5fhandle',['GET_MODEL_HANDLE',['../serializer_8h.html#a887590f4b40f78bf359c8e56f03c56fe',1,'serializer.h']]] ];
fsautomata/azure-iot-sdks
c/doc/api_reference/search/defines_3.js
JavaScript
mit
146
'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/low-priority.js
JavaScript
mit
943
import { Mesh, OrthographicCamera, PerspectiveCamera, PlaneGeometry, Scene, ShaderMaterial, UniformsUtils, WebGLRenderTarget } from 'three'; import { BokehShader } from '../shaders/BokehShader2.js'; import { BokehDepthShader } from '../shaders/BokehShader2.js'; class CinematicCamera extends PerspectiveCamera ...
donmccurdy/three.js
examples/jsm/cameras/CinematicCamera.js
JavaScript
mit
6,106
import Social from './Social' export default Social
luisma1989/portfolio-react
src/components/Social/index.js
JavaScript
mit
53
/* Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'colorbutton', 'ja', { auto: '自動', bgColorTitle: '背景色', colors: { '000': 'Black', '800000': 'Maroon', '8B4513': 'Saddle B...
zweidner/hubzero-cms
core/plugins/editors/ckeditor/assets/plugins/colorbutton/lang/ja.js
JavaScript
mit
1,819
var parent = require('../../actual/array-buffer'); module.exports = parent;
zloirock/core-js
packages/core-js/features/array-buffer/index.js
JavaScript
mit
77
/*! * gumshoe v4.0.1 * A simple, framework-agnostic scrollspy script. * (c) 2019 Chris Ferdinandi * MIT License * http://github.com/cferdinandi/gumshoe */ (function (root, factory) { if ( typeof define === 'function' && define.amd ) { define([], (function () { return factory(root); })); } else if ( type...
jolantis/altair
assets/javascript/lib/plugins/gumshoe/gumshoe.js
JavaScript
mit
10,130
var Mocks = require("mocks"); var AssistantToTheTransportManager = require('core/transports/assistant_to_the_transport_manager').default; var Util = require('core/util').default; describe("AssistantToTheTransportManager", function() { var transport, transportClass; var manager; beforeEach(function() { jasmi...
pmaxit/DJANGO_IOT
node_modules/pusher-js/spec/javascripts/unit/core/transports/assistant_to_the_transport_manager_spec.js
JavaScript
mit
6,935
const React = require('react') module.exports = () => <div>test2</div>
flybayer/next.js
test/integration/auto-export/pages/commonjs2.js
JavaScript
mit
72
/*! * Waves v0.5.3 * http://fian.my.id/Waves * * Copyright 2014 Alfiana E. Sibuea and other contributors * Released under the MIT license * https://github.com/fians/Waves/blob/master/LICENSE */ ;(function(window) { 'use strict'; var Waves = Waves || {}; var $$ = document.querySelectorAll.bind...
keithklingen/materialize
js/waves.js
JavaScript
mit
8,319
/* * Copyright (c) 2013 - present Adobe Systems Incorporated. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * ...
kolipka/brackets
src/extensions/default/InlineTimingFunctionEditor/BezierCurveEditor.js
JavaScript
mit
23,765
uv.LineGraph = function (graphdef, config) { var self = this; uv.Graph.call(self, graphdef, config).setDefaults().init(); self.linegroups = {}; self.dataset = uv.util.getDataArray(self.graphdef); var linegroup, linepath, linefunc, idx, len = self.categories.length, domainData = self.labels; self.axes...
RobertoMalatesta/uvCharts
src/gfx/line.js
JavaScript
mit
7,531
var _ = require('lodash'), Promise = require('bluebird'), models = require('../../../../models'), utils = require('../../../../utils'), SubscribersImporter = require('./subscribers'), PostsImporter = require('./posts'), TagsImporter = require('./tags'), SettingsImporter = require('./settings...
leninhasda/Ghost
core/server/data/importer/importers/data/index.js
JavaScript
mit
3,372
var utils = require('../../../utils'); module.exports = function CodeType(config) { var self = { selector: '.field-type-code[for="' + config.fieldName + '"]', elements: { label: '.FormLabel', lineNumber: '.CodeMirror-linenumber', codeMirror: '.CodeMirror-container', }, commands: [{ assertUI: funct...
webteckie/keystone
test/e2e/adminUI/pages/fieldTypes/code.js
JavaScript
mit
1,358
// Run if you want to monitor unresolved promises (in properly working // application there should be no promises that are never resolved) 'use strict'; var max = Math.max , callable = require('es5-ext/lib/Object/valid-callable') , isCallable = require('es5-ext/lib/Object/is-callable') , toUint = r...
nateyang/grunt-build_js
tasks/libs/deferred/lib/monitor.js
JavaScript
mit
1,100
define( //begin v1.x content { "field-quarter-short-relative+0": "tento štvrťr.", "field-quarter-short-relative+1": "budúci štvrťr.", "dayPeriods-standAlone-abbr-noon": "pol.", "field-tue-relative+-1": "minulý utorok", "field-year": "rok", "dateFormatItem-yw": "w. 'týždeň' 'v' 'roku' y", "dayPeriods-format-abbr-...
cdnjs/cdnjs
ajax/libs/dojo/1.16.3/cldr/nls/sk/gregorian.js
JavaScript
mit
11,650
Clazz.declarePackage ("org.eclipse.osgi.framework.internal.core"); Clazz.load (["org.eclipse.osgi.framework.internal.core.BundleLoader"], "org.eclipse.osgi.framework.internal.core.SystemBundleLoader", null, function () { c$ = Clazz.decorateAsClass (function () { this.classLoader = null; Clazz.instantialize (this, argu...
01org/mayloon-portingtool
sources/net.sf.j2s.lib/j2slib/org/eclipse/osgi/framework/internal/core/SystemBundleLoader.js
JavaScript
epl-1.0
1,857
package test0657; public class X {} class A {}
echoes-tech/eclipse.jsdt.core
org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0657/X.js
JavaScript
epl-1.0
50
package test0438; import test0438_a.W; class D { }
echoes-tech/eclipse.jsdt.core
org.eclipse.wst.jsdt.core.tests.model/workspace/Converter/src/test0438/D.js
JavaScript
epl-1.0
57
public class X { void bar() { for (final int i; 0 < (i = 1); i = i + 1) { } } } //public class X { // public static void main(String[] args) { // final int i; // for ( ; ; i = 1) // break; // i = 1; // } //} //public class X { // final int blank; // { // while ((null == null || tru...
echoes-tech/eclipse.jsdt.core
org.eclipse.wst.jsdt.core.tests.model/workspace/Formatter/test333/A_out.js
JavaScript
epl-1.0
838
define([], function () { function processForgotPasswordResult(result) { if (result.Success) { var msg = Globalize.translate('MessagePasswordResetForUsers'); msg += '<br/>'; msg += '<br/>'; msg += result.UsersReset.join('<br/>'); Dashboard.ale...
solabc16/Emby
MediaBrowser.WebDashboard/dashboard-ui/scripts/forgotpasswordpin.js
JavaScript
gpl-2.0
1,328
/* Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'toolbar', 'en', { toolbarCollapse: 'Collapse Toolbar', toolbarExpand: 'Expand Toolbar', toolbarGroups: { document: 'Document', clipboard: 'Cli...
igor-borisov/valamis
learn-portlet/src/main/webapp/js2.0/vendor/ckeditor/plugins/toolbar/lang/en.js
JavaScript
gpl-3.0
566
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate...
chitranshi21/home_service_ionic
node_modules/ionic-native/dist/esm/plugins/devicemotion.js
JavaScript
gpl-3.0
2,774
(function () { // Get values from the substitution engine. // We can't just pull these from the document context // because this script is intended to be transcluded into // another document, and we want the GET values used to request it, // not the values for the including document // XXX these are unenc...
UK992/servo
tests/wpt/web-platform-tests/content-security-policy/support/checkReport.sub.js
JavaScript
mpl-2.0
5,724
/* * /MathJax/jax/output/HTML-CSS/fonts/STIX-Web/Size1/Regular/Main.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 * * ...
KWZwickau/KREDA-Sphere
Library/MathJax/2.5.0/jax/output/HTML-CSS/fonts/STIX-Web/Size1/Regular/Main.js
JavaScript
agpl-3.0
5,206
/** * Kendo UI v2018.1.221 (http://www.telerik.com/kendo-ui) * Copyright 2018 Telerik AD. All rights reserved. ...
Memba/Memba-Widgets
src/js/vendor/kendo/cultures/kendo.culture.lg-UG.js
JavaScript
agpl-3.0
6,561
var APIInstall = ServiceCaller.extend( { key_name: 'Install', className: 'APIInstall', getLicense: function() { return this.argumentsHandler( this.className, 'getLicense', arguments ); }, getRequirements: function() { return this.argumentsHandler( this.className, 'getRequirements', arguments ); }, ge...
maestrano/timetrex
interface/html5/services/install/APIInstall.js
JavaScript
agpl-3.0
2,152
(function () { var oLoginViewModel, oSettingsViewModel ; AfterLogicApi.addPluginHook('view-model-defined', function (sViewModelName, oViewModel) { if (oViewModel && ('CLoginViewModel' === sViewModelName)) { oLoginViewModel = oViewModel; } if (oViewMo...
jango2015/webmail-lite
data/plugins/two-factor-authentication/js/include.js
JavaScript
agpl-3.0
1,356
/* Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'blockquote', 'is', { toolbar: 'Inndráttur' } );
ging/vish
lib/plugins/ediphy/app/assets/javascripts/lib/ckeditor/plugins/blockquote/blockquote/lang/is.js
JavaScript
agpl-3.0
220
odoo.define('payment_stripe.payment_form', function (require) { "use strict"; var ajax = require('web.ajax'); var core = require('web.core'); var Dialog = require('web.Dialog'); var PaymentForm = require('payment.payment_form'); var qweb = core.qweb; var _t = core._t; ajax.loadXML('/payment_stripe/static/src/xml/str...
rven/odoo
addons/payment_stripe/static/src/js/payment_form.js
JavaScript
agpl-3.0
7,614
define( ({ _widgetLabel: "속성 테이블", ok: "확인", cancel: "취소", unsupportQueryWarning: "속성 테이블 위젯에 표시하려면 레이어가 쿼리 작업을 지원해야 합니다. 서비스에 쿼리 기능이 켜져 있는지 확인하세요.", exportMessage: "데이터를 CSV 파일로 내보내시겠습니까?", exportFiles: "CSV로 내보내기", exportSelected: "선택한 항목을 CSV로 내보내기", exportAll: "모든 항목을 CSV로 내보내기",...
cob222/CPG
widgets/AttributeTable/nls/ko/strings.js
JavaScript
apache-2.0
1,777