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 editannotations = {}; var editoropen = false; var coselector = -1; //disabled, otherwise the index of the field to which the coselector is currently bound var coselector_sub = -1; //disabled, otherwise index of the higher order field (i.e. a span role) to which the coselector is currently bound var linkselector = -...
proycon/flat
flat/script/flat.editor.js
JavaScript
gpl-3.0
131,020
/** * * ╔═╗╔═╗┌─┐┬─┐┌─┐┌┬┐┌─┐┬ ┬┌─┐┬─┐┬┌─ + ║ ╠═╝├┤ ├┬┘├─┤│││├┤ ││││ │├┬┘├┴┐ + ╚═╝╩ └ ┴└─┴ ┴┴ ┴└─┘└┴┘└─┘┴└─┴ ┴ * * CodeProgressive Framework for Node.JS * * CONTROLLER CLASS FILE * * @author Jimmy Aupperlee <jimmy@codeprogressive.com> * @copyright codeProgressive */ /*jslint node: true */ 'use strict'; ...
ShaPOC/PhantomPebble
src/www/phantom/system/modules/express/common/controllerClass.js
JavaScript
gpl-3.0
4,566
import PropTypes from 'prop-types'; import React from 'react'; import FieldSet from 'Components/FieldSet'; import PageSectionContent from 'Components/Page/PageSectionContent'; import translate from 'Utilities/String/translate'; import Metadata from './Metadata'; import styles from './Metadatas.css'; function Metadatas...
geogolem/Radarr
frontend/src/Settings/Metadata/Metadata/Metadatas.js
JavaScript
gpl-3.0
1,061
var WebDeveloper = WebDeveloper || {}; // eslint-disable-line no-use-before-define WebDeveloper.Generated = WebDeveloper.Generated || {}; // Initializes the page with data WebDeveloper.Generated.initialize = function(data, locale) { var contentDocument = null; var css = locale.css; var documen...
chrispederick/web-developer
source/common/javascript/generated/view-css.js
JavaScript
gpl-3.0
2,917
'use strict'; define(['angular', 'angular-mocks', 'util/util'], function() { describe('the file upload service', function() { var fileUploadService; var csvParseServiceStub, problemValidityServiceStub; var validCsv = '"study","treatment","mean","std.dev","sampleSize"\n' + '"1","A",-1.22,3.7,54\n' +...
gertvv/gemtc-web
app/js/util/fileUploadServiceSpec.js
JavaScript
gpl-3.0
3,178
//= require jquery-ui/version //= require jquery-ui/effect /*! * jQuery UI Effects Shake 1.12.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */ //>>label: Shake Effect //>>group: Effects //>>description: Shakes an ele...
BeGe78/esood
vendor/bundle/ruby/3.0.0/gems/jquery-ui-rails-6.0.1/app/assets/javascripts/jquery-ui/effects/effect-shake.js
JavaScript
gpl-3.0
1,910
'use strict'; describe('ase.views.settings: SettingsListController', function () { beforeEach(module('ase.mock.resources')); beforeEach(module('ase.views.settings')); var $controller; var $httpBackend; var $rootScope; var $scope; var Controller; var ResourcesMock; // Initialize t...
WorldBank-Transport/DRIVER
schema_editor/test/spec/views/settings/list-controller.spec.js
JavaScript
gpl-3.0
1,209
var valdHlpr = require('../helpers/validate'); var authHlpr = require('../helpers/auth'); var usrSrv = require('../services/user'); var UsrMdl = require('../models/user'); /** * [doLogin description] * * @method doLogin * * @param {[type]} usr [description] * @param {[type]} login [description] * @...
fuelusumar/restful-api
src/controllers/auth.js
JavaScript
gpl-3.0
2,750
/* * Copyright 2012 IMOS * * The AODN/IMOS Portal is distributed under the terms of the GNU General Public License * */ Ext.namespace('Portal.search'); Portal.search.SearchFiltersPanel = Ext.extend(Ext.Panel, { constructor: function(config) { this._initFacetFilters(config); config = Ext.ap...
jkburges/aodn-portal
web-app/js/portal/search/SearchFiltersPanel.js
JavaScript
gpl-3.0
6,045
module.exports={A:{A:{"1":"A B","2":"K D G E hB"},B:{"1":"2 C d J M H I"},C:{"1":"0 1 2 3 4 6 7 8 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 a b c e f g h i j k l m n o L q r s t u v w x y z HB GB AB CB DB FB","2":"eB BB YB XB"},D:{"1":"0 1 2 3 4 6 7 8 A B C d J M H I O P Q R S T U V W X Y Z a b c e f g h i j ...
hhkaos/awesome-arcgis
node_modules/caniuse-lite/data/features/form-validation.js
JavaScript
gpl-3.0
930
/*! * VisualEditor DataModel MWTable class. * * @copyright 2011-2016 VisualEditor Team and others; see AUTHORS.txt * @license The MIT License (MIT); see LICENSE.txt */ /** * DataModel MediaWiki table node. * * @class * @extends ve.dm.TableNode * @mixins ve.dm.ClassAttributeNode * * @constructor * @param {...
Facerafter/starcitizen-tools
extensions/VisualEditor/modules/ve-mw/dm/nodes/ve.dm.MWTableNode.js
JavaScript
gpl-3.0
2,145
var ewww_webp_supported=!1;function check_webp_feature(A,e){var w;e=void 0!==e?e:function(){},ewww_webp_supported?e(ewww_webp_supported):((w=new Image).onload=function(){ewww_webp_supported=0<w.width&&0<w.height,e&&e(ewww_webp_supported)},w.onerror=function(){e&&e(!1)},w.src="data:image/webp;base64,"+{alpha:"UklGRkoAAA...
nosilver4u/ewww-image-optimizer
includes/check-webp.min.js
JavaScript
gpl-3.0
457
define(function(require, exports, module) { var Surface = require('famous/core/Surface'); var Modifier = require('famous/core/Modifier'); var Transform = require('famous/core/Transform'); var View = require('famous/core/View'); var Scrollview = require('famous/views/Scrollview...
troydo42/3Designed
interface-demos/ThingsList/src/views/ListView.js
JavaScript
mpl-2.0
3,766
"use strict"; var Joi = require(`joi`); var Errors = require(`../../../classes/errors`); var Prerequisites = require(`../../../classes/prerequisites`); var FilesModel = require(`../model`); var schema = require(`../schema`); var filesController = require(`../controller`); module.exports = [{ method: `PUT`, path...
humphd/thimble.mozilla.org
services/publish.webmaker.org/api/modules/files/routes/update.js
JavaScript
mpl-2.0
1,038
const { addResult } = require('../iterators/metrics'); module.exports = { getMetrics: () => { return { os: { name: 'OS/Version', unit: '%', reducer: 'values', }, architecture: { name: 'Architecture', unit: '%', reducer: 'values', }, ve...
digitarald/ppb-server
lib/mappers/meta.js
JavaScript
mpl-2.0
800
SettingServiceModel = Class.extend({ id : null, name : null, services : null, status : null, icon : null, temp : null, init : function(id, name, services, status, icon){ this.id = id; this.name = name; this.services = services; this.status = status; this.icon = icon; }, setId : function(id){ this...
lamhx393/V9_uit
Android-App/assets/www/js/model/SettingServiceModel.js
JavaScript
mpl-2.0
811
// -- // Core.Agent.Admin.DynamicFieldMultiselect.js - provides the special module functions for the Multiselect Dynamic Fields. // Copyright (C) 2001-2011 OTRS AG, http://otrs.org/ // -- // This software comes with ABSOLUTELY NO WARRANTY. For details, see // the enclosed file COPYING for license information (AGPL). If...
mychll31/CAB
var/httpd/htdocs/js/Core.Agent.Admin.DynamicFieldMultiselect.js
JavaScript
agpl-3.0
6,866
/* * The "kaltura player" embedPlayer interface for multi DRM */ (function (mw, $, videojs) { "use strict"; mw.EmbedPlayerMultiDRM = { //Instance Name instanceOf: 'MultiDRM', bindPostfix: '.multiDRM', playerPrefix: 'EmbedPlayerMultiDRM', // Flag to only load the video ( not play it ) onlyLoadFlag: ...
slash851/mwEmbed
modules/MultiDRM/resources/mw.EmbedPlayerMultiDRM.js
JavaScript
agpl-3.0
44,960
/* Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ if(!dojo._hasResource["dojox.gfx.Moveable"]){ //_hasResource checks added by build. Do not use _hasResource directly in you...
ravidontharaju/pion-core
platform/ui/dojo-release/dojox/gfx/Moveable.js
JavaScript
agpl-3.0
3,832
/* global console, jQuery */ var tribe_dropdowns = window.tribe_dropdowns || {}; ( function( $, obj, _ ) { 'use strict'; obj.selector = { dropdown: '.tribe-dropdown', created: '.tribe-dropdown-created', searchField: '.select2-search__field', }; // Setup a Dependent $.fn.tribe_dropdowns = function () { o...
akvo/akvo-sites-zz-template
code/wp-content/plugins/the-events-calendar/common/src/resources/js/dropdowns.js
JavaScript
agpl-3.0
14,219
/* */ var toString = require('./toString'), unescapeHtmlChar = require('./_unescapeHtmlChar'); /** Used to match HTML entities and HTML characters. */ var reEscapedHtml = /&(?:amp|lt|gt|quot|#39|#96);/g, reHasEscapedHtml = RegExp(reEscapedHtml.source); /** * The inverse of `_.escape`; this method converts t...
mscottnelson/grapph
public/jspm_packages/npm/lodash@4.13.1/unescape.js
JavaScript
agpl-3.0
1,076
// Generated by CoffeeScript 1.9.1 var AppManager, Application, MINUTE, applicationTimeout, async, log; async = require('async'); log = require('printit')({ prefix: 'lib:auto-stop' }); Application = require('../models/application'); AppManager = require("../lib/paas").AppManager; applicationTimeout = []; MINUTE...
Benibur/cozy-home
build/server/lib/autostop.js
JavaScript
agpl-3.0
3,062
/* Flot plugin for selecting regions of a plot. Copyright (c) 2007-2013 IOLA and Ole Laursen. Licensed under the MIT license. The plugin supports these options: selection: { mode: null or "x" or "y" or "xy", color: color, shape: "round" or "miter" or "bevel", minSize: number of pixels } Selection support is ena...
grafana/grafana
public/vendor/flot/jquery.flot.selection.js
JavaScript
agpl-3.0
14,846
modules.export = function(elem) { return Math.round( $(`#${elem}`).css('opacity') * 10 ) / 10 };
HashNotAdam/ifme
spec/javascripts/helpers/convert-opacity.js
JavaScript
agpl-3.0
105
/* eslint-disable newline-per-chained-call */ var workspace = require('./helpers/workspace'), authoring = require('./helpers/authoring'), monitoring = require('./helpers/monitoring'), content = require('./helpers/content'); describe('send', () => { function getItemState(index) { var label = c...
ioanpocol/superdesk-client-core
spec/send_spec.js
JavaScript
agpl-3.0
5,804
/** * Created by pupboss on 3/12/16. */ 'use strict'; var express = require('express'); var router = express.Router(); var grades_parser = require('../parser/grades'); var constant = require('../agent/constant'); router.get('/', function (req, res) { grades_parser(req.lntu_user_id, req.lntu_password, 'student/que...
LNTUORG/LNTUOnline-API-Nodejs
routes/grades.js
JavaScript
agpl-3.0
713
goog.provide('ol.source.ImageWMS'); goog.require('goog.asserts'); goog.require('goog.object'); goog.require('ol.Image'); goog.require('ol.ImageUrlFunction'); goog.require('ol.extent'); goog.require('ol.source.FeatureInfoSource'); goog.require('ol.source.Image'); goog.require('ol.source.wms'); /** * @constructor *...
yiducn/h7n9vis
src/main/webapp/js/OpenLayers3/ol/ol/source/imagewmssource.js
JavaScript
agpl-3.0
3,349
/** * @author Kai Salmen / https://kaisalmen.de * Development repository: https://github.com/kaisalmen/WWOBJLoader */ 'use strict'; if ( THREE.LoaderSupport === undefined ) { THREE.LoaderSupport = {}; } /** * Validation functions. * @class */ THREE.LoaderSupport.Validator = { /** * If given input is n...
FriendSoftwareLabs/friendup
interfaces/web_desktop/3rdparty/three/js/loaders/LoaderSupport.js
JavaScript
agpl-3.0
48,017
var app = module.parent.exports.app , Personas = require('../models/personas.js'); /* * GET */ app.get('/', function(req, res){ Personas.buscarAlumnos(function(pers){ res.render('index', { title: 'Listado', obj: pers }); }); }); app.get('/new/nombre/:name', function(req, res){ var p = new Personas({no...
alfonsorognoni/curso-node
clase-4/express-mongoose-integration/routes/main.js
JavaScript
lgpl-3.0
503
model.jsonModel = { services: [ { name: "alfresco/services/LoggingService", config: { loggingPreferences: { enabled: true, all: true, warn: true, error: true } } }, "alfresco/services/Erro...
nzheyuti/Aikau
aikau/src/test/resources/testApp/WEB-INF/classes/alfresco/site-webscripts/alfresco/documentlibrary/DocumentSelector.get.js
JavaScript
lgpl-3.0
4,171
import emailPipe from './emailPipe' const asterisk = '*' const dot = '.' const emptyString = '' const atSymbol = '@' const caretTrap = '[]' const space = ' ' const g = 'g' const anyNonWhitespaceRegExp = /[^\s]/ const anyNonDotOrWhitespaceRegExp = /[^.\s]/ const allWhitespaceRegExp = /\s/g function emailMask(rawValue,...
CrisDan1905/text-mask
addons/src/emailMask.js
JavaScript
unlicense
3,544
Meteor.startup(function () { Meteor.subscribe('currencies'); Meteor.subscribe('exchangeRateProviders'); Meteor.subscribe('exchangeRates'); Meteor.subscribe('paymentMethods'); Meteor.subscribe('members'); AutoForm.debug(); moment.locale('en', { calendar : { lastDay : '[Yesterday at] LT', ...
frabrunelle/satoshicounter
client/subscriptions.js
JavaScript
unlicense
514
Ptypo.createFont('anrt-font', 'anrt').then( function() { document.getElementById('chargement').style.display = 'none'; [ 'thickness', 'width', 'xHeight', 'capDelta', 'descender', 'ascender', '_contrast', 'baseLine', ].forEach(function(id) { const el = document.getElementById(id); el.addEventListe...
Aldrian/kinect-demos
thickness/lib/ptypo/src/main.js
JavaScript
unlicense
424
GoogleElectionMap.shapeReady({name:"21_21",type:"state",state:"21_21",bounds:[],centroid:[],shapes:[ {points:[ {x:30.8951563628405,y: 29.8407581216427} , {x:30.8518036108626,y: 29.7907068493354} , {x:30.8517420077461,y: 29.8385636256441} , {x:30.7274988302041,y: 29.8386575128234} , {x:30.7284445698007,y: 29.84227654601...
amounir86/amounir86-2011-elections
voter-info/shapes/old_json/21_21.js
JavaScript
unlicense
674
// This file has been autogenerated. var profile = require('../../../lib/util/profile'); exports.getMockedProfile = function () { var newProfile = new profile.Profile(); newProfile.addSubscription(new profile.Subscription({ id: '2c224e7e-3ef5-431d-a57b-e71f4662e3a6', name: 'Node CLI Test', user: { ...
AzureRT/azure-xplat-cli
test/recordings/arm-network-dns-zone-tests1/arm_network_dns_record-set_delete_should_delete_record-set_of_type_NS.nock.js
JavaScript
apache-2.0
7,881
cordova.define('cordova/plugin_list', function(require, exports, module) { module.exports = [ { "file": "plugins/cordova-plugin-battery-status/www/battery.js", "id": "cordova-plugin-battery-status.battery", "clobbers": [ "navigator.battery" ] }, { "file": ...
nrivaa/PMSiteApp
platforms/android/platform_www/cordova_plugins.js
JavaScript
apache-2.0
14,530
import Vue from 'vue' import store from '../store' import router from '../router' import VueResource from 'vue-resource' import { Message } from 'element-ui' Vue.use(VueResource) // Vue.http.options.emulateJSON = true Vue.http.options.root = '/api' Vue.http.interceptors.push((request, next) => { // if logged in, add ...
ixufeng/ECollege
front/client/src/http/index.js
JavaScript
apache-2.0
1,376
/** * Copyright (c) 2014, 2016, Oracle and/or its affiliates. * The Universal Permissive License (UPL), Version 1.0 */ "use strict"; define(["ojs/ojcore", "jquery", "ojs/ojdatasource-common"], function($oj$$23$$) { $oj$$23$$.$ArrayCellSet$ = function $$oj$$23$$$$ArrayCellSet$$($startRow$$1$$, $endRow$$, $startColu...
JDT2016-Hackathon/hr
src/main/resources/static/js/libs/oj/v2.0.1/min-debug/ojarraydatagriddatasource.js
JavaScript
apache-2.0
27,646
'use strict' /** * New Relic agent configuration. * * See lib/config.defaults.js in the agent distribution for a more complete * description of configuration variables and their potential values. */ exports.config = { /** * Array of application names. */ app_name: ['readably'], /** * Your New Relic ...
melvinthemok/readably
newrelic.js
JavaScript
apache-2.0
694
describe("dashboard-filter-3.0", function() { describe("nodeInsertion", function() { it("adds the search filter", function() { var node = { nodeType: 1, parentNode: { tagName: "FASTBOARD" }, innerHTML: "" }; pygmy3_0.dashboardFilter.nodeInsertion([node]); }); }); });
davidroberts63/OctoPygmy
spec/3.0/dashboard-filter.js
JavaScript
apache-2.0
280
/** * Copyright 2018 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...
rsimha-amp/amphtml
ads/vendors/imonomy.js
JavaScript
apache-2.0
4,128
/** * @license * Copyright 2015 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
mdittmer/foam
js/foam/ui/layout/DOMPanel.js
JavaScript
apache-2.0
2,142
//globals: equal, responseText, statement, ok, deepEqual, QUnit, module, asyncTest, Util, start, golfStatements, console /*jslint bitwise: true, browser: true, plusplus: true, maxerr: 50, indent: 4 */ function Config() { "use strict"; } Config.endpoint = "https://lrs.adlnet.gov/xapi/"; Config.user = "ebookbp"; Config....
adlnet/xapi-epub
tools/adb-epub3/src/adb-boilerplate.epub/OEBPS/js/config.js
JavaScript
apache-2.0
428
sap.ui.define(["sap/ui/core/mvc/Controller","sap/ui/model/type/Currency"], function (Controller, Currency) { "use strict"; return Controller.extend("sap.ui.demo.db.controller.App", { formatMail: function(sFirstName, sLastName) { var oBundle = this.getView().getModel("i18n").getResourceBundle(); return sap....
olirogers/openui5
src/sap.ui.core/test/sap/ui/core/demokit/tutorial/databinding/14/webapp/controller/App.controller.js
JavaScript
apache-2.0
1,234
/* * ${copyright} */ // Provides TablePersoController sap.ui.define(['jquery.sap.global', './TablePersoDialog', 'sap/ui/base/ManagedObject'], function(jQuery, TablePersoDialog, ManagedObject) { "use strict"; /** * The TablePersoController can be used to connect a table that you want to provide * a personal...
SQCLabs/openui5
src/sap.m/src/sap/m/TablePersoController.js
JavaScript
apache-2.0
27,627
import { registerBidder } from '../src/adapters/bidderFactory'; import { BANNER, NATIVE, VIDEO } from '../src/mediaTypes'; import * as utils from '../src/utils'; const BIDDER_CODE = 'colossusssp'; const URL = '//colossusssp.com/?c=o&m=multi'; const URL_SYNC = '//colossusssp.com/?c=o&m=cookie'; function isBidResponseV...
polluxnetwork/Prebid.js
modules/colossussspBidAdapter.js
JavaScript
apache-2.0
3,084
import formatDistance from './_lib/formatDistance/index.js'; import formatLong from './_lib/formatLong/index.js'; import formatRelative from './_lib/formatRelative/index.js'; import localize from './_lib/localize/index.js'; import match from './_lib/match/index.js'; /** * @type {Locale} * @category Locales * @summar...
BigBoss424/portfolio
v6/node_modules/date-fns/esm/locale/ja/index.js
JavaScript
apache-2.0
1,018
/** * Copyright 2013 Google, Inc. * Copyright 2015 Vivliostyle Inc. * @fileoverview Apply CSS cascade to a document incrementally and cache the result. */ goog.provide('adapt.cssstyler'); goog.require('adapt.vtree'); goog.require('adapt.csscasc'); goog.require('adapt.xmldoc'); goog.require('adapt.cssprop'); /** ...
kuad9/vivliostyle.js_study
src/adapt/cssstyler.js
JavaScript
apache-2.0
18,302
//// [constructSignatureAssignabilityInInheritance3.ts] // checking subtype relations for function types as it relates to contextual signature instantiation // error cases module Errors { class Base { foo: string; } class Derived extends Base { bar: string; } class Derived2 extends Derived { baz: string; ...
synaptek/TypeScript
tests/baselines/reference/constructSignatureAssignabilityInInheritance3.js
JavaScript
apache-2.0
5,983
const Global = function() {}; Global.prototype.dispatch = function() { /*! ** sprintf.js -- POSIX sprintf(3)-style String Formatting for JavaScript ** Copyright (c) 2006-2014 Ralf S. Engelschall <rse@engelschall.com> ** Partly based on Public Domain code by Jan Moesen <http://jan.moesen.nu/> ** ** Permissi...
code4nara/Maplat
legacy/sprintf.js
JavaScript
apache-2.0
11,992
/* nvd3 version 1.8.1 (https://github.com/novus/nvd3) 2015-06-15 */ (function(){ // set up main nv object var nv = {}; // the major global objects under the nv namespace nv.dev = false; //set false when in production nv.tooltip = nv.tooltip || {}; // For the tooltip system nv.utils = nv.utils || {}; // Utility subsys...
arenadata/ambari
ambari-logsearch/ambari-logsearch-portal/src/main/webapp/libs/other/nvd3/js/nv.d3.js
JavaScript
apache-2.0
548,961
$(function () { new Contour({ el: '.myBarChart', // at the height of this fiddle, // max padding is 24 bar: { groupPadding: 15 } }) .cartesian() .horizontal() .bar([ {name: 'series1', data: [1,2,3,4]}, {name: 'series2', data: [5,6,7,8]}...
JohnSZhang/contour
src/documentation/fiddle/config.bar.groupPadding/demo.js
JavaScript
apache-2.0
352
var couchapp = require('couchapp'); doc = { _id: "_design/files_for_compare", language: "javascript", views: {} }; doc.views.files_for_compare = { map: function(doc) { switch (doc.type) { case 'file': if(doc.removed) return; emit(doc._id, {type: 'fi...
robintibor/rizzoma
src/server/couch_views/main/files_for_compare.js
JavaScript
apache-2.0
939
(function() { function BlocChatCookies($cookies) { var currentUser = $cookies.get('blocChatCurrentUser'); if (!currentUser || currentUser === '') { $("#userModal").modal( { backdrop : 'static', keyboard: false ...
Xavier-J-Ortiz/Bloc-Chat
dist/scripts/services/BlocChatCookies.js
JavaScript
apache-2.0
502
/* Copyright [2016] [Relevance Lab] 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 d...
RLOpenCatalyst/core
server/app/model/classes/tasks/taskTypeChef.js
JavaScript
apache-2.0
75,681
// Copyright 2012 the V8 project authors. All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of ...
hkernbach/arangodb
3rdParty/V8/v5.7.492.77/test/debugger/debug/debug-liveedit-double-call.js
JavaScript
apache-2.0
4,780
/** * 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...
luciancrasovan/amphtml
extensions/amp-ad-network-doubleclick-impl/0.1/test/test-doubleclick-a4a-config.js
JavaScript
apache-2.0
18,225
cordova.define('cordova/plugin_list', function(require, exports, module) { module.exports = [ { "file": "plugins/cordova-plugin-googlemaps/www/googlemaps-cdv-plugin.js", "id": "cordova-plugin-googlemaps.cordova-plugin-googlemaps", "pluginId": "cordova-plugin-googlemaps", "clobbers": ...
guipradi5/notifMe
platforms/browser/www/cordova_plugins.js
JavaScript
apache-2.0
1,172
// Karma configuration file, see link for more information // https://karma-runner.github.io/1.0/config/configuration-file.html module.exports = function (config) { config.set({ basePath: '', frameworks: ['jasmine', '@angular-devkit/build-angular'], plugins: [ require('karma-jasmine'), requir...
cppwfs/spring-cloud-dataflow-ui
ui/src/karma.conf.js
JavaScript
apache-2.0
1,575
/** * 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...
adup-tech/amphtml
test/unit/test-shadow-embed.js
JavaScript
apache-2.0
14,085
$("a.mail_friend").click(function() { var auto_url = $(this).attr("href"); $("#send_form textarea").val($("#send_form textarea").val().replace(/http:.*?id=[0-9]+/, auto_url)); $("#send_form textarea").val($("#send_form textarea").val().replace(/http:.*?auto-[0-9]+.html/, auto_url)); $("#send_form textarea").v...
dautushenka/car-market
uploads_utf8/engine/car-market/javascript/response_ajax.js
JavaScript
apache-2.0
2,870
/** * This module adds dgkeyword provider to the real time data module * The {@link module:modules/realTimeData} module is required * The module will get keywords from 1plux profile api. * This module can work only with AppNexusBidAdapter. * @module modules/dgkeywordProvider * @requires module:modules/realTimeDat...
tchibirev/Prebid.js
modules/dgkeywordRtdProvider.js
JavaScript
apache-2.0
4,662
/* * Copyright 2004 ThoughtWorks, Inc * * 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...
dineshkummarc/gitak-1.0
selenium/core/scripts/selenium-browserdetect.js
JavaScript
apache-2.0
4,755
 FileSystem = function () { this.fileCache = {}; this.directoryCache = {}; // Add root directory this.directoryCache['/'] = new Directory('/', this); this.rootName = null; this.readonly = null; this._refreshing = false; }; FileSystem.prototype = { setReadOnly: function (readonly) { ...
shanselman/kudu
Kudu.Web/Components/FileSystem/fileSystem.js
JavaScript
apache-2.0
13,744
/* * Copyright (c) 2014 Juniper Networks, Inc. All rights reserved. */ // File generated by Makefile target ui-schemas define([], function(){ return { "properties": { "id": { "viewable": true, "editable": false, "label": "ID", "path": "properties.id" ...
Juniper/contrail-web-server-manager
webroot/setting/sm/ui/js/schemas/image.ui.js
JavaScript
apache-2.0
1,193
var args = arguments[0] || {}; // REQUIRE THE HEADER BAR FROM headerBar controller // we will pass our Home View so we can animate it when we click the menu button var headerBar = Alloy.createController("adrHeaderBar", { parentView : $.winContact, title : args.menuItem.title, isFlyout : args.isFlyout }).getView(); ...
sjfranzen/yurapp
app/controllers/android/adrContact.js
JavaScript
apache-2.0
350
import React from 'react'; import PropTypes from 'prop-types'; import copy from 'copy-to-clipboard'; export class CopyToClipboard extends React.PureComponent { static propTypes = { text: PropTypes.string.isRequired, children: PropTypes.element.isRequired, onCopy: PropTypes.func, options: PropTypes.s...
GoogleCloudPlatform/prometheus-engine
third_party/prometheus_ui/base/web/ui/react-app/node_modules/react-copy-to-clipboard/src/Component.js
JavaScript
apache-2.0
1,198
"use strict"; const UrlMessage = require(__dirname + "/../../lib/message/url-message"); exports.testBuildUrlMessageSanity = test => { const url = "http://viber.com"; const message = new UrlMessage(url); const messageBody = { "type": "url", "media": url }; test.deepEqual(message.toJson(), messageBody); test.ok(!...
russll/viber-bot-node
test/message/url-message-test.js
JavaScript
apache-2.0
973
requirejs.config( { baseUrl: '../../src/js/', paths: { 'enketo-js': '../../lib/enketo-core/src/js', 'enketo-widget': '../../lib/enketo-core/src/widget', 'enketo-config': '../../config.json', 'enketo-json': '../../lib/enketo-json/src', 'jquery.xpath': '../../lib/enketo-cor...
enketo/enketo-dristhi
main.js
JavaScript
apache-2.0
5,272
var assert = require('assert'); var tokenizer = require('../../lib/tokenizer.js'); var Murmur3Tokenizer = tokenizer.Murmur3Tokenizer; var RandomTokenizer = tokenizer.RandomTokenizer; var types = require('../../lib/types.js'); var Long = types.Long; describe('Murmur3Tokenizer', function () { describe('rotl64', funct...
Applifier/nodejs-driver
test/unit/tokenizer-tests.js
JavaScript
apache-2.0
3,937
/* Copyright 2017 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
GoogleChrome/presentation-api-samples
photowall/app/scripts/app.js
JavaScript
apache-2.0
6,552
//@program /* Copyright 2011-2014 Marvell Semiconductor, Inc. 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 applicab...
xutm/KPR-examples
serial-7segment-display/src/main.js
JavaScript
apache-2.0
6,667
(function(tirequire,__dirname,__filename){module.id=__filename;module.loaded=false;module.filename=__filename;var require=tirequire("node_modules/ti-commonjs/lib/ti-commonjs")(__dirname,module);module.require=require;(function(factory) { "function" == typeof define && define.amd ? define([ "moment" ], factory) : "o...
k0sukey/TiTodoMVC
Resources/iphone/node_modules/moment/lang/zh-tw.js
JavaScript
apache-2.0
2,661
require('./ShaderMaterial'); var ShaderMaterial = App.ShaderMaterial; var uniforms = THREE.UniformsLib; App.DustMaterial = DustMaterial; function DustMaterial(parameters) { parameters = parameters || {}; ShaderMaterial.call(this, parameters); } DustMaterial.prototype = Object.create(ShaderMaterial.prototype); Du...
jpweeks/particulate-medusae
static/js/materials/DustMaterial.js
JavaScript
artistic-2.0
597
var semver = require('semver'), fs = require('fs'), currentVersion = JSON.parse(fs.readFileSync('./package.json', 'utf8')).version, env = require('./config/environment'); // Globals var PROMPT_CONFIRM_CONFIG = 'confirmation', GIT_BRANCH = env.get('FILER_UPSTREAM_BRANCH'), GIT_REMOTE = env.get('FILE...
sedge/filer
gruntfile.js
JavaScript
bsd-2-clause
10,585
// Copyright 2019 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. import {CloudPrintInterfaceImpl, Destination, DuplexMode, NativeLayerImpl, PluginProxyImpl, PrintPreviewAppElement} from 'chrome://print/print_preview.js'...
nwjs/chromium.src
chrome/test/data/webui/print_preview/print_preview_app_test.js
JavaScript
bsd-3-clause
6,157
var searchData= [ ['data_39',['data',['../structpmem_1_1obj_1_1experimental_1_1array.html#a9fd56264027a5074e0098126dbf41ecf',1,'pmem::obj::experimental::array::data()'],['../structpmem_1_1obj_1_1experimental_1_1array.html#aed1613001851064c4a8d6fde51b245b8',1,'pmem::obj::experimental::array::data() const noexcept']]],...
pbalcer/pbalcer.github.io
content/libpmemobj-cpp/v1.5/doxygen/search/all_4.js
JavaScript
bsd-3-clause
2,272
'use strict'; var ApiController = require("./apicontroller"); var SIS = require("../util/constants"); var passport = require("passport"); var BPromise = require("bluebird"); ///////////////////////////////// // User controller function UserController(config) { var opts = { }; // TODO - secure this when enabli...
sis-cmdb/sis-api
routes/users.js
JavaScript
bsd-3-clause
2,029
// 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. onload = function() { var getURL = chrome.extension.getURL; var URL_REGULAR = "http://127.0.0.1:PORT/extensions/api_test/webnavigation/cross...
mogoweb/chromium-crosswalk
chrome/test/data/extensions/api_test/webnavigation/test_crossProcess.js
JavaScript
bsd-3-clause
11,329
var searchData= [ ['data_80',['data',['../structpmem_1_1obj_1_1array.html#a86fd99b97b691ea80224d7aff535003b',1,'pmem::obj::array::data()'],['../structpmem_1_1obj_1_1array.html#a5661322c5c8cabb758b1dbe2c6a8825f',1,'pmem::obj::array::data() const noexcept'],['../classpmem_1_1obj_1_1basic__string.html#a5809ebb560eed8884...
pbalcer/pbalcer.github.io
content/libpmemobj-cpp/v1.8/doxygen/search/all_4.js
JavaScript
bsd-3-clause
2,953
var group__magma__dsyev__aux = [ [ "magma_dlaex0", "group__magma__dsyev__aux.html#gad29318916a94d3d5a84fe9263027fedc", null ], [ "magma_dlaex0_m", "group__magma__dsyev__aux.html#ga9d5c7f795fc75ab251735ff1cc6a6e48", null ], [ "magma_dlaex1", "group__magma__dsyev__aux.html#gadbb212d49583e0bc2daf9c3449a15657",...
shengren/magma-1.6.1
docs/html/group__magma__dsyev__aux.js
JavaScript
bsd-3-clause
928
'use strict'; require('../globals'); var marks = module.exports = {}; marks.def = function(mark, encoding, layout, style) { var defs = []; // to add a background to text, we need to add it before the text if (encoding.marktype() === TEXT && encoding.has(COLOR)) { var bg = { x: {value: 0}, y: {...
vivekratnavel/vega-lite
src/compiler/marks.js
JavaScript
bsd-3-clause
10,253
var expect = require('chai').expect, $ = require("jquery"), Typeahead = require('../../src/jquery.typeahead'); describe('Typeahead Sanitize Tests', function () { 'use strict'; let myTypeahead; before(function () { document.write('<input class="js-typeahead-sanitize">'); myTypeah...
RanjithkumarAnkam/BC
web/themes/clean-ui/vendors/jquery-typeahead/test/integration/sanitize-test.js
JavaScript
bsd-3-clause
1,705
window.scwTogglesPlugin = window.scwTogglesPlugin || {}; window.SEMICOLON_togglesInit = function( $toggleEl ){ $toggleEl = $toggleEl.filter(':not(.customjs)'); if( $toggleEl.length < 1 ){ return true; } $toggleEl.each( function(){ let element = $(this), elSpeed = element.attr('data-speed') || 300, elS...
pbalcer/pbalcer.github.io
themes/pmem-hugo/static/js/plugins.toggles.js
JavaScript
bsd-3-clause
750
define(["app", "apps/funds/common/views"], function(Primus, CommonViews){ Primus.module("FundApp.Edit.View", function(View, Primus, Backbone, Marionette, $, _){ View.Fund = CommonViews.Form.extend({ initialize: function(){ this.title = "Edit " + this.model.get("firstName") + " " + this.model.get("la...
pablotebb/aditus-2.0
public/js/apps/funds/edit/edit_view.js
JavaScript
bsd-3-clause
623
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CDPSession = exports.CDPSessionEmittedEvents = exports.Connection = exports.ConnectionEmittedEvents = void 0; /** * Copyright 2017 Google Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); ...
ChromeDevTools/devtools-frontend
front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Connection.js
JavaScript
bsd-3-clause
10,888
const chai = require('chai'); const chaiHttp = require('chai-http'); const server = require('../../index.js'); const User = require('../../lib/models/user'); const assert = chai.assert; chai.use(chaiHttp); // load test env variables const path = require('path'); require('dotenv').load({silent: true, path: path.join(__...
MugsyCarter/ImbibeOR
test/e2e/threads-test.js
JavaScript
isc
6,659
iD.behavior.Draw = function(context) { var event = d3.dispatch('move', 'click', 'clickWay', 'clickNode', 'undo', 'cancel', 'finish'), keybinding = d3.keybinding('draw'), hover = iD.behavior.Hover(context) .altDisables(true) .on('hover', context.ui().sidebar.hover)...
andreic-telenav/iD
js/id/behavior/draw.js
JavaScript
isc
4,033
var path = require('path'); var fs = require('fs-extra'); var RSVP = require('rsvp'); var run = require('./run'); var rimraf = RSVP.denodeify(require('rimraf')); var resolve = RSVP.denodeify(require('resolve')); var findEmberPath = require('./find-ember-path'); module.exports = { findBowerPath: function(r...
jordansmith42/ember-widgets-addon
node_modules/ember-try/lib/utils/bower-helpers.js
JavaScript
mit
1,785
export default { "AL": "Alabama", "AK": "Alaska", "AS": "American Samoa", "AZ": "Arizona", "AR": "Arkansas", "CA": "California", "CO": "Colorado", "CT": "Connecticut", "DE": "Delaware", "DC": "District Of Columbia", "FM": "Federated States Of Micronesia", "FL": "Florida"...
Swizec/h1b-software-salaries
src/components/Meta/USStatesMap.js
JavaScript
mit
1,406
'use strict'; svgCircus.controller('svgCircusCtrl', ['$scope', '$rootScope', '$compile', 'svgCircusSrvc', '$modal', 'svgBuilderSrvc', 'analyticsSrvc', function($scope, $rootScope, $compile, svgCircusSrvc, $modal, svgBuilderSrvc, analyticsSrvc) { $scope.exportSVG=function() { $modal.open({ windowClass: 'm...
alexk111/SVG-Circus
source/svg-circus-controller.js
JavaScript
mit
736
/*jshint multistr:true, quotmark:false */ var amdDefined, fireNative, originaljQuery = this.jQuery || "jQuery", original$ = this.$ || "$", hasPHP = true, isLocal = window.location.protocol === "file:", // see RFC 2606 externalHost = "example.com"; // For testing .noConflict() this.jQuery = originaljQuery; this....
painter7/jquery-test
test/data/testinit.js
JavaScript
mit
6,927
/** * * Note Factory * * noteFactory.js * @author Kerri Shotts * @version 4.0.0 * * Copyright (c) 2013 Packt Publishing * 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 rest...
kerrishotts/PhoneGap-HotShot-3-x-Code-Bundle
filerv7/www/js/app/factories/noteViewFactory.js
JavaScript
mit
2,496
// PROGRAM NEW PAGE Template.programUpdate.rendered = function () { if(Router.current().params._id !== null){ //preeche o select option de veiculo var vehicle = Vehicle.find( { status:1 } ).map( function(vehicleData) { return [ vehicleData._id, vehicleData.name ]; } ); for(...
ExperimentsMeioNorte/sismnc-server
client/views/programs/update.js
JavaScript
mit
15,485
define({ "drsUrl": "URL-адрес сервера Data Reviewer", "includeReportedBy": "Reviewer Technician", "label": "Слой", "show": "Включить", "alias": "Псевдоним", "warning": "Входные данные не корректны", "defaultSessionId": "Сеанс по умолчанию", "setSource": "Задать", "getCurrentUser": "Имя пользователя, в...
tmcgee/cmv-wab-widgets
wab/2.15/widgets/ReportFeature/setting/nls/ru/strings.js
JavaScript
mit
943
var uniquely = require('./uniquely.js'); var result = uniquely(prompt()); console.log(result);
beni55/browserify-adventure
solutions/single_export/main.js
JavaScript
mit
95
var http = require('http'); var express = require('express'); var fs = require('fs'); var io = require('socket.io'); var Mustache = require('mustache'); var app = express(); var staticDir = express.static; var server = http.createServer(app); io = io(server); var opts = { port : ...
micmicto/slides
plugin/notes-server/index.js
JavaScript
mit
1,832
/** * ESL (Enterprise Standard Loader) * Copyright 2013 Baidu Inc. All rights reserved. * * @file Browser端标准加载器,符合AMD规范 * @author errorrik(errorrik@gmail.com) * Firede(firede@firede.us) */ /* jshint ignore:start */ var define; var require; var esl; /* jshint ignore:end */ /* eslint-disable guard-for-in...
xh1021/grunt-cmd-commonjs
tasks/lib/esl.js
JavaScript
mit
47,035
module.exports = function expressUsageRecord(ExpressUsageRecord) { ExpressUsageRecord.remoteMethod('dailySummary', { isStatic: true, http: {path: '/dailySummary', verb: 'get'}, accepts: [], returns: {arg: 'summary', type: 'object', root: true}, description: 'Daily summary by endpoint' }); Exp...
tsiry95/openshift-strongloop-cartridge
strongloop/node_modules/strong-mesh-models/common/models/express-usage-record.js
JavaScript
mit
1,151
var c = require('../../../config'); var config = new c(); module.exports = { sync: { dependencies: [ { // all files that need to be copied from /node_modules to /src/extensions/uv-ebook-extension/lib post npm install cwd: config.directories.npm, e...
britishlibrary/UniversalViewer
src/extensions/uv-ebook-extension/config.js
JavaScript
mit
943