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 |
|---|---|---|---|---|---|
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2022 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute... | espocrm/espocrm | client/src/views/admin/entity-manager/fields/icon-class.js | JavaScript | gpl-3.0 | 2,409 |
var tap = require('tap')
var Nightmare = require('nightmare')
var guerrilla = require('../../')
var isEmail = require('isemail')
tap.test('.getScrambledAddress', function (t) {
new Nightmare()
.use(guerrilla.getScrambledAddress('dogs', function (email) {
t.ok(isEmail(email), 'Gets scrambled email address')... | LegitTalon/nightmare-guerrilla | tests/spec/getScrambledAddress.js | JavaScript | gpl-3.0 | 415 |
// UI functions
var getConversation = function (index, options) {
options = options ? options : { "from": 0, "howMany": -1 };
try {
external.Conversation(index, options.from, options.howMany);
} catch (e) {
error(e);
return;
};
};
var appendConversation = function (ol, usernam... | nerdzeu/nm.net | ClassLibrary1/Resources/js.js | JavaScript | gpl-3.0 | 3,959 |
'use strict';
angular.module('civicMakersClientApp')
.factory('ProjectApi', function ($q, firebase, $firebaseArray) {
function getAllProjects() {
var deferred = $q.defer();
var ref = firebase.getRefTo('projects');
var projects = $firebaseArray(ref);
projects.$loaded().then(function (resu... | civicmakers/client | client/app/factories/ProjectApi/ProjectApi.service.js | JavaScript | gpl-3.0 | 2,036 |
/*
* Copyright (C) 2016-2022 phantombot.github.io/PhantomBot
*
* 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.
*
... | PhantomBot/PhantomBot | javascript-source/lang/english/systems/systems-bettingSystem.js | JavaScript | gpl-3.0 | 3,837 |
/* eslint-disable import/no-extraneous-dependencies */
const proxy = require('http-proxy-middleware');
module.exports = (app) => {
app.use(proxy('/api/socket', { target: `ws://${process.env.REACT_APP_URL_NAME}`, ws: true }));
app.use(proxy('/api', { target: `http://${process.env.REACT_APP_URL_NAME}` }));
};
| tananaev/traccar-web | modern/src/setupProxy.js | JavaScript | gpl-3.0 | 315 |
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'docprops', 'ru', {
bgColor: 'Цвет фона',
bgFixed: 'Фон прикреплён (не проматывается)',
bgImage: 'Ссылка на фоновое изображение',
charset: 'Коди... | tsmaryka/hitc | public/javascripts/ckeditor/plugins/docprops/lang/ru.js | JavaScript | gpl-3.0 | 1,959 |
/**
* Main scripts
*/
console.log("app running...");
| iraquitan/political-advisor | web/myapp/static/myapp/js/main.js | JavaScript | gpl-3.0 | 55 |
import { fixLoop, onTransitionEnd, onTransitionStart } from './swiper';
import { updateActiveIndex } from './swiper-index';
import { isHorizontal, maxTranslate, minTranslate } from './swiper-utils';
import { updateProgress } from './swiper-progress';
/*=========================
Controller
==========================... | ricardo7227/DAW | Cliente/Codigo fuente/my-app-apk/node_modules/ionic-angular/es2015/components/slides/swiper/swiper-controller.js | JavaScript | gpl-3.0 | 5,084 |
/**
* @license Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'devtools', 'it', {
title: 'Informazioni elemento',
dialogName: 'Nome finestra di dialogo',
tabName: 'Nome Tab',
elementId: 'I... | tsmaryka/hitc | public/javascripts/ckeditor/plugins/devtools/lang/it.js | JavaScript | gpl-3.0 | 369 |
"use strict";
function getTrulyRandomWords(numWords) {
var array = new Uint32Array(numWords);
window.crypto.getRandomValues(array);
var bytes = new sha256.Bytes.fromWordArray(array);
if (bytes.words.length != numWords)
throw new Error("Assertion failed");
//sanity: data is not constant!
var i;
var o... | cruxic/calcpass | www/create.js | JavaScript | gpl-3.0 | 16,021 |
// ON STARTUP
$(document).ready(function () {
});
// ON WINDOW RESIZED
$(window).resize(function() {
psb_ResizeDaftarDiv();
psb_ResizeStatusDiv();
});
psb_ResizeDaftarDiv = function() {
var docHeight = $(document).height();
var psbDaftarHeight = docHeight - 240 - 100;
... | dedefajriansyah/jibas | anjungan/psb/psb.js | JavaScript | gpl-3.0 | 1,285 |
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2022 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute... | espocrm/espocrm | client/src/views/collapsed-modal.js | JavaScript | gpl-3.0 | 2,397 |
define(["exports", "meta", "../../lit/index.js", "../es-global-bridge/es-global-bridge.js"], function (_exports, meta, _index, _esGlobalBridge) {
"use strict";
Object.defineProperty(_exports, "__esModule", {
value: true
});
_exports.Hal9000 = void 0;
meta = _interopRequireWildcard(meta);
var _template... | elmsln/elmsln | core/dslmcode/cores/haxcms-1/build/es5-amd/node_modules/@lrnwebcomponents/hal-9000/hal-9000.js | JavaScript | gpl-3.0 | 12,767 |
var searchData=
[
['gaintoggler',['GainToggler',['../d2/dc4/class_gain_toggler.html',1,'']]],
['gammaroot',['GammaRoot',['../d0/dc6/struct_gamma_root.html',1,'']]],
['ge4hen3processor',['Ge4Hen3Processor',['../d5/df2/class_ge4_hen3_processor.html',1,'']]],
['gecalibprocessor',['GeCalibProcessor',['../d0/d8c/cla... | pixie16/paassdoc | search/classes_6.js | JavaScript | gpl-3.0 | 973 |
import Model from "../libs/Model";
import DAO from "./DAO";
export default class Content extends Model {
constructor(obj = null) {
super(obj, ['id', 'content', 'created_at', 'updated_at', 'title', 'name', 'doctor_id']);
}
static newInstance(...args) {
return new Content(...args);
}
... | RobinMarechal/Kine | resources/assets/js/scripts/models/Content.js | JavaScript | gpl-3.0 | 2,091 |
export const siteItemStyle = {
padding: '10px',
backgroundColor: '#fcfcfc',
boxShadow: '1px 1px 3px #ababab',
transitionDuration: '250ms',
transitionProperty: 'box-shadow',
':hover': {
backgroundColor: '#fafafa',
boxShadow: '1px 1px 3px #cdcdcd',
},
font: 'caption',
display: 'flex',
flexDire... | greizgh/Phashword | src/components/style.js | JavaScript | gpl-3.0 | 3,871 |
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'print', 'fi', {
toolbar: 'Tulosta'
});
| tsmaryka/hitc | public/javascripts/ckeditor/plugins/print/lang/fi.js | JavaScript | gpl-3.0 | 215 |
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex... | webenot/loftBlog-js | lesson8/server.out.js | JavaScript | gpl-3.0 | 209,651 |
/**
* Created by nuintun on 2016/9/26.
*/
'use strict';
module.exports = {
'/news/company/:id': [
{
action: 'company'
}
],
'/news/trade/:id': [
{
action: 'trade'
}
],
'/news/help/:id': [
{
action: 'help'
}
],
'/news/policy/:id': [
{
action: 'policy'
... | GXTLW/gxt-front | routers/news/detail.js | JavaScript | gpl-3.0 | 333 |
// generated from ldml/main/*.xml, xpath: ldml/numbers
({
'decimal':",",
'group':".",
'percentFormat':"#,##0 %"
})
| NESCent/plhdb | WebRoot/js/dojo/cldr/nls/de/number.js | JavaScript | gpl-3.0 | 139 |
const fs = require('fs');
var Milight = require('node-milight-promise').MilightController;
var commands = require('node-milight-promise').commands2;
// set up the milight object
var light = new Milight({
ip: "255.255.255.255",
delayBetweenCommands: 80,
commandRepeat: 2
});
module.exports... | wassupben/MiLight-Web-Interface | controller/lights.js | JavaScript | gpl-3.0 | 755 |
/**
* @requires OpenLayers/Symbolizer.js
*/
/**
* Class: OpenLayers.Symbolizer.Line
* A symbolizer used to render line features.
*/
OpenLayers.Symbolizer.Line = OpenLayers.Class(OpenLayers.Symbolizer, {
/**
* APIProperty: strokeColor
* {String} Color for line stroke. This is a RGB hex value (e.g. ... | guolivar/totus-niwa | web/js/libs/openlayers/lib/OpenLayers/Symbolizer/Line.js | JavaScript | gpl-3.0 | 1,675 |
'use strict';
/**
* nconf is used globally for config, client instantiates the necessary config files
* import config throughout the application to share the global nconf
*/
var fs = require('fs-extra');
var config = require('nconf');
var defaults = require('./default');
var util = require('../lib/... | joeferraro/MavensMate | app/config/index.js | JavaScript | gpl-3.0 | 2,335 |
import { moduleFor, test } from 'ember-qunit';
moduleFor('controller:admin/cidade', 'Unit | Controller | admin/cidade', {
// Specify the other units that are required for this test.
// needs: ['controller:foo']
});
// Replace this with your real tests.
test('it exists', function(assert) {
let controller = this.... | cuiateam/ajudame-web | tests/unit/controllers/admin/cidade-test.js | JavaScript | gpl-3.0 | 360 |
$(function() {
if($(".has-error").length) {
$('html,body').animate(
{
scrollTop: $(".has-error").offset().top-70
},'slow');
}
$(".enabled").click(function() {
$(this).parents(".element-container").removeClass("has-error");
});
$(".custom").click(function() {
$(this).parents(".element-container").re... | FreePBX/featurecodeadmin | assets/js/featurecodeadmin.js | JavaScript | gpl-3.0 | 1,215 |
'use strict';
define([
'jquery',
'underscore',
'Backbone',
'tpl!templates/userView',
], function($, _, Backbone, userViewTemplate){
var UserView = Backbone.View.extend({
className : 'user',
tagName : 'tr',
initialize: function(){
_.bindAll(this, 'render', 'c... | anycook/anycook-backend-page | app/scripts/views/UserView.js | JavaScript | gpl-3.0 | 952 |
'use strict';
module.exports = function(Chart) {
var helpers = Chart.helpers;
var noop = helpers.noop;
Chart.defaults.global.legend = {
display: true,
position: 'top',
fullWidth: true, // marks that this box should take the full width of the canvas (pushing down other boxes)
reverse: false,
// a callb... | Brasmid/servicedesk-metal | core/chart.js/src/core/core.legend.js | JavaScript | gpl-3.0 | 13,996 |
(function(root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['../ApiClient'], factory);
} else if (typeof module === 'object' && module.exports) {
// CommonJS-like environments that support module.exports, like Node.
module.exports = f... | massimo-zaniboni/netrobots | robot_examples/javascript/rest_api/src/model/ScanCommand.js | JavaScript | gpl-3.0 | 2,266 |
reminder.factory("ReminderSchedule", ["$resource", "Config", function($resource, Config){
var ScheduleModel = $resource( Config.host + "projects/:project_id/reminder_schedules/:id", null, {
update: { method: 'PUT' },
create: { method: 'POST'}
});
// custom method for Schedule resource
ScheduleModel.pro... | channainfo/reminder | app/assets/javascripts/reminder/services/reminder_schedule.js | JavaScript | gpl-3.0 | 2,088 |
/**
* This file is part of the MailWizz EMA application.
*
* @package MailWizz EMA
* @subpackage Payment Gateway Paypal
* @author Serban George Cristian <cristian.serban@mailwizz.com>
* @link http://www.mailwizz.com/
* @copyright 2013-2016 MailWizz EMA (http://www.mailwizz.com)
* @license http://www.mailwizz.... | fwahyudi17/ofiskita | image/mailwizz/apps/common/extensions/payment-gateway-paypal/assets/customer/js/payment-form.js | JavaScript | gpl-3.0 | 1,333 |
/// <reference path="../typings/angularjs/angular.d.ts" />
// Install the angularjs.TypeScript.DefinitelyTyped NuGet package
var App;
(function (App) {
"use strict";
// Create the module and define its dependencies.
angular.module("app", []);
})(App || (App = {}));
| chan4lk/SharePoint-RestAPI | SupplierSystem/Scripts/app/app.module.js | JavaScript | gpl-3.0 | 279 |
'use strict';
var unit = {
GCD: function GCD(a, b) {
if (a == b && a == 0) {
return 'NaN';
} else if (a / Math.floor(a) != 1 || b / Math.floor(b) != 1) {
return 'undefined';
} else if (a / Math.floor(a) == 1 && b / Math.floor(b) == 1 && a != 0 && b != 0) {
... | AiJD/labs | JS/lab20-21/build/js/script.js | JavaScript | gpl-3.0 | 1,578 |
/* 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/. */
// Note that these are webpack requires, not CommonJS node requiring requires
const React = require('react')
const... | darkdh/browser-laptop | app/renderer/components/preferences/paymentsTab.js | JavaScript | mpl-2.0 | 24,496 |
export default 'svg mock';
| SphinxKnight/kuma | kuma/javascript/src/__mocks__/mockSvg.js | JavaScript | mpl-2.0 | 27 |
var spawn = require('child_process').spawn;
var Promise = require('es6-promises');
function _task(args) {
args = args || [];
return new Promise(function(resolve, reject) {
var tw = spawn('task', args);
var stdout = '';
var stderr = '';
tw.stdout.on('data', function(data) {
stdout += data.t... | mythmon/bug-task | lib/taskwarrior.js | JavaScript | mpl-2.0 | 1,343 |
var Stream = require('stream').Stream, _u = require('underscore');
/**
* A hacked querystream formatter which formats the output
* as a json literal. Not production quality.
*/
function ArrayFormatter() {
Stream.call(this);
this.writable = true;
this._done = false;
this.meta = {};
}
ArrayFormatter.... | adamlofting/menuplanner | node_modules/mers/lib/streams.js | JavaScript | mpl-2.0 | 4,622 |
const child_process = require('child_process');
const fs = require('fs');
const path = require('path');
child_process.execSync('npm run build');
const prefix = path.join('..', 'dist');
const json_string = fs.readFileSync(path.join(prefix, 'manifest.json'));
const manifest = JSON.parse(json_string);
const ios_filenam... | mozilla/send | ios/generate-bundle.js | JavaScript | mpl-2.0 | 588 |
#!/usr/bin/env node
// papi_keys_tojson.js //
// TARGET PostgreSQL tags and source Moray tag definitions//
// to json input
var fs = require('fs');
var outstream = fs.createWriteStream("imgapi_keys.json", {flags : 'w' });
// Output filenames
var f_db_RTT = "_s.json";
var f_db_LCT = "_r.json";
var f_db_HCT = "_m.j... | joyent/moray-etl-jsonb | lib/imgapi_keys_tojson.js | JavaScript | mpl-2.0 | 4,924 |
/*
Copyright (c) 2016, Nebil Kawas García
This source code is subject to the terms of the Mozilla Public License.
You can obtain a copy of the MPL at <https://www.mozilla.org/MPL/2.0/>.
snippet03.js -- Enter, update, exit
*/
// Definamos un nuevo _dataset_: los dígitos de pi.
// var dataset = [3, 1, 4, 1, 5, 9, 2, 6,... | nebil/d3js-demo | snippet03.js | JavaScript | mpl-2.0 | 3,069 |
(function() {
"use strict";
var app = angular.module('RbsChangeApp');
function rbsCommercePaymentConnectorDeferred($http) {
return {
restrict: 'AE',
scope: false,
templateUrl: 'Theme/Rbs/Base/Rbs_Payment/Deferred/connector.twig',
link: function(scope) {
scope.loadingConnector = true;
var post... | jamiepg1/module-payment | Assets/Theme/connector.js | JavaScript | mpl-2.0 | 1,272 |
/*
** Copyright (c) 2012 The Khronos Group Inc.
**
** Permission is hereby granted, free of charge, to any person obtaining a
** copy of this software and/or associated documentation files (the
** "Materials"), to deal in the Materials without restriction, including
** without limitation the rights to use, copy, modify... | Yukarumya/Yukarum-Redfoxes | dom/canvas/test/webgl-conf/checkout/js/webgl-test-utils.js | JavaScript | mpl-2.0 | 104,349 |
var config = (function() {
var title={
'default' : '',
'wikidown':' [[Wikidown]](wikidown:home) ',
'jsh':' [[專為中學生寫的 JavaScript 程式書]](jsh:home) ',
main:' [[Main]](main:home) ',
};
var templateBySa='<%=wd%>\n\n----\n\n\<center style="font-size:small;color:#888888"><a href="https://creativec... | ccckmit/fdbserver | web/config.js | JavaScript | mpl-2.0 | 1,171 |
/*
* 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.
*/
/*
* Moray cache.
*/
var assert = require('assert-plus');
/*
... | arekinath/sdc-vmapi | lib/cache/moray.js | JavaScript | mpl-2.0 | 2,186 |
var app = {
planGroup: null,
// Application Constructor
initialize: function() {
this.bindEvents();
},
bindEvents: function() {
document.addEventListener('deviceready', this.onDeviceReady, false);
},
onDeviceReady: function() {
app.planGroup = document.getElementById(... | zalun/school-plan-app | stage2/js/index.js | JavaScript | mpl-2.0 | 566 |
var userAgent = (window.navigator && navigator.userAgent) || ""
function detect (pattern) {
return pattern.test(userAgent)
}
function displayBanner (banner, browsers, categories) {
if (detect(/Mobi/i)) return
if ($.type(browsers) === 'string') browsers = [ browsers ]
if ($.type(categories) === 'string') cate... | LeoMcA/discourse-mozilla-theme | src/common/head_tag/2_display_banner.js | JavaScript | mpl-2.0 | 751 |
/**
* Marching gulpfiles.js
*
*/
'use strict';
var path = require('path'), fs = require('graceful-fs'),
argv = require('yargs').argv, requirejs = require('requirejs'), mergeStream = require('merge-stream'),
gulp = require('gulp'), $ = require('gulp-load-plugins')();
var staticMap = JSON.parse(fs... | GrayYoung/grayyoung.github.io | gulpfile.js | JavaScript | mpl-2.0 | 10,133 |
openerp.e3z_web_menu_fold = function (instance) {
instance.web.WebClient = instance.web.WebClient.extend({
events: {
'click .oe_toggle_secondary_menu': 'fold_menu'
},
fold_menu: function () {
$('span.oe_menu_fold').toggle()
$('span.oe_menu_unfold').toggle(... | noemis-fr/old-custom | e3z_web_menu_fold/static/src/js/menu_fold.js | JavaScript | agpl-3.0 | 573 |
(function() {
var __bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; };
I18n.scoped('gradebook2', function(I18n) {
return this.CurveGradesDialog = (function() {
function CurveGradesDialog(assignment, gradebook) {
var locals;
this.assignment = assignment;
... | faraazkhan/canvas | public/javascripts/compiled/gradebook2/CurveGradesDialog.js | JavaScript | agpl-3.0 | 7,017 |
window.mingle_node_name = 'Romain Gary';
window.mingle_node_url = 'http://mingle.thedod.iriscouch.com';
document.title = (document.title + ' - ' + window.mingle_node_name);
document.write('You are connected via the <a target="_blank" href="'+window.mingle_node_url+'">'+window.mingle_node_name+'</a> server');
| judywawira/Mingle | customize/example/_attachments/branding.js | JavaScript | agpl-3.0 | 310 |
(function(angular, $, _) {
angular.module('mailingpresets').config(function($routeProvider) {
$routeProvider.when('/mailingpresets', {
controller: 'MailingpresetsSettingsCtrl',
templateUrl: '~/mailingpresets/MailingpresetsSettingsCtrl.html',
// If you need to look up data when opening ... | coopsymbiotic/coop.symbiotic.mailingpresets | ang/mailingpresets/MailingpresetsSettingsCtrl.js | JavaScript | agpl-3.0 | 3,484 |
var searchData=
[
['searchform',['SearchForm',['../classmain_1_1forms_1_1SearchForm.html',1,'main::forms']]],
['signupform',['SignUpForm',['../classmain_1_1forms_1_1SignUpForm.html',1,'main::forms']]],
['station',['Station',['../classmain_1_1models_1_1Station.html',1,'main::models']]]
];
| DjangoChained/TchouTchouGo | docs/search/classes_5.js | JavaScript | agpl-3.0 | 295 |
var safeEval = require('notevil')
module.exports.parse = function(literal){
literal = literal.replace(/\{\{([\w\W]*?)\}\}/g, function(_, exp){
return '{$: ' + JSON.stringify(fixIndent(exp)) + '}'
})
return safeEval('j = {' + literal + '}')
}
module.exports.stringify = function(object){
return getObjectCon... | mmckegg/loop-drop-app | lib/jsmn.js | JavaScript | agpl-3.0 | 2,443 |
// Generated by CoffeeScript 1.6.1
(function() {
var __hasProp = {}.hasOwnProperty,
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ct... | edxzw/edx-platform | cms/static/coffee/src/views/module_edit.js | JavaScript | agpl-3.0 | 3,132 |
/*
* File: app/model/Rule.js
*
* This file was generated by Sencha Architect version 3.2.0.
* http://www.sencha.com/products/architect/
*
* This file requires use of the Ext JS 5.1.x library, under independent license.
* License of Sencha Architect does not include license for Ext JS 5.1.x. For more
* details s... | atglab/gframework | Gframwork/public/ManagerBeta/app/model/Rule.js | JavaScript | agpl-3.0 | 1,439 |
import Component from '@ember/component';
import { inject as service } from '@ember/service';
import { on } from '@ember/object/evented';
import { task } from 'ember-concurrency';
import { t } from 'ember-intl';
import ENV from 'irene/config/environment';
import triggerAnalytics from 'irene/utils/trigger-analytics';
e... | appknox/irene | app/components/organization-invitation-overview.js | JavaScript | agpl-3.0 | 3,049 |
/*
Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'maximize', 'ko', {
maximize: '최대화',
minimize: '최소화'
} );
| astrobin/astrobin | astrobin/static/astrobin/ckeditor/plugins/maximize/lang/ko.js | JavaScript | agpl-3.0 | 261 |
var class_menu___compat =
[
[ "addMenuItem", "class_menu___compat.html#a499a08e7f1ff2b26fce99182d1043b49", null ],
[ "addSeparator", "class_menu___compat.html#a1ee8d0796f48a84eba1f0692fb604654", null ],
[ "defaultTemplate", "class_menu___compat.html#add8c5a33f231d9979e5f8bbded576d9e", null ],
[ "getDefa... | atk4/atk4-web | dox/html/class_menu___compat.js | JavaScript | agpl-3.0 | 1,042 |
'use strict';
var chai = require('chai');
var spies = require('chai-spies');
var openVeoApi = require('@openveo/api');
var BrowserPilot = process.requireManage('app/server/BrowserPilot.js');
var BROWSERS_MESSAGES = process.requireManage('app/server/browsersMessages.js');
var AdvancedEvent = openVeoApi.emitters.Advance... | veo-labs/openveo-manage | tests/server/pilot/BrowserPilot.js | JavaScript | agpl-3.0 | 11,250 |
/*
* Trainer Bartos
* Victoria Road | Pet-Walking Road (100000202)
* Pet Trainer
*/
var status;
function start() {
status = -1;
action(1, 0, 0);
}
function action(mode, type, selection) {
if (mode === -1) {
cm.dispose();
return;
}
if (status === 0 && mode === 0) {
cm.d... | NoetherEmmy/intransigentms-scripts | npc/1012006.js | JavaScript | agpl-3.0 | 2,234 |
/*
Copyright 2012, Nabil SEFRIOUI
This file is part of Skyproc.
Skyproc 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 any later version.
Skyproc is distributed in ... | skygeek/skyproc | wapp/js/ui/PriceCombo.js | JavaScript | agpl-3.0 | 4,997 |
'use strict';
var deepMerge = require('./deepMerge')
var path = require('path')
var bunyan = require('bunyan')
var uuidGen = require('node-uuid')
var measured = require('measured')
function scheduleStatsLogging(ctx) {
if (process.env.DISABLE_METRICS === '1')
return
var lastRun
setInterval(funct... | curzonj/spacebox-nodejs-common | src/logging.js | JavaScript | agpl-3.0 | 5,757 |
(function () {
'use strict';
angular
.module('friends')
.controller('FriendsSearchController', FriendsSearchController);
FriendsSearchController.$inject = ['FriendsService'];
function FriendsSearchController(FriendsService) {
var vm = this;
vm.search = search;
function search(){
F... | trendzetter/VegetableGardenPlanner | modules/friends/client/controllers/search-friends.client.controller.js | JavaScript | agpl-3.0 | 451 |
/**
* Created by filip on 11/28/14.
*/
'use strict';
var Sort = {
tsort: function (edges) {
var nodes = {}, // hash: stringified id of the node => { id: id, afters: list of ids }
sorted = [], // sorted list of IDs ( returned value )
visited = {}; // hash: id of already visited nod... | rabix/registry | server/pipeline/top-sort.js | JavaScript | agpl-3.0 | 1,887 |
/* global fetch */
import 'isomorphic-fetch';
import withQuery from 'with-query';
const base = 'https://pathfinder.futuretense.io';
const paths = async (sourceAccount, destAsset, destAmount) => {
const type = destAsset.asset_type;
const params = {
/* eslint-disable camelcase */
source_account: sourceAccount,
... | johansten/stargazer | app/pages/send/pathfinder.js | JavaScript | agpl-3.0 | 904 |
/*
* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
* License: AGPLv3 s.t. "Commons Clause" – see LICENSE.md for details
*/
/*
* CoCalc, by SageMath, Inc., (c) 2016, 2017 -- License: AGPLv3
*/
/*
* Webpack configuration file
Run dev server with source maps:
npm run webpack-watch
Then visit... | sagemathinc/smc | src/webpack.config.js | JavaScript | agpl-3.0 | 24,056 |
var nodeList = document.getElementsByClassName('draggable');
for(var i=0;i<nodeList.length;i++) {
var obj = nodeList[i];
obj.addEventListener('touchmove', function(event) {
var touch = event.targetTouches[0];
var ancho = this.offsetWidth;
var alto = this.offsetHeight;
event.target.style.l... | movilla/movilla.github.io | resistencia/js/app.js | JavaScript | agpl-3.0 | 1,220 |
/* ************************************************************************
qooxdoo - the new era of web development
http://qooxdoo.org
Copyright:
2004-2010 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... | Seldaiendil/meyeOS | devtools/qooxdoo-1.5-sdk/component/simulator/source/class/simulator/Init.js | JavaScript | agpl-3.0 | 2,094 |
/*
* Copyright 2014 Telefonica Investigación y Desarrollo, S.A.U
*
* This file is part of fiware-iotagent-lib
*
* fiware-iotagent-lib 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 versio... | telefonicaid/lightweightm2m-iotagent | test/unit/ngsiv2/commands-test.js | JavaScript | agpl-3.0 | 7,891 |
/* ************************************************************************
qooxdoo - the new era of web development
http://qooxdoo.org
Copyright:
2004-2011 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... | Seldaiendil/meyeOS | devtools/qooxdoo-1.5-sdk/framework/source/class/qx/ui/mobile/container/MIScroll.js | JavaScript | agpl-3.0 | 5,642 |
/***************************/
//@Author: Adrian "yEnS" Mato Gondelle & Ivan Guardado Castro
//@website: www.yensdesign.com
//@email: yensamg@gmail.com
//@license: Feel free to use it, but keep this credits please!
/***************************/
$(document).ready(function(){
$(".menu > li").click(function(e... | Hutspace/odekro | mzalendo/odekro/static/js/tabs.js | JavaScript | agpl-3.0 | 2,271 |
/**
* Main object for integrating Typhos' BetterPonymotes with Discord
* (c) 2015-2016 ByzantineFailure
*
* Many much thanks to BetterDiscord, from which a lot of ideas
* are cribbed.
* https://github.com/Jiiks/BetterDiscordApp
*
* Runs all our compiled code in Discord's Electron environment
**/
module.exports... | ILikePizza555/BPM-for-Discord | discord/integration/bpm.js | JavaScript | agpl-3.0 | 1,746 |
OC.L10N.register(
"bookmarks",
{
"Bookmarks" : "বুকমার্ক",
"Bookm." : "বুকএম.",
"No file provided for import" : "ইম্পোর্টের জন্য প্রদান করা কোন ফাইল",
"Unsupported file type for import" : "ইমপোর্টের জন্য অসমর্থিত ফাইল টাইপ",
"Error" : "ভুল",
"Filter by tag" : "ট্যাগ দ্বারা ফিল্টার করুন",... | tflidd/bookmarks | l10n/bn_IN.js | JavaScript | agpl-3.0 | 2,472 |
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
clean: [
'demo/*.html',
'demo/css/*.css'
],
webfont: {
icons: {
src: 'icons/*.{svg,eps}',
dest: 'fonts',
... | etalab/etalab-assets | Gruntfile.js | JavaScript | agpl-3.0 | 4,816 |
/**
Copyright (c) 2010-2013, Erik Hetzner
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.
This ... | simonster/zotero-transfw | framework.js | JavaScript | agpl-3.0 | 19,124 |
import React from 'react';
import PropTypes from 'prop-types';
import Statistic from 'interface/statistics/Statistic';
import STATISTIC_CATEGORY from './STATISTIC_CATEGORY';
export { default as STATISTIC_ORDER } from './STATISTIC_ORDER';
/**
* @deprecated Use `interface/statistics/*` instead (add a component to di... | ronaldpereira/WoWAnalyzer | src/interface/others/DualStatisticBox.js | JavaScript | agpl-3.0 | 1,322 |
/*
This file is a part of libertysoil.org website
Copyright (C) 2015 Loki Education (Social Enterprise)
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, ... | Lokiedu/libertysoil-site | test/integration/api/misc.js | JavaScript | agpl-3.0 | 5,614 |
/*
Copyright 2008 Clipperz Srl
This file is part of Clipperz Community Edition.
Clipperz Community Edition is a web-based password manager and a
digital vault for confidential data.
For further information about its features and functionalities please
refer to http://www.clipperz.com
* Clipperz Community Edition is ... | fmdhs/cz | js/src/Clipperz/PM/DataModel/RecordVersion.js | JavaScript | agpl-3.0 | 17,877 |
'use strict';
angular.module('myApp.eating', ['ngRoute'])
.config(['$routeProvider', function ($routeProvider) {
$routeProvider.when('/eating', {
templateUrl: 'views/eating/eating.html',
controller: 'EatingCtrl'
});
}])
.controller('EatingCtrl', function ($scope, $h... | grup3ea/webAngular1 | app/views/eating/eating.js | JavaScript | agpl-3.0 | 1,661 |
import { FETCH_TODOS_REQUEST, FETCH_TODOS_SUCCESS, FETCH_TODOS_FAILURE, ADD_TODO_REQUEST, ADD_TODO_SUCCESS, ADD_TODO_FAILURE, COMPLETE_TODO, SET_VISIBILITY_FILTER, VisibilityFilters } from '../actions/todoActions';
const { SHOW_ALL } = VisibilityFilters;
import createReducer from '../utils/create-reducer';
const initi... | HeapCity/heap_city | client/js/reducers/todoReducers.js | JavaScript | agpl-3.0 | 1,097 |
function langToggle() {
document.querySelector("body").classList.add("is-lang-active");
function toggleLangClass(e){
e.preventDefault();
document.querySelector(".lang-wrapper").classList.toggle("is-lang-open");
}
function langToggleClickOut(e) {
var targetElements,
targetTriggers,
i... | decidim/decidim.org | source/javascripts/lang-toggle.js | JavaScript | agpl-3.0 | 661 |
/*
#--
# Copyright (C) 2007-2009 Johan Sørensen <johan@johansorensen.com>
# Copyright (C) 2009 Marius Mathiesen <marius.mathiesen@gmail.com>
#
# 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 Softwar... | Gitorious-backup/base_uri-fixes | public/javascripts/application.js | JavaScript | agpl-3.0 | 15,421 |
//Pointer
function $(Obj){return document.getElementById(Obj)}
//Ajax
function loadDoc(file) {
var xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
document.getElementById("main").innerHTML=this.responseText;
}
};
xhttp.open("GET", file, ... | webkoom/pwasystem | js.js | JavaScript | agpl-3.0 | 533 |
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js'... | Maronato/SpottedBot | main/static/main/js/GA.js | JavaScript | agpl-3.0 | 525 |
// @flow
export const maxCheck = (num: number, max: number) => {
if (num >= max) return max
return num
}
export const temp = 0
| mimccio/komi-app | src/lib/helpers/numberHelpers.js | JavaScript | agpl-3.0 | 132 |
import test from 'ava';
import * as integer from '../../../../src/index.js';
test('translate', (t) => {
t.throws(integer.translate.bind(null, 16, 16, '!00b0C0def'), {
message: /invalid/,
});
t.throws(integer.translate.bind(null, 37, 36, '!'), {
message: /not implemented/,
});
t.throws(integer.translate.bind(n... | aureooms/js-integer-big-endian | test/src/core/convert/translate.js | JavaScript | agpl-3.0 | 1,793 |
/*
Copyright Härnösands kommun(C) 2014
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.
This progra... | Sundsvallskommun/OpenEMap-Admin-WebUserInterface | src/main/javascript/controller/toolDetails/MeasureLine.js | JavaScript | agpl-3.0 | 1,805 |
import Ember from 'ember';
import RegexValidator from 'ember-simple-validate/lib/validators/regex';
import Validator from 'ember-simple-validate/lib/validator';
import { module, test } from 'qunit';
var get = Ember.get;
var set = Ember.set;
var subject;
module('Validators/Regex', {
beforeEach: function() {
sub... | ChinookBook/ember-simple-validate | tests/unit/lib/validators/regex-test.js | JavaScript | agpl-3.0 | 1,269 |
function show_alert(e) {
e.preventDefault();
if(confirm("Do you really want to replace '<%= $filename %>'?"))
document.forms[0].submit();
else
return false;
}
function show_msgdeletealert() {
if(confirm("Do you really want to delete this message?"))
document.forms[0].submit();
els... | iwelch/sylspace | static/js/confirm.js | JavaScript | agpl-3.0 | 371 |
'use strict';
/**
* This file process should arguments the terminal
*/
function process(){
var command = 'read';
console.log('Fake reading terminal arguments');
return command;
}
exports.process = process;
| telefonicaid/PopBox | lib/cli.js | JavaScript | agpl-3.0 | 218 |
import React from 'react';
import Modal from 'react-modal';
export const ModalWrapper = ({ isOpen, handleClose, children }) => (
<Modal
isOpen={isOpen}
onRequestClose={handleClose}
style={{ content: { bottom: 'none' } }}
>
{children}
</Modal>
);
export default ModalWrapper;
| rabblerouser/core | frontend/src/admin/common/Modal.js | JavaScript | agpl-3.0 | 299 |
/**********************************************************************
Freeciv-web - the web version of Freeciv. http://play.freeciv.org/
Copyright (C) 2009-2015 The Freeciv-web project
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General P... | andreasrosdal/freeciv-web | freeciv-web/src/main/webapp/javascript/2dcanvas/mapctrl.js | JavaScript | agpl-3.0 | 16,757 |
"use strict";
var express = require("express"),
config = require("config"),
helpers = require("./src/helpers");
module.exports = function () {
var app = express();
app.use( express.compress() );
// configure logging
if ("development" == app.get("env")) {
app.use(express.logger("dev"));
} els... | OpenBookPrices/openbookprices-api | index.js | JavaScript | agpl-3.0 | 2,044 |
export class InOutViewController extends BaseViewController {
constructor( options = {} ) {
_.defaults( options, {
type_array: null,
job_api: null,
job_item_api: null,
old_type_status: {},
show_job_ui: false,
show_job_item_ui: false,
show_branch_ui: false,
show_department_ui: false,
sh... | aydancoskun/timetrex-community-edition | interface/html5/views/attendance/in_out/InOutViewController.js | JavaScript | agpl-3.0 | 22,183 |
if (!Array.prototype.map) {
// eslint-disable-next-line no-extend-native
Array.prototype.map = function(fun /*, thisp */) {
if (this === void 0 || this === null) {
throw TypeError();
}
var t = Object(this);
var len = t.length >>> 0;
if (typeof fun !== "function") {
throw TypeError()... | ctrlo/GADS | src/polyfills/array.map.js | JavaScript | agpl-3.0 | 544 |
define([
'lakaxita/utils/collections',
'lakaxita/news/models',
], function(Collections, NewsModels) {
News = Collections.Collection.extend({
url: '/api/news/',
model: NewsModels.News,
});
return {News: News};
})
| labkaxita/lakaxita | lakaxita/static/js/lakaxita/news/collections.js | JavaScript | agpl-3.0 | 266 |
{
"classAlias": "widget.tinymce",
"className": "Ext.ux.form.TinyMceTextArea",
"inherits": "Ext.form.field.TextArea",
"autoName": "MyTinyMceEditor",
"helpText": "A TinyMCE 4 WYSIWYG editor",
"validParentTypes": [
"abstractcontainer"
],
"validChildTypes": [
],
"toolbox": {... | Kolbaskin/janusjs | static/admin/packages/TinyMCE/architect/TinyMceTextAreaDef.js | JavaScript | lgpl-2.1 | 8,656 |
/*
* This file is part of Cockpit.
*
* Copyright (C) 2013 Red Hat, Inc.
*
* Cockpit 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 your option) any l... | sub-mod/cockpit | pkg/shell/cockpit-shutdown.js | JavaScript | lgpl-2.1 | 4,677 |
var app = angular.module("web-stream-wall", [
"ui.bootstrap",
"pascalprecht.translate",
"LocalStorageModule",
"firebase"
])
;
| tsaikd/web-stream-wall | app.js | JavaScript | lgpl-3.0 | 131 |
/**
* @package Hibouk (O,O)
* @subpackage application (ap_)
* @author David Dauvergne
* @licence GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html
*/
/**
* Module ap_editionToolbar
*/
define('bdl/edition/ap_editionToolbar', function() {
var _toInactivated = function(e... | 8moustapha8/Hibouk | bundles/edition/ap_editionToolbar.js | JavaScript | lgpl-3.0 | 18,070 |