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
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.lang} object, for the * Japanese language. */ /**#@+ @type String @example */ /** * Contains the dictionary of lan...
MikesUptown/ipepcare
sites/all/modules/ckeditor/ckeditor/_source/lang/ja.js
JavaScript
gpl-2.0
27,007
jQuery(function($) { const carbon = window.carbon; if (typeof carbon.fields === 'undefined') { return false; } class CarbonView { static getContainerView() { var containerView = null; _.each(carbon.views, function(view) { if(view.model && vie...
affilicious/affilicious
assets/admin/src/products/js/products.js
JavaScript
gpl-2.0
7,889
/* Copyright (c) 2002-2011 by XMLVM.org * * Project Info: http://www.xmlvm.org * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or * (at...
skyHALud/codenameone
Ports/iOSPort/xmlvm/src/xmlvm2js/java/lang/CharSequence.js
JavaScript
gpl-2.0
978
'use strict'; var U = require("U"); var VV = require("VV"); var List = require("../../lib/js/list.js"); var Curry = require("../../lib/js/curry.js"); function f(x) { return function (param) { return x + param | 0; }; } function f1(x, y) { return x + y | 0; } function f3(g, x) { return Curry._1(g, x); } ...
bloomberg/ocamlscript
jscomp/test/test_ari.js
JavaScript
gpl-2.0
3,752
/** * @file Minify compliant generic shorthands * * @author Alexandre Germain * @copyright 2016 iThoughts informatique * @license https://www.gnu.org/licenses/gpl-3.0.html GPLv3 * @package iThoughts-toolbox * */ /** * @namespace iThoughts * @description iThoughts Helpers versions */ /** * @namespace iThoug...
Nihilivin/iThoughts-WordPress-Plugin-Toolbox
js/src/ithoughts-core-v5.js
JavaScript
gpl-2.0
14,338
/** * Zt Ajax * @param {type} w * @param {type} z * @param {type} $ * @returns {undefined} */ (function (w, z, $) { /* Reject if zt is not defined */ if (typeof (z) === 'undefined') { console.log('Error: Zt Javsacript Framework not available.'); return false; } /* Reject if Zt UI i...
cleversoft/zt-onepage-checkout
assets/js/zt.ajax.js
JavaScript
gpl-2.0
8,546
/** * Created by rchyla on 3/18/14. */ define(['underscore', 'js/components/facade'], function(_, Facade) { var Mixin = { /* * Creates a hardened instance of itself, it uses * interface description from 'hardenedInterface' * Implementations need to populate 'hardenedInterface' * with list o...
adsabs/bumblebee
src/js/mixins/hardened.js
JavaScript
gpl-2.0
852
/** * $Desc * * @version $Id$ * @package wpbase * @author Opal Team <opalwordpressl@gmail.com > * @copyright Copyright (C) 2014 wpopal.com. All Rights Reserved. * @license GNU/GPL v2 or later http://www.gnu.org/licenses/gpl-2.0.html * * @website http://www.wpopal.com * @support http://www.wpo...
jimmitjoo/mnh
wp-content/themes/mix/inc/assets/js/megamenu.js
JavaScript
gpl-2.0
29,695
(function ( $ ) { "use strict"; $(function () { $('.date-pick').datepicker({ dateFormat : 'dd/mm/yy' }); $('#field_slug').slugify('#field_name'); }); }(jQuery));
wp-plugins/bb-edition-control
admin/assets/js/admin.js
JavaScript
gpl-2.0
202
// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- const Clutter = imports.gi.Clutter; const Gio = imports.gi.Gio; const GLib = imports.gi.GLib; const GObject = imports.gi.GObject; const Gtk = imports.gi.Gtk; const Shell = imports.gi.Shell; const Lang = imports.lang; const Signals = imports.signals; const ...
Endika/gnome-shell
js/ui/appDisplay.js
JavaScript
gpl-2.0
72,491
/* global wp_mail_smtp, ajaxurl */ /** * WP Mail SMTP Admin Notifications. * * @since 2.3.0 */ 'use strict'; var WPMailSMTPAdminNotifications = window.WPMailSMTPAdminNotifications || ( function( document, window, $ ) { /** * Elements holder. * * @since 2.3.0 * * @type {object} */ var el = { $not...
rasken2003/fuga-it-business
wp-content/plugins/wp-mail-smtp/assets/js/smtp-notifications.js
JavaScript
gpl-2.0
3,765
var classCompartment = [ [ "Compartment", "classCompartment.html#a38a29a2e29ed0cd4331a7b4fa30d76ac", null ], [ "~Compartment", "classCompartment.html#a22d20ccf9b329e3032c7c29c59fc6923", null ], [ "add_geometry", "classCompartment.html#aab05340ee74143998ff715fcd8ff2f0c", null ], [ "add_voxel", "classComp...
dilawar/moogli
docs/doxygen/html/classCompartment.js
JavaScript
gpl-2.0
2,107
import {PropTypes as T} from 'prop-types' const ProgressionItem = { propTypes: { id: T.string.isRequired, name: T.string.isRequired, level: T.number.isRequired, validated: T.bool } } export { ProgressionItem }
claroline/Distribution
plugin/analytics/Resources/modules/tools/dashboard/prop-types.js
JavaScript
gpl-3.0
234
OsciTk.collections.Pages = OsciTk.collections.BaseCollection.extend({ model : OsciTk.models.Page, initialize : function() { } });
aic-collections/OSCI-Toolkit-Frontend
js/oscitk/collections/PagesCollection.js
JavaScript
gpl-3.0
133
// Один-ко-многим: Вывод юзера с детьми const mongoose = require('mongoose'); mongoose.Promise = Promise; mongoose.set('debug', true); mongoose.connect('mongodb://localhost/test'); const userSchema = new mongoose.Schema({ email: { type: String, required: 'Укажите email', // true for default message ...
VladimirDeminenko/javascript.ru-nodejs
lecture/05/mongoose/12-parents.js
JavaScript
gpl-3.0
1,236
const default_magnification = 1; const default_tool = get_tool_by_name("Pencil"); const default_canvas_width = 683; const default_canvas_height = 384; let my_canvas_width = default_canvas_width; let my_canvas_height = default_canvas_height; let aliasing = true; let transparency = false; let monochrome = false; let ...
zelon88/HRCloud2-App-Pack
Source/JSPaint/src/app.js
JavaScript
gpl-3.0
43,270
/** * @copyright 2011, Ajax.org Services B.V. * @license GPLv3 <http://www.gnu.org/licenses/gpl.txt> */ var events = require("events"); var Spawn = require("child_process").spawn; var sys = require("sys"); var Plugin = function(ide, workspace) { this.ide = ide; this.workspace = workspace; }; sys.inhe...
KenanSulayman/cloud9
server/cloud9/plugin.js
JavaScript
gpl-3.0
2,346
/* Highcharts JS v9.3.1 (2021-11-05) Sonification module (c) 2012-2021 ystein Moseng License: www.highcharts.com/license */ 'use strict';(function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/modules/sonification",["highch...
Martin-Gleiss/smartvisu
vendor/plot.highcharts/modules/sonification.js
JavaScript
gpl-3.0
29,645
import * as types from '../actions/actionTypes' export default function categoriesReducer(state = {}, action) { switch(action.type) { case types.LOAD_CATEGORIES_SUCCESS: return Object.assign([], action.categories) default: return state } }
MissUchiha/CANX
client/src/reducers/categoriesReducer.js
JavaScript
gpl-3.0
266
var searchData= [ ['panier',['panier',['../classpanier.html',1,'']]], ['panierwindow',['PanierWindow',['../class_panier_window.html',1,'']]], ['plat',['plat',['../classplat.html',1,'']]], ['platintro',['platIntro',['../classplat_intro.html',1,'']]] ];
bartazuk/IGR203
menu_restaurant/html/search/classes_9.js
JavaScript
gpl-3.0
260
define(['jquery', 'lodash', 'crossroads', 'hasher', 'templates'], function($, _, router, hasher, templates) { var indexRoute = router.addRoute('', function() { $('#js-app').html(templates.index()); }); });
nathanjd/fliclets
src/js/views/index.js
JavaScript
gpl-3.0
221
let fairnessProofService = require('../lib/fairnessProofService'); console.log("running script in environment :", process.env.NODE_ENV); global.db = require('../models'); async function run() { await fairnessProofService.create(); process.exit(0); } run();
Ethbet/ethbet
backend-relay/scripts/createFairnessProof.js
JavaScript
gpl-3.0
265
/* HTML5 Shiv v3.6.2 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed */ (function (l, f) { function m() { var a = e.elements; return"string" == typeof a ? a.split(" ") : a } function i(a) { var b = n[a[o]]; b || (b = {}, h++, a[o] = h, n[h] = b); return b ...
KSolutionsSS/dental-navarra_mobileapp
www/js/lib/html5shiv.js
JavaScript
gpl-3.0
4,458
/* @flow */ import { Module } from '../core/module'; import { Thing, SelectedThing, frameDebounce, mutex, watchForDescendants, waitForDetach } from '../utils'; export const module: Module<*> = new Module('neverEndingComments'); module.moduleName = 'necName'; module.category = 'commentsCategory'; module.description =...
mc10/Reddit-Enhancement-Suite
lib/modules/neverEndingComments.js
JavaScript
gpl-3.0
2,322
/** * Created by D'rin on 06/10/2016. */ function calcul(){ var div = document.getElementById("bloc1"); var val = document.forms["myform"].nombre.value; var result = document.getElementById("result"); if(parseFloat(val).toString() == val && val!="" ){ var nbr = parseFloat(val); ...
Groupe1TPProgrammationWebGI2018ENSP/TP1-Groupe1
version 5.0/D1tp1/script.js
JavaScript
gpl-3.0
661
const discord = require('discord.js'); module.exports = { Client: require('./client'), CommandoClient: require('./client'), Command: require('./commands/base'), CommandArgument: require('./commands/argument'), CommandGroup: require('./commands/group'), CommandMessage: require('./commands/message'), Arg...
elax102/booty-bot
node_modules/discord.js-commando/src/index.js
JavaScript
gpl-3.0
3,179
/** * HTML Editor for the Cloud9 IDE * * @copyright 2010, Ajax.org B.V. * @license GPLv3 <http://www.gnu.org/licenses/gpl.txt> */ require.def("ext/html/html", ["core/ide", "core/ext", "ext/code/code", "text!ext/html/html.xml"], function(ide, ext, code, markup) { return ext.register("ext/html/html", { ...
auser/cloud9
client/ext/html/html.js
JavaScript
gpl-3.0
1,987
function enter(pi) { pi.warp(552000040); }
swordiemen/Mushy
scripts/portal/np_tuto_0_7.js
JavaScript
gpl-3.0
46
var searchData= [ ['mesh3ds',['Mesh3DS',['../classMesh3DS.html',1,'']]], ['meshfactory',['MeshFactory',['../classMeshFactory.html',1,'']]], ['meshnode',['MeshNode',['../classMeshNode.html',1,'']]], ['model3ds',['Model3DS',['../classModel3DS.html',1,'']]] ];
raphaelbresson/PolytechWars
html/search/classes_6d.js
JavaScript
gpl-3.0
266
function __export(m) { for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; } Object.defineProperty(exports, "__esModule", { value: true }); var layout_base_common_1 = require("./layout-base-common"); __export(require("./layout-base-common")); var LayoutBase = (function (_super) { __extends(Layou...
ner01/MobileAppTest
Groceries/platforms/android/src/main/assets/app/tns_modules/tns-core-modules/ui/layouts/layout-base.js
JavaScript
gpl-3.0
2,890
var util = require("util"); var EventEmitter = require("events").EventEmitter; function MyStream(a) { EventEmitter.call(this); } //var myo = {}; //util.inherits(myo, EventEmitter); util.inherits(MyStream, EventEmitter); MyStream.prototype.write = function(data) { this.emit("data", data); }; var stream = ne...
goodagood/testexp
s0110/tmp/util-inherite.js
JavaScript
gpl-3.0
589
module.exports={A:{A:{"1":"E A B","2":"K D G 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 XB","2":"eB BB YB"},D:{"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 ...
hhkaos/awesome-arcgis
node_modules/caniuse-lite/data/features/multibackgrounds.js
JavaScript
gpl-3.0
880
/** * */ Ext.define('Bloodbank.view.logalarm.mainscreen.AppAlarmPanel', { extend : 'Ext.form.Panel', xtype : 'appAlarmPanel', requires : [ 'Bloodbank.view.logalarm.mainscreen.AppAlarmPanelController' ], controller : 'appAlarmPanelController', items : [ { xtype : 'fieldset', title : 'App Alarm', collapsibl...
applifireAlgo/appDemoApps201115
bloodbank/src/main/webapp/app/view/logalarm/mainscreen/AppAlarmPanel.js
JavaScript
gpl-3.0
4,470
/* * Copyright (c) 2015-2017 IPT-Intellectual Products & Technologies (IPT). * All rights reserved. * * This file is licensed under terms of GNU GENERAL PUBLIC LICENSE Version 3 * (GPL v3). The full text of GPL v3 license is providded in file named LICENSE, * residing in the root folder of this project. * */ c...
iproduct/course-angular2
webstore-next-router/webstore-api/routes/auth.routes.js
JavaScript
gpl-3.0
3,481
'use strict'; const {TagLanguages} = require('./templates'); const UnsubscriptionMode = { MIN: 0, ONE_STEP: 0, ONE_STEP_WITH_FORM: 1, TWO_STEP: 2, TWO_STEP_WITH_FORM: 3, MANUAL: 4, MAX: 4 }; const SubscriptionStatus = { MIN: 0, SUBSCRIBED: 1, UNSUBSCRIBED: 2, BOUNCED: 3...
Mailtrain-org/mailtrain
shared/lists.js
JavaScript
gpl-3.0
902
var path = require('path') const initialState = { fileWindowVisible: false, sketches: './api/sketches/', blooprints: './api/blooprints/', currentBlooprint: 'open a blooprint', // ~/directory/path/ currentBlooprintPath: '', // path.join(blooprints,currentBlooprint) image: '', // ...
Blooprint/blooprint.xyz
src/client/reducers/fileStructure.js
JavaScript
gpl-3.0
1,287
/* 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/. */ define(function (require, exports, module) { 'use strict'; var AuthErrors = require('lib/auth-errors'); var...
swatilk/fxa-content-server
app/scripts/views/pp.js
JavaScript
mpl-2.0
719
/* 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/. */ const mapValuesByKeys = require('../lib/functional').mapValuesByKeys const _ = null const updateStatus = { UPDA...
bkardell/browser-laptop
js/constants/updateStatus.js
JavaScript
mpl-2.0
529
/* 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/. */ /** * The notifier triggers commands on multiple channels (iframe, tabs, browsers, etc). */ define(function (re...
swatilk/fxa-content-server
app/scripts/lib/channels/notifier.js
JavaScript
mpl-2.0
4,089
'use strict'; var express = require('express'); module.exports = function(dependencies) { var router = express.Router(), controllers = require('../controllers/feedback')(dependencies); router.post('/api/feedback', controllers.sendFeedbackMail); return router; };
ulamnet/hublin
backend/webserver/routes/feedback.js
JavaScript
agpl-3.0
281
'use strict'; describe('analytics service', function () { var sandbox, $rootScope, analyticsService, $analytics, $q; beforeEach(function () { sandbox = sinon.sandbox.create(); }); beforeEach(module('quill-grammar.services.analytics')); beforeEach(inject(function (_$rootScope_, ...
ddmck/Quill-Grammar
test/services/analytics.spec.js
JavaScript
agpl-3.0
1,285
/** * This file is part of Superdesk. * * Copyright 2015 Sourcefabric z.u. and contributors. * * For the full copyright and license information, please see the * AUTHORS and LICENSE files distributed with this source code, or * at https://www.sourcefabric.org/superdesk/license */ (function() { 'use strict'; W...
sivakuna-aap/superdesk
client/app/scripts/superdesk-authoring/workqueue/workqueue.js
JavaScript
agpl-3.0
5,759
/** * Base mw.TextSource object * * @param {Object} source Source object to extend * @param {Object} textProvider [Optional] The text provider interface ( to load source from api ) */ ( function( mw, $ ) { "use strict"; mw.TextSource = function( source ) { return this.init( source ); }; mw.TextSource.prototy...
SVSG/mwEmbed
modules/TimedText/resources/mw.TextSource.js
JavaScript
agpl-3.0
16,210
import api from '../api'; import { connectStream } from '../stream'; export const NICOVIDEO_RANKING_FETCH_SUCCESS = 'NICOVIDEO_RANKING_FETCH_SUCCESS'; export const NICOVIDEO_RANKING_FETCH_FAIL = 'NICOVIDEO_RANKING_FETCH_FAIL'; export function connectRankingStream(pollingRefresh = null) { return connectStream('nicov...
dwango/mastodon
app/javascript/mastodon/actions/nicovideo_rankings.js
JavaScript
agpl-3.0
1,148
OC.L10N.register( "twofactor_backupcodes", { "Generate backup codes" : "Útbúa öryggisafritunarkóða", "Backup codes have been generated. {{used}} of {{total}} codes have been used." : "Öryggisafritunarkóðar hafa verið útbúnir. {{used}} af {{total}} kóðum hafa verið notaðir.", "These are your backup c...
jbicha/server
apps/twofactor_backupcodes/l10n/is.js
JavaScript
agpl-3.0
1,383
module.exports = function(grunt) { grunt.loadNpmTasks('grunt-shell'); grunt.loadNpmTasks('grunt-contrib-uglify'); grunt.loadNpmTasks('grunt-contrib-watch'); grunt.initConfig({ shell: { browserify: { options: { stdout: true }, command: './node_modules/browserify/bin/c...
CryptArc/richwallet
Gruntfile.js
JavaScript
agpl-3.0
3,466
var cartoCSS_ref = { init : function () { // Init D3 Container this.__container = d3.select("#hook").append("div").attr('id', 'section_hook'); this.showresults(sections); this.createValues(values); }, search : function (string) { var tempSection = [ { name : 'Search Results', identifie...
mapic/mapic.js
docs/cartocss-reference/cartoref.js
JavaScript
agpl-3.0
7,458
/* * Copyright (C) 2012-2013 B3Partners B.V. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * ...
B3Partners/flamingo
viewer/src/main/webapp/viewer-html/common/viewercontroller/openlayers/OpenLayersArcServerLayer.js
JavaScript
agpl-3.0
3,416
#pragma strict /* This file is part of Stereoskopix FOV2GO for Unity V3. * URL: http://www.stereoskopix.com/ * Please direct any bugs/comments/suggestions to hoberman@usc.edu. * Stereoskopix FOV2GO for Unity Copyright (c) 2011-12 Perry Hoberman & MxR Lab. All rights reserved. * s3d Auto Depth Script revised 12.30.1...
hcilab-um/UnityHandlers
UnityMultiplatform/unity_epson-200/Assets/FOV2GO/Scripts/core/s3dAutoDepth.js
JavaScript
agpl-3.0
6,936
var searchData= [ ['flags',['flags',['../struct_beagle_goo_1_1_g_p_i_o_info.html#afeb1ff6e6ad263177a9b1bb82e7a0043',1,'BeagleGoo::GPIOInfo']]] ];
piranha32/IOoo
doc/doxygen/html/search/variables_66.js
JavaScript
lgpl-3.0
148
import React from 'react'; import ItemValue from './item-value'; export default React.createClass({ render() { let items = this.props.items.map(item => { return <tr key={item.name}> <td className="thin"> <div style={{ width: '25vw', overflow: 'hidden', textOverflow: 'ellipsis' }}>{item.na...
vamsirajendra/sonarqube
server/sonar-web/src/main/js/apps/system/section.js
JavaScript
lgpl-3.0
703
import { makeStyles } from '@material-ui/core/styles' import classnames from 'classnames' import React, { memo } from 'react' const useStyles = makeStyles({ table: { // backgroundColor: tableHeaderColor, tableLayout: 'fixed', borderCollapse: 'separate', borderSpacing: '0 0' } }) const Table = memo...
lamassu/lamassu-server
new-lamassu-admin/src/components/table/Table.js
JavaScript
unlicense
534
/** * Include this template file after backbone-forms.amd.js to override the default templates * * 'data-*' attributes control where elements are placed */ define(['jquery', 'underscore', 'backbone', 'backbone-forms'], function($, _, Backbone) { var Form = Backbone.Form; /** * Bootstrap templates for Ba...
arenadata/ambari
ambari-logsearch/ambari-logsearch-portal/src/main/webapp/libs/bower/backbone-forms/js/bootstrap.js
JavaScript
apache-2.0
1,736
// // Copyright (c) Microsoft and contributors. 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...
xingwu1/azure-sdk-for-node
lib/services/legacyStorage/lib/blob/models/servicepropertiesresult.js
JavaScript
apache-2.0
6,596
var LaunchPaneModel = { name : "LaunchPaneModel", parent : "PaneModel", definition : function(Clazz, System) { var log = System["logger"].createLog("Launchpane"); var util = System["util"]; var sp = Clazz.prototype.getSuperType().prototype; var ic = Clazz.prototype.getInstanceContext(); var sc = Clazz.prot...
kboom/gesktop
WebContent/sources/models/LaunchPane.js
JavaScript
apache-2.0
3,635
/* Define useful variable for flavor display * FLAVORS: list of flavors w/ there parameters * FLAVOR_SORT_PARAMS: Which parameter will be use to sort flavors * FLAVOR_MIN: Minimum value of free flavor available to be displayed * FLAVOR_DIV_NAME: The <div> section that will host view */ var FLAVORS = {}; var F...
LAL/openstack-lease-it
openstack_lease_it/lease_it/static/js/dashboard.js
JavaScript
apache-2.0
2,739
var appLocale = {lc:{"ar":function(n){ if (n === 0) { return 'zero'; } if (n == 1) { return 'one'; } if (n == 2) { return 'two'; } if ((n % 100) >= 3 && (n % 100) <= 10 && n == Math.floor(n)) { return 'few'; } if ((n % 100) >= 11 && (n % 100) <= 99 && n == Math.floor(n)) { return '...
cloud3edu/code-dot-org-old
dashboard/public/apps-package/js/da_dk/applab_locale.js
JavaScript
apache-2.0
2,728
/* * 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 ...
AlienYvonne/SSM
smart-zeppelin/zeppelin-web/src/app/dashboard/views/cluster/cluster.js
JavaScript
apache-2.0
1,336
/** * 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/alpha/alpha.js
JavaScript
apache-2.0
1,207
// Copyright 2014 The Oppia 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 required by ap...
anggorodewanto/oppia
core/templates/dev/head/exploration_editor/main_tab/GadgetEditor.js
JavaScript
apache-2.0
8,310
/* * 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.nl.js
JavaScript
apache-2.0
2,712
//// [exportDefaultTypeAndClass.ts] export default class Foo {} type Bar = {} export default Bar //// [exportDefaultTypeAndClass.js] "use strict"; exports.__esModule = true; var Foo = /** @class */ (function () { function Foo() { } return Foo; }()); exports["default"] = Foo;
Microsoft/TypeScript
tests/baselines/reference/exportDefaultTypeAndClass.js
JavaScript
apache-2.0
302
var activity = [ '<table class="table"><tr><td><b>Search Tips:</b><p><ul><li>Combine methods and approaches to find information efficiently.</li><li>Use tools that are not traditionally used for research, like Maps and Street View.<li>On tablets, it’s best to use the Google Maps application instead of looking at str...
esacosta/u-mooc
cpp_cli/assets/js/activity-6.2.js
JavaScript
apache-2.0
1,681
/** * 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...
sekikn/ambari
ambari-web/app/models/configs/objects/service_config.js
JavaScript
apache-2.0
6,317
/** * @license AngularJS v1.3.3-local+sha.14ff529 * (c) 2010-2014 Google, Inc. http://angularjs.org * License: MIT */ (function(window, angular, undefined) { 'use strict'; var $resourceMinErr = angular.$$minErr('$resource'); // Helper functions and regex to lookup a dotted path on an object // stopping at undefin...
pchaigno/grreat
gui/static/javascript/angular/angular-resource.js
JavaScript
apache-2.0
26,790
/** * Copyright 2012-2016, Plotly, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ 'use strict'; var barAttrs = require('../bar/attributes'); var extendFlat = require('../../lib').extendFlat; var barMarkerAt...
Science-for-Nature-and-People/hydraulic-fracturing
webapp/scripts/plotly.js-master/src/traces/histogram/attributes.js
JavaScript
apache-2.0
5,283
export { default as IncomingCallApp } from './IncomingCallApp'; export { default as IncomingCallPage } from './IncomingCallPage';
gpolitis/jitsi-meet
react/features/mobile/incoming-call/components/index.js
JavaScript
apache-2.0
130
(function(){ var Widget = function(dom){ this.init(dom); } Widget.prototype = { init: function(dom){ var $dom = $(dom); $dom.on('click', function(){ return confirm('确定要' + $dom.text() + '吗?'); }); } } window.widget.confirm ...
kingwon/garage
Public/js/widget/confirm.js
JavaScript
apache-2.0
345
/* JavaScript content from worklight/plugins/org.apache.cordova.camera/src/windows8/CameraProxy.js in JS Resources */ cordova.define("org.apache.cordova.camera.CameraProxy", function(require, exports, module) {/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements...
abssi/poc-tijari
.metadata/.plugins/com.ibm.etools.rpe.worklight/jslib/preview/windows8/worklight/plugins/org.apache.cordova.camera/src/windows8/CameraProxy.js
JavaScript
apache-2.0
17,546
import React, {Component, PropTypes} from 'react'; class VPaginatedTemplate extends Component { constructor(props) { super(props); this.state = { currentPage: 0 }; this.switchPage = this.switchPage.bind(this); } switchPage(page) { this.setState({currentPage: page}); } render() { ...
missioncommand/emp3-web
src/validation/js/components/shared/VPaginatedTemplate.js
JavaScript
apache-2.0
2,720
// Copyright 2016 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. print("Test that profiling can only be started when Profiler was enabled and that Profiler.disable command will stop recording all profiles."); Protoco...
hkernbach/arangodb
3rdParty/V8/v5.7.492.77/test/inspector/cpu-profiler/enable-disable.js
JavaScript
apache-2.0
2,503
//# sourceMappingURL=IPaintMenuItem.js.map
ImAliveApp/PirateCharacter
PirateCharacter/AliveEnvironmentObjects/MenuInterfaces/IPaintMenuItem.js
JavaScript
apache-2.0
42
'use strict'; angular.module('midasApp').config(function ($stateProvider) { $stateProvider.state('backend.user', { url: '/admin/user', templateUrl: 'backend/admin/user/user.html', controller: 'UserCtrl' }); });
meruvian/midasjs
app/backend/admin/user/user.route.js
JavaScript
apache-2.0
220
/** * 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...
jth/tez
tez-ui/src/main/webapp/app/scripts/mixins/model-refresh-mixin.js
JavaScript
apache-2.0
1,135
(function () { function Usernames ($cookies, $location) { var username = $cookies.get('blocChatCurrentUser'); var removeUser = function() { $cookies.remove('blocChatCurrentUser'); console.log("cookie removed " + $cookies.getAll()); $location.path('/set-username'); blocChatCurrentUser = null; }; ...
buckrivard/Bloc-Chat
dist/scripts/services/username.service.js
JavaScript
apache-2.0
757
/** * 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
testing/describes.js
JavaScript
apache-2.0
24,333
import Ember from 'ember'; import config from './config/environment'; var Router = Ember.Router.extend({ location: config.locationType }); Router.map(function() { this.route('index', { path: '/' }); this.route('login'); this.route('denied'); this.route('profile'); this.route('symbols'); this...
fhchina/Klondike
app/router.js
JavaScript
apache-2.0
884
/** * @license * Visual Blocks Editor * * Copyright 2012 Google Inc. * https://blockly.googlecode.com/ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/l...
cdjackson/ExtBlockly
blocks/colour.js
JavaScript
apache-2.0
3,503
//>>built define( "dojo/cldr/nls/brx/gregorian", //begin v1.x content { "dateFormatItem-yM": "M/yyyy", "field-dayperiod": "फुं/बेलासे", "dateFormatItem-yQ": "Q yyyy", "dayPeriods-format-wide-pm": "बेलासे", "field-minute": "मिनिथ", "eraNames": [ "ईसा.पूर्व", "सन" ], "dateFormatItem-MMMEd": "E, MMM d", "fiel...
ibmWebsphereExtremeScale/AirportSample
src/main/webapp/dojo/dojo/cldr/nls/brx/gregorian.js
JavaScript
apache-2.0
5,901
'use strict'; /** * @typedef {{ * name: string, * environment: string, * issue?: string, * expiration_date_utc?: string, * define_experiment_constant?: string, * }} */ let ExperimentConfigDef; /** * @typedef {{ * experimentA: ExperimentConfigDef | {}, * experimentB: ExperimentConfigDef | {}, * exp...
jridgewell/amphtml
build-system/tasks/release/index.js
JavaScript
apache-2.0
19,319
define(function(require) { /* DEPENDENCIES */ var Locale = require('utils/locale'); var Humanize = require('utils/humanize'); /* TEMPLATES */ var TemplateInfo = require('hbs!./template/html'); /* CONSTANTS */ var TAB_ID = require('../tabId'); var PANEL_ID = require('./template/...
tuxmea/one
src/sunstone/public/app/tabs/templates-tab/panels/template.js
JavaScript
apache-2.0
976
import Ember from 'ember'; const { computed } = Ember; export default Ember.Component.extend({ user: null, attributeBindings: ['title', 'href'], tagName: 'a', title: computed.readOnly('user.login'), // TODO replace this with a link to a native crates.io profile // page when they exist. h...
achanda/crates.io
app/components/user-link.js
JavaScript
apache-2.0
360
define(function (require) { var $ = require("jquery"); var template = require("hb!./ProductEdit.htm"); var te = require("jock/template/template-engine"); var viewManager = require("jock/view/view-manager"); var toastr = require("app/plugins/toastr"); var customerEdit = require("app/views/custom...
sabob/jock
spar-examples/src/js/app/views/product/ProductEdit.js
JavaScript
apache-2.0
3,363
// Copyright (c) 2012 Ecma International. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- es5id: 15.4.4.19-5-1 description: Array.prototype.map - thisArg not passed flags: [noStrict] includes: [fnGlobalObject.js] ---*/ fnGlobalObject()._15_4_4_19_5_1 = true; (fu...
m0ppers/arangodb
3rdParty/V8/V8-5.0.71.39/test/test262/data/test/built-ins/Array/prototype/map/15.4.4.19-5-1.js
JavaScript
apache-2.0
566
$(function(){ /******************************************************** * * Custom Javascript code for Themes Forever * Written by themesforever.com * *******************************************************/ // Section Experience / Education // --------------------------------------------------- // Col...
squallcs12/squallcs12
js/enterprise.js
JavaScript
apache-2.0
1,043
var Collection = require('ampersand-collection'); var CategoryItem = require('./categoryitem'); module.exports = Collection.extend({ model: CategoryItem, });
summerinthecity/uhitool
client/models/categoryitem-collection.js
JavaScript
apache-2.0
163
/** * 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...
telefonicaid/fiware-cosmos-ambari
ambari-web/app/models/form.js
JavaScript
apache-2.0
5,151
var path = require('path'); var moment = require('moment'); var pkg = require('../../package.json'); var common = require('../common'); var uuid = common.uuid; var stormpath = common.Stormpath; var loadedClient = null; var hasCleanupRun = false; var testRunId = uuid.v4().split('-')[0]; function getClient(cb) { if...
stormpath/stormpath-sdk-node
test/it/helpers.js
JavaScript
apache-2.0
5,531
var searchData= [ ['v',['v',['../classInput.html#a172fe6f4e048ad022e6dbb7e5096a565',1,'Input']]] ];
jarreed0/ArchGE
docs/html/search/variables_15.js
JavaScript
apache-2.0
102
define({ "commonMedia": { "mediaSelector": { "lblSelect1": "Πολυμέσα", "lblSelect2": "Περιεχόμενο", "lblMap": "Χάρτης", "lblImage": "Εικόνα", "lblVideo": "Βίντεο", "lblExternal": "Ιστοσελίδα", "lblUpload": "Μεταφόρτωση", "lblLink": "Σύνδεσμος", "disabled": "Αυ...
pleavin/map-journal-storytelling-template-js
src/app/storymaps/common/_resources/nls/el/media.js
JavaScript
apache-2.0
12,417
$(window).load(function() { //alert(screen.height); // alert($(window).height()); if($("#fix-nav-right").length) { if(screen.height > 800) { $("#fix-nav-right").css("top", "140px"); $("#container > #fix-nav-right").css("top", "140px"); $("#btn-location-close.close-overlay").css("top", "222px"); } els...
imtoantran/md
public/js/main.js
JavaScript
apache-2.0
10,094
/** * Copyright 2012 Cloud9 IDE, Inc. * * This product includes software developed by * Cloud9 IDE, Inc (http://c9.io). * * Author: Mike de Boer <mike@c9.io> */ "use strict"; var error = require("./error"); var Util = require("./util"); /** section: github * class Client * * [[Client]] can load any vers...
thenriquez/Terrence-Portfilo
node_modules/node-github/index.js
JavaScript
apache-2.0
23,073
'use strict'; const d3Selection = require('d3-selection'); const PubSub = require('pubsub-js'); const stackedAreaChart = require('./../../src/charts/stacked-area'); const colors = require('./../../src/charts/helpers/color'); const tooltip = require('./../../src/charts/tooltip'); const stackedDataBuilder = require('....
Golodhros/britecharts
demos/src/demo-stacked-area.js
JavaScript
apache-2.0
7,419
/*! * SAP UI development toolkit for HTML5 (SAPUI5/OpenUI5) * (c) Copyright 2009-2015 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ /** * Calendar Utility Class * * @namespace * @name sap.ui.unified.calendar * @public */ // Provides class sap.ui.u...
fconFGDCA/DetailCADA
resources/sap/ui/unified/calendar/CalendarUtils-dbg.js
JavaScript
apache-2.0
4,306
define(['backbone.paginator'], function(PageableCollection) { return PageableCollection.extend({ mode: 'client', url: '/vstat/overview', state: { pageSize: 15, }, }) })
DiamondLightSource/SynchWeb
client/src/js/modules/stats/collections/overview.js
JavaScript
apache-2.0
244
'use strict'; const log = require('intel').getLogger('browsertime.command.android'); const { Android, isAndroidConfigured } = require('../../../android'); class AndroidCommand { constructor(options) { this.options = options; } /** * Run a shell command on your Android phone. * @param {string} command...
sitespeedio/browsertime
lib/core/engine/command/android.js
JavaScript
apache-2.0
1,033
(function () { function start(delay) { var ws = new WebSocket("ws://" + window.location.host + "/w"); //noinspection JSUnusedLocalSymbols ws.onopen = function (event) { console.log("websocket opened"); }; ws.onmessage = function (event) { switch (event...
exzhawk/OmniOcular
src/main/resources/assets/omniocular/static/app.js
JavaScript
apache-2.0
850
$.fn.pageMe = function(opts){ var $this = this, defaults = { perPage: 7, showPrevNext: false, hidePageNumbers: false }, settings = $.extend(defaults, opts); var listElement = $this; var perPage = settings.perPage; var children = listEleme...
nathanphan/dmw
frontend/web/js/bootstrap-pager.js
JavaScript
bsd-2-clause
2,628
// cors-ionic.js module.exports = function (req, res, next) { // Use CORS on port 8100 for local dev / debug runs // This is the default port for Ionic res.header("Access-Control-Allow-Origin", "http://localhost:8100"); res.header("Access-Control-Allow-Headers", "Origin, X-Requested-With, Content...
holmwell/circle-blvd
server/node_modules/circle-blvd/middleware/cors-ionic.js
JavaScript
bsd-2-clause
535
window.startTest = function (done) { "use strict"; var node = document.getElementById("glcanvas"); var viewer = vgl.viewer(node); viewer.init(); viewer.renderWindow().resize($(node).width(), $(node).height()); var renderer = viewer.renderWindow().activeRenderer(); var reader = vgl.vtkRead...
dcjohnston/geojs
testing/test-cases/selenium-tests/vglObjectDraw/include.js
JavaScript
bsd-3-clause
889