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 _ = require('underscore') , assert = require('assert') , EventEmitter = require('events').EventEmitter , waatest = require('waatest') , portlets = require('../lib/waa/portlets') , PdObject = require('../lib/core/PdObject') , Pd = require('../index') , pdGlob = require('../lib/global') , utils = requ...
sebpiq/WebPd
test/helpers.js
JavaScript
lgpl-3.0
3,458
(function(){var __modFun = function(__require, promiseland){ __modFun = undefined; var classSystem = promiseland.classSystem; if (promiseland._hasModule({ hashStr: "2155bc6dc8372113a022f738f7243400" })){ return promiseland._getModule("2155bc6dc8372113a022f738f7243400"); }; var PL$1 = (function(){ "use strict"; var PL$...
soliton4/promiseland
test/test/typesafetyConstructor2.js
JavaScript
lgpl-3.0
2,966
var searchData= [ ['i2cconstants_2eh',['I2cConstants.h',['../_i2c_constants_8h.html',1,'']]] ];
yodor/arduino
sketchbook/libraries/DigitalIO/extras/html/search/files_1.js
JavaScript
lgpl-3.0
98
/** * Give you access to all of you employees. Game entity class. * * @class * @constructor */ function HumanResources() { /** * A callback method you might want to implement. It gets called at the start of each month. * @member {Function} * @example * company.humanResources.hiringProcess = function(applicati...
oglimmer/cyc
web/jsdoc/HumanResources.js
JavaScript
lgpl-3.0
1,282
/* ************************************************************************ qooxdoo - the new era of web development http://qooxdoo.org Copyright: 2004-2009 1&1 Internet AG, Germany, http://www.1und1.de License: LGPL: http://www.gnu.org/licenses/lgpl.html EPL: http://www.eclipse.org/org/d...
sebastienhupin/qxrad
qooxdoo/application/demobrowser/source/class/demobrowser/demo/data/Flickr.js
JavaScript
lgpl-3.0
4,837
/* Example config file for example Clusterio plugin Binary will be spawned using child_process.spawn and get input from stdin and text from stdout will be ran as commands in the factorio server. */ var os = require("os"); var binary = "build/clusterioPluginExample_windows"; if(os.platform == "linux") binary = "buil...
Danielv123/clusterioPluginExample
config.js
JavaScript
unlicense
958
var dataString ='<chart manageResize="1" palette="2" animation="1" lowerLimit="0" upperLimit="100" showShadow="1" caption="Revenue" colorRangeFillRatio="0,10,80,10" showColorRangeBorder="0" subcaption="US $ (1,000s)" roundRadius="8" plotAsDot="1" numberPrefix="$" numberSuffix="K" showValue="1">\n\ <colorRange>\n\ ...
cc14514/hq6
face-web/src/main/webapp/static/fusionWidgets/Gallery/Data/String/js/HBullet2.js
JavaScript
unlicense
602
var webpack = require('webpack'); var plugins = []; if (process.env.NODE_ENV === 'production'){ plugins = [ new webpack.optimize.UglifyJsPlugin({ compress: { warnings: false } }), new webpack.DefinePlugin({ 'process.env.NODE_ENV': JSON.st...
mirokk/react-content-builder
webpack.config.js
JavaScript
unlicense
1,119
describe('Reset Password', function () { it('password too small', function (client) { client.page.resetPassword().withResetCode("0123456789123456") .waitForElementVisible('.reset-password-view', 5000) .setValue('@passwordInput', 'password') .click('@submit') ....
FredericHeem/starhackit
client/test/nightwatch/test/testResetPassword.js
JavaScript
unlicense
391
var filter = {channel: null, votes: true, spam: true, system: true}; $(function () { $('[name]').each(function () { $(this).addClass($(this).attr('name')); }); var autoscroll = $('.autoscroll').is(':checked'); var $messages = $('#messages') var recent = []; function calculateMessageRate() { var last = rece...
chrisrico/Robin-Rewind
js/page.js
JavaScript
unlicense
5,895
var local = { get: function(key) { return JSON.parse(localStorage.getItem(key)); }, set: function(key, value) { return localStorage.setItem(key, JSON.stringify(value)); } };
EvanHahn/js13kgames-2013
src/lib/local.js
JavaScript
unlicense
185
import React, {Fragment, Component} from "react"; import {Button} from "helpers/reactstrap"; import { FaBan, FaFolderOpen, FaFolder, FaUpload, FaShare, FaRegFileVideo, FaRegFileAudio, } from "react-icons/fa"; import ObjPreview from "../TacticalMap/3dObjPreview"; import Measure from "react-measure"; import...
Thorium-Sim/thorium
src/components/views/AdminAssets/genericFileExplorer.js
JavaScript
apache-2.0
8,220
var exports = exports || this; exports.Twitter = (function(global) { var K = function(){}, isAndroid = Ti.Platform.osname === "android", jsOAuth = require('/ui/common/jsOAuth-1.3.1'); /** * Twitter constructor function * * var client = Twitter({ * consumerKey: "INSERT YOUR KEY HERE", * ...
Loumii/loumiievents
Resources/ui/common/twitter.js
JavaScript
apache-2.0
8,132
/** * System configuration for Angular 2 samples * Adjust as necessary for your application needs. */ (function(global) { // map tells the System loader where to look for things var map = { 'compiled': 'compiled', // 'dist', '@angular': 'node_modules/@...
WALK-fr/kuzzle-walk
systemjs.config.js
JavaScript
apache-2.0
1,737
describe("chorus.dialogs.CommentDialog", function () { beforeEach(function () { this.dialog = new chorus.dialogs.Comment({ entityType:"note", eventId:1, entityTitle:'note', pageModel:new chorus.models.Workfile() }); spyOn(this.dialog, 'makeEdit...
hewtest/chorus
spec/javascripts/dialogs/comment_dialog_spec.js
JavaScript
apache-2.0
4,001
$axure.loadCurrentPage({ "url":"管理员.html", "generationDate":new Date(1436333629768.11), "isCanvasEnabled":false, "variables":["OnLoadVariable", "temp"], "page":{ "packageId":"d06279e05e334f178fabbe803f809665", "type":"Axure:Page", "name":"管理员", "notes":{ }, "style":{ "baseStyle":"62...
yicold/axure-case
jzb/嘉禾良木-兼职邦-后台V1.0/files/管理员/data.js
JavaScript
apache-2.0
47,740
/*jslint node: true */ 'use strict'; var writebackmedoperationaldata = require('../resources/writebackmed/operationaldataResource'); var VistaJS = require('../VistaJS/VistaJS'); var rdk = require('../rdk/rdk'); var mock_session = { user: { username: '9E7A;pu1234', ...
KRMAssociatesInc/eHMP
rdk/product/production/rdk/jasmine-tests/writebackmed_operationaldataResource-spec.js
JavaScript
apache-2.0
30,713
function Config() { return { 'ssid' : 'your ssid', "password" : "your p@$$vv0rD", "security" : "WPA2-ASK", get: function(key) { return this[key]; } } } module.exports = new Config();
spark/softap-setup-js
example/config.js
JavaScript
apache-2.0
200
var carouselTemplate = " \x3Cdiv id=\"carousel-example-generic\" class=\"carousel slide\" data-ride=\"carousel\"\x3E\n \x3Cdiv class=\"carousel-inner\"\x3E \n \x3C\x2Fdiv\x3E\n\n \x3Ca class=\"left carousel-control\" href=\"#carousel-example-generic\" data-slide=\"prev\"\x3E\n \x3Cspan class=\"glyphicon glyphicon-chevr...
theoutlander/pinmark
resources/js/pinmark.js
JavaScript
apache-2.0
8,613
//>>built define("dojox/atom/widget/nls/bg/FeedEntryViewer",{displayOptions:"[\u043e\u043f\u0446\u0438\u044f \u0437\u0430 \u043f\u043e\u043a\u0430\u0437\u0432\u0430\u043d\u0435]",title:"\u0417\u0430\u0433\u043b\u0430\u0432\u0438\u0435",authors:"\u0410\u0432\u0442\u043e\u0440\u0438",contributors:"\u0421\u044a\u0442\u044...
Caspar12/zh.sw
zh.web.site.admin/src/main/resources/static/js/dojo/dojox/atom/widget/nls/bg/FeedEntryViewer.js
JavaScript
apache-2.0
732
'use strict'; function desktopreport($q, $routeParams, $location, common, datacontext, threatmodellocator, electron) { var fsp = require('promise-fs'); /*jshint validthis: true */ var vm = this; var controllerId = 'desktopreport'; var getLogFn = common.logger.getLogFn; var log = getLogFn(contro...
mike-goodwin/owasp-threat-dragon-desktop
app/threatmodels/desktopreport.js
JavaScript
apache-2.0
3,407
/* globals d3 */ /* Inspired a lot from: https://github.com/vicapow/angular-d3-talk/blob/master/slides/demos/lets-make-a-donut-chart-directive */ 'use strict'; /** * @ngdoc directive * @name couchD3App.directive:donutDisplay * @description * # donutDisplay */ angular.module('couchD3App').directive('donutDisplay'...
MatMath/couchD3
app/scripts/directives/donut-display.js
JavaScript
apache-2.0
3,659
Ext.define("app.view.plugin.QQOauthForm", { extend : "Ext.form.Panel", requires : [ "app.view.plugin.OauthPluginController", "app.view.plugin.OauthPluginModel" ], controller : "oauthplugin", viewModel : "oauthplugin", bodyPadding : 5, url : Ext.ctx + "/admin/oauth/qq/update", border : false, frame : fal...
xiangxik/java-platform
plugin/plugin-oauth/src/main/resources/META-INF/app/view/plugin/QQOauthForm.js
JavaScript
apache-2.0
1,557
/* Copyright 2012 Mozilla Foundation * * 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...
yurydelendik/pdf.js
src/core/evaluator.js
JavaScript
apache-2.0
127,251
const PagesMessages = { PageFormCreateDescription: { id: "app.page.form.create.description", defaultMessage: "Create a new form to collect various types of data" }, PageFormCreateTextNamePlaceholder: { id: "app.page.form.create.text.name.placeholder", defaultMessage: "e.g: Newsletters:" }, Pag...
Formette/App
src/locales/api/PagesMessages.js
JavaScript
apache-2.0
2,503
//// [parserSymbolProperty5.ts] class C { [Symbol.isRegExp]: string; } //// [parserSymbolProperty5.js] class C { }
mauricionr/TypeScript
tests/baselines/reference/parserSymbolProperty5.js
JavaScript
apache-2.0
126
const code = ` Flexio.pipe() .request({ method: 'GET', url: 'https://httpbin.org/get', params: { foo: 'bar', munch: 'rank' } }) .run(function(err, response) { console.log(response.data) })` const fn = (Flexio, callback) => { Flexio.pipe() .request({ method: 'GET', ...
flexiodata/flexio-sdk-js
examples-src/examples/pipe/request/get-with-params.js
JavaScript
apache-2.0
524
var chai = require('chai') chai.Should() chai.use(require('chai-things')) chai.use(require('@signalk/signalk-schema').chaiModule) describe('130577 direction_data sentence without drift', function () { var tree = require('./testMapper').toNested( JSON.parse( '{"timestamp":"2014-08-15-10:01:35.236Z","prio":"...
SignalK/n2k-signalk
test/130577_direction_data.js
JavaScript
apache-2.0
2,021
/*! * artTemplate - Template Engine * https://github.com/aui/artTemplate * Released under the MIT, BSD, and GPL Licenses */ !(function () { /** * 模板引擎 * @name template * @param {String} 模板名 * @param {Object, String} 数据。如果为字符串则编译并缓存编译结果 * @return {String, Function} 渲染好的H...
xutao1989103/preceLess
src/main/webapp/static/plugins/artTemplate/dist/template-debug.js
JavaScript
apache-2.0
17,062
(function($){ /** * jqGrid extension for custom methods * Tony Tomov tony@trirand.com * http://trirand.com/blog/ * * Wildraid wildraid@mail.ru * Oleg Kiriljuk oleg.kiriljuk@ok-soft-gmbh.com * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.o...
Himkwok/TaxEasy
Aptana Jaxer/public/demo/Oa/static/js/jquery-1.5.1/jqGrid/js/grid.custom.js
JavaScript
apache-2.0
31,586
'use strict'; var module = angular.module('keycloak.services', [ 'ngResource', 'ngRoute' ]); module.service('Dialog', function($modal, $translate) { var dialog = {}; var openDialog = function(title, message, btns, template) { var controller = function($scope, $modalInstance, title, message, btns) { ...
vmuzikar/keycloak
themes/src/main/resources/theme/base/admin/resources/js/services.js
JavaScript
apache-2.0
68,684
import alt from '../alt'; import DockerUtil from '../utils/DockerUtil'; import ContentRepositoryUtil, {ContentRepository} from '../utils/ContentRepositoryUtil'; class ContentRepositoryActions { launch (id, displayName, controlRepositoryLocation, contentRepositoryPath, preparer, template) { let repo = new Conten...
deconst/client
src/actions/ContentRepositoryActions.js
JavaScript
apache-2.0
1,606
import '../less/blog.less'; import Vue from 'vue' Vue.config.productionTip = false;
memodir/cv
static_src/src/js/blog.js
JavaScript
apache-2.0
87
OC.L10N.register( "files_trashbin", { "Delete" : "Odstrániť" }, "nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;");
kebenxiaoming/owncloudRedis
apps/files_trashbin/l10n/sk.js
JavaScript
apache-2.0
138
//https://github.com/deadlyicon/s.js !function(jQuery, DOCUMENT, undefined){ jQuery.prototype.toSelector = function(){ return S(this.selector); }; S.prototype.get = function(){ return jQuery(this.toSelector()); }; S.prototype.bind = function(types, data, fn){ var index, wrapper; if (typeof...
otherio/threadable.com
vendor/assets/javascripts/jquery-s.js
JavaScript
apache-2.0
1,715
/** * EasyNotif jQuery Plugin * version: 1.0.0 2016/07/05 * @requires jQuery v1.11.3 or later * Copyright (c) 2016 Amine Karismatik * Project repository: https://github.com/AmineKarismatik/EasyNotif * Dual licensed under the Apache License. */ (function($){ $.fn.easynotif=function(options){ var defaultOpt...
AmineKarismatik/EasyNotif
js/easynotif.js
JavaScript
apache-2.0
1,135
'use strict'; var path = require('path'); var gulp = require('gulp'); var conf = require('./conf'); var $ = require('gulp-load-plugins')({ pattern: ['gulp-*', 'main-bower-files', 'uglify-save-license', 'del'] }); gulp.task('partials', ['clean'], function () { return gulp.src([ path.join(conf.path...
Gotjoy/ngDatetimePicker
gulp/build.js
JavaScript
apache-2.0
3,373
/* @flow */ export * from './text'; export * from './loading'; export * from './buttons';
paypal/paypal-checkout
src/ui/index.js
JavaScript
apache-2.0
91
var gulp = require('gulp'), requireDir = require('require-dir'), runSequence = require('run-sequence'); module.exports = (function(){ requireDir('gulp/tasks', {recurse: true}); function developmentTask (callback) { runSequence( ['clean-all'], ['fonts'], ['bui...
gbif/ssg
index.js
JavaScript
apache-2.0
860
// Copyright 2022 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
googleapis/nodejs-security-private-ca
samples/generated/v1/certificate_authority_service.undelete_certificate_authority.js
JavaScript
apache-2.0
2,911
'use strict'; describe('Factory: TemporalOperatorService', function () { beforeEach(module('sophe.services.temporalOperator')); // Initialize the controller and a mock scope beforeEach(inject(function (_TemporalOperatorService_, _$http_, _$httpBackend_) { this.TemporalOperatorService = _TemporalOperatorSer...
PheMA/phema-author
test/spec/services/temporalOperator.js
JavaScript
apache-2.0
4,725
/** * @license Apache-2.0 * * Copyright (c) 2020 The Stdlib Authors. * * 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 a...
stdlib-js/stdlib
lib/node_modules/@stdlib/stats/base/smidrange/test/test.js
JavaScript
apache-2.0
2,062
/** * Copyright (c) 2014, 2016, Oracle and/or its affiliates. * The Universal Permissive License (UPL), Version 1.0 */ "use strict"; define(['./DvtToolkit', './DvtTimeAxis', './DvtOverview', './DvtTimeComponent'], function(dvt) { // Internal use only. All APIs and functionality are subject to change at any time. ...
charlier-shoe/2fauth
frontend/js/libs/oj/v2.1.0/debug/internal-deps/dvt/DvtTimeline.js
JavaScript
apache-2.0
258,837
var bounce_locale = {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)) { retu...
ty-po/code-dot-org
dashboard/public/apps-package/js/ko_kr/bounce_locale-edd5fedf9b1707dca5fed9c6ba169919.js
JavaScript
apache-2.0
14,065
/** * Copyright JS Foundation and other contributors, http://js.foundation * * 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 r...
Kazuki-Nakanishi/node-red
red/api/index.js
JavaScript
apache-2.0
3,370
/* * Copyright (C) 2013 salesforce.com, 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 ...
madmax983/aura
aura-impl/src/main/resources/aura/context/AuraContext.js
JavaScript
apache-2.0
19,160
/*! * ${copyright} */ sap.ui.define(['jquery.sap.global', './Matcher'], function ($, Matcher) { "use strict"; /** * AggregationLengthEquals - checks if an aggregation contains a specified number of entries. * * @class AggregationLengthEquals - checks if an aggregation contains a specified number of entries....
cschuff/openui5
src/sap.ui.core/src/sap/ui/test/matchers/AggregationLengthEquals.js
JavaScript
apache-2.0
2,267
var common = require('../casper_lib/common.js').common; common.start_and_log_in(); casper.then(function () { var menu_selector = '#settings-dropdown'; casper.waitUntilVisible(menu_selector, function () { casper.click(menu_selector); }); }); casper.then(function () { casper.test.info('Organiza...
jackrzhang/zulip
frontend_tests/casper_tests/10-admin.js
JavaScript
apache-2.0
16,230
var Alloy = require("alloy"); var UTIL = require("utilities"); var HTTP = require("http"); var APP = { ID: null, VERSION: null, CVERSION: "1.2.1", LEGAL: { COPYRIGHT: null, TOS: null, PRIVACY: null }, ConfigurationURL: null, Nodes: [], Settings: null, Devic...
bergero8/291-mobileapp
Resources/android/core.js
JavaScript
apache-2.0
19,053
/** * Copyright 2016 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 applic...
zhaoz/lighthouse
lighthouse-core/test/driver/index.js
JavaScript
apache-2.0
5,750
'use strict'; /* Controllers */ var smeControllers = angular.module('smeControllers', ['kendo.directives', 'underscore']); function calcCols(cols, data) { if ((cols && cols.length > 0) || !data) { return cols; } var NumCols = Math.floor((Math.random() * 10) + 1); var kendoCols = []; va...
entersoftsa/eswebapiangularjs
examples/eswebapiclient/smejs/controllers.js
JavaScript
apache-2.0
11,701
exports.execute = function (options) { describe('For determining order of visible foreign key, ', function () { var schemaName = "visible_foreign_keys_schema", tableWithAnnotation = "vfk_table_with_annotation", tableWithoutAnnotation = "vfk_table_without_annotation", sch...
informatics-isi-edu/ermrestjs
test/specs/annotation/tests/04.visible_foreign_keys.js
JavaScript
apache-2.0
2,725
const assert = require('assert'); const describe = require('mocha').describe; // avoid eslint warnings const it = require('mocha').it; // avoid eslint warnings const request = require('request'); const fs = require('fs'); const path = require('path'); const proxyquire = require('proxyquire'); const Tech = require('../s...
gbaudhuin/whatsbehind
test/tech.js
JavaScript
apache-2.0
38,375
/* * Minio Cloud Storage (C) 2018 Minio, 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...
jimjag/minio
browser/app/js/alert/actions.js
JavaScript
apache-2.0
1,150
import { R, BPromise, log, chalk, promisifyAll } from '../utils'; var GithubApi = require("github"); class Github { constructor(api_key) { this.api_key = api_key; this.api = new GithubApi({ version: '3.0.0', // debug: true }); this.api.authenticate({ type: "basic", username: ...
azukiapp/github-pivotal
src/github/index.js
JavaScript
apache-2.0
2,172
/* * Copyright 2019 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 agr...
naveenbhaskar/gocd
server/webapp/WEB-INF/rails/spec/webpack/lib/form_helper_spec.js
JavaScript
apache-2.0
2,451
/* * Copyright 2020 Google LLC * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
GoogleForCreators/web-stories-wp
packages/story-editor/src/components/canvas/test/multiSelectionMoveable.js
JavaScript
apache-2.0
4,410
// https://eslint.org/docs/user-guide/configuring module.exports = { root: true, parser: 'babel-eslint', parserOptions: { sourceType: 'module' }, env: { browser: true, }, // https://github.com/standard/standard/blob/master/docs/RULES-en.md extends: 'standard', plugins: [ // required to li...
exarus/ai-assignments
.eslintrc.js
JavaScript
apache-2.0
560
(function () { 'use strict'; app.controller('reportJobsC', reportJobsC); function reportJobsC($scope, $routeParams, $http, reportJobsService, dashboardFactory){ var vm = $scope; vm.report = reportJobsService.report(); vm.report.searchParam.startdate = $routeParams.startdate; vm.report.searchParam.endda...
NerdCats/T-Rex
app/controllers/reportJobsC.js
JavaScript
apache-2.0
861
/** * Copyright 2016 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 applic...
zhaoz/lighthouse
lighthouse-core/test/audits/short-name.js
JavaScript
apache-2.0
2,076
define([ "clientcore", "clientajax" ], function( jQuery ) { // Install script dataType jQuery.ajaxSetup({ accepts: { script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript" }, contents: { script: /(?:java|ecma)script/ }, converters: { "text script": function( te...
sinahamzezade/persian-bootstrap-admin
client/bower_components/jquery/src/ajax/script.js
JavaScript
apache-2.0
1,277
/** * nuts.js * Created by dcorns on 9/11/15 * @author Copyright © 2015 Dale Corns * @fileOverview a pinochle game: Handle the card playing logic. */ 'use strict'; /** * * @type {{teamOneTricks: {tricks: Array, points: number}, teamTwoTricks: {tricks: Array, points: number}, currentCards: Array, currentWinner: {...
dcorns/dc-pinochle
api/js/nuts.js
JavaScript
apache-2.0
8,008
import React from 'react'; import ReactCSSTransitionGroup from 'react-addons-css-transition-group'; import { trimString } from '../../utils/index'; const BestNewList = (props) => ( <ReactCSSTransitionGroup className="top10-item" component="section" transitionName="top10-item" transitionEnterTimeout={100...
poeti8/findrap.xyz
components/BestNew/List.js
JavaScript
apache-2.0
774
// // Copyright 2010-2015 Three Crickets LLC. // // The contents of this file are subject to the terms of the Apache License // version 2.0: http://www.apache.org/licenses/LICENSE-2.0 // // Alternatively, you can obtain a royalty free commercial license with less // limitations, transferable or non-transferable, direc...
fengshao0907/mongovision
components/mongovision/component/applications/mongovision/resources/scripts/mongovision.js
JavaScript
apache-2.0
28,126
function Controller() { function login() { if (null != $.username.value && null != $.senha.value) { Ti.App.fireEvent("app:preload", null); Alloy.Globals.Util.login($.username.value, $.senha.value, processa); } } function processa(e) { Ti.App.fireEvent("app:pre...
danieldms/empresajr
Resources/android/alloy/controllers/login.js
JavaScript
apache-2.0
5,780
import React from 'react' import { Component } from 'react' import PropTypes from 'prop-types' import { connect } from 'react-redux' import { reduxForm } from 'redux-form' import { loginUser } from '../../actions/authenticationActions' const formName = 'login-user-form' /** * Component used to authenticate users bef...
tlisonbee/cerberus-management-service
dashboard/app/components/LoginUserForm/LoginUserForm.js
JavaScript
apache-2.0
4,412
/* * Licensed to the Sakai Foundation (SF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The SF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use th...
Ultimedia/3akai-UX-Vanilla
devwidgets/recentcontactsnew/javascript/recentcontactsnew.js
JavaScript
apache-2.0
10,936
/** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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 a...
stdlib-js/stdlib
lib/node_modules/@stdlib/time/seconds-in-year/lib/index.js
JavaScript
apache-2.0
1,123
'use strict'; /*globals JSkeleton, _ */ /* jshint unused: false */ JSkeleton.registerHelper('@component', function(params, env, args) { // env.enviroment._app; // env.enviroment.channel; //env.enviroment._view, view-controller // params = params || {};...
bq/jskeleton
src/helpers/component.js
JavaScript
apache-2.0
1,225
var albumPicasso = { title: 'The Colors', artist: 'Pablo Picasso', label: "Cubism", year: '1881', albumArtUrl: 'assets/images/album_covers/01.png', songs: [ {title: 'Blue', duration: 161.71, audioUrl:'assets/music/blue'}, {title: 'Green', duration: 103.96, audioUrl:'assets/music/green'}, {title: 'Red'...
jamesvas5307/bloc-jams-angular
app/scripts/fixtures.js
JavaScript
apache-2.0
1,267
define([ './ListView', './BaseView', 'underscore' ], function(ListView, BaseView, _) { return BaseView.extend({ tpl: '<a href="#" class="btn btn-link load-more"><h4>Show More</h4></a>', events: { 'click .load-more': 'loadMore' }, className: 'list-group-loa...
ozoneplatform/omp-marketplace
javascript/src/views/LoadMoreListView.js
JavaScript
apache-2.0
1,819
var fs = require('fs'); var async = require('async'); var chalk = require('chalk'); var figures = require('figures'); var path = require('path'); var Log = require('../Log.js'); var Time = require('../Time.js'); var MigratProjectLoader = require('../MigratProjectLoader.js'); module.exports = function(options, callback...
naturalatlas/migrat
lib/Commands/create.js
JavaScript
apache-2.0
2,423
var searchData= [ ['echo',['echo',['../classpexpect_1_1pty__spawn_1_1spawn.html#a77bf7f6a0fabd8316e5e30ed4f5c3337',1,'pexpect::pty_spawn::spawn']]], ['embarcadero',['Embarcadero',['../classblackjack_1_1cmake_1_1vars_1_1_compiler_i_d_1_1_compiler_i_d.html#a3e6923ac1b2b531752ef330967341caa',1,'blackjack::cmake::vars:...
grbd/GBD.Build.BlackJack
docs/doxygen/html/search/all_5.js
JavaScript
apache-2.0
10,141
/** * */ var dataset=new Array(); var data1=new Array(); var data2=new Array(); for(h=0;h<type.length;h++){ qvalue[h]=qvalue[h]-qavg[h]; var ob={type:type[h],score:qavg[h]}; data1.push(ob); var ob1={type:type[h],score:qvalue[h]}; data2.push(ob1); } var obj1={name:"平均分",exam:data1}; dataset.push(...
WilliamWangZi/test
messagesystem/WebRoot/JS/AllType.js
JavaScript
apache-2.0
3,115
/** * @license Apache-2.0 * * Copyright (c) 2021 The Stdlib Authors. * * 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 a...
stdlib-js/stdlib
lib/node_modules/@stdlib/math/special/abs/benchmark/benchmark.ndarray_nd_noncontiguous_generic.native.js
JavaScript
apache-2.0
2,447
var detect_rpc_8c = [ [ "MAX_SUBSTRINGS", "detect-rpc_8c.html#a7d9ab03945d9f1a2af62c4bb49206536", null ], [ "PARSE_REGEX", "detect-rpc_8c.html#adcc3158aa6bb4d1bd0ddf953a33f55ec", null ], [ "DetectRpcFree", "detect-rpc_8c.html#acb73d1a55d544fefa4d86d398661e7b8", null ], [ "DetectRpcMatch", "detect-rpc_8c...
onosfw/apis
suricata/apis/detect-rpc_8c.js
JavaScript
apache-2.0
734
/** * Copyright 2013-2017 the original author or authors from the JHipster project. * * This file is part of the JHipster project, see http://www.jhipster.tech/ * for more information. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Li...
liseri/generator-jhipster
generators/client/index.js
JavaScript
apache-2.0
18,955
var searchData= [ ['codegen',['CodeGen',['../namespace_visual_entity_designer_tools_1_1_code_gen.html',1,'VisualEntityDesignerTools']]], ['dialogs',['Dialogs',['../namespace_visual_entity_designer_tools_1_1_dialogs.html',1,'VisualEntityDesignerTools']]], ['models',['Models',['../namespace_visual_entity_designer_t...
marcelov2/VEDTTemplates
Docs/html/search/namespaces_0.js
JavaScript
apache-2.0
497
const assert = require('assert'); const getWorkflowUpdates = require('../../../lib/management/getWorkflowUpdates'); const workflow1 = { workflowId: 'w1', prefix: '/foo', destination: { locations: ['a', 'b', 'c'], }, }; const workflow1Mod = { workflowId: 'w1', prefix: '/foo', ...
scality/backbeat
tests/unit/management/getWorkflowUpdates.spec.js
JavaScript
apache-2.0
5,796
/* * Copyright (c) 2016 Tech Mahindra Limited, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ def...
demx8as6/CENTENNIAL
02-MWTN-PoC/code/ux/mwsdnconfigApp/mwsdnconfigApp-module/src/main/resources/mwsdnconfigApp/mwsdnconfigApp.controller.js
JavaScript
apache-2.0
14,159
/** * @license Apache-2.0 * * Copyright (c) 2020 The Stdlib Authors. * * 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 a...
stdlib-js/stdlib
lib/node_modules/@stdlib/stats/base/dmediansorted/benchmark/benchmark.native.js
JavaScript
apache-2.0
2,129
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = cargo; var _queue = require('./internal/queue'); var _queue2 = _interopRequireDefault(_queue); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : {default: obj}; } /** * A cargo of tasks...
ionutbarau/petstore
petstore-app/src/main/resources/static/node_modules/bower/lib/node_modules/form-data/node_modules/async/cargo.js
JavaScript
apache-2.0
4,748
sap.ui.define(['sap/ui/webc/common/thirdparty/base/asset-registries/Icons'], function (Icons) { 'use strict'; const name = "heading2"; const pathData = "M0 400V80q0-16 16-16h8q16 0 16 16v144h176V80q0-16 16-16h8q6 0 11 4.5t5 11.5v320q0 7-5 11.5t-11 4.5h-8q-16 0-16-16V256H40v144q0 16-16 16h-8q-16 0-16-16zm341-126q5-7 ...
SAP/openui5
src/sap.ui.webc.common/src/sap/ui/webc/common/thirdparty/icons/v4/heading2.js
JavaScript
apache-2.0
798
/** * Visual Blocks Language * * Copyright 2012 Google Inc. * http://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/licenses/LIC...
jimherd/Robokid_Blockly
generators/dart/text.js
JavaScript
apache-2.0
10,308
function exportRemoveExcel(){ var vals = []; $("#selectExportModal input[type='checkbox']:not(:checked)").each(function(){ vals.push($(this).val()); }); var model = exportModol(); var checkModels = []; for (var i = 0; i < model.length; i++) { var d = model[i]; var state = true; for (var j = 0; j < vals.le...
huahuajjh/requisition_land
WebRoot/assets/pageJs/projectManagement/removeExcelHead.js
JavaScript
apache-2.0
6,445
/** * Copyright IBM Corp. 2016, 2018 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import Color from 'color'; /** * Adjust a given token's lightness by a specified percentage * Example: token = hsl(10, 10, 10); * adjustLi...
carbon-design-system/carbon-components
packages/themes/src/tools.js
JavaScript
apache-2.0
785
/** * globe.js library - visualizes individual data on an interactive globe * * Based on webgl-globe hosted at the time of this writing at * http://code.google.com/p/webgl-globe/ * * Copyright 2011 Data Arts Team, Google Creative Lab * Copyright 2013 Matthias Gazzari, Annemarie Mattmann, André Wolski * * Li...
Cyber-Incident-Monitor/globe.js
src/position.js
JavaScript
apache-2.0
5,865
import React from 'react' import {Router, Route, hashHistory, IndexRoute} from 'react-router' import App from './App' import FreeBillManager from './modules/FreeBillManager/BillManager' import FreeBillProgress from './modules/FreeBillProgress/List' import CostPay from './modules/CostPay/List' import CostForm from './m...
hong1012/FreePay
src/menu.js
JavaScript
apache-2.0
1,433
import fs from 'fs'; import path from 'path'; import { isLocalId, winningRev } from 'pouchdb-utils'; import levelup from 'levelup'; import { obj as through } from 'through2'; import LevelWriteStream from "level-write-stream"; var stores = [ 'document-store', 'by-sequence', 'attach-store', 'attach-binary-store'...
daleharvey/pouchdb
packages/pouchdb-adapter-leveldb-core/src/migrate.js
JavaScript
apache-2.0
5,173
var remote = require('remote'); var Menu = remote.require('menu'); var handlers = require('./mainMenuHandlers.js'); var topMenuTemplate = [{ label: 'File', submenu: [{ label: 'Save', accelerator: 'Command+S', click: function(){ handlers.openImages(); } }, { ...
akeresztesgh/DasAnimationTool
app/menus/menuHandler.js
JavaScript
apache-2.0
5,124
/*! * Start Bootstrap - Freelancer Bootstrap Theme (http://startbootstrap.com) * Code licensed under the Apache License v2.0. * For details, see http://www.apache.org/licenses/LICENSE-2.0. */ // jQuery for page scrolling feature - requires jQuery Easing plugin $(function() { $('body').on('click', '.page-scroll...
orion6/knowledge_bricks
js/freelancer.js
JavaScript
apache-2.0
1,456
/* * Author: Yves Van Broekhoven & Simon Menke * Created at: 2012-07-05 * * Requirements: * - jQuery * - jQuery UI * - Chosen * * Version: 1.0.0 */ (function($) { $.fn.chosenOrder = function() { var $this = this.filter('.chzn-sortable[multiple]').first(), $chosen = $this.siblings('.chzn-conta...
manuelblanch/ebreinventori
assets/js/jquery-chosen-sortable.js
JavaScript
apache-2.0
1,578
var ViewManager = { views: [], mapper: {}, dispatcher: null, find: function(name) { var result = null; this.views.forEach(function(v) { if (v.name == name) result = v.view; }); return result; }, // get is an alias of find get: fun...
xdevops/ibm-containers-emulator
api/ccs/viewmanager.js
JavaScript
apache-2.0
4,155
class ArticleController { /** * * @param $scope * @param Post * @param $stateParams * @param $sce * @ngInject */ constructor($scope, Post, $stateParams, $sce) { //ugly shit to make controllerAs work with ionic wtf ???!!??! $scope.vm = this; this.post = Post.get($stateParams.id); ...
Charl---/ionic1x-webpack-wordpress
src/pages/article/article.controller.js
JavaScript
apache-2.0
453
function strWithName(str) { var arr = str.split(','); console.log("arr"); console.log(arr); var arrName = []; for (str in arr) { console.log(arr[str]) arrName.push(arr[str].split(':')[0]) } console.log("arrName"); console.log(arrName); return arrName; } module.exp...
kingwangboss/lotteryWebApp
src/util/echartGetName.js
JavaScript
apache-2.0
359
//>>built define("dojox/color/Palette",["dojo/_base/lang","dojo/_base/array","./_base"],function(k,h,c){function t(a,b,d){var e=new c.Palette;e.colors=[];h.forEach(a.colors,function(a){e.colors.push(new c.Color({r:Math.min(255,Math.max(0,"dr"==b?a.r+d:a.r)),g:Math.min(255,Math.max(0,"dg"==b?a.g+d:a.g)),b:Math.min(255,M...
Caspar12/zh.sw
zh.web.site.admin/src/main/resources/static/js/dojo/dojox/color/Palette.js
JavaScript
apache-2.0
5,096
'use strict'; angular.module('raoweb').controller('loginCtrl', ['$scope', 'loginService', '$location', '$rootScope', function ($scope, loginService, $location, $rootScope) { $scope.msgtxt = ''; $scope.login = function (data) { $rootScope.asd = $scope; loginService.login(data, $rootScope.asd); ...
IngenieriaDeSistemasUTB/raofrontend
scripts/controllers/loginCtrl.js
JavaScript
apache-2.0
330
// For iOS7 only, set the window's top to 20 so they start under the status bar. Alloy.Globals.windowTop = (OS_IOS && parseInt(Ti.Platform.version[0], 10) >= 7) ? 20 : 0; function doClick(e) { alert($.label.text); } $.index.open();
vlucas/titemplate
app/controllers/index.js
JavaScript
apache-2.0
238
'use strict'; /* Controllers */ var app = angular.module('ng-dashboard.controllers.dry', []); app.controller('DryController', ['$scope', 'DryFactory', function ($scope, DryFactory) { DryFactory.query({}, function (data) { $scope.numberOfWarnings = data.numberOfWarnings; $scope.numberOfHighPriorityWarnings...
atomfrede/animated-octo-adventure
jenkins.web/src/main/webapp/app/controllers/dry.js
JavaScript
apache-2.0
1,696
define([ 'dojo/_base/declare', 'dojo/_base/lang', 'dojo/topic' ],function(declare,lang, topic){ return declare(null, { postCreate: function(){ this.suffixes = ["csv", "doc", "docx", "ppt", "pptx", "xls", "xlsx", "gml", "pdf", "zip", "xml", "html", "htm", "aspx", "lyr"]; this.suffixes...
Esri/geoportal-server
components/wab/FromContext/common/LinksProcessor.js
JavaScript
apache-2.0
8,188