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
<?php /** This file is part of KCFinder project * * @desc Settings panel functionality * @package KCFinder * @version 2.31 * @author Pavel Tzonkov <pavelc@users.sourceforge.net> * @copyright 2010, 2011 KCFinder Project * @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2 * @l...
loadedcommerce/Loaded6CE
Loaded_Commerce_CE/admin/editors/kcfinder/js/browser/settings.js
JavaScript
gpl-2.0
3,422
var http = require('http'); function jsonHttpRequest(host, port, data, callback){ var options = { hostname: host, port: port, path: '/json_rpc', method: 'POST', headers: { 'Content-Length': data.length, 'Content-Type': 'application/json', ...
xpbcreator/pebblepool
lib/apiInterfaces.js
JavaScript
gpl-2.0
2,222
/** * Module dependencies */ var XMLHttpRequest = require('xmlhttprequest-ssl'); var XHR = require('./polling-xhr'); var JSONP = require('./polling-jsonp'); var websocket = require('./websocket'); /** * Export transports. */ exports.polling = polling; exports.websocket = websocket; /** * Polli...
tohshige/test
used12_1801_bak/node_modules/engine.io-client/lib/transports/index.js
JavaScript
gpl-3.0
1,140
describe('Application controller', function(){ beforeEach(module('mpk')); var scope, applicationController, kanbanRepositoryMock, themesProviderMock, window; var renamer, saver; beforeEach(inject(function($rootScope, $controller, $window){ renamer = jasmine.createSpy('Kanban Rename Function'); saver = jas...
Khamull/my-personal-kanban
test/spec/controllers/ApplicationControllerSpec.js
JavaScript
gpl-3.0
2,691
/** * Shopware 4 * Copyright © shopware AG * * According to our dual licensing model, this program can be used either * under the terms of the GNU Affero General Public License, version 3, * or under a proprietary license. * * The texts of the GNU Affero General Public License with an additional * permission a...
Chaz0r/test
templates/_default/backend/index/app.js
JavaScript
agpl-3.0
2,751
description( "This test checks that iterating a large array backwards works correctly." ); var bytes = new Array(); function prepare(nbytes) { var i = nbytes - 1; while (i >= 0) { bytes[i] = new Number(i); i -= 1; } } function verify(nbytes) { var i = nbytes - 1; while (i >= 0) { ...
youfoh/webkit-efl
LayoutTests/fast/js/script-tests/array-iterate-backwards.js
JavaScript
lgpl-2.1
560
'use strict'; var ExtractTextPlugin = require('extract-text-webpack-plugin') module.exports = { entry: { 'index': './index.styl', 'index-no-normalize': './style/index.styl' }, output: { filename: 'index.css' }, module: { loaders: [ { test...
odedgol/trackingUi
node_modules/react-input-field/build-style.config.js
JavaScript
unlicense
524
var NAME = "InvalidDerefInputError"; var MESSAGE = "Deref can only be used with a non-primitive object from get, set, or call."; /** * An invalid deref input is when deref is used with input that is not generated * from a get, set, or a call. * * @param {String} message * @private */ function InvalidDerefInputErr...
darioajr/falcor
lib/errors/InvalidDerefInputError.js
JavaScript
apache-2.0
708
/*global define*/ define([ './Cartesian2', './defaultValue', './defined', './defineProperties', './DeveloperError', './Ellipsoid', './GeographicProjection', './Math', './Rectangle' ], function( Cartesian2, defaultValue, ...
ceos-seo/Data_Cube_v2
ui/django_site_v2/data_cube_ui/static/assets/js/Cesium-1.23/Source/Core/GeographicTilingScheme.js
JavaScript
apache-2.0
9,369
// FIXME add some error checking // FIXME check order of async callbacks /** * @see http://mapbox.com/developers/api/ */ goog.provide('ol.source.TileJSON'); goog.provide('ol.tilejson'); goog.require('goog.asserts'); goog.require('goog.net.Jsonp'); goog.require('ol.Attribution'); goog.require('ol.TileRange'); goog....
das-peter/ol3
src/ol/source/tilejsonsource.js
JavaScript
bsd-2-clause
2,771
/* * OpenSeadragon - Rect * * Copyright (C) 2009 CodePlex Foundation * Copyright (C) 2010-2013 OpenSeadragon contributors * * 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 ...
ricochet2200/openseadragon
src/rectangle.js
JavaScript
bsd-3-clause
9,255
Ext.define("Ext.menu.Separator",{extend:"Ext.menu.Item",alias:"widget.menuseparator",canActivate:false,focusable:false,hideOnClick:false,plain:true,separatorCls:Ext.baseCSSPrefix+"menu-item-separator",text:"&#160;",beforeRender:function(a,c){var b=this;b.callParent();b.addCls(b.separatorCls)}});
AdenKejawen/erp
web/assets/extjs/src/menu/Separator.js
JavaScript
mit
296
'use strict'; /* globals getInputCompileHelper: false */ describe('ngModel', function() { describe('NgModelController', function() { /* global NgModelController: false */ var ctrl, scope, ngModelAccessor, element, parentFormCtrl; beforeEach(inject(function($rootScope, $controller) { var attrs = ...
m-amr/angular.js
test/ng/directive/ngModelSpec.js
JavaScript
mit
75,252
module("Director.js", { setup: function() { window.location.hash = ""; shared = {}; }, teardown: function() { window.location.hash = ""; shared = {}; } }); var shared; function createTest(name, config, use, test) { if (typeof use === 'function') { test = use; use = undefined; } a...
lukemorton/director
test/browser/helpers/api.js
JavaScript
mit
878
({"he":"עברית","hello":"שלום","yi":"Yiddish","en-us-texas":"English (Texas)","es":"Spanish","de":"German","pl":"Polish","hello_dojo":"${hello}, ${dojo}!","fa":"Farsi","pt":"Portugese","zh-tw":"Chinese (Traditional)","sw":"Kiswahili","ar":"Arabic","en-us-new_york-brooklyn":"English (Brooklynese)","ru":"Russian","fr":"Fr...
Goldcap/TAHealth
web/js/dojo/dojo/tests/nls/he/salutations.js
JavaScript
mit
637
// @flow // $ExpectError: No negative tests here const skipNegativeTest: string = true; var inquirer = require('inquirer'); var directionsPrompt = { type: 'list', name: 'direction', message: 'Which direction would you like to go?', choices: ['Forward', 'Right', 'Left', 'Back'] }; function main() { console...
orlandoc01/flow-typed
definitions/npm/inquirer_v2.x.x/test_hierarchical_v2.x.x.js
JavaScript
mit
2,347
/** * Module dependencies. */ var express = require('../../'); var cookie-parser = require('cookie-parser'); var app = module.exports = express(); // pass a secret to cookieParser() for signed cookies app.use(cookieParser('manny is cool')); // add req.session cookie support app.use(cookieSession()); // do someth...
NickHeiner/express
examples/cookie-sessions/index.js
JavaScript
mit
644
/***************************************************************************** * * Author: Kerri Shotts <kerrishotts@gmail.com> * http://www.photokandy.com/books/mastering-phonegap * * MIT LICENSED * * Copyright (c) 2016 Kerri Shotts (photoKandy Studios LLC) * Portions Copyright various third parties ...
kerrishotts/Mastering-PhoneGap-Code-Package
logology/src/www/js/lib/SoftKeyboard.js
JavaScript
mit
13,763
import { ElementRef, Input, Component, NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { Calendar } from '@fullcalendar/core'; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === nul...
cdnjs/cdnjs
ajax/libs/primeng/9.0.3/fesm5/primeng-fullcalendar.js
JavaScript
mit
4,135
/** @module Discourse */ var get = Ember.get, set = Ember.set; var popstateFired = false; var supportsHistoryState = window.history && 'state' in window.history; // Thanks: https://gist.github.com/kares/956897 var re = /([^&=]+)=?([^&]*)/g; var decode = function(str) { return decodeURIComponent(str.replace(/\+/g,...
tomash/discoursebp
app/assets/javascripts/discourse/routes/discourse_location.js
JavaScript
gpl-2.0
5,680
class Component { /** * Generic constructor for all components * @constructor * @param {Element} el * @param {Object} options */ constructor(classDef, el, options) { // Display error if el is valid HTML Element if (!(el instanceof Element)) { console.error(Error(el + ' is not an HTML El...
5x5Game/5x5Game.github.io
node_modules/materialize-css/js/component.js
JavaScript
gpl-2.0
1,098
var searchData= [ ['_7emd_5fmax72xx',['~MD_MAX72XX',['../class_m_d___m_a_x72_x_x.html#afffa5b85187905f713477435187b3759',1,'MD_MAX72XX']]] ];
Jaeger87/OpenBasiligotchi
BasilicoWiFi/libraries/MD_MAX72xx/doc/html/search/functions_9.js
JavaScript
gpl-3.0
144
(function($) { $.fn.tweet = function(o){ var s = $.extend({ username: ["seaofclouds"], // [string] required, unless you want to display our tweets. :) it can be an array, just do ["username1","username2","etc"] list: null, // [string] optional name of ...
richhl/kalturaCE
package/app/app/api_v3/web/testme/js/jquery.tweet.js
JavaScript
agpl-3.0
12,076
/* * #%L * ACS AEM Commons Package * %% * Copyright (C) 2014 Adobe * %% * 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 * * Unles...
dfoerderreuther/acs-aem-commons
ui.apps/src/main/content/jcr_root/apps/acs-commons/components/utilities/instant-package/clientlibs/js/app.js
JavaScript
apache-2.0
3,224
class AppFooterCtrl { constructor(AppConstants) { 'ngInject'; this.appName = AppConstants.appName; // Get today's date to generate the year this.date = new Date(); } } let AppFooter = { controller: AppFooterCtrl, templateUrl: 'layout/footer.html' }; export default AppFooter;
gustavovaliati/training_Symfony2.8_Angular1.5_AdminLTE
symfony-root/web/webapp/js/layout/footer.component.js
JavaScript
apache-2.0
303
/* * L.GridLayer is used as base class for grid-like layers like TileLayer. */ L.GridLayer = L.Layer.extend({ options: { pane: 'tilePane', tileSize: 256, opacity: 1, updateWhenIdle: L.Browser.mobile, updateInterval: 200, attribution: null, zIndex: null, bounds: null, minZoom: 0 // maxZoom: ...
AndBicScadMedia/Leaflet
src/layer/tile/GridLayer.js
JavaScript
bsd-2-clause
15,707
var _CURRENT_FORM; var _FIRST_ERRORED_FIELD = null; function initialiseForm(form, fromAnOnBlur) { _CURRENT_FORM = form; _FIRST_ERRORED_FIELD = null; if(fromAnOnBlur) { limitValidationErrorsTo(fromAnOnBlur); } else { clearValidationErrorLimit(); } _HAS_HAD_FORM_ERROR = false; clearValidationErrorCache(); }...
melechi/s3.net.au
sapphire/javascript/Validator.js
JavaScript
bsd-3-clause
7,731
export const EXAMPLE_REPOSITORIES = { clock: { repo: 'https://github.com/meteor/clock' }, leaderboard: { repo: 'https://github.com/meteor/leaderboard' }, localmarket: { repo: 'https://github.com/meteor/localmarket' }, 'simple-todos': { repo: 'https://github.com/meteor/simple-todos' }, 'simple-todos-react': { ...
mjmasn/meteor
tools/cli/example-repositories.js
JavaScript
mit
717
import EmptyObject from 'ember-data/-private/system/empty-object'; import parseResponseHeaders from 'ember-data/-private/utils/parse-response-headers'; import { module, test } from 'qunit'; const CRLF = '\u000d\u000a'; module('unit/adapters/parse-response-headers'); test('returns an EmptyObject when headersString is...
danmcclain/data
tests/unit/utils/parse-response-headers-test.js
JavaScript
mit
2,834
/* Copyright (c) 2006-2008 MetaCarta, Inc., published under the Clear BSD * license. See http://svn.openlayers.org/trunk/openlayers/license.txt for the * full text of the license. */ /** * @requires OpenLayers/Handler.js * @requires OpenLayers/Geometry/Point.js */ /** * Class: OpenLayers.Handler.Point * Hand...
guolivar/totus-niwa
web/js/libs/openlayers/lib/OpenLayers/Handler/Point.js
JavaScript
gpl-3.0
10,858
/*********************************************** Copyright 2010, Chris Winberry <chris@winberry.net>. 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, inclu...
tfe/cloud9
support/ace/support/node-htmlparser/lib/node-htmlparser.js
JavaScript
gpl-3.0
30,455
/* * Copyright 2012 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...
fbasso/ariatemplates
src/aria/touch/ClickBuster.js
JavaScript
apache-2.0
2,140
/*eslint curly:0, no-redeclare:0, quotes:0 */ /*jshint ignore:start */ /*eslint-disable */ global.DEFINE_MODULE('path', (function () { 'use strict' /*eslint-enable */ const module = {}; const isWindows = require('internal').platform.substr(0, 3) === 'win'; function assertPath (path) { if (typeof path !...
arangodb/arangodb
js/common/bootstrap/modules/path.js
JavaScript
apache-2.0
17,346
// Copyright (c) IPython Development Team. // Distributed under the terms of the Modified BSD License. define([ 'base/js/namespace', 'jqueryui', 'base/js/utils', ], function(IPython, $, utils) { "use strict"; var Pager = function (pager_selector, options) { /** * Constructor ...
radek1st/spark-notebook
public/ipython/notebook/js/pager.js
JavaScript
apache-2.0
5,506
ms.dispatch = function(that) { var types = {}; that.on = function(type, handler) { var listeners = types[type] || (types[type] = []); for (var i = 0; i < listeners.length; i++) { if (listeners[i].handler == handler) return that; // already registered } listeners.push({handler: handler, on: tr...
mapsense/mapsense.js
src/Dispatch.js
JavaScript
bsd-3-clause
936
define('b',{}); define('c',{}); define('second',['b', 'c'], function (b, c) { console.log(b.name); console.log(c.name); });
alkaest2002/gzts-lab
web/app/assets/frameworks/bower_components/r.js/build/tests/lib/stubModules/perModule/expected-second.js
JavaScript
bsd-3-clause
135
var faker = new function () { function define(obj, name, desc) { } if (something) { define(this, 'base', {}); } define(a, b, c); function other () { define(this, '__proto__', {}); } };
alkaest2002/gzts-lab
web/app/assets/frameworks/bower_components/r.js/build/tests/lib/shimFakeDefine/faker.js
JavaScript
bsd-3-clause
234
// Copyright 2013 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. (function() { 'use strict'; cr.define('cr.translateInternals', function() { var detectionLogs_ = null; function detectionLogs() { if ...
TeamEOS/external_chromium_org
chrome/browser/resources/translate_internals/translate_internals.js
JavaScript
bsd-3-clause
14,159
var express = require('../') , request = require('supertest'); describe('app', function(){ describe('.response', function(){ it('should extend the response prototype', function(done){ var app = express(); app.response.shout = function(str){ this.send(str.toUpperCase()); }; ap...
pkristoff/cnpa-regional-contest-web
vendor/assets/bower_components/express/test/app.response.js
JavaScript
gpl-2.0
896
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror"), require("../htmlmixed/htmlmixed"), require("../../...
bobmagicii/atlantis
www/share/js/codemirror-modes/tornado/tornado.js
JavaScript
bsd-2-clause
2,497
ace.define("ace/theme/kuroir",["require","exports","module","ace/lib/dom"], function(acequire, exports, module) { exports.isDark = false; exports.cssClass = "ace-kuroir"; exports.cssText = "\ .ace-kuroir .ace_gutter {\ background: #e8e8e8;\ color: #333;\ }\ .ace-kuroir .ace_print-margin {\ width: 1px;\ background: #e8...
jedfoster/brace
theme/kuroir.js
JavaScript
mit
2,265
let util = require('../../util'); let Hammer = require('../../module/hammer'); let hammerUtil = require('../../hammerUtil'); /** * clears the toolbar div element of children * * @private */ class ManipulationSystem { constructor(body, canvas, selectionHandler) { this.body = body; this.canvas = canvas; ...
AnttiKurittu/kirjuri
views/js/vis-4.18.0/lib/network/modules/ManipulationSystem.js
JavaScript
mit
38,796
/* This file is part of Ext JS 4.2 Copyright (c) 2011-2013 Sencha Inc Contact: http://www.sencha.com/contact Commercial Usage Licensees holding valid commercial licenses may use this file in accordance with the Commercial Software License Agreement provided with the Software or, alternatively, in accordance with th...
ryancanulla/findMe
web/ext/src/layout/component/Component.js
JavaScript
mit
17,347
'use strict'; /* Services */ // Demonstrate how to register services // In this case it is a simple value service. angular.module('blog.services', []). value('version', '0.1');
emidiocroci/angular-workshop
app/04-advanced/js/services.js
JavaScript
mit
182
/** * videojs-flash * @version 1.0.0-RC.1 * @copyright 2017 Brightcove, Inc. * @license Apache-2.0 */ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(t...
joeyparrish/cdnjs
ajax/libs/videojs-flash/1.0.0-RC.1/videojs-flash.js
JavaScript
mit
43,823
/* * Crypto-JS v2.5.3 * http://code.google.com/p/crypto-js/ * (c) 2009-2012 by Jeff Mott. All rights reserved. * http://code.google.com/p/crypto-js/wiki/License */ (typeof Crypto=="undefined"||!Crypto.util)&&function(){var d=window.Crypto={},m=d.util={rotl:function(a,c){return a<<c|a>>>32-c},rotr:function(a,c){ret...
DIA-NZ/nlnz-epubviewer
src/main/webapp/lib/thirdparty/crypto-sha1.js
JavaScript
gpl-2.0
2,963
var AppDispatcher = require('../dispatcher/app-dispatcher'), EventEmitter = require('events').EventEmitter, JPSConstants = require('../constants/jetpack-onboarding-constants'); var CHANGE_EVENT = 'change'; var spinnerEnabled = false, spinnerMessage = null; function show(message) { spinnerEnabled = true; spinner...
sarahwilkes/beaunoise
wp-content/plugins/mojo-marketplace-wp-plugin/vendor/jetpack/jetpack-onboarding/client/stores/spinner-store.js
JavaScript
gpl-2.0
1,163
/* Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckfinder.com/license */ CKFINDER.skins.add('v1',(function(){var a=['images/loaders/16x16.gif','images/loaders/32x32.gif','images/ckffolder.gif','images/ckffolderopened.gif'];if(CKFINDER.env.ie&&CKF...
aakb/metropol-danmark
sites/all/modules/contrib/ckeditor/ckfinder/skins/v1/skin.js
JavaScript
gpl-2.0
1,146
'use strict'; var latex = require('../../utils/latex'); var operators = require('../operators'); function factory (type, config, load, typed) { var Node = load(require('./Node')); /** * A lazy evaluating conditional operator: 'condition ? trueExpr : falseExpr' * * @param {Node} condition Condition, mu...
SunriseCoder/update-checker
src/main/resources/public/bower_components/mathjs/lib/expression/node/ConditionalNode.js
JavaScript
gpl-3.0
6,182
/* Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'newpage', 'el', { toolbar: 'Νέα Σελίδα' } );
gmuro/dolibarr
htdocs/includes/ckeditor/ckeditor/_source/plugins/newpage/lang/el.js
JavaScript
gpl-3.0
225
//// [parser509698.ts] /// <style requireSemi="on" /> /// <reference no-default-lib="true"/> declare function foo(): void; declare function bar(): void; //// [parser509698.js]
RReverser/TSX
tests/baselines/reference/parser509698.js
JavaScript
apache-2.0
182
(function() { define(function() { var AccessibleViewItemView, AccessibleViewsView; AccessibleViewItemView = Backbone.View.extend({ tagName: 'div', events: { "click": "clicked", "mouseover": "mousedover", "mouseout": "mousedout" }, render: function() { t...
Weeman360/frank-cucumber-pitchin
gem/Frank/frank_static_resources.bundle/js/accessible_views_view.js
JavaScript
apache-2.0
1,491
/** * ueditor完整配置项 * 可以在这里配置整个编辑器的特性 */ /**************************提示******************************** * 所有被注释的配置项均为UEditor默认值。 * 修改默认配置请首先确保已经完全明确该参数的真实用途。 * 主要有两种修改方案,一种是取消此处注释,然后修改成对应参数;另一种是在实例化编辑器时传入对应参数。 * 当升级编辑器时,可直接使用旧版配置文件替换新版配置文件,不用担心旧版配置文件中因缺少新功能所需的参数而导致脚本报错。 **************************提示******...
XieXianbin/ueditor-for-all-cdn
web/ueditor-plus-webapp/src/main/webapp/ueditor1_4_3-utf8-jsp/ueditor.config.update.js
JavaScript
apache-2.0
20,933
/* * Copyright 2012 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
src/aria/widgets/errorlist/ErrorListTemplateScript.js
JavaScript
apache-2.0
4,296
define( ({ _widgetLabel: "موقعي", title: "العثور على الموقع الخاص بي", browserError: "الموقع الجغرافي غير مدعوم من قبل هذا المستعرض.", failureFinding: "يتعذر إيجاد الموقع. يجرى التحقق من المتصفح للتأكد من أن الموقع قد تم مشاركته." }) );
cob222/CPG
widgets/MyLocation/nls/ar/strings.js
JavaScript
apache-2.0
387
/** * 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...
quazzie/relay
src/traversal/__tests__/writeRelayUpdatePayload-test.js
JavaScript
bsd-3-clause
30,490
/** @module ember @submodule ember-htmlbars */ import isEnabled from 'ember-metal/features'; import { keyword } from 'htmlbars-runtime/hooks'; import closureAction from 'ember-routing-htmlbars/keywords/closure-action'; /** The `{{action}}` helper provides a useful shortcut for registering an HTML element within a...
XrXr/ember.js
packages/ember-routing-htmlbars/lib/keywords/action.js
JavaScript
mit
5,218
/* * WYMeditor : what you see is What You Mean web-based editor * Copyright (c) 2005 - 2009 Jean-Francois Hovinne, http://www.wymeditor.org/ * Dual licensed under the MIT (MIT-license.txt) * and GPL (GPL-license.txt) licenses. * * For further information visit: * http://www.wymeditor.org/ * * File Name:...
samuelcole/wymeditor
src/wymeditor/plugins/fullscreen/jquery.wymeditor.fullscreen.js
JavaScript
mit
4,141
define("ace/snippets/plain_text",["require","exports","module"], function(require, exports, module) { "use strict"; exports.snippetText = ""; exports.scope = "plain_text"; }); (function() { window.require(["ace/snippets/plain_text"], function(m) { if (typeof...
NPellet/jsGraph
web/site/js/ace-builds/src/snippets/plain_text.js
JavaScript
mit
515
define(["dojo/_base/declare", "dojox/app/ViewBase", "dijit/form/Button"], function(declare, ViewBase, Button){ return declare([Button, ViewBase], { postscript: function(){ // we want to avoid kickin the Dijit lifecycle at ctor time so that definition has been mixed into the // widget when it is instanciat...
avz-cmf/zaboy-middleware
www/js/dojox/app/tests/customApp/WidgetView2.js
JavaScript
gpl-3.0
475
/* ** Ext.ux.upload.LogPanel.js for Ext.ux.upload ** ** Made by Gary van Woerkens ** Contact <gary@chewam.com> ** ** Started on Fri Jun 4 19:01:47 2010 Gary van Woerkens ** Last update Mon Jun 21 13:48:39 2010 Gary van Woerkens */ Ext.ns('Ext.ux.upload'); /** * @class Ext.ux.upload.LogPanel * @extends Ext.Panel ...
mbarto/mapstore
mapcomposer/app/static/externals/mapmanager/src/Ext.ux/Ext.ux.filebrowser/js/Ext.ux.upload/js/Ext.ux.upload.LogPanel.js
JavaScript
gpl-3.0
5,605
/** * @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 */ import 'rxjs/add/operator/map'; import 'rxjs/add/operator/toPromise'; import { forkJoin } from 'rxjs/observable/forkJ...
oleksandr-minakov/northshore
ui/node_modules/@angular/router/esm/src/resolve.js
JavaScript
apache-2.0
1,365
/* @flow */ // These util functions are split into its own file because Rollup cannot drop // makeMap() due to potential side effects, so these variables end up // bloating the web builds. import { makeMap, noop } from 'shared/util' export const isReservedTag = makeMap( 'template,script,style,element,content,slot,...
BigBoss424/portfolio
v6/node_modules/vue/src/platforms/weex/util/element.js
JavaScript
apache-2.0
1,538
/** * @license http://www.JSON.org/json2.js */ /* http://www.JSON.org/json2.js 2011-02-23 Public Domain. NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. See http://www.JSON.org/js.html This code should be minified before deployment. See http://javascript.crockford.com/jsmin.h...
huguijian/webIM
webroot/static/assets/lib/bootstrap/plugins/ie/json2.js
JavaScript
apache-2.0
17,647
module.exports={A:{A:{"2":"J C G E B A UB"},B:{"1":"X g H L","2":"D"},C:{"1":"0 1 4 5 V W u Y Z a b c d e f K h i j k l m n o p q r w x v z t s","2":"2 SB F I J C G E B A D X g H L M N O P Q R S T U QB PB"},D:{"1":"0 1 4 5 8 i j k l m n o p q r w x v z t s EB BB TB CB","2":"F I J C G E B A D X g H L M N O P Q R S T U V...
redq81/redq81.github.io
test/node_modules/caniuse-lite/data/features/es6-generators.js
JavaScript
mit
780
/** * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ ( function() { CKEDITOR.plugins.add( 'templates', { requires: 'dialog', // jscs:disable maximumLineLength lang: 'af,ar,bg,bn,bs,ca,cs,cy,da,de,de-ch,el...
SeeyaSia/www
web/libraries/ckeditor/plugins/templates/plugin.js
JavaScript
gpl-2.0
2,656
module.exports = { 'rules': { // enforce spacing inside array brackets 'array-bracket-spacing': [2, 'never'], // enforce spacing inside single-line blocks // http://eslint.org/docs/rules/block-spacing 'block-spacing': [2, 'always'], // enforce one true brace style 'brace-style': [2, '1tbs'...
ichbinder/homeapp
node_modules/eslint-config-airbnb-base/rules/style.js
JavaScript
gpl-3.0
6,936
(function () { var nonbreaking = (function () { 'use strict'; var global = tinymce.util.Tools.resolve('tinymce.PluginManager'); var stringRepeat = function (string, repeats) { var str = ''; for (var index = 0; index < repeats; index++) { str += string; } return str; }; var isVisualChar...
jbaiter/demetsiiify
static/vendor/mirador/plugins/nonbreaking/plugin.js
JavaScript
agpl-3.0
2,448
function main() { // Get the store reference var store = url.templateArgs.store_type + "://" + url.templateArgs.store_id; // Get the details of the tag if (json.has("name") == false || json.get("name").length == 0) { status.setCode(status.STATUS_BAD_REQUEST, "Name missing when creating tag"); ...
Alfresco/alfresco-ms-office-plugin
webscripts/org/alfresco/repository/tagging/tag.post.json.js
JavaScript
apache-2.0
832
// Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed ...
yesudeep/puppy
tools/google-closure-library/closure/goog/ui/popupmenu.js
JavaScript
mit
15,404
// Copyright 2006 The Closure Library 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 requ...
AndrewBarton/WebParrot
transcoders/traceur/third_party/closure-library/closure/goog/i18n/numberformat.js
JavaScript
mit
23,292
import { Platform, Dimensions } from "react-native"; import variable from "./../variables/platform"; const deviceHeight = Dimensions.get("window").height; export default (variables = variable) => { const theme = { flex: 1, height: Platform.OS === "ios" ? deviceHeight : deviceHeight - 20 }; return theme...
tilap/tilapp
tilapp/src/theme/components/Container.js
JavaScript
mit
325
define("rollbar", [], function() { return /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(in...
joeyparrish/cdnjs
ajax/libs/rollbar.js/2.3.1/rollbar.named-amd.js
JavaScript
mit
149,943
var reporter_1 = require('./reporter'); function isTS14(typescript) { return !('findConfigFile' in typescript); } exports.isTS14 = isTS14; function getFileName(thing) { if (thing.filename) return thing.filename; // TS 1.4 return thing.fileName; // TS 1.5 } exports.getFileName = getFileName; function...
Gabriel0402/learn-typescript
step_additional_gulp/node_modules/gulp-typescript/release/tsapi.js
JavaScript
mit
3,515
var class_mix_e_r_p_1_1_net_1_1_schemas_1_1_core_1_1_data_1_1_get_inventory_account_id_procedure = [ [ "GetInventoryAccountIdProcedure", "class_mix_e_r_p_1_1_net_1_1_schemas_1_1_core_1_1_data_1_1_get_inventory_account_id_procedure.html#a346f026be35152cad36078d0d03b8650", null ], [ "GetInventoryAccountIdProcedur...
mixerp6/mixerp
docs/api/class_mix_e_r_p_1_1_net_1_1_schemas_1_1_core_1_1_data_1_1_get_inventory_account_id_procedure.js
JavaScript
gpl-2.0
1,599
// This line keeps the nasty error message away (FireFox Bug) //DWREngine.setMethod(DWREngine.IFrame); var wsNamesMap = {}; function setFavourite(name, type, image){ var img = image.src; var isFavourite; if (img.substring(img.length-12, img.length) == 'unactive.gif') { isFavourite = false; } e...
JoeCarlson/intermine
intermine/webapp/main/resources/webapp/js/imdwr.js
JavaScript
lgpl-2.1
32,913
/** * Copyright (c) 2014, 2016, Oracle and/or its affiliates. * The Universal Permissive License (UPL), Version 1.0 */ "use strict";var l={"SPM":["SPM","Saint-Pierre en Miquelon"],"CYM":["CYM","Caymaneilanden"],"DOM":["DOM","Dominicaanse Republiek"],"VGB":["VGB","Maagdeneilanden, V.K."],"TCA":["TCA","Turks- en Caico...
JDT2016-Hackathon/hr
src/main/resources/static/js/libs/oj/v2.0.1/resources/internal-deps/dvt/thematicMap/resourceBundles/NorthAmericaCountriesBundle_nl.js
JavaScript
apache-2.0
676
/* This file is part of the Console++ by Ivan De Marino <http://ivandemarino.me>. Copyright (c) 2014, Ivan De Marino <http://ivandemarino.me> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redis...
mxOBS/deb-pkg_trusty_phantomjs
src/ghostdriver/third_party/console++.js
JavaScript
bsd-3-clause
8,754
/** * This class should not be used directly by an application developer. Instead, use * {@link Location}. * * `PlatformLocation` encapsulates all calls to DOM apis, which allows the Router to be platform * agnostic. * This means that we can have different implementation of `PlatformLocation` for the different *...
bluejaye/test
node_modules/angular2/es6/prod/src/router/location/platform_location.js
JavaScript
mit
1,264
!function ($) { $(function(){ map = new GMaps({ div: '#gmap_geocoding', lat: 40.0000, lng: -100.0000, zoom: 4 }); map.addMarker({ lat: 40.0000, lng: -100.0000, title: 'Marker', infoWindow: { content: 'Info content here...' } }); $('#geocoding_form').submit(function(e){ e...
seekmas/makoto.refactor
web/note/js/maps/demo.js
JavaScript
mit
721
"use strict";var sjcl={cipher:{},hash:{},keyexchange:{},mode:{},misc:{},codec:{},exception:{corrupt:function(a){this.toString=function(){return"CORRUPT: "+this.message};this.message=a},invalid:function(a){this.toString=function(){return"INVALID: "+this.message};this.message=a},bug:function(a){this.toString=function(){r...
99xt/interns-portal
web/src/assets/script/sjcl.js
JavaScript
mit
25,092
// seedrandom.js // Author: David Bau 12/25/2010 // // Defines a method Math.seedrandom() that, when called, substitutes // an explicitly seeded RC4-based algorithm for Math.random(). Also // supports automatic seeding from local or network sources of entropy. // // Usage: // // <script src=http://davidbau.com/encod...
gswalden/jsdelivr
files/seedrandom/1.0.0/seedrandom.js
JavaScript
mit
10,013
odoo.define('iap.CrashManager', function (require) { "use strict"; var ajax = require('web.ajax'); var core = require('web.core'); var CrashManager = require('web.CrashManager'); var Dialog = require('web.Dialog'); var _t = core._t; var QWeb = core.qweb; CrashManager.include({ /** * @override */ rp...
maxive/erp
addons/iap/static/src/js/crash_manager.js
JavaScript
agpl-3.0
1,778
// // Test robustness about JS injection in different place // // This assume malicious document arrive to the frontend. // casper.notebook_test(function () { var messages = []; this.on('remote.alert', function (msg) { messages.push(msg); }); this.evaluate(function () { var cell = ...
unnikrishnankgs/va
venv/lib/python3.5/site-packages/notebook/tests/notebook/inject_js.js
JavaScript
bsd-2-clause
650
// # Surrounds given text with Markdown syntax /*global $, CodeMirror, Showdown, moment */ (function () { 'use strict'; var Markdown = { init : function (options, elem) { var self = this; self.elem = elem; self.style = (typeof options === 'string') ? options : optio...
jamesyothers/Ghost
core/clientold/markdown-actions.js
JavaScript
mit
5,697
/* * QtWebKit-powered headless test runner using PhantomJS * * PhantomJS binaries: http://phantomjs.org/download.html * Requires PhantomJS 1.6+ (1.7+ recommended) * * Run with: * phantomjs runner.js [url-of-your-qunit-testsuite] * * e.g. * phantomjs runner.js http://localhost/qunit/test/index.html */ /*...
greyhwndz/ember-sync
tests/runner.js
JavaScript
mit
3,753
(function ($) { /*jslint undef: false, browser: true, devel: false, eqeqeq: false, bitwise: false, white: false, plusplus: false, regexp: false, nomen: false */ /*global jQuery,setTimeout,projekktor,location,setInterval,YT,clearInterval,pixelentity */ $.pixelentity = $.pixelentity || {version: '1.0.0'}; $.pixel...
Melanie27/oakwoodww-staging
wp-content/themes/visia/framework/js/pe/jquery.pixelentity.influxSlider.js
JavaScript
gpl-2.0
4,624
/** * Copyright 2016 The AMP HTML Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
dotandads/amphtml
ads/inmobi.js
JavaScript
apache-2.0
1,441
var struct___s_y_s_t_e_m___t_h_r_e_a_d___i_n_f_o_r_m_a_t_i_o_n = [ [ "BasePriority", "struct___s_y_s_t_e_m___t_h_r_e_a_d___i_n_f_o_r_m_a_t_i_o_n.html#a83350567ec26fc4723ac14b5864ae4f9", null ], [ "ClientId", "struct___s_y_s_t_e_m___t_h_r_e_a_d___i_n_f_o_r_m_a_t_i_o_n.html#a5f4ab183c0202edb1e4b9a2be1ace0db", nul...
shibbyr/Blackbone
doc/driver/html/struct___s_y_s_t_e_m___t_h_r_e_a_d___i_n_f_o_r_m_a_t_i_o_n.js
JavaScript
mit
1,489
/* * Copyright (C) 2010 Google 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 ...
omphalos/panopticonsole
vendor/blink/ui/Checkbox.js
JavaScript
mit
2,349
/** * Template JS for Internet Explorer 8 and lower - mainly workaround for missing selectors */ (function($) { // Standard template setup for IE $.fn.addTemplateSetup(function() { // Clean existing classes this.find('.first-child').removeClass('first-child'); this.find('.last-child').removeClass...
smailovski/E-institut
web/bundles/eieinstitut/js/standard.ie.js
JavaScript
mit
2,936
import Ember from 'ember'; import MaterializeNavBar from './md-navbar'; export default MaterializeNavBar.extend({ init() { this._super(...arguments); Ember.deprecate("{{materialize-navbar}} has been deprecated. Please use {{md-navbar}} instead", false, {url: "https://github.com/sgasser/ember-cli-materialize/...
ladyleet/ember-cli-materialize
app/components/materialize-navbar.js
JavaScript
mit
342
var _ = require('underscore'); module.exports = { 'passport-number': { labelClassName: 'visuallyhidden', validate: [ 'required' ] }, 'can-sign': { legend: { className: 'visuallyhidden' }, formatter: 'boolean', validate: ['required'], options: [ { ...
UKHomeOffice/passports-prototype
routes/priority_service_170731/renew/fields.js
JavaScript
mit
5,694
/* Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'justify', 'nb', { block: 'Blokkjuster', center: 'Midtstill', left: 'Venstrejuster', right: 'Høyrejuster' });
rcav/rcav
wp-content/plugins/ml-slider-pro/modules/layer/assets/ckeditor/plugins/justify/lang/nb.js
JavaScript
gpl-2.0
289
function f() { var x = undefined ? 1 : 4294967295; print(false || x); } f();
cstipkovic/spidermonkey-research
js/src/jit-test/tests/jaeger/bug652590.js
JavaScript
mpl-2.0
85
var searchData= [ ['data',['data',['../classv8_1_1_string_1_1_external_string_resource.html#a987309199b848511adb708e221e0fb0a',1,'v8::String::ExternalStringResource::data()'],['../classv8_1_1_string_1_1_external_one_byte_string_resource.html#aaeca31240d3dbf990d1b974e3c64593e',1,'v8::String::ExternalOneByteStringResou...
v8-dox/v8-dox.github.io
fe4434b/html/search/functions_3.js
JavaScript
mit
1,743
/** * jQuery EasyUI 1.5 * * Copyright (c) 2009-2016 www.jeasyui.com. All rights reserved. * * Licensed under the freeware license: http://www.jeasyui.com/license_freeware.php * To use it on other terms please contact us: info@jeasyui.com * */ (function($){ function _1(_2){ var _3=$.data(_2,"datetimeb...
zyzydream/zhihu
zhihu/src/main/webapp/easyui/plugins/jquery.datetimebox.js
JavaScript
gpl-3.0
5,402
/* ------------------------------------------------------------------------------ * * # Dashboard configuration * * Demo dashboard configuration. Contains charts and plugin inits * * Version: 1.0 * Latest update: Aug 1, 2015 * * ---------------------------------------------------------------------------- *...
mo-norant/FinHeartBel
website/src/assets/js/pages/dashboard.js
JavaScript
gpl-3.0
117,495
/** * Macedonia translation * By PetarD petar.dimitrijevic@vorteksed.com.mk (utf8 encoding) * 23 April 2007 */ Ext.onReady(function() { if (Ext.Date) { Ext.Date.monthNames = ["Јануари", "Февруари", "Март", "Април", "Мај", "Јуни", "Јули", "Август", "Септември", "Октомври", "Ноември", "Декември"]; ...
applifireAlgo/ZenClubApp
zenws/src/main/webapp/ext/packages/ext-locale/build/ext-locale-mk-debug.js
JavaScript
gpl-3.0
5,568
define(['sinon', 'underscore', 'URI'], function(sinon, _, URI) { 'use strict'; var fakeServer, fakeRequests, expectRequest, expectJsonRequest, expectPostRequest, expectRequestURL, respondWithJson, respondWithError, respondWithTextError, respondWithNoContent; /* These utility methods are used by Ja...
rismalrv/edx-platform
common/static/common/js/spec_helpers/ajax_helpers.js
JavaScript
agpl-3.0
6,142