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 outback = function (s) { while (s.length < 70) s += ' '; var l = s.length; for (var i = 0; i < l; i++) s += String.fromCharCode(8); process.stdout.write(s); } var beforebydstart=function(s,status) { //console.log("start",s.length); } var afterbodyend=function(s,status) { //console.log("end",s.len...
ksanaforge/dev2014-sample
yijing/mkdb.js
JavaScript
gpl-3.0
924
/************************************************************************ * This file is part of EspoCRM. * * EspoCRM - Open Source CRM application. * Copyright (C) 2014 Yuri Kuznetsov, Taras Machyshyn, Oleksiy Avramenko * Website: http://www.espocrm.com * * EspoCRM is free software: you can redistribute it and...
lucasmattos/crm
client/modules/crm/src/views/contact/detail.js
JavaScript
gpl-3.0
1,870
System.register(["rtts_assert/rtts_assert", "angular2/src/facade/lang", "angular2/test_lib", "angular2/di"], function($__export) { "use strict"; var assert, isBlank, BaseException, describe, ddescribe, it, iit, expect, beforeEach, Injector, Inject, I...
nayrnet/raspipc
public/vendor/angular2/test/di/injector_spec.js
JavaScript
gpl-3.0
16,012
/** * Copyright (c) 2011 Endeavor Systems, Inc. * * This file is part of OpenFISMA. * * OpenFISMA is free software: you can redistribute it and/or modify it under the terms of the GNU General Public * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any la...
boydjd/openfisma
public/javascripts/Fisma/Chart.js
JavaScript
gpl-3.0
104,075
/* * Copyright (C) Camptocamp * * This file is part of geOrchestra * * geOrchestra is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. *...
pgiraud/georchestra
extractorapp/src/main/webapp/app/js/GEOR_layerstree.js
JavaScript
gpl-3.0
43,725
var structMFRC522_1_1Uid = [ [ "sak", "structMFRC522_1_1Uid.html#a90aa2fd57a03011252148c2ccdc8875b", null ], [ "size", "structMFRC522_1_1Uid.html#a49c06f93c7748abe00a9ab5899d479b7", null ], [ "uidByte", "structMFRC522_1_1Uid.html#a5581167c1e1c8beb98c44ff86f4fbc52", null ] ];
DAlexis/caustic-lasertag-system
docs/doxygen/html/structMFRC522_1_1Uid.js
JavaScript
gpl-3.0
287
/*! * Ext JS Library 4.0 * Copyright(c) 2006-2011 Sencha Inc. * licensing@sencha.com * http://www.sencha.com/license */ Ext.define('MyDesktop.App', { extend: 'Ext.ux.desktop.App', requires: [ 'Ext.window.MessageBox', 'Ext.ux.desktop.ShortcutModel', 'Modules.samples...
bala4901/tinywms
js/App.js
JavaScript
gpl-3.0
4,128
function BotControls(ipcMain,arduinoInterface){ this.getIpcMain = function(){ return ipcMain; } this.getArduinoInterface = function(){ return arduinoInterface; } } BotControls.prototype.move = function(direction,speed){ this.getArduinoInterface().send('M'+direction.toUpperCase()...
harry-the-bot/bot-interface
src/BotControls/index.js
JavaScript
gpl-3.0
360
var mouseControll = require('./mouseControll') module.exports = { moveMouse: mouseControll.moveMouse, stopStartActions: mouseControll.stopStartActions }
IevaNavikiene/MindMouse
actions/index.js
JavaScript
gpl-3.0
158
import validateMailto from '@learninglocker/xapi-validation/dist/regexValues/mailto'; import validateIri from '@learninglocker/xapi-validation/dist/regexValues/iri'; import validateSha1 from '@learninglocker/xapi-validation/dist/regexValues/sha1'; import { restrictToSchema, required, checkType, maybe, restrictToCollect...
LearningLocker/learninglocker
lib/services/persona/validateIfi.js
JavaScript
gpl-3.0
988
import ShipType from './ShipType.js'; const GameSettings = { // nb of fire by turn for a user nbHitByPlayer: 3, // index are ShipType, value is nb of ships shipsToPlace: { 0: 1, 1: 2, 2: 1 }, // nb of hit on ships to win the party nbCellToHit: 13 }; export default Ga...
xero88/battleship
src/objects/GameSettings.js
JavaScript
gpl-3.0
331
"use strict"; var bcrypt = require('bcrypt'); module.exports = function(options, imports, register) { var db = imports.users.app.db; var plugin; var $schma = { username : { type: String, required: true }, userlogin : { type: String, index: true, unique:true, r...
bmatusiak/welder-pos
server-plugins/app/plugins/users/plugins/db/plugin.js
JavaScript
gpl-3.0
8,035
/* bender-tags: editor, clipboard, 13872 */ /* bender-ckeditor-plugins: toolbar, clipboard, pastetext */ 'use strict'; bender.editors = { classic: { config: { readOnly: true } }, classic_editable: {}, inline: { creator: 'inline', config: { readOnly: true } }, inline_editable: { creator: 'inlin...
ernestbuffington/PHP-Nuke-Titanium
includes/wysiwyg/ckeditor/tests/plugins/clipboard/readonly.js
JavaScript
gpl-3.0
2,634
YUI.add('moodle-mod_sforum-subscriptiontoggle', function (Y, NAME) { // This file is based on part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version ...
geiser/moodle_scripting_forum
yui/build/moodle-mod_sforum-subscriptiontoggle/moodle-mod_sforum-subscriptiontoggle.js
JavaScript
gpl-3.0
3,933
import {and, not, set, when} from 'cerebral-addons'; import resetForm from 'cerebral-module-forms/factories/resetForm'; import * as ToastTypes from './../../Toaster/constants/types'; import {addToast} from './../../Toaster/actions'; import {openDialog, handleDialog} from './../../Dialog/actions'; import {addProxy} fr...
toxzilla/app
src/app/modules/Network/signals/addProxy.js
JavaScript
gpl-3.0
1,580
var searchData= [ ['word',['WORD',['../dtypes_8h.html#a197942eefa7db30960ae396d68339b97',1,'dtypes.h']]] ];
neutrondave/pico-os
docs/html/search/typedefs_77.js
JavaScript
gpl-3.0
110
// This file is generated I_assoc_21 = [ [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], []...
belissent/GrampsDynamicWebReport
speed_tests/dynamicweb_BIG/dwr_db_I_assoc_21.js
JavaScript
gpl-3.0
40,081
const electron = require('electron'); // Module to control application life. const app = electron.app; const Menu = electron.Menu; const Tray = electron.Tray; // Module to create native browser window. const BrowserWindow = electron.BrowserWindow; // Keep a global reference of the window object, if you don't, the wind...
Gamuxorg/Gamux-Client
app/main.js
JavaScript
gpl-3.0
2,515
$(window).load(function(){ console.log("Initializing 3Scape Physics Lesson"); var sphere = "", wall = ""; function addCSS(cssFile){ $('head').append($('<link rel="stylesheet" type="text/css" />') .attr('href', cssFile)); }; function addInertiaButtons(){ var gravButton = document.c...
kmcurry/3Scape
public/js/physicslessons.js
JavaScript
gpl-3.0
5,929
( function () { 'use strict'; PD.namespace('PD.Missile'); PD.Missile = ( function () { var missileCounter = 0; return function() { this.id = ++missileCounter; this.type = 'attacking'; this.color = '#ff0000'; this.speed = PD.util.random(1, 10...
marinbgd/canvas-js-game-planetary-defense
missiles/Missile.js
JavaScript
gpl-3.0
2,023
(function () { "use strict"; var BASE_STATIC_URL = "/resources/angular-templates/admin/partials"; // var FIELD_TYPES = ['input:text', 'input:tel', 'textarea', 'select', 'country']; var ERROR_CODES = { DUPLICATE:'duplicate', MAX_LENGTH:'maxlength', MIN_LENGTH:'minlength'}; var admin = ang...
exteso/alf.io
src/main/webapp/resources/js/admin/ng-app/admin-application.js
JavaScript
gpl-3.0
99,355
/* * Universidade de Brasilia - FGA * Técnicas de Programação, 1/2014 * Acidentes em Rodovias, 2013-2014 * GitHub: https://github.com/josepedro/acidentes_em_rodovias_refatoracao */ /* Highcharts JS v3.0.7 (2013-10-24) (c) 2009-2013 Torstein Hønsi License: www.highcharts.com/license */ (function (l, C) { f...
josepedro/acidentes_em_rodovias_refatoracao
acidentes_em_rodovias/app/static/js/highcharts-more.js
JavaScript
gpl-3.0
38,235
/** * External dependencies */ import React from 'react'; import { translate as __ } from 'i18n-calypso'; import { connect } from 'react-redux'; import Dropzone from 'react-dropzone'; import { Select } from 'wp-plugin-components'; import classnames from 'classnames'; /** * Internal dependencies */ import { getGr...
johngodley/redirection
client/page/io/index.js
JavaScript
gpl-3.0
9,317
import React, { Component } from "react"; import { inRange } from "lodash"; import PropTypes from "prop-types"; import { Meteor } from "meteor/meteor"; import { Form, Loading } from "/imports/plugins/core/ui/client/components"; import { Components } from "@reactioncommerce/reaction-components"; import { AvalaraPackageC...
aeyde/reaction
imports/plugins/included/taxes-avalara/client/components/avalaraSettingsForm.js
JavaScript
gpl-3.0
7,984
/* * Copyright (C) 2007-2020 Crafter Software Corporation. All Rights Reserved. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 3 as published by * the Free Software Foundation. * * This program is distributed in the hope tha...
craftercms/studio2-ui
static-assets/components/cstudio-components/template-agent.js
JavaScript
gpl-3.0
1,517
export const GRID_BREAKPOINTS = { lg: 1200, md: 996, sm: 768, xs: 567, xxs: 0 };
shayc/cboard
src/components/Grid/Grid.constants.js
JavaScript
gpl-3.0
81
var express = require('express'); var router = express.Router(); // Require controller modules var user_controller = require('../controllers/userController'); router.post('/login', user_controller.user_login); router.get('/logout', user_controller.user_logout); // router.get('/create', function(req, res, next) { //...
hypnoJerk/nShopping-api
routes/users.js
JavaScript
gpl-3.0
1,249
Recipes = new Mongo.Collection('recipes'); Recipes.allow({ insert: function(userId, doc) { return !!userId; }, update: function(userId, doc) { return !!userId; } }); Ingredient = new SimpleSchema({ name: { type: String }, amount: { type: String } }); RecipeSchema = new SimpleSchema({ name: { type...
SergPonom/new_site
recipes.js
JavaScript
gpl-3.0
1,075
function investigationsAPI(ean) { return new Promise((resolve, reject) => { var fd = '{"ActivityCopyParams":{},"NavigationParams":{},"ActivityInstanceDetails":{}}' empId = ean; var portal = ns.ReportPagePath; var controller = ns.ControllerName; var sendKey = ns.SenderKey; var createInvestig...
shulerjw/project-tools
createInvestigation.js
JavaScript
gpl-3.0
5,555
// A module without dependencies, with name "teachers" angular.module('teachers', ['md.data.table']) .config(function(){ console.log('Activating teachers module.'); })
ButterFlyDevs/StudentsManagementSystem
SMS-Front-End/app/js/teaching/teachers/teachers.module.js
JavaScript
gpl-3.0
188
/* * Сервис, который реализует б'ольшую часть функциональности сферы, конечно же используя другие сервисы. * Может быть как частью приложения, так и работать отдельно. * Его назначение - сосредоточить в себе функциональность сферы полностью абстрагировавшись от способов * вывода информации, способов её передачи и х...
ixdu/sphere
frontend.js
JavaScript
gpl-3.0
3,250
function forEach(obj, iterator, context) { if (!obj) { return; } if (isArray(obj)) { if (obj.forEach) { obj.forEach(iterator, context, obj); } else { for (var i = 0; i < obj.length; i++) { iterator.call(context, obj[i], i, obj); } ...
sunriselink/TelegramApi
src/js/Etc/Helper.js
JavaScript
gpl-3.0
1,417
import React, { Component, PropTypes } from 'react' export default class Creator extends Component { render() { return ( <form className='todo create'> <div> <input type='text' ref='input' placeholder='请输入您想做什么?' /> </div> <div> <button type='button' onClick={(e)...
pantao/hapi-react-isomorphic-boilerplate
src/frontend/components/todo/Creator.js
JavaScript
gpl-3.0
681
xtools.editcounter = {}; /** * Namespaces that have been excluded from view via namespace toggle table. * @type {Array} */ xtools.editcounter.excludedNamespaces = []; /** * Chart labels for the month/yearcount charts. * @type {Object} Keys are the chart IDs, values are arrays of strings. */ xtools.editcounter.c...
x-Tools/xtools
assets/js/editcounter.js
JavaScript
gpl-3.0
10,276
// Ensure pantheum exists... if (!pantheum) window.pantheum = {_private:{}}; // ... and pantheum.udata if (!pantheum.udata) pantheum.udata = {}; pantheum.lang = function() { return pantheum.udata["language"] || 'en'; }; pantheum._private.i18nload = function(err, t) { if (err) console.log(err); pantheum.update(); };...
NasalMusician/Pantheum
JS/pantheum.js
JavaScript
gpl-3.0
2,831
Ext.define('PMDMeta.view.main.ReviewWindow',{ extend: 'Ext.window.Window', title: 'Manage Reviewlinks', closeAction: 'hide', width:600, height: 200, requires: [ 'PMDMeta.view.main.ReviewGrid' ], layout: 'fit', items: [{ xtype: 'ReviewGrid' }],...
ulbricht/pmdmeta
app/view/main/ReviewWindow.js
JavaScript
gpl-3.0
436
/** * Copyright 2019 Google LLC * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * version 3 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY...
googlecreativelab/creatability-seeing-music
src/visualization/WrapSpectrogram.js
JavaScript
gpl-3.0
1,430
/************************************************************************ * This file is part of EspoCRM. * * EspoCRM - Open Source CRM application. * Copyright (C) 2014-2021 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko * Website: https://www.espocrm.com * * EspoCRM is free software: you can redistribute...
ayman-alkom/espocrm
client/src/views/edit.js
JavaScript
gpl-3.0
4,983
import React,{Component,PropTypes} from 'react'; export default class MadoConfigureWaiting extends Component { render() { return ( <div> <div className="column"> <p>開かれた{this.props.draft.url}のページで調整してください。</p> </div> </div> ); } static propTypes = { draft: PropTy...
otiai10/demado
src/js/components/configs/NewMadoConfigureDialog/MadoConfigureWaiting.js
JavaScript
gpl-3.0
433
/*global angular*/ angular.module('webwalletApp').controller('DeviceSetupCtrl', function ( utils, flash, $scope, modalOpener, $modal) { 'use strict'; var modal; $scope.advanced = false; $scope.settings = { strength: 256, pin_protection: true }; // `recove...
conejoninja/webwallet
app/scripts/controllers/device/setup.js
JavaScript
gpl-3.0
3,300
/* * TurtlebotViewer's Constructor. * Params: * - config (contents client's Config)={serv,camid,fpsid,modelid}: * + camleftserv (server's direction and port)={dir:direction,port: port} * + camleftid (canvas' id to show cam left) * + camleftepname (name of camera left endpoint, default cam_se...
aitormf/JdeRobot
src/tools/TurtlebotViewer-web/public/js/turtlebotviewer.js
JavaScript
gpl-3.0
14,143
/* picoquery.com/builder/0.2/?3-ffff1 */ (function(w,d,u,z) { if (d.querySelectorAll && d.addEventListener) { if (!w.$) { $ = function() { // Allow to create new instances without new return function(a,b) { return new P(a,b); }; }(); // constructor funct...
rosell-dk/picoQuery
lab/size-tests/aa/00-standard.js
JavaScript
gpl-3.0
2,510
/** * */ Ext.define('RODAdmin.view.cms.page.EditPageWindow', { // extend : 'RODAdmin.view.common.WindowForm', extend : 'Ext.window.Window', alias : 'widget.pageedit', height : '90%', width : '80%', requires : [ 'RODAdmin.util.Util' ], layout : { type : 'border' }, con...
cosminrentea/roda
src/main/webapp/RODAdmin/app/view/cms/page/EditPageWindow.js
JavaScript
gpl-3.0
20,896
(function () { var injectParams = ['$rootScope', '$scope', '$http', '$location', '$route']; var LoginController = function($rootScope, $scope, $http, $location, $route) { $scope.tab = function(route) { return $route.current && route === $route.current.controller; }; var authenticate = function(cred...
classyfindz-git/classyfindz-web
src/main/resources/static/js/controllers/home/loginController.js
JavaScript
gpl-3.0
1,424
/* * This file is part of Gemse. * * Copyright 2009, 2010 Urs Holzer * * Gemse is licenced under the GNU Public Licence v3 (GPL3), * or (at your option) any later version. */ JavaLink = { ready: false, broken: false, init: function() { if (JavaLink.broken || JavaLink.ready) { re...
uholzer/gemse
approach1/src_common/chrome/content/JavaLink.js
JavaScript
gpl-3.0
3,731
/** * The PROCESS button will be clicked from the context menu bound to the gridview. */ Ext.define('Omni.logic.receipt_allocations.ExplorerProcessSelectedItems', { statics: { click:function(btn, event_name){ var explorerGridView = btn.ownerCt.contextOwner.down('grid').getView(); var selectedItems ...
tunacasserole/omni
app/assets/javascripts/omni/logic/receipt_allocations/ExplorerProcessSelectedItems.js
JavaScript
gpl-3.0
1,078
module.exports = { entry: './apps/appController.js', output: { filename: './bundle.js' }, module: { loaders: [ { test: /\.js?$/, exclude: /(node_modules|bower_components)/, loader: 'babel-loader' } ] } }
educacaoitajai/erudio
erudio-front-beta/webpack.config.js
JavaScript
gpl-3.0
319
var stealth = (window.location+" ").indexOf("localhost") != -1; stealth = false; var SERVER = false; var showEditor = false; var slotsAvailable = 4; var tileSize = 32; var itemsPath = 'images/items/'; var texturesPath = 'images/textures/'; var tilesPath = 'images/tiles/'; var tilesBigPath = 'images/tiles_big/...
ironbane/IronbaneServerLegacy
src/client/game/js/External/Init.js
JavaScript
gpl-3.0
550
var searchData= [ ['servers_2ephp',['servers.php',['../class_2servers_8php.html',1,'']]], ['servers_2ephp',['servers.php',['../preloads_2servers_8php.html',1,'']]], ['serverup_2ephp',['serverup.php',['../serverup_8php.html',1,'']]], ['sfs_2ephp',['sfs.php',['../sfs_8php.html',1,'']]], ['soap_2ephp',['soap.php...
labscoop/xortify
releases/XOOPS 2.6/4.14/docs/html/search/files_73.js
JavaScript
gpl-3.0
582
var NAVTREEINDEX6 = { "ardupilotmega_8h.html#a6c94f3ebb2db28702ad291ec2856f5dca727b497f91e80f34661371d5be37d739":[2,0,0,0,0,101,0], "ardupilotmega_8h.html#a6c94f3ebb2db28702ad291ec2856f5dca922bcf83649cc023c767b200325fbd28":[2,0,0,0,0,101,3], "ardupilotmega_8h.html#a6c94f3ebb2db28702ad291ec2856f5dcaa566b78b4938f29a6945f...
ubcuas/GCOM
documentation/html/navtreeindex6.js
JavaScript
gpl-3.0
24,027
Ext.define('Healthsurvey.view.databrowsercalendar.DBCalendarController', { extend : 'Ext.app.ViewController', alias : 'controller.databrowsercalendar', requires : [], calendar:null, rightClickMenu:null, init : function() { this.control({ "calendarpanel": { eventclick:this.clickEve...
applifireAlgo/appApplifire
healthsurvey/src/main/webapp/app/view/databrowsercalendar/DBCalendarController.js
JavaScript
gpl-3.0
9,176
/********************************** transwindow.js Original Code by flyson **********************************/ var wX, wY, mX, mY; var drag = false; function dragStart(aEvent){ drag = true; } function dragEnd(aEvent){ drag = false; } function dragMove(aEvent){ if(drag){ window.screenX = aEvent.scr...
clear-code/system-monitor
content/transwindow.js
JavaScript
gpl-3.0
522
YUI.add("yuidoc-meta", function(Y) { Y.YUIDoc = { meta: { "classes": [ "RL.Note" ], "modules": [ "RL.AudioManager", "RL.HighwayManager", "RL.InteractionManager", "RL.InteractionManager.Editor", "this" ], "allModules": [ { "displa...
rocklegend-org/website
src/public/games/note-highway/develop/editor/docs/api.js
JavaScript
gpl-3.0
1,370
const fs = require('fs'); const path = require('path'); function parse(dir) { fs.readdir(dir, function (err, filenames) { filenames.forEach(function (fileDatos) { fs.readFile(path.resolve(dir, fileDatos), 'utf-8', function (err, result) { let stringDatos = result.split("\"\n"); let datosMaterias = new Ar...
lugfi/organizador-fiuba
tools/parser.js
JavaScript
gpl-3.0
6,965
import React from 'react'; import { Route } from 'react-router'; import { ConnectedRouter } from 'react-router-redux'; import Directory from './Container/DirectoryContainer'; import DirectoryMap from './Container/DirectoryMapContainer'; import File from './Container/FileContainer'; import Login from './Container/Login...
opium/opium-web
src/Route.js
JavaScript
gpl-3.0
2,078
var classRiflePackageTimings = [ [ "deregistration", "classRiflePackageTimings.html#a4b33af6e5824b79596c2900c3edba5a4", null ], [ "registration", "classRiflePackageTimings.html#a3bd141427061c1338b9b8b5c0c2a1b18", null ] ];
DAlexis/caustic-lasertag-system
docs/doxygen/html/classRiflePackageTimings.js
JavaScript
gpl-3.0
230
/* * #%L * Eva * %% * Copyright (C) 2013 Abada Servicios Desarrollo (investigacion@abadasoft.com) * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as * published by the Free Software Foundation, either version 3 of the * License...
abada-investigacion/eva
eva-server/eva-web/src/main/webapp/ext4/src/ux/grid/filter/BooleanFilter.js
JavaScript
gpl-3.0
3,725
import React from 'react'; import PropTypes from 'prop-types'; import { Link } from 'react-router-dom'; import { getAlbumImageSrc } from 'helpers'; import { useImageLoaded } from 'helpers/hooks'; import * as Styled from './styled'; const AlbumNext = props => { const { album } = props; const { id, owner_id, title...
AlexeySmolyakov/likeometer-redux
src/containers/AlbumsNext/Album/index.js
JavaScript
gpl-3.0
1,197
/* scenarioo-client * Copyright (C) 2014, scenarioo.org Development Team * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later...
jordilaforge/scenarioo
scenarioo-client/test/spec/services/selectedBranchAndBuild.js
JavaScript
gpl-3.0
10,016
'use strict'; define([''], () => { class Type { constructor(sourceUrl, typeArea) { this.sourceUrl = sourceUrl; this.typeArea = document.querySelector(typeArea); this.genStr = this.generatorStr(); this.pausing = false; this.promise = Promise.resolve...
Franciscowxp/resume
js/module/Type.js
JavaScript
gpl-3.0
7,060
var searchData= [ ['calculateprobability',['calculateProbability',['../class_landscape_mapper.html#a23fb1a31f7ca87647cfa995485e8cf46',1,'LandscapeMapper::calculateProbability()'],['../class_landscape_mapper.html#a3cae56581d586833124b957d7e8582faa2fffa97ae2ec600b8633b1560468431b',1,'LandscapeMapper::CalculateProbabili...
persts/ReplicateNullModel
html/search/all_2.js
JavaScript
gpl-3.0
7,174
define(function(require, exports, module) { var $ = require("zepto"); var dot = require("dot"); //解绑对话框模板 var unbindAccountDialogTpl = require("./unbind-account-dialog.html"); $("body").append(unbindAccountDialogTpl); //解绑对话框dom var unbindAccountDialog = $("#unbind-account-dialog"); //设置解绑url $.getJSON("../....
leiming19877/gulp-test
webapp/js/module/account/unbind-account/unbind-account-dialog.js
JavaScript
gpl-3.0
795
function acceptProcess(processId){ $.ajax({ type: "POST", url: "accept/" + processId, success: function(data){ if(data==true){ location.reload(); } } }); } function rejectProcess(processId){ $.ajax({ type: "POST", url: "reject/" + processId, success: function(data){ if(data==...
veresdavid/deik-tdk-2017
visualizer/src/main/webapp/resources/js/admin.js
JavaScript
gpl-3.0
367
/************************************************************************ * This file is part of EspoCRM. * * EspoCRM - Open Source CRM application. * Copyright (C) 2014 Yuri Kuznetsov, Taras Machyshyn, Oleksiy Avramenko * Website: http://www.espocrm.com * * EspoCRM is free software: you can redistribute it and...
lucasmattos/crm
client/modules/crm/src/views/inbound-email/modals/select-folder.js
JavaScript
gpl-3.0
1,621
/* Author: Metonimie Date: 20 Aug 2016 */ "use strict"; console.log("Hello"); var secretKey = null; var key = document.querySelector("#password"); var text = document.querySelector("textarea"); function copyTextAction() { console.log("copyText called!"); var field = document.querySelector("textarea"); ...
Metonimie/cryptex
templates/main_window.js
JavaScript
gpl-3.0
2,940
/* * Wire * Copyright (C) 2017 Wire Swiss GmbH * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This progr...
ConorIA/wire-desktop
electron/js/util.js
JavaScript
gpl-3.0
3,232
/* Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'newpage', 'sr-latn', { toolbar: 'Nova stranica' } );
ernestbuffington/PHP-Nuke-Titanium
includes/wysiwyg/ckeditor/plugins/newpage/lang/sr-latn.js
JavaScript
gpl-3.0
244
(function ( $ ) { $.fn.hashtagToLink = function( options ) { var settings = $.extend({ linkStub: "/tag/" }, options ); var regex = /^([#]+[A-Za-z0-9-_]+)|[^\w]([#]+[A-Za-z0-9-_]+)/g var entities = ['#x2F','#x27','#35', '#39'] ...
surevine/hashtagToLink
jquery.hashtagToLink.js
JavaScript
gpl-3.0
1,421
/** * Copyright 2017–2019, LaborX PTY * Licensed under the AGPL Version 3 license. */ import PropTypes from 'prop-types' import { WALLET_TYPE_MEMORY } from '../../../models/constants/AccountEntryModel' import AbstractAccountModel from './AbstractAccountModel' const schema = { key: PropTypes.string, name: PropT...
ChronoBank/ChronoMint
packages/core/models/wallet/persistAccount/AccountEntryModel.js
JavaScript
gpl-3.0
923
/*! ArkPM theme.js -> all.js * ================ * Main javascript for the theme. Most of this will/should be moved into vueJS. * * @Author Matt Nelson * @Support <http://silverark.co.uk> */ /* Original Author Details * ! AdminLTE app.js * ================ * Main JS application file for AdminLTE v2. This file...
silverark/arkpm
resources/assets/js/theme.js
JavaScript
gpl-3.0
22,936
function ScriptMgr(data){ this.jj = jj; this.scriptsArr = data.scriptsArr; }; ScriptMgr.prototype.loadScripts = function(callback){ //... загрузка скриптов if( callback ) callback(); };
jjbox-pro/jjbox
js/jj/scriptMgr.js
JavaScript
gpl-3.0
220
/** * Copyright 2017–2019, LaborX PTY * Licensed under the AGPL Version 3 license. */ import Immutable from 'immutable' import BalanceModel from '../tokens/BalanceModel' import BalancesCollection from '../tokens/BalancesCollection' import { abstractFetchingModel } from '../AbstractFetchingModel' import AllowanceCol...
ChronoBank/ChronoMint
packages/core/models/wallet/MainWalletModel.js
JavaScript
gpl-3.0
3,032
/* Copyright (c) 2016-present terrestris GmbH & Co. KG * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This...
terrestris/BasiGX
src/util/Filter.js
JavaScript
gpl-3.0
20,032
var a00235 = [ [ "init_len", "a00235.html#a7722e94b0c079f7571a0607a13d46bde", null ], [ "init_offs", "a00235.html#aa24ec5661c2ba830f906201285ca941c", null ], [ "max_len", "a00235.html#a5cc60017697406f2f2624e0b15dad294", null ], [ "p_attr_md", "a00235.html#afc04d5311dcd31df52f7d9aac7c05ab1", null ], ...
DroneBucket/Drone_Bucket_CrazyFlie2_NRF_Firmware
nrf51_sdk/Documentation/s110/html/a00235.js
JavaScript
gpl-3.0
464
const ogdfAsmJS = require('../emogdf-asmjs') exports.run = (f) => { f(ogdfAsmJS) }
likr/emogdf
test/util.js
JavaScript
gpl-3.0
86
$('.text-input').click(function(){ $('.text-input').removeClass('active'); $(this).addClass('active'); }); function valueChanged() { ($('.info-check').is(":checked")) ? $(".info").show() : $(".info").hide(); } $('[data-toggle="tooltip"]').tooltip() rangy.init(); rangy.createMissingNativeApi(); // to poly...
Oksana13/polina
scripts/script.js
JavaScript
gpl-3.0
863
import emotions from '../../constants/emotions'; const emoMap = emotions.reduce((acc, { text, src }) => Object.assign(acc, { [src]: text }), {}); function rgb2hex(rgb){ rgb = rgb.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i); return (rgb && rgb.length === 4) ? '#' + ('0' + pars...
SuperDOgePx/chrome-extension-react
app/components/RichEditor/parseToBB.js
JavaScript
mpl-2.0
5,125
/* -*- Mode: javascript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 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/. */ var gTestfile = 'regress-30...
mozilla/rhino
testsrc/tests/js1_6/Array/regress-305002.js
JavaScript
mpl-2.0
724
initSidebarItems({"constant":[["getBounds_methodinfo",""],["p1_getterinfo",""],["p2_getterinfo",""],["p3_getterinfo",""],["p4_getterinfo",""],["sAttributes",""],["sAttributes_specs",""],["sMethods",""],["sMethods_specs",""],["sStaticMethods",""],["sStaticMethods_specs",""]],"fn":[["ConstructorEnabled",""],["CreateInter...
servo/doc.servo.org
script/dom/bindings/codegen/Bindings/DOMQuadBinding/sidebar-items.js
JavaScript
mpl-2.0
692
import React, { Component, PropTypes } from 'react'; import { GET } from '../utils/http'; import $ from 'jquery'; import _ from 'lodash'; import { autobind } from 'core-decorators'; import Mousetrap from 'mousetrap'; import PostContent from './PostContent'; import { subscribeThread, unsubscribeThread, } from '../co...
voz-living/chrome-extension-react
app/components/ThreadPreview.js
JavaScript
mpl-2.0
8,483
/* * 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/. */ /* * Copyright (c) 2014, Joyent, Inc. */ /* * This file includes the required functions to deal role-taggi...
KrisShannon/sdc-cloudapi
lib/resources.js
JavaScript
mpl-2.0
18,413
/* vim: set ts=2 et sw=2 tw=80: */ /* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; requestLongerTimeout(2); // Test that when animations displayed in the timeline are running on the // compositor, they get a special icon and information in the t...
Yukarumya/Yukarum-Redfoxes
devtools/client/animationinspector/test/browser_animation_running_on_compositor.js
JavaScript
mpl-2.0
2,457
global.twemoji = require('twemoji').default; global.twemoji.base = '/images/twemoji/'; global.twemoji.size = '24x24'; import { EmojiButton } from '@joeattardi/emoji-button'; global.EmojiButton = EmojiButton;
biosistemika/scinote-web
app/javascript/packs/emoji_button.js
JavaScript
mpl-2.0
210
/* Gives regards and redirects to Google */ function no() { alert("You chose poorly."); window.location = "http://www.google.com"; }
InvisaMage/Website
archive/1-30-15/scripts/no.js
JavaScript
mpl-2.0
136
Cu.import("resource://testing-common/httpd.js"); Cu.import("resource://gre/modules/NetUtil.jsm"); var httpServer = null; function make_channel(url, callback, ctx) { return NetUtil.newChannel({ uri: url, loadUsingSystemPrincipal: true }); } const responseBody = "response body"; function contentHandler(me...
Yukarumya/Yukarum-Redfoxes
netwerk/test/unit/test_proxy-failover_canceled.js
JavaScript
mpl-2.0
1,544
'use strict'; var options = { token: 'BOTTOKEN', url: 'WEBHOOK URL', port: 8443, key: '/path/to/ssl/key', cert: '/path/to/ssl/cert', }; var bot = require('nullbot')(options); // Logs internal and external errors function logErr(err, body) { if (err) { console.error(err); } if (!body.ok) ...
baetheus/nullbot
examples/events-client.js
JavaScript
mpl-2.0
1,262
/*exported date_names_pt_br*/ var date_names_pt_br = { __locale: "pt-br", days: ['Domingo', 'Segunda-feira', 'Terça-feira', 'Quarta-feira', 'Quita-feira', 'Sexta-feira', 'Sábado'], abbreviated_days: ['Dom', 'Seg', 'Ter', 'Qua', 'Qui', 'Sex', 'Sáb'], months: ['Janeiro', 'Fevereiro', 'Março', 'Abril', 'Maio', '...
vasiliyaltunin/date-names-ex
src/pt-br.js
JavaScript
mpl-2.0
533
/* * Copyright (c) Jeevanandam M. (jeeva@myjeeva.com) * * 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 * https://github.com/jeevatkm/ReplyWithHeaderMozilla/blob/master/LICENSE */ 'use stric...
jeevatkm/ReplyWithHeaderMozilla
chrome/content/i18n.js
JavaScript
mpl-2.0
4,606
var basics_learn = [ [ "Basic Concepts", "basic_concepts.html", "basic_concepts" ], [ "Create Applications", "app_creating.html", "app_creating" ], [ "Write Components", "component_writing.html", "component_writing" ], [ "C Language Coding Standards", "ccoding_stds_main.html", "ccoding_stds_main" ], ...
legatoproject/legato-docs
14_10/basics_learn.js
JavaScript
mpl-2.0
422
System.register("core/events", ["core/console", "core/utils"], function (_export) { /* * This method implements the publish subscribe design pattern * * Event naming scheme: * cliqz.module_name.event_name * * single sender -> multiple potential recipients * for example: cliqz.core.urlbar_f...
cliqz-oss/jsengine
jsengine-android/jsengine/src/main/assets/build/modules/core/events.js
JavaScript
mpl-2.0
4,941
initSidebarItems({"enum":[["OptionalIpcSender",""],["OptionalOpaqueIpcSender",""]],"fn":[["optional_ipc_channel",""]],"static":[["IN_PROCESS_SENDERS",""],["NEXT_SENDER_ID",""]],"struct":[["IN_PROCESS_SENDERS",""],["OpaqueSender",""]]});
servo/doc.servo.org
util/ipc/sidebar-items.js
JavaScript
mpl-2.0
236
/* -*- Mode: javascript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 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/. */ gTestfile = 'RegExp_multili...
mozilla/rhino
testsrc/tests/js1_2/regexp/RegExp_multiline_as_array.js
JavaScript
mpl-2.0
4,302
exports = module.exports = { api: require('./api'), badges: require('./badges'), issuers: require('./issuers'), }
andrewhayward/badger-sett
app/controllers/index.js
JavaScript
mpl-2.0
125
/** * @license Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ 'use strict'; ( function() { CKEDITOR.plugins.add( 'link', { requires: 'dialog,fakeobjects', // jscs:disable maximumLineLength lan...
astrobin/astrobin
astrobin/static/astrobin/ckeditor/plugins/link/plugin.js
JavaScript
agpl-3.0
29,889
var nest = require('depnest') var pull = require('pull-stream') var Value = require('mutant/value') var computed = require('mutant/computed') var Abortable = require('pull-abortable') var onceIdle = require('mutant/once-idle') var resolve = require('mutant/resolve') exports.needs = nest({ 'sbot.pull.backlinks': 'fir...
ssbc/patchcore
backlinks/obs-filter.js
JavaScript
agpl-3.0
3,416
engine.eval("load('nashorn:mozilla_compat.js');"); /* This file is part of the OdinMS Maple Story Server Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc> Matthias Butz <matze@odinms.de> Jan Christian Meyer <vimes@odinms.de> This program is free software: you can redistribute it and/or modi...
Micah-S/hidden-ms
src/scripts/event/Cabin.js
JavaScript
agpl-3.0
4,398
/********************************************************************** Freeciv - Copyright (C) 2009 - Andreas Røsdal andrearo@pvv.ntnu.no This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; ...
tltneon/freeciv-web
freeciv-web/src/main/webapp/javascript/improvement.js
JavaScript
agpl-3.0
2,425
const utils = require('../utils') const daysOfWeek = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] /** * extract name of day of week from timestamp * * @param number - timestamp from 1970-01-01 00:00:00 UTC (Unix Epoch) **/ function dayNameOfWeek (number) { utils.isTimestamp(nu...
amos-ws16/amos-ws16-arrowjs
lib/pipes/day-name-of-week.js
JavaScript
agpl-3.0
419
define(["jquery", "underscore", "gettext", "js/models/asset", "js/views/paging", "js/views/asset", "js/views/paging_header", "js/views/paging_footer", "js/utils/modal", "js/views/utils/view_utils", "js/views/feedback_notification", "jquery.fileupload-process", "jquery.fileupload-validate"], function($, _, g...
UXE/local-edx
cms/static/js/views/assets.js
JavaScript
agpl-3.0
11,506
/** * @ngdoc function * @name ftepApp.controller:DeveloperCtrl * @description * # DeveloperCtrl * Controller of the ftepApp */ 'use strict'; define(['../../ftepmodules'], function (ftepmodules) { ftepmodules.controller('DeveloperCtrl', ['$scope', 'TabService', 'MessageService', 'CommonService', 'ProductServ...
cgi-eoss/ftep
f-tep-portal/src/main/resources/app/scripts/controllers/developer/developer.js
JavaScript
agpl-3.0
3,955