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
(function ($) { function FewbricksDevHelper() { var $this = this; /** * */ this.init = function() { $this.cssClassFull = 'fewbricks-info-pane--full'; if(!$this.initMainElm()) { return; } $this.initToggler...
folbert/fewbricks
assets/scripts/info-pane.js
JavaScript
gpl-3.0
1,977
/** * ... * @author paul */ function initCBX(object, id, options) { var design = "assets"; if(object == null){ jQuery.noConflict(); var cboxClass; cboxClass = jQuery(id).attr("class"); if(jQuery.browser.msie && parseInt(jQuery.browser.version)<8 ){ jQuery(id).colorbox(); } else{ if(cboxClass.ind...
PhoenixInteractiveNL/emuControlCenter
ecc-core/tools/3dGallery_scripts/circulargallery/colorbox/swf.js.communication.js
JavaScript
gpl-3.0
3,990
/* Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'newpage', 'eo', { toolbar: 'Nova Paĝo' } );
vanpouckesven/cosnics
src/Chamilo/Libraries/Resources/Javascript/HtmlEditor/Ckeditor/src/plugins/newpage/lang/eo.js
JavaScript
gpl-3.0
226
var searchData= [ ['transfer_20commands',['Transfer Commands',['../group___d_a_p__transfer__gr.html',1,'']]] ];
Stanford-BDML/super-scamp
vendor/CMSIS/CMSIS/Documentation/DAP/html/search/groups_74.js
JavaScript
gpl-3.0
114
// @flow import React, { Component } from 'react' import { withStyles } from 'material-ui/styles' import Profile from 'models/Profile' import IconButton from 'material-ui/IconButton' import Typography from 'material-ui/Typography' import FontAwesome from 'react-fontawesome' import Avatar from 'components/common/Avatar'...
MichaelMure/TotallyNotArbore
app/components/profile/ShowProfile.js
JavaScript
gpl-3.0
2,101
{ "": { "domain": "ckan", "lang": "cs_CZ", "plural-forms": "nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;" }, "An Error Occurred": [ null, "Nastala chyba" ], "Are you sure you want to perform this action?": [ null, "Jste si jistí, že chcete provést tuto akci?" ], "Can...
nucleo-digital/ckan-theme-cmbd
public/base/i18n/cs_CZ.js
JavaScript
gpl-3.0
2,840
cordova.define('cordova/plugin_list', function(require, exports, module) { module.exports = [ { "file": "plugins/cordova-plugin-device/www/device.js", "id": "cordova-plugin-device.device", "pluginId": "cordova-plugin-device", "clobbers": [ "device" ] }, { ...
Nullpo/Kallat-Tablero
platforms/browser/www/cordova_plugins.js
JavaScript
gpl-3.0
13,698
module.exports = { domain:"messages", locale_data:{ messages:{ "":{ domain:"messages", plural_forms:"nplurals=2; plural=(n != 1);", lang:"el" }, "%(addonName)s %(startSpan)sby %(authorList)s%(endSpan)s":[ "%(addonName)s %(startSpan)s από %(authorList)s%(endSpan)s" ], "Extension Metadata":[...
jasonthomas/addons-frontend
src/locale/el/amo.js
JavaScript
mpl-2.0
8,820
/** * Nooku Platform - http://www.nooku.org/platform * * @copyright Copyright (C) 2011 - 2014 Johan Janssens and Timble CVBA. (http://www.timble.net) * @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> * @link https://github.com/nooku/nooku-platform for the canonical source repository...
nooku/nooku-platform
component/attachments/resources/assets/js/attachments.list.js
JavaScript
mpl-2.0
4,062
/*! JointJS v3.4.1 (2021-08-18) - JavaScript diagramming library 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/. */ this.joint = this.joint || {}; this.joint.shapes = this.j...
DavidDurman/joint
dist/joint.shapes.fsa.js
JavaScript
mpl-2.0
1,920
/* 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/. */ import { createStore, applyMiddleware } from 'redux'; import threadDispatcher from '../../common/thread-middleware...
squarewave/bhr.html
src/workers/summary/index.js
JavaScript
mpl-2.0
743
/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ /* 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/. */ //--------------------------------------------------------...
cstipkovic/spidermonkey-research
js/src/tests/js1_8/regress/regress-474935.js
JavaScript
mpl-2.0
1,026
import React from 'react'; import ImmutablePropTypes from 'react-immutable-proptypes'; import PropTypes from 'prop-types'; import IconButton from './icon_button'; import DropdownMenu from './dropdown_menu'; import { defineMessages, injectIntl } from 'react-intl'; import ImmutablePureComponent from 'react-immutable-pure...
Toootim/mastodon
app/javascript/mastodon/components/status_action_bar.js
JavaScript
agpl-3.0
5,791
import ITEM_QUALITIES from '../ITEM_QUALITIES'; export default { // Shared legendaries SOUL_OF_THE_SHADOWBLADE: { id: 150936, name: 'Soul of the Shadowblade', icon: 'inv_jewelry_ring_56', quality: ITEM_QUALITIES.LEGENDARY, }, MANTLE_OF_THE_MASTER_ASSASSIN: { id: 144236, name: 'Mantle of...
enragednuke/WoWAnalyzer
src/common/ITEMS/ROGUE.js
JavaScript
agpl-3.0
2,649
const LdapStrategy = require('./LdapStrategy'); const MoodleStrategy = require('./MoodleStrategy'); const IservStrategy = require('./IservStrategy'); const TSPStrategy = require('./TSPStrategy'); const ApiKeyStrategy = require('./ApiKeyStrategy'); module.exports = { LdapStrategy, MoodleStrategy, IservStrategy, TSP...
schul-cloud/schulcloud-server
src/services/authentication/strategies/index.js
JavaScript
agpl-3.0
350
// Generated by CoffeeScript 1.10.0 var api, baseOVHKonnector, connector, name, slug; baseOVHKonnector = require('../lib/base_ovh_konnector'); name = 'Kimsufi EU'; slug = 'kimsufi_eu'; api = { endpoint: 'kimsufi-eu', appKey: '', appSecret: '' }; connector = module.exports = baseOVHKonnector.createNew(api, na...
frankrousseau/konnectors
build/server/konnectors/kimsufi_eu.js
JavaScript
agpl-3.0
331
/* Taken from a very informative blogpost by Eldar Djafarov: * http://eldar.djafarov.com/2013/11/reactjs-mixing-with-backbone/ */ (function() { 'use strict'; module.exports = { /* Forces an update when the underlying Backbone model instance has * changed. Users will have to implement getBackboneModels()....
jbaiter/spreads
spreadsplug/web/client/lib/backbonemixin.js
JavaScript
agpl-3.0
1,858
/*@author Jvlaple *Crystal of Roots */ var status = 0; var PQItems = Array(4001087, 4001088, 4001089, 4001090, 4001091, 4001092, 4001093); importPackage(net.sf.odinms.client); function start() { status = -1; action(1, 0, 0); } function action(mode, type, selection) { if (mode == -1) {...
ZenityMS/forgottenstorysource
scripts/npc/2111005.js
JavaScript
agpl-3.0
1,027
// Generated by CoffeeScript 1.10.0 var Bill, baseKonnector, filterExisting, linkBankOperation, ovhFetcher, saveDataAndFile; ovhFetcher = require('../lib/ovh_fetcher'); filterExisting = require('../lib/filter_existing'); saveDataAndFile = require('../lib/save_data_and_file'); linkBankOperation = require('../lib/lin...
frankrousseau/konnectors
build/server/lib/base_ovh_konnector.js
JavaScript
agpl-3.0
1,438
// The Vue build version to load with the `import` command // (runtime-only or standalone) has been set in webpack.base.conf with an alias. import Vue from 'vue' import App from './App' import router from './router' import store from './store' import VueBootstrap from 'bootstrap-vue' import 'bootstrap/dist/css/bootstr...
praelatus/backend
client/src/main.js
JavaScript
agpl-3.0
761
namespace("JSTools.Event"); /// <class> /// Provides an interface for attaching and detaching Observer objects. Any number of /// Observer objects may observe a subject. /// </class> JSTools.Event.Subject = function() { //------------------------------------------------------------------------ // Declarations //--...
sgeh/JSTools.net
Branches/JSTools 0.41/JSTools.JavaScript/JSTools/Event/Subject.js
JavaScript
lgpl-2.1
2,624
asynctest( 'browser.tinymce.core.keyboard.BoundaryLocationTest', [ 'ephox.agar.api.Assertions', 'ephox.agar.api.GeneralSteps', 'ephox.agar.api.Logger', 'ephox.agar.api.Pipeline', 'ephox.agar.api.Step', 'ephox.katamari.api.Fun', 'ephox.sugar.api.dom.Hierarchy', 'ephox.sugar.api.node.E...
MediehusetTek/tinymce
src/core/src/test/js/browser/keyboard/BoundaryLocationTest.js
JavaScript
lgpl-2.1
11,571
var searchData= [ ['own_5faddress',['own_address',['../classRiots__BabyRadio.html#a0e4c8a64bf259ce380431879871bf872',1,'Riots_BabyRadio::own_address()'],['../classRiots__MamaRadio.html#ae1e3a65b5c9768df2a514fb984fe6a8c',1,'Riots_MamaRadio::own_address()']]], ['own_5fconfig_5fmessage',['own_config_message',['../clas...
myriots/riots-libraries
doc/search/variables_b.js
JavaScript
lgpl-2.1
555
br.test.GwtTestRunner.initialize(); describe("Dashboard App", function() { fixtures("brjs.dashboard.app.testing.DashboardFixtureFactory"); it("displays the screens that are visible", function() { given("dash.loaded = true"); and("dash.model.appsScreen.visible = true"); and("dash.model.appDetailScreen.visib...
andreoid/testing
brjs-sdk/workspace/sdk/system-applications/dashboard/dashboard-bladeset/blades/app/tests/test-acceptance/js-test-driver/tests/bindings-app.js
JavaScript
lgpl-3.0
992
var searchData= [ ['keep_5fhistory_2ecpp',['keep_history.cpp',['../keep__history_8cpp.html',1,'']]], ['keep_5fhistory_5fpass_2ecpp',['keep_history_pass.cpp',['../keep__history__pass_8cpp.html',1,'']]], ['keep_5fhistory_5fpass_2eh',['keep_history_pass.h',['../keep__history__pass_8h.html',1,'']]] ];
bduvenhage/flitr
Doxygen/html/search/files_6b.js
JavaScript
lgpl-3.0
311
/** * 基于jquery.select2扩展的select插件,基本使用请参考select2相关文档 * 默认是多选模式,并提供了input模式下的初始化方法,对应的数据格式是{ id: 1, text: "Hello" } * 这里的参数只对扩展的部分作介绍 * filter、includes、excludes、query四个参数是互斥的,理论只能有其一个参数 * @method ibosSelect * @param option.filter * @param {Function} option.filter 用于过滤源数据的函数 * @param {Array} option.includes...
SeekArt/IBOS
static/js/src/base/ibos.select2.js
JavaScript
lgpl-3.0
5,038
import React from 'react'; import ReactDOM from 'react-dom'; import './index.css'; function Square(props) { return ( <button className="square" onClick={props.onClick}> {props.value} </button> ); } class Board extends React.Component { renderSquare(i) { return ( <Square value={thi...
xiaoxiaoyao/MyApp
HTML/前端/my-react-app-spring-boot-yao/src/index.js
JavaScript
unlicense
2,690
require('babel-core/register')({plugins: ['babel-plugin-rewire']}) import packageJson from '../package.json' import conformToMask from '../src/conformToMask' import {placeholderChar} from '../src/constants' const createTextMaskInputElement = (isVerify()) ? require(`../${packageJson.main}`).createTextMaskInputElemen...
CrisDan1905/text-mask
core/test/createTextMaskInputElement.spec.js
JavaScript
unlicense
13,794
GoogleElectionMap.shapeReady({name:"28_05",type:"state",state:"28_05",bounds:[],centroid:[],shapes:[ {points:[ {x:32.8810559124534,y: 24.5253494052583} , {x:32.8804366855404,y: 24.5250018993236} , {x:32.8804349320052,y: 24.5250021192127} , {x:32.8800699675051,y: 24.52504787811} , {x:32.880107603168,y: 24.5253602242076}...
amounir86/amounir86-2011-elections
voter-info/shapes/old_json/28_05.js
JavaScript
unlicense
52,858
/*! * ${copyright} */ // Provides class sap.ui.rta.plugin.Combine. sap.ui.define([ 'sap/ui/rta/plugin/Plugin', 'sap/ui/dt/Selection', 'sap/ui/dt/OverlayRegistry', 'sap/ui/rta/Utils' ], function( Plugin, Selection, OverlayRegistry, Utils ) { "use strict"; /** * Constructor for a new Combine Plugin. * ...
SQCLabs/openui5
src/sap.ui.rta/src/sap/ui/rta/plugin/Combine.js
JavaScript
apache-2.0
5,703
//// [typeGuardFunctionOfFormThis.ts] class RoyalGuard { isLeader(): this is LeadGuard { return this instanceof LeadGuard; } isFollower(): this is FollowerGuard { return this instanceof FollowerGuard; } } class LeadGuard extends RoyalGuard { lead(): void {}; } class FollowerGuard ...
synaptek/TypeScript
tests/baselines/reference/typeGuardFunctionOfFormThis.js
JavaScript
apache-2.0
8,326
"use strict"; describe("Brisket server", function() { var Brisket = require("../../lib/brisket"); var MockBrisketApp = require("../mock/MockBrisketApp"); var nock = require("nock"); var supertest = require("supertest"); var brisketServer; beforeEach(function() { MockBrisketApp.initial...
wawjr3d/brisket
spec/server/brisketServerSpec.js
JavaScript
apache-2.0
3,439
/** * @projectDescription The SDX controller library for the PatientRecordSet data-type. * @namespace i2b2.sdx.TypeControllers.ENS * @inherits i2b2.sdx.TypeControllers * @author Mike Mendis * @version 1.6 * @see i2b2.sdx * ------------------------------------------------------------------------------...
rdalej/i2b2-shibboleth
build/web/webclient/js-i2b2/cells/CRC/CRC_sdx_ENS.js
JavaScript
apache-2.0
17,357
import AttributeCompression from "../Core/AttributeCompression.js"; import Cartesian3 from "../Core/Cartesian3.js"; import Cartographic from "../Core/Cartographic.js"; import Ellipsoid from "../Core/Ellipsoid.js"; import IndexDatatype from "../Core/IndexDatatype.js"; import CesiumMath from "../Core/Math.js"; import Rec...
progsung/cesium
Source/WorkersES6/createVectorTilePolylines.js
JavaScript
apache-2.0
6,753
'use strict'; angular.module('publisherApp') .config(function ($stateProvider) { $stateProvider .state('settings', { parent: 'account', url: '/settings', data: { roles: ['ROLE_USER'], pageTitle: 'global.menu...
GIP-RECIA/esup-publisher-ui
src/main/webapp/scripts/app/account/settings/settings.js
JavaScript
apache-2.0
949
/** * @author caspar - chengzhihang * @contact 279397942@qq.com * @date 2016/12/29 * @file admin/view-partial/main/order/widget/form/value-widget/TpNameText */ define([ 'zh/widget/text/ValidationTextBox', 'admin/services/enums/OrderPropertyEnum', "dojo/_base/declare" ], function (TextBox, OrderProperty...
Caspar12/zh.sw
zh-site-manager-web-ui-admin/target/classes/static/app/admin/view-partial/main/order/widget/form/value-widget/TpNameText.js
JavaScript
apache-2.0
590
import React, { Component, Fragment } from 'react'; import { navigate } from '@reach/router'; import PropTypes from 'prop-types'; import { Dropdown, DropdownToggle, DropdownMenu, DropdownItem } from 'reactstrap'; import { siteRoot, gettext, orgID } from '../../utils/constants'; import { seafileAPI } from '../../utils/s...
miurahr/seahub
frontend/src/pages/org-admin/org-groups.js
JavaScript
apache-2.0
8,470
import {boolean, number, object, text, withKnobs} from '@storybook/addon-knobs'; import { BentoAccordion, BentoAccordionContent, BentoAccordionHeader, BentoAccordionSection, } from '#bento/components/bento-accordion/1.0/component'; import {BentoVideo} from '#bento/components/bento-video/1.0/component'; import...
ampproject/amphtml
extensions/amp-video/1.0/storybook/Basic.js
JavaScript
apache-2.0
4,420
import { registerBidder } from '../src/adapters/bidderFactory.js'; import { BANNER, NATIVE, VIDEO } from '../src/mediaTypes.js'; import * as utils from '../src/utils.js'; import { config } from '../src/config.js'; const BIDDER_CODE = 'gothamads'; const ACCOUNTID_MACROS = '[account_id]'; const URL_ENDPOINT = `https://u...
tchibirev/Prebid.js
modules/gothamadsBidAdapter.js
JavaScript
apache-2.0
9,383
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ '...
AuxMon/azure-sdk-for-node
lib/services/dataLake.Analytics/lib/catalog/models/uSqlExternalDataSourceList.js
JavaScript
apache-2.0
1,673
/** * @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 */ CLASS({ name...
jlhughes/foam
js/foam/flow/LogEntryView.js
JavaScript
apache-2.0
1,487
(function() { function LandingCtrl() { this.heroTitle = "Turn the Music Up!"; } angular .module('blocJams') .controller('LandingCtrl', LandingCtrl); })();
ganaraja/bloc-jams-angular
dist/scripts/controllers/LandingCtrl.js
JavaScript
apache-2.0
195
/** Copyright (c) 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. **/ require("../base/extension_registry.js"); require("./event.js"); require("./object_snapshot.js"); require("../base/range.js"); require("../base/sorted_...
googlearchive/node-big-rig
lib/third_party/tracing/model/object_instance.js
JavaScript
apache-2.0
6,147
/* * Copyright (c) 2014 DataTorrent, 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...
DataTorrent/malhar-angular-widgets
src/widgets/nvd3LineChart/nvd3LineChart.js
JavaScript
apache-2.0
2,754
/* Copyright 2018 Intel Corporation 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, softwa...
Ylianst/MeshCentral
agents/modules_meshcore/smbios.js
JavaScript
apache-2.0
13,897
/** * vue app * Created by HC on 2016/7/19. */ var header = Vue.extend({ template: '#header' }); // 全局注册组件 Vue.component('my-header', header); var footer = Vue.extend({ template: '#footer' }); // 全局注册组件 Vue.component('my-footer', footer); var index = Vue.extend({ template: '#index' }); var App = Vu...
jlkm2010/blog
src/main/resources/static/front/app.js
JavaScript
apache-2.0
653
'use strict'; /* global describe, it */ var fs = require('fs'); var expect = require('chai').expect; var bigrig = require('../'); describe('Big Rig', function () { it ('throws if no processes are found', function () { expect(function () { bigrig.analyze(null); }).to.throw('Zero processes (tabs) fou...
googlearchive/node-big-rig
test/bigrig_tests.js
JavaScript
apache-2.0
6,062
function TorneoGolfWindow(Window) { window1 = Titanium.UI.createWindow({ tabBarHidden : true, backgroundColor : "white", width : '100%', height : '100%', layout : 'vertical' }); table = Ti.UI.createTableView({ width : '90%', height : '100%' }); scrollView_1 = Titanium.UI.createView(...
emobile/expomobile_mobile
Resources/ui/tablet/TorneoGolfWindow.js
JavaScript
apache-2.0
2,863
/*-------------------------------------------------------------------------- * linq.js - LINQ for JavaScript * ver 3.0.3-Beta4 (Oct. 9th, 2012) * * created and maintained by neuecc <ils@neue.cc> * licensed under MIT License * http://linqjs.codeplex.com/ *--------------------------------------------------...
codemonkeychris/rainbow
linqjs/linq.js
JavaScript
apache-2.0
107,573
/** vim: et:ts=4:sw=4:sts=4 * @license RequireJS 2.1.15 Copyright (c) 2010-2014, The Dojo Foundation All Rights Reserved. * Available via the MIT or new BSD license. * see: http://github.com/jrburke/requirejs for details */ //Not using strict: uneven strict support in browsers, #392, and causes //problems with requ...
suttonj/YoutubePlaylistCuratorChromeExtension
src/js/thirdParty/require.js
JavaScript
apache-2.0
83,052
//// [variadicTuples1.ts] // Variadics in tuple types type TV0<T extends unknown[]> = [string, ...T]; type TV1<T extends unknown[]> = [string, ...T, number]; type TV2<T extends unknown[]> = [string, ...T, number, ...T]; type TV3<T extends unknown[]> = [string, ...T, ...number[], ...T]; // Normalization type TN1 = T...
Microsoft/TypeScript
tests/baselines/reference/variadicTuples1.js
JavaScript
apache-2.0
30,820
function ChangeTo(to) { if (to == "text") { $('#admincommentlinks').ghide(); $('#admincomment').gshow(); resize('admincomment'); var buttons = document.getElementsByName('admincommentbutton'); for (var i = 0; i < buttons.length; i++) { buttons[i].setAttribute('onclick',"ChangeTo('links'); return false;");...
tisnats/tisnats.com
static/functions/user.js
JavaScript
apache-2.0
8,556
const NamingMixin = { _name: null, getName() { return this._name; }, _shortName: null, getShortName() { return this._shortName || this.getName(); }, _abbreviation: null, getAbbreviation() { return this._abbreviation || this.getShortName(); }, }; export default NamingMixin;
kjirou/reversi-tactics
src/mixins/NamingMixin.js
JavaScript
apache-2.0
309
var searchData= [ ['value',['value',['../structguac__pool__int.html#af76ff5f21c6e0f69d95cdd1385ea24a4',1,'guac_pool_int']]], ['vguac_5fclient_5fabort',['vguac_client_abort',['../client_8h.html#a4c0eccd7d0ed3dbf3e7941ce297e0224',1,'client.h']]], ['vguac_5fclient_5flog',['vguac_client_log',['../client_8h.html#a37a0...
mike-jumper/incubator-guacamole-website
doc/0.9.9/libguac/search/all_12.js
JavaScript
apache-2.0
644
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ '...
AuxMon/azure-sdk-for-node
lib/services/operationalInsightsManagement/lib/models/dataSourceListResult.js
JavaScript
apache-2.0
1,648
/*! * UI development toolkit for HTML5 (OpenUI5) * (c) Copyright 2009-2016 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ // Provides control sap.m.PageAccessibleLandmarkInfo. sap.ui.define(['sap/ui/core/Element', './library'], function(Element, library)...
icgretethe/AwarenessApp
resources/sap/m/PageAccessibleLandmarkInfo-dbg.js
JavaScript
apache-2.0
6,098
/** * File: app/project/ProjOpen.js * Author: liusha */ Ext.define('xdfn.project.ProjOpen', { extend: 'xdfn.project.ui.ProjOpen', grid: null, initComponent: function() { var me = this; me.openStore = Ext.create('xdfn.project.store.ProjOpenJsonStore'); me....
flowsha/zhwh
web_root/app/static/app/project/ProjOpen.js
JavaScript
apache-2.0
4,986
/** * Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you 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.o...
nu1silva/product-apim
product/carbon-home/resources/composer/web/js/ballerina/visitors/source-gen/connector-definition-visitor.js
JavaScript
apache-2.0
5,798
function __processArg(obj, key) { var arg = null; if (obj) { arg = obj[key] || null; delete obj[key]; } return arg; } function Controller() { function goSlide(event) { var index = event.source.mod; var arrViews = $.scrollableView.getViews(); switch (index) { ...
hardikamal/xox
Resources/iphone/alloy/controllers/contact.js
JavaScript
apache-2.0
5,935
/** * Copyright 2016 Google 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 agreed to...
google/beautiful-audio-editor
src/js/original/audio/record/recording-job-created-event.js
JavaScript
apache-2.0
1,347
/** * 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...
zhouyx/amphtml
extensions/amp-live-list/0.1/live-list-manager.js
JavaScript
apache-2.0
10,792
var spawn = require('child_process').spawn var port = exports.port = 1337 exports.registry = "http://localhost:" + port exports.run = run function run (cmd, t, opts, cb) { if (!opts) opts = {} if (!Array.isArray(cmd)) throw new Error("cmd must be an Array") if (!t || !t.end) throw new Error("node-ta...
jplusui/xfly
xfly/node/node_modules/npm/test/common-tap.js
JavaScript
apache-2.0
731
(function() { var head = document.head || document.getElementsByTagName('head')[0]; var style = null; var mobileScreenWidth = 768; // Make sure this value is equal to the width of .wy-nav-content in overrides.css. var initialContentWidth = 960; // Make sure this value is equal to the width of .wy-nav-side ...
trustin/sphinx-gradle-plugin
src/site/sphinx/_static/center_page.js
JavaScript
apache-2.0
2,528
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
shanti/olio
webapp/rails/trunk/vendor/plugins/rspec/story_server/prototype/javascripts/unittest.js
JavaScript
apache-2.0
21,009
export const FILLPATTERN = { none: '', crossHatched: 'Crosshatched', hatched: 'Hatched', solid: 'Solid' }; export const STROKEPATTERN = { none: '', dashed: 'Dashed', dotted: 'Dotted', solid: 'Solid' }; export const ALTITUDEMODE = { NONE: '', ABSOLUTE: 'Absolute', RELATIVE_TO_GROUND: 'Relative to...
missioncommand/emp3-web
src/validation/js/constants/PropertyConstants.js
JavaScript
apache-2.0
997
/*! * LESS - Leaner CSS v1.7.0 * http://lesscss.org * * Copyright (c) 2009-2014, Alexis Sellier <self@cloudhead.net> * Licensed under the Apache v2 License. * */ /** * @license Apache v2 */ (function (window, undefined) {// // Stub out `require` in the browser // function require(arg) { return...
lnc2014/sxg
ace-v1.3/build/lib/less.js
JavaScript
apache-2.0
280,205
/*! @license * Shaka Player * Copyright 2016 Google LLC * SPDX-License-Identifier: Apache-2.0 */ goog.provide('shaka.ui.FastForwardButton'); goog.require('shaka.ui.Controls'); goog.require('shaka.ui.Element'); goog.require('shaka.ui.Enums'); goog.require('shaka.ui.Locales'); goog.require('shaka.ui.Localization')...
tvoli/shaka-player
ui/fast_forward_button.js
JavaScript
apache-2.0
2,812
'use strict'; var nconf = require('nconf'); var path = require('path'); /** * Handle the configuration management. * * @constructor */ function Config() { nconf.argv().env("_"); var environment = nconf.get("NODE:ENV") || "development"; nconf.file(environment, {file: path.resolve(__dirname, '../config/' + en...
mxr576/webpage-content-extractor-api
lib/config.js
JavaScript
apache-2.0
676
let hookTypes; const callStyles = { sync: 'applyPlugins', syncWaterfall: 'applyPluginsWaterfall', syncBail: 'applyPluginsBailResult', sync_map: 'applyPlugins', asyncWaterfall: 'applyPluginsAsyncWaterfall', asyncParallel: 'applyPluginsParallel', asyncSerial: 'applyPluginsAsync', }; const camelToDash = ca...
BigBoss424/portfolio
v6/node_modules/hard-source-webpack-plugin/lib/util/plugin-compat.js
JavaScript
apache-2.0
7,732
/** * Wraps the * * @param text * {string} haystack to search through * @param search * {string} needle to search for * @param [caseSensitive] * {boolean} optional boolean to use case-sensitive searching */ angular.module('ui.highlight', []).filter('highlight', function(highlight) {...
WestCoastInformatics/OTF-Mapping-Service
webapp/src/main/webapp/js/highlight.js
JavaScript
apache-2.0
771
module.exports = { "env": { "es6": true, "node": true }, "globals": { "expect": true, "it": true, "describe": true, }, "extends": "eslint:recommended", "parser": "babel-eslint", "parserOptions": { "ecmaFeatures": { "experimentalObjectRest...
airingursb/two-life
src/components/react-native-calendars/.eslintrc.js
JavaScript
apache-2.0
859
(function(window) { var DEFAULT_ERROR_ID = 'error-default'; /** * Very simple base class for views. * Provides functionality for active/inactive. * * The first time the view is activated * the onactive function/event will fire. * * The .seen property is added to each object * with view in i...
wilebeast/FireFox-OS
B2G/gaia/apps/calendar/js/view.js
JavaScript
apache-2.0
6,314
// Copyright (c) 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. /** * Extension ID of Files.app. * @type {string} * @const */ var FILE_MANAGER_EXTENSIONS_ID = 'hhaomjibdihmijegdhdafkllkbggdgoj'; /** * Calls a...
plxaye/chromium
src/chrome/test/data/extensions/api_test/file_manager_browsertest/background.js
JavaScript
apache-2.0
1,527
import { Type } from 'angular2/src/facade/lang'; import { CanActivate } from './lifecycle_annotations_impl'; import { reflector } from 'angular2/src/core/reflection/reflection'; export function hasLifecycleHook(e, type) { if (!(type instanceof Type)) return false; return e.name in type.prototype; } expo...
aayushkapoor206/whatshot
node_modules/angular2/es6/prod/src/router/route_lifecycle_reflector.js
JavaScript
apache-2.0
677
var msg = require('./locale'); var api = require('./apiJavascript.js'); var paramLists = require('./paramLists.js'); module.exports.blocks = [ {func: 'setDroid', parent: api, category: '', params: ['"R2-D2"'], dropdown: { 0: ['"random"', '"R2-D2"', '"C-3PO"'] } }, {func: 'setDroidSpeed', parent: api, category: '',...
pickettd/code-dot-org
apps/src/studio/dropletConfig.js
JavaScript
apache-2.0
9,539
/** * libjass * * https://github.com/Arnavion/libjass * * Copyright 2013 Arnav Singh * * 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...
joshuabrown-ellation/libjass
tests/functional/outlines/outlines.js
JavaScript
apache-2.0
1,551
/* * Copyright (c) 2001-2007, TIBCO Software Inc. * Use, modification, and distribution subject to terms of license. */ jsx3.require("jsx3.chart.Axis");jsx3.Class.defineClass("jsx3.chart.CategoryAxis",jsx3.chart.Axis,null,function(c,p){var ub={d:"h6",a:"aligned",c:"av",f:"gn",b:"between",e:"tickAlignment"};c.TICKS_A...
burris/dwr
ui/gi/demo/web/gi/JSX/addins/charting/classes/jsx3/chart/CategoryAxis.js
JavaScript
apache-2.0
2,582
/* * Kendo UI Web v2014.1.318 (http://kendoui.com) * Copyright 2014 Telerik AD. All rights reserved. * * Kendo UI Web commercial licenses may be obtained at * http://www.telerik.com/purchase/license-agreement/kendo-ui-web * If you do not own a commercial license, this file shall be governed by the * GNU General Public ...
facundolucas/eCuentas
src/main/webapp/resources/kendoui/src/js/cultures/kendo.culture.nn.js
JavaScript
apache-2.0
2,710
// Copyright 2017, Dell EMC, Inc. /* jshint node:true */ 'use strict'; describe(require('path').basename(__filename), function () { var base = require('./base-task-data-spec'); base.before(function (context) { context.taskdefinition = helper.require( '/lib/task-data/base-tasks/dell-wsman-...
AlaricChan/on-tasks
spec/lib/task-data/base-tasks/dell-wsman-reset-components-spec.js
JavaScript
apache-2.0
439
/* * Kendo UI Web v2014.1.318 (http://kendoui.com) * Copyright 2014 Telerik AD. All rights reserved. * * Kendo UI Web commercial licenses may be obtained at * http://www.telerik.com/purchase/license-agreement/kendo-ui-web * If you do not own a commercial license, this file shall be governed by the * GNU General Public ...
facundolucas/eCuentas
src/main/webapp/resources/kendoui/src/js/cultures/kendo.culture.he.js
JavaScript
apache-2.0
2,934
var express = require( 'express' ), router = require( './router' ); var app = express(); app.set('port', (process.env.PORT || 3000)); router.define( app ); // Set up port // ======================================================== app.listen(app.get('port'), function() { console.log("Node app is running at loc...
OnWhoseBehalf/on-behalf-api
src/server.js
JavaScript
apache-2.0
353
import backgroundImages from '@const/background-images'; import * as actions from './actions.js'; import Background from './class.js'; // const getObj = (indexString) => { /* const [type, index] = indexString.split('-') if (typeof index === 'undefined') return {} return store.getState().bgimgState.list[type][index]...
Diablohu/WhoCallsTheFleet-React
src/api/bgimg/api.js
JavaScript
apache-2.0
2,700
cordova.define('cordova/plugin_list', function(require, exports, module) { module.exports = [ { "file": "plugins/cordova-plugin-whitelist/whitelist.js", "id": "cordova-plugin-whitelist.whitelist", "pluginId": "cordova-plugin-whitelist", "runs": true }, { "file": "plug...
sergiolucas/Projects
Guellcom/calculadora/platforms/android/platform_www/cordova_plugins.js
JavaScript
apache-2.0
6,421
function CredentialTypesStrings (BaseString) { BaseString.call(this, 'credential_types'); let t = this.t; let ns = this.credential_types; ns.deleteCredentialType = { CREDENTIAL_TYPE_IN_USE: t.s('This credential type is currently being used by one or more credentials. Credentials that use this...
GoogleCloudPlatform/sap-deployment-automation
third_party/github.com/ansible/awx/awx/ui/client/src/credential-types/credential-types.strings.js
JavaScript
apache-2.0
504
const ng = require('angular'); ng.module('porybox.static', ['ngRoute']).config(['$routeProvider', $routeProvider => { [ 'about', 'donate', 'extracting-pokemon-files', 'faq', 'how-to-pk6-1-bvs', 'how-to-pk6-2-homebrew', 'how-to-pk6-3-4-save-files', 'how-to-pk6-6-decrypted-powersaves', ...
porybox/porybox
client/static/static.module.js
JavaScript
apache-2.0
696
/* AngularJS v1.2.10 (c) 2010-2014 Google, Inc. http://angularjs.org License: MIT */ (function(Z,Q,r){'use strict';function F(b){return function(){var a=arguments[0],c,a="["+(b?b+":":"")+a+"] http://errors.angularjs.org/1.2.10/"+(b?b+"/":"")+a;for(c=1;c<arguments.length;c++)a=a+(1==c?"?":"&")+"p"+(c-1)+"="+encodeURI...
TurpIF/data-gouv
web/js/lib/angular.min.js
JavaScript
artistic-2.0
100,084
function(modal) { function ajaxifyLinks (context) { $('a.address-choice', context).click(function() { modal.loadUrl(this.href); return false; }); $('.pagination a', context).click(function() { var page = this.getAttribute("data-page"); ...
MechanisM/wagtailplus
wagtailplus/wagtailaddresses/templates/wagtailaddresses/component-chooser/chooser.js
JavaScript
bsd-2-clause
3,032
import React from 'react'; import { shallow } from 'enzyme'; import sinon from 'sinon'; import AddComment from './AddComment'; const USER = { user: { user: 'RSwanson', username: 'Ron_Swanson', imageURL: '', users: [ { name: 'April Ludwig', url: 'aprilL@parksdept.com', d...
mathjazz/pontoon
translate/src/core/comments/components/AddComment.test.js
JavaScript
bsd-3-clause
761
'use strict'; angular.module('shopnxApp') .config(function ($stateProvider) { $stateProvider .state('checkout', { title: 'Checkout with the items you selected', url: '/checkout', templateUrl: 'app/checkout/checkout.html', controller: 'CheckoutCtrl', authenticate: tru...
kinddevil/shop
client/app/checkout/checkout.js
JavaScript
bsd-3-clause
338
import PromiseRouter from '../PromiseRouter'; import * as middleware from "../middlewares"; import { Parse } from "parse/node"; export class PushRouter extends PromiseRouter { mountRoutes() { this.route("POST", "/push", middleware.promiseEnforceMasterKeyAccess, PushRouter.handlePOST); } static handlePOST(r...
lucianmat/parse-server
src/Routers/PushRouter.js
JavaScript
bsd-3-clause
1,611
/* ***** BEGIN LICENSE BLOCK ***** * Distributed under the BSD license: * * Copyright (c) 2010, Ajax.org B.V. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of sou...
louis-tru/touch_code
client/third_party/ace/lib/ace/lib/event.js
JavaScript
bsd-3-clause
12,179
/** * Copyright (c) 2013-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @emails o...
chicoxyzzy/fbjs
packages/fbjs/src/functional/__tests__/everyObject-test.js
JavaScript
bsd-3-clause
1,608
Ext.define('Ozone.data.Dashboard', { extend: 'Ext.data.Model', idProperty: 'guid', fields:[ 'alteredByAdmin', 'guid', {name:'id', mapping: 'guid'}, { name: 'isdefault', type: 'boolean', defaultValue: false }, { name: 'dashboardPosition', type: 'int' }, ...
Nanonid/tcsolrsvc
webapps/owf/js/owf-group-dashboard-management-widget.js
JavaScript
bsd-3-clause
24,987
// 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. /** * @fileoverview A command is an abstraction of an action a user can do in the * UI. * * When the focus changes in the document for each comman...
timopulkkinen/BubbleFish
ui/webui/resources/js/cr/ui/command.js
JavaScript
bsd-3-clause
8,976
/** * 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. * */ 'use str...
Maxwell2022/react-native
Libraries/Lists/__tests__/VirtualizedList-test.js
JavaScript
bsd-3-clause
2,405
define(["require"], function (require) { function boot(ev) { ev.target.removeEventListener("click", boot); require(["demos/water/water"]); } const start = document.querySelector(".code-demo.water [data-trigger='water.start']"); start.addEventListener("click", boot); start.disabled ...
canena/canena.github.io
src/_resources/js/demos/water/boot.js
JavaScript
bsd-3-clause
333
'use strict'; angular.module("ngLocale", [], ["$provide", function ($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; function getDecimals(n) { n = n + ''; var i = n.indexOf('.'); return (i == -1) ? 0 : n.length - i - 1; ...
mudunuriRaju/tlr-live
tollbackend/web/js/angular-1.5.5/i18n/angular-locale_en-jm.js
JavaScript
bsd-3-clause
4,012
define(["pat-autoscale", "jquery"], function(pattern, jQuery) { describe("pat-autoscale", function() { beforeEach(function() { $("<div/>", {id: "lab"}).appendTo(document.body); $(window).off(".autoscale"); }); afterEach(function() { $("#lab").remove(); ...
Patternslib/Patterns-archive
tests/specs/pat/autoscale.js
JavaScript
bsd-3-clause
6,201
function* f() { var x; try { x = yield 1; } catch (ex) { yield ex; } return 2; } var g = f(); expect(g.next()).toEqual({value: 1, done: false}); expect(g.next()).toEqual({value: 2, done: true}); g = f(); expect(g.next()).toEqual({value: 1, done: false}); expect(g.throw(3)).toEqual({value: 3, done: f...
kellyselden/babel
packages/babel-preset-es2015/test/fixtures/traceur/Yield/YieldAssignThrow.js
JavaScript
mit
378
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ '...
lmazuel/azure-sdk-for-node
lib/services/devTestLabs/lib/models/artifactSource.js
JavaScript
mit
5,125