code stringlengths 2 1.05M | repo_name stringlengths 5 114 | path stringlengths 4 991 | language stringclasses 1
value | license stringclasses 15
values | size int32 2 1.05M |
|---|---|---|---|---|---|
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'forms', 'ja', {
button: {
title: 'ボタン プロパティ',
text: 'テキスト (値)',
type: 'タイプ',
typeBtn: 'ボタン',
typeSbm: '送信',
typeRst: 'リセット'
},
checkbox... | Mediawiki-wysiwyg/WYSIWYG-CKeditor | WYSIWYG/ckeditor_source/plugins/forms/lang/ja.js | JavaScript | gpl-3.0 | 1,848 |
'use strict'
angular.module('ctfEvents').run(['Menus',
function (Menus) {
Menus.addMenuItem('topbar', {
title: 'Events',
state: 'ctfEvents.upcoming',
roles: ['*']
})
Menus.addSubMenuItem('topbar', 'admin', {
title: 'Manage Events',
state: 'ctfEvents.list',
})
}
])
| CyberNinjas/TallyCTF | modules/ctfEvents/client/config/ctfEvents.client.config.js | JavaScript | gpl-3.0 | 317 |
import { decodeShopOpaqueId } from "@reactioncommerce/reaction-graphql-xforms/shop";
/**
* @name "Query.shop"
* @method
* @memberof Shop/GraphQL
* @summary query the Shops collection and return shop data
* @param {Object} _ - unused
* @param {Object} args - an object of all arguments that were sent by the client... | MassDistributionMedia/rc-ca-blinds | imports/plugins/core/graphql/server/resolvers/shop/Query/shop.js | JavaScript | gpl-3.0 | 652 |
var SetExtrocontrol = new function(){
var ext_log_time_id = null;
var check_time_id = null;
var isClose = false;
var ckClose = false;
//获取主控配置
function get_ext_device_cfg(){
var cfg = {};
cfg.type = "get_ext_device_cfg";
cfg = JSON.stringify(cfg);
$.ajax({
... | SoberPeng/isaws | src/html/js/SetExtrocontrol.js | JavaScript | gpl-3.0 | 8,898 |
import React from "react";
import renderer from "react-test-renderer";
import SvgIcon from "../components/SvgIcon";
test( "the SvgIcon matches the snapshot", () => {
const component = renderer.create(
<SvgIcon icon="edit" color="black" size="32px" className="my-icon" />
);
const tree = component.toJSON();
expe... | Yoast/yoast-components | composites/Plugin/Shared/tests/SvgIconTest.js | JavaScript | gpl-3.0 | 609 |
/**
* Copyright (C) 2011 Jacob Beard
* Released under GNU GPL, read the file 'COPYING' for more information
**/
define(
function(){
function addPathRefToSegment(path,seg){
seg.pathRef = path;
}
return {
mixin : function (from,to){
for(var p in from){
if(from.hasOwnProperty(p)) to[p] = from[p];
... | jbeard4/svg-graphical-modelling-environment-framework | helpers.js | JavaScript | gpl-3.0 | 1,443 |
/**
* M7 Socket IO Listener
*
* This library is used to handle messages received from the socket.io server running
* on the M7 testing director. Right now communications are one way. The web client
* receives notifications and updates the interface accordingly.
*/
function M7Client(server) {
this.secret = '... | djtaylor/m7 | html/js/m7.listener.js | JavaScript | gpl-3.0 | 5,556 |
Ext.define('Omni.view.rms_inventories.Inspector',{
extend : 'Buildit.ux.inspector.Panel',
alias : 'widget.omni-rms_inventories-Inspector',
initComponent:function(){
var me = this;
// INSPECTOR INIT (Start) ==============================================================
Ext.applyIf(this, {
... | tunacasserole/omni | app/assets/javascripts/omni/view/rms_inventories/Inspector.js | JavaScript | gpl-3.0 | 1,131 |
/*
* Copyright (C) Zing contributors.
*
* This file is a part of the Zing project. It is distributed under the GPL3
* or later license. See the LICENSE file for a copy of the license and the
* AUTHORS file for copyright and authorship information.
*/
import React from 'react';
import { showModal } from './Modal'... | evernote/zing | pootle/static/js/shared/components/AboutDialog.js | JavaScript | gpl-3.0 | 1,748 |
var _ = require("underscore");
var html = require("../html");
exports.topLevelElement = topLevelElement;
exports.elements = elements;
exports.element = element;
function topLevelElement(tagName, attributes) {
return elements([element(tagName, attributes, {
fresh: true
})]);
}
function elements(elementStyles... | elmsln/elmsln | core/dslmcode/cores/haxcms-1/build/es5-amd/node_modules/@lrnwebcomponents/file-system-broker/lib/mammoth/lib/styles/html-paths.js | JavaScript | gpl-3.0 | 1,823 |
/*
Copyright - 2016 - Christian Guyette - Contact: http//www.ouaie.be/
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 any later version.
This program is distribu... | wwwouaiebe/leaflet-routing-gpx | src/Utilities.js | JavaScript | gpl-3.0 | 5,432 |
angular.module('starter.controllers', ['starter.services','ngStorage'])
.controller('LoginCtrl', function($rootScope, $localStorage, $scope, LoginService, $ionicPopup, $state) {
$scope.data = {};
$scope.a = {};
$rootScope.accountname=$localStorage.savedusername;
var cekaccount = function() {
if($localStor... | ekobayuhit/smartPLUG | www/js/controllers.js | JavaScript | gpl-3.0 | 118,694 |
/**
* Custom script that builds a SELECT drop-down with all menu links.
*
* Selects are great since they support CSS3
*
*/
jQuery(document).ready(function(){
jQuery('ul:first').attr("id", "primary-menu");
jQuery("ul#primary-menu > li:has(ul)").addClass("hasChildren");
jQuery("ul#primary-menu > li:has(ul) > ul ... | fedenko/chichka | layout/js/navigation/navigation.js | JavaScript | gpl-3.0 | 1,148 |
app.constant("productListActiveClass", "btn-primary")
.controller("productListCtrl", function ($scope, $filter, productListActiveClass) {
var selectedCategory = null;
$scope.selectCategory = function(newCategory) {
selectedCategory = newCategory;
};
$scope.categoryFilterFn = function (prod... | madebyrogal/angular | UI/js/controller/productListControllers.js | JavaScript | gpl-3.0 | 553 |
'use strict'
var Q = require('q')
var typeforce = require('typeforce')
var tradle = require('@tradle/engine')
var protocol = tradle.protocol
var tradleUtils = tradle.utils
var constants = tradle.constants
var extend = require('xtend/mutable')
var clone = require('xtend')
var utils = require('./utils')
var ROOT_HASH =... | tradle/tim-bank | lib/requestState.js | JavaScript | gpl-3.0 | 2,909 |
import { css } from 'styled-components';
export function animation({ animation, duration = 1000, func = 'ease', delay = 0 } = {}) {
return css`${animation} ${duration}ms ${func} ${delay}ms forwards`;
}
| carsy/carsy.github.io | src/shared/animations/styles.js | JavaScript | gpl-3.0 | 207 |
'use strict';
// collect statistics from bind (named) v9.10+
//
// bind statistics documentation at:
// http://jpmens.net/2013/03/18/json-in-bind-9-s-statistics-server/
// https://ftp.isc.org/isc/bind/9.10.3/doc/arm/Bv9ARM.ch06.html#statistics
// example configuration in /etc/netdata/node.d/named.conf
// the module s... | seamless-distribution-systems/galilei | galieli-netdata-installer/netdata/node.d/named.node.js | JavaScript | gpl-3.0 | 32,377 |
if ("undefined" == typeof(cardbookSynchronizationGoogle)) {
try {
ChromeUtils.import("resource://gre/modules/Services.jsm");
ChromeUtils.import("chrome://cardbook/content/cardbookRepository.js");
}
catch(e) {
Components.utils.import("resource://gre/modules/Services.jsm");
Components.utils.import("chrome://ca... | CardBook/CardBook | chrome/content/cardbookSynchronizationGoogle.js | JavaScript | mpl-2.0 | 8,271 |
/* eslint-env jasmine */
/* global inject, module */
describe("calendar service", function() {
var $compile;
var $rootScope;
beforeEach(module("materialCalendar"));
beforeEach(inject(function(_$compile_, _$rootScope_){
$compile = _$compile_;
$rootScope = _$rootScope_;
}));
xi... | shmiko/angular-material-calendar | test/unit/calendarMdDirective.spec.js | JavaScript | mpl-2.0 | 459 |
export async function login(driver, server, t) {
let userEndpointCalled = 0;
let bugEndpointCalled = 0;
server.get("/rest/user/:email", function(req, res) {
userEndpointCalled++;
t.is(req.params.email, "bugzilla@example.com");
res.json({
users: [{
"can_login" : true,
"email" : "bug... | johannhof/bugzilla-react-native | test/integration/common.js | JavaScript | mpl-2.0 | 2,057 |
var _templateRendererSetup = function() {
// Mustache doesn't need any setup
};
var _templateRendererImpl = function(template, view, output) {
// Can't use streaming mode, however nicely it fits in with the push-to-output method we use, because
// it removes line endings from the values which means <texta... | haplo-org/oforms | src/oforms/template_impl/mustache.js | JavaScript | mpl-2.0 | 473 |
module('core', {
setup: function() {
},
teardown: function() {
}
});
test('core.util.interpolate', function() {
var values = [0, .25, .5, .75, 1];
var numberInterpolation = joint.util.interpolate.number(0,100);
var objectInterpolation = joint.util.interpolate.object({ x: 100, y: 200 ... | laurentj/joint | test/jointjs/core.js | JavaScript | mpl-2.0 | 10,401 |
/*
Video's aren't really an uploaded item...we just turn youtube/vimeo links into embeds
*/
var systemvision = P(Element, function(_, super_) {
_.helpText = "<<systemvision>>\nEmbed a SystemVision file. Enter the node id (click 'embed' in SystemVision and in the embed code, look for the 'systemvision.com/node/NOD... | brentan/swift_calcs_client | src/elements/uploaded_items/systemvision.js | JavaScript | mpl-2.0 | 3,541 |
// Copyright 2013 Joyent, Inc. All rights reserved.
//
// 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 nfs = require('nfs');
var common = require('./common');
... | joyent/manta-nfs | lib/nfs/symlink.js | JavaScript | mpl-2.0 | 597 |
'use strict';
module.exports = function(grunt){
var path = require('path');
var config = require('build-facets')(__dirname)
.loadRules('./config/server-facets.js')
.loadConfiguration('./config/build-config.js')
.loadConfiguration('./config/deploy-config.js');
config = confi... | jhugman/call-me-maybe | Gruntfile.js | JavaScript | mpl-2.0 | 5,804 |
/* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/publicdomain/zero/1.0/ */
/*
* Initialization specific to Form Autofill mochitest-chrome tests.
*
* This file is loaded by "loader.js".
*/
/* import-globals-from loader.js */
"use strict";
// The testing framework is fully initial... | Yukarumya/Yukarum-Redfoxes | toolkit/components/formautofill/test/chrome/head.js | JavaScript | mpl-2.0 | 575 |
/* 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/. */
"use strict";
const { Loader } = require("sdk/test/loader");
const hiddenFrames = require("sdk/frame/hidden-frame"... | Yukarumya/Yukarum-Redfoxes | addon-sdk/source/test/test-hidden-frame.js | JavaScript | mpl-2.0 | 2,238 |
/* 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/. */
module.exports = function (grunt) {
grunt.config('copy', {
build: {
files: [{
cwd: '<%= yeoman... | npestana/fxa-content-server | grunttasks/copy.js | JavaScript | mpl-2.0 | 3,893 |
/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
/* vim: set ft=javascript ts=2 et sw=2 tw=80: */
/* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/publicdomain/zero/1.0/ */
// Check that variables view handles special names like "<return>"
// properly for ordinary displays.
"us... | Yukarumya/Yukarum-Redfoxes | devtools/client/webconsole/test/browser_console_variables_view_special_names.js | JavaScript | mpl-2.0 | 1,216 |
var app = angular.module('CircusSite', ['ngMaterial', 'ngRoute', 'ngAnimate']);
app.config(['$routeProvider',
function ($routeProvider) {
$routeProvider.
when('/', {
templateUrl: 'circus-main/circus-main.html'
}).
when('/artists', {
templat... | ririw/circusoc-frontend | index.js | JavaScript | agpl-3.0 | 2,017 |
print = ((typeof(print)==="undefined") ? console.log : print);
function hexstr(x, sz) {
sz = ((typeof sz==="undefined")?0:sz);
var t = x.toString(16);
if (t.length < sz) {
t = Array(sz - t.length + 1).join("0") + t;
}
return t;
}
var lci_config = {
"tile-server" : [ "http://localhost:8081" ],
"cgf... | abeconnelly/lci | js/init.js | JavaScript | agpl-3.0 | 14,442 |
/*
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 modify
it under the terms of the GNU Affero Genera... | ronancpl/MapleSolaxiaV2 | scripts/portal/enterSecondDH.js | JavaScript | agpl-3.0 | 1,625 |
/*
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 modify
it under the terms of the GNU Affero Genera... | ronancpl/MapleSolaxiaV2 | scripts/npc/2041013.js | JavaScript | agpl-3.0 | 2,301 |
import PropTypes from 'prop-types'
import React, { Component } from 'react'
import { connect } from 'react-redux'
import { Link } from 'react-router-dom'
import { cachedResource } from '../services/resources'
import { createResource } from '../actions/resources'
import { ResourceForm } from '../forms'
import { transla... | adzialocha/hoffnung3000 | app/scripts/views/ResourcesNew.js | JavaScript | agpl-3.0 | 1,689 |
'use strict';
const collectionIncludes = require('lodash').includes;
const DOM_PREFIXES = ['971', '972', '973', '974', '975'];
const INVALID_PREFIXES = ['96', '98', '99', '00', '20'];
module.exports = function parseInseeCode(inseeCode) {
if (inseeCode.length !== 5) throw new Error('INSEE code must have 5 characte... | sgmap/apicarto | lib/parse-insee-code.js | JavaScript | agpl-3.0 | 1,346 |
'use strict';
var client = require('../http-client');
var extend = require('extend');
var http = require('http');
module.exports = function(dependencies) {
var graceperiod = dependencies('graceperiod');
var logger = dependencies('logger');
return function(req, res, options) {
var target = options.endpoin... | heroandtn3/openpaas-esn | modules/linagora.esn.davproxy/backend/webserver/proxy/graceperiod/memory.js | JavaScript | agpl-3.0 | 2,843 |
/*!
* Math Expressions Builder
* https://project-jste.github.io/
*
* Copyright 2018 Jste Team
* Released under the GNU AGPLv3 license
* https://project-jste.github.io/license
*
* Date: 2018-02-06
*/
import getTranslations from "core/getTranslations";
import { create, all } from "mathjs";
const config = {};
con... | project-jste/framework | src/JS/parsers/mathExp.js | JavaScript | agpl-3.0 | 1,922 |
/* This is where are handled "live" events of the application.
*/
var events = require('events')
, URL = require('url')
, io = require('socket.io')
, extend = require('nodetk/utils').extend
, error = require('./utils').error
;
var emitter = exports.emitter = new events.EventEmitter();
emitter.on('CREATE... | AF83/Geeks | src/geeks_events.js | JavaScript | agpl-3.0 | 1,967 |
/*global describe, should, it, beforeEach, afterEach, curl, sinon, $, Backbone*/
(function() {
"use strict";
describe('Bookcase.AddedBooks view', function () {
var sandbox;
beforeEach(function () {
// create a sandbox
sandbox = sinon.sandbox.create();
});
... | TEA-ebook/teabook-reader-ffox-app | test/spec/view/bookcase/added-books.js | JavaScript | agpl-3.0 | 3,661 |
/*
Jappix - An open social platform
These are the chat JS scripts for Jappix
-------------------------------------------------
License: AGPL
Authors: Vanaryon, Eric
Last revision: 16/10/11
*/
// Correctly opens a new chat
function checkChatCreate(xid, type, nickname, password, title) {
// No XID?
if(!xid)
retu... | BlaBlaNet/BlaBlaNet | extend/addon/blablanet/jappixmini/jappix/js/chat.js | JavaScript | agpl-3.0 | 8,976 |
(function () {
'use strict';
angular
.module('tasks')
.controller('TasksController', TasksController);
TasksController.$inject = ['$scope', 'taskResolve', 'Authentication'];
function TasksController($scope, task, Authentication) {
var vm = this;
vm.task = task;
vm.step = task.cultivation... | trendzetter/VegetableGardenPlanner | modules/tasks/client/controllers/tasks.client.controller.js | JavaScript | agpl-3.0 | 528 |
angular.module('Directory.csvImports.filters', ['Directory.csvImports.models'])
.filter('type', ['Schema', function(Schema) {
return function (inputs, cond) {
if (typeof cond == 'undefined' || cond == null || cond == '' || cond == '*') {
return inputs;
}
var things = [];
angular.forEach(inputs, ... | quoideneuf/pop-up-archive | app/assets/javascripts/csv_imports/filters.js | JavaScript | agpl-3.0 | 1,951 |
/*
*
* (c) Copyright Ascensio System Limited 2010-2016
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGP... | ayuzhin/web-apps | apps/presentationeditor/main/app/controller/RightMenu.js | JavaScript | agpl-3.0 | 14,165 |
/**
* conjoon
* (c) 2007-2015 conjoon.org
* licensing@conjoon.org
*
* conjoon
* Copyright (C) 2014 Thorsten Suckow-Homberg/conjoon.org
*
* 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 Foun... | conjoon/webmail | src/corelib/js/source/groupware/email/form/ui/AttachmentPanelUi.js | JavaScript | agpl-3.0 | 1,928 |
// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
// License: GNU General Public License v3. See license.txt
frappe.provide("erpnext.buying");
cur_frm.cscript.tax_table = "Purchase Taxes and Charges";
{% include 'accounts/doctype/purchase_taxes_and_charges_template/purchase_taxes_and_charges_templ... | indictranstech/osmosis-erpnext | erpnext/buying/doctype/purchase_common/purchase_common.js | JavaScript | agpl-3.0 | 7,787 |
'use strict';
const Twitter = require('twit'),
q = require('q');
module.exports = {
getDirectMessages,
getMentions
};
/////
function getMentions(config, options) {
return q.ninvoke(new Twitter(config), 'get', '/statuses/mentions_timeline', options).then(data => _formatTweets(data[0]));
}
function getDi... | heroandtn3/openpaas-esn | modules/linagora.esn.unifiedinbox/backend/webserver/api/twitter/core.js | JavaScript | agpl-3.0 | 950 |
app.controller('EventShowController', ['$scope', '$filter', '$route', 'Auth', 'Note', 'Event', 'Task', 'Topic', 'Comment', 'User', 'Contributor', 'Map', 'Permission', 'Attachement', 'Edge',
function ($scope, $filter, $route, Auth, Note, Event, Task, Topic, Comment, User, Contributor, Map, Permission, Attachement, E... | ioGrow/iogrowCRM | static/app/scripts/controllers/eventcontrollers.js | JavaScript | agpl-3.0 | 58,595 |
'use strict';
angular.module('op.live-conference')
.factory('attendeeColorsService', ['MAX_ATTENDEES', function(MAX_ATTENDEES) {
var colors = [
'#EF5350',
'#5C6BC0',
'#26A69A',
'#FFEE58',
'#FF7043',
'#00B0FF',
'#9CCC65',
'#BDBDBD',
'#FFA726'
];
funct... | Open-Up/angular-liveconference | src/js/services/attendeeColors.js | JavaScript | agpl-3.0 | 499 |
/*
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 modify
it under the terms of the GNU Affero General... | ronancpl/MapleSolaxiaV2 | scripts/reactor/8091001.js | JavaScript | agpl-3.0 | 1,182 |
'use strict';
/*
* atkeeper is used to kill Source Keeper (melee version)
*
* Attacks source keeper, move away when hits below 'threshold'
* If no source keeper is available move to position where the next will spawn
*/
roles.atkeepermelee = {};
roles.atkeepermelee.boostActions = ['fatigue', 'attack', 'heal', 'd... | stu43005/screeps | src/role_atkeepermelee.js | JavaScript | agpl-3.0 | 2,289 |
tinyMCE.addI18n("en.advhr_dlg",{width:"Width",size:"Height",noshade:"No shadow"});
| FireWalkerX/eyeOS-FOSS-v1.x.x.x | eyeOS/extern/libs/eyeWidgets/tiny_mce/plugins/advhr/langs/en_dlg.min.js | JavaScript | agpl-3.0 | 83 |
import Component from "@ember/component";
import { computed } from "@ember/object";
import { reads } from "@ember/object/computed";
import { inject as service } from "@ember/service";
import { task, timeout } from "ember-concurrency";
import moment from "moment";
/**
* Component for a tooltip showing the progress of ... | anehx/timed-frontend | app/components/progress-tooltip/component.js | JavaScript | agpl-3.0 | 3,211 |
/**
* Helpers to manipulate a reactive var for the purpose of more readable dan shorter code
*
* @class reactiveVarHelpers
* @memberof Partup.client
*/
Partup.client.reactiveVarHelpers = {
/**
* Helper to increment a reactive number variable
*
* @memberof Partup.client.reactiveVarHelpers
* ... | part-up/part-up | app/packages/partup-client-base/client/reactiveVarHelpers.js | JavaScript | agpl-3.0 | 604 |
module.exports = {
'Manuscripts title is correct': function (test) {
test
.open('http://134.76.21.92:8080/archaeo18/')
.click('#linkhandschriften')
.assert.title().is('Archaeo 18: Handschriften', 'It has title')
.screenshot('screenshots/Manuscripts.png')
.done();
}
};
| subugoe/archaeo18 | test/ui/correctManuscriptsTitle.js | JavaScript | agpl-3.0 | 291 |
/*
* Copyright 2014 Telefonica Investigación y Desarrollo, S.A.U
*
* This file is part of lightweightM2M-iotagent
*
* lightweightM2M-iotagent 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, eithe... | guerrerocarlos/lightweightm2m-iotagent | lib/services/lwm2mHandlers/commonLwm2m.js | JavaScript | agpl-3.0 | 5,615 |
/*!
Colorbox v1.5.10 - 2014-06-26
jQuery lightbox and modal window plugin
(c) 2014 Jack Moore - http://www.jacklmoore.com/colorbox
license: http://www.opensource.org/licenses/mit-license.php
Wrapped to AMD by Viacheslav Lotsmanov
*/
define(['jquery'], function (jQuery) {
(function ($, document, window) {
var
//... | web-izmerenie/usadba-dev-sources | scripts/libs/jquery.colorbox-1.5.10.js | JavaScript | agpl-3.0 | 29,275 |
var searchData=
[
['csvtosdconverter',['CsvToSdConverter',['../classCsvToSdConverter.xhtml',1,'']]],
['cutrender_5finfo',['CutRender_info',['../structUtils_1_1CutRender__info.xhtml',1,'Utils']]]
];
| vroland/SimpleAnalyzer | doc/html/search/classes_63.js | JavaScript | agpl-3.0 | 202 |
export const authStatus = state => {
state.status
}
| freedomotic/fd-vue-webapp | src/store/authentication/getters.js | JavaScript | agpl-3.0 | 54 |
import { combineReducers } from 'redux';
import { GROUP_LIST_UPDATED,
GROUP_SELECTED,
GROUP_REMOVED,
GROUP_UPDATED,
GROUP_CREATED,
EDIT_GROUP,
CREATE_GROUP,
FINISH_EDIT_GROUP,
} from './actions';
import { getGroupsView } from '../selectors';
export const groups = (state = [], action) => {
switch (acti... | rabblerouser/core | frontend/src/admin/branchManagement/groupView/reducers.js | JavaScript | agpl-3.0 | 1,932 |
var Promise = require('bluebird');
var _ = require('lodash')
var assignGroupMemberships = function (groups, memberships, callback) {
var flatMemberships = _.flatten(memberships);
return Promise.map(groups, function(group) {
var newGroup = _.clone(group);
newGroup['memberships'] = _.filter(flatMemberships,... | openappjs/fake-api | lib/assignGroupMemberships.js | JavaScript | agpl-3.0 | 511 |
define(["../..", "./Read"], function(dojo) {
// module:
// dojo/data/api/Identity
// summary:
// TODOC
dojo.declare("dojo.data.api.Identity", dojo.data.api.Read, {
// summary:
// This is an abstract API that data provider implementations conform to.
// This file defines methods signatures and intentionally... | ohaz/amos-ss15-proj1 | FlaskWebProject/static/scripts/dojotoolkit/dojo/data/api/Identity.js | JavaScript | agpl-3.0 | 4,354 |
define([
'jquery',
'moment',
'underscore',
'collections/product_collection',
'models/course_model',
'models/course_seats/professional_seat',
'models/course_seats/audit_seat',
'models/course_seats/honor_seat',
'js-cookie'
],
function($,
moment,
_,
... | edx/ecommerce | ecommerce/static/js/test/specs/models/course_model_spec.js | JavaScript | agpl-3.0 | 21,576 |
/*
* _ _ _
* | | | | | |
* | | __ _| |__ ___ ___ __ _| |_ Labcoat (R)
* | |/ _` | '_ \ / __/ _ \ / _` | __| Powerful development environment for Quirrel.
* | | (_| | |_) | (_| (_) | (_| | |_ Copyright (C) 2010 - 2013... | precog/labcoat-legacy | js/libs/jquery/jstree/jstree.sort.js | JavaScript | agpl-3.0 | 2,473 |
<script>
/*************************************************************************
*
* ADOBE CONFIDENTIAL
* ___________________
*
* Copyright 2012 Adobe Systems Incorporated
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Adobe Systems Incorporated and its supp... | karamvirs/creditgurucrm | custom/EchoSign/addButton.js | JavaScript | agpl-3.0 | 5,135 |
/*
* LICENCE : CloudUnit is available under the Affero Gnu Public License GPL V3 : https://www.gnu.org/licenses/agpl-3.0.html
* but CloudUnit is licensed too under a standard commercial license.
* Please contact our sales team if you would like to discuss the specifics of our Enterprise license.
* If yo... | Treeptik/cloudunit | cu-manager-ui/app/scripts/components/editApplication/explorer/explorerService.js | JavaScript | agpl-3.0 | 4,954 |
'use strict';
describe('Zeno Controller', function() {
var scope, $httpBackend, ctrl, rootScope, location, zenoService;
var list = {
host : "{@alias}.google.com",
envs : [
{alias: "dev", server : "dev.", port: 8080},
{alias: "prod", server: ""}
],
deskto... | lesfurets/zeno-pixel | tests/front/zenoControllerTest.js | JavaScript | agpl-3.0 | 2,370 |
/*
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 modify
it under the t... | DannerrQ/OdinTeh | scripts/npc/2032002.js | JavaScript | agpl-3.0 | 3,821 |
(function() {
Ext.override(Ext.slider.Multi, {
removeThumb: function(thumbIndex) {
var tt = this.thumbs;
try {
tt[thumbIndex].el.remove();
Ext.Array.erase(tt, thumbIndex, 1);
} catch (e) {
// avoid crash to wrong index
}
},
removeLastThumb: function() {
this.removeThumb(this.thumbs.... | jzinedine/CMDBuild | cmdbuild/src/main/webapp/javascripts/cmdbuild/view/administration/dashboard/CMDashboardLayoutPanel.js | JavaScript | agpl-3.0 | 6,257 |
describe("Testing Jasmine", function() {
it("can run a test", function() {
expect(true).toBe(true);
});
});
| chipzx/fetch4 | spec/javascripts/dummy_spec.js | JavaScript | agpl-3.0 | 116 |
/*
* A JavaScript implementation of the Secure Hash Algorithm, SHA-1, as defined
* in FIPS 180-1
* Version 2.2 Copyright Paul Johnston 2000 - 2009.
* Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet
* Distributed under the BSD License
* See http://pajhome.org.uk/crypt/md5 for details.
*/
/*
* Conf... | berthojoris/livesite.js | client/810-crypt-sha1.js | JavaScript | agpl-3.0 | 9,031 |
import moment from 'moment';
var DATE_REGEX = /^[0-9]{2}\/[0-9]{2}\/[0-9]{4}$/;
function dateValidator() {
return {
restrict: 'A',
require: 'ngModel',
// TODO don't use scope
scope: {
minDate: '=',
maxDate: '='
},
link: function(scope, element, attrs, ngModelCtrl) {
ngModel... | renalreg/radar-client | src/app/validators/date-validator.directive.js | JavaScript | agpl-3.0 | 1,915 |
//# sourceMappingURL=generate-unique-number-function.js.map | abetusk/dev | notes/src/node_modules/fast-unique-numbers/build/es2019/types/generate-unique-number-function.js | JavaScript | agpl-3.0 | 59 |
/**
* Copyright 2014 Netsend.
*
* This file is part of Mastersync.
*
* Mastersync 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
*... | Netsend/mastersync | lib/versioned_system.js | JavaScript | agpl-3.0 | 34,264 |
var clover = new Object();
// JSON: {classes : [{name, id, sl, el, methods : [{sl, el}, ...]}, ...]}
clover.pageData = {"classes":[{"el":97,"id":130525,"methods":[{"el":91,"sc":2,"sl":37},{"el":96,"sc":2,"sl":93}],"name":"M5PLinearRegressionMethod","sl":35}]}
// JSON: {test_ID : {"methods": [ID1, ID2, ID3...], "name... | cm-is-dog/rapidminer-studio-core | report/html/com/rapidminer/operator/learner/functions/linear/M5PLinearRegressionMethod.js | JavaScript | agpl-3.0 | 860 |
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'colorbutton', 'uk', {
auto: 'Авто',
bgColorTitle: 'Колір фону',
colors: {
'000': 'Чорний',
'800000': 'Бордовий',
'8B4513': 'Коричн... | afshinnj/php-mvc | assets/framework/ckeditor/plugins/colorbutton/lang/uk.js | JavaScript | agpl-3.0 | 2,678 |
angular.module('app.filters').filter('currencySymbol', currencySymbol);
currencySymbol.$inject = ['$filter'];
function currencySymbol($filter) {
var currencySymbols = {
'EUR': '€ ',
'GBP': '£ ',
'USD': '$ ',
'ZAR': 'R ',
'NOR': 'kr ',
'DK... | HelloLily/hellolily | frontend/app/base/filters/currency_symbol.js | JavaScript | agpl-3.0 | 720 |
angular.module('confjuvapp.filters', []).
filter('htmlToPlainText', function() {
return function(text) {
return String(text).replace(/<[^>]+>/gm, '');
};
}).
filter('categoryType', function() {
return function(categories, type) {
for (var i = 0; i < categories.length; i++) {
if (categories[i].type.t... | noosfero-apps/confjuvapp | www/js/filters.js | JavaScript | agpl-3.0 | 1,370 |
function polar_draw(ui, context) {
machinewidth = 2 * ui.machine.spaces[0].polar_max_r + 2;
machineheight = 2 * ui.machine.spaces[0].polar_max_r + 2;
center = [0, 0];
outline = function(ui, c) {
c.beginPath();
c.arc(0, 0, ui.machine.spaces[0].polar_max_r, 0, 2 * Math.PI, false);
c.stroke();
};
return [machi... | mtu-most/franklin | server/type/polar/polar.js | JavaScript | agpl-3.0 | 364 |
export var AuthorizationHistory = {
/**
* There's only 4 steps for ading auth history to a view file:
* 1. Copy the authorization-grid-div from RequestEditView.html
* 2. Paste that div into the editview html of the new view
* 3. Add AuthorizationHistory.init(this) to setEditViewDataDone() or to the end of onV... | aydancoskun/timetrex-community-edition | interface/html5/views/common/AuthorizationHistoryCommon.js | JavaScript | agpl-3.0 | 6,739 |
$(document).ready(function(){
// JS Array implementation, overlap mode
$( '#menu' ).multilevelpushmenu({
menu: arrMenu,
containersToPush: [$( '#pushobj' )],
// Just for fun also changing the look of the menu
wrapperClass: 'mlpm_w',
menuInactiveClass: 'mlpm_inactive'
});
});
// JS Aray instead HTML Markup... | avs-atitude/LocaUser | telas/dashboard/dist/js/basicjs.js | JavaScript | lgpl-2.1 | 5,225 |
var class_r_g_b4_x_strip_b =
[
[ "RGB4XStripB", "class_r_g_b4_x_strip_b.html#ae1ea6c69ba68999408d841908d3895cc", null ]
]; | tectronics/turbull-encabulator | Encabulator/html/class_r_g_b4_x_strip_b.js | JavaScript | lgpl-2.1 | 126 |
/****************************************************************************
** Acilos app: https://github.com/omnibond/acilos
** Copyright (C) 2014 Omnibond Systems LLC. and/or its subsidiary(-ies).
** All rights reserved.
** Omnibond Systems - www.omnibond.com for Acilos.com
**
** This file defines the mainView for ... | omnibond/acilos | src/app/locateUsers/MainView.js | JavaScript | lgpl-2.1 | 5,858 |
export const trimNull = (a) => {
const c = a.indexOf("\0");
if (c > -1) {
// eslint-disable-next-line unicorn/prefer-string-slice
return a.substr(0, c);
}
return a;
};
| csound/csound | wasm/browser/src/utils/trim-null.js | JavaScript | lgpl-2.1 | 184 |
AUI.add(
'liferay-input-localized',
function(A) {
var Lang = A.Lang;
var AArray = A.Array;
var SELECTOR_LANG_VALUE = '.language-value';
var STR_INPUT_PLACEHOLDER = 'inputPlaceholder';
var STR_INPUT_VALUE_CHANGE = '_onInputValueChange';
var STR_ITEMS = 'items';
var STR_SELECTED = 'selected';
var... | FuadEfendi/lpotal | tomcat-7.0.57/webapps/ROOT/html/js/liferay/input_localized.js | JavaScript | lgpl-2.1 | 11,845 |
function completeWriteDocument(ret_obj) {
var error = ret_obj['error'];
var message = ret_obj['message'];
var document_srl = ret_obj['document_srl'];
var url;
if(!document_srl)
{
url = current_url.setQuery('act','');
}
else
{
url = current_url.setQuery('document_srl',... | xpressengine/xe-module-kin | m.skins/default/js/mkin.js | JavaScript | lgpl-2.1 | 2,979 |
/*eslint no-console: 0 no-unused-vars: 0*/
import {compileREPL, getError, repl2_setup, readFromRepl} from './repl2'
import {parse} from '../src/parser'
import {lex} from '../src/lex'
import * as analyzer from '../src/analyzer'
import * as structures from '../src/structures'
import types from '../src/runtime/types'
imp... | bootstrapworld/wescheme-js | test/test.js | JavaScript | lgpl-2.1 | 16,482 |
// ==UserScript==
// @author frt.ford153focus
// @description switch ua to mobile
// @grant none
// @homepage http://ford-rt.com
// @include https://mail.yandex.ru/*
// @include http://www.rbc.ru/*
// @name mua
// @namespace http://ford-rt.com
// @run-at document-start
// @u... | ford153focus/userscripts | mobile_user_agent.user.js | JavaScript | lgpl-2.1 | 631 |
/*
* ***************************************************
*
* cismet GmbH, Saarbruecken, Germany
*
* ... and it just works.
*
* ***************************************************
*/
angular.module(
'de.cismet.sip-html5-resource-registration.services'
).factory('de.cismet.sip-html5-resourc... | switchonproject/sip-html5-resource-registration | app/scripts/services/searchService.js | JavaScript | lgpl-3.0 | 5,280 |
import getters from 'src/store/getters'
describe('getters', () => {
const state = {
chapters: [
{
id: 'chapter-1',
label: 'First chapter',
type: 'field-group',
visible: () => true,
children: [
{
id: 'chapter-1-field-1',
type: 'text',... | Mark-de-Haan/molgenis | molgenis-questionnaires/src/main/frontend/test/unit/specs/store/getters.spec.js | JavaScript | lgpl-3.0 | 8,876 |
const listener = require('./content_scraper')
const $ = require('jquery')
module.exports = function (request, sender, sendResponse) {
listener(request, sender, sendResponse, {$, window, document})
// important so that chrome knows the listener is async
return true
}
| furstenheim/web-scraper-chrome-extension | extension/content_script/content_scraper_browser.js | JavaScript | lgpl-3.0 | 273 |
(function () {
pipas.define("jquery-ui", [
"bower_components/jquery-ui/themes/flick/jquery-ui.min.css",
"bower_components/jquery-ui/jquery-ui.min.js"
]);
pipas.define("bootstrap-tagsinput", [
"bower_components/bootstrap-tagsinput/dist/bootstrap-tagsinput.css",
"bower_compone... | pipaslot/forms | demo/dependencies.js | JavaScript | lgpl-3.0 | 1,034 |
/* ************************************************************************
qooxdoo - the new era of web development
http://qooxdoo.org
Copyright:
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/docume... | sebastienhupin/qxrad | qooxdoo/framework/source/class/qx/test/mobile/LocaleSwitch.js | JavaScript | lgpl-3.0 | 4,701 |
/**
* Copyright (C) 2005-2015 Alfresco Software Limited.
*
* This file is part of Alfresco
*
* Alfresco 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 3 of the License, or
* (at ... | viqsoft/Aikau | aikau/src/main/resources/alfresco/documentlibrary/views/layouts/AlfFilmStripViewDocument.js | JavaScript | lgpl-3.0 | 6,585 |
// Chart Scripts for the stats page
$(function () {
var curDecimals = 2;
if(currency != 'USD'){
curDecimals = 8;
}
$.each(userIds, function( index, value ) {
//alert( index + ": " + value + ' - ' + userNames[index]);
var thisId = value;
var thisName = userNames[index];
$.getJSON('json/stats.php?user... | HFenter/MarginBot | js/user_chart.js | JavaScript | lgpl-3.0 | 4,596 |
function loadJSON(callback, json_file) {
console.log(json_file)
var xobj = new XMLHttpRequest();
xobj.overrideMimeType("application/json");
xobj.open('GET', json_file, true);
xobj.onreadystatechange = function() {
if (xobj.readyState == 4 && xobj.status == "200") {
callback(xobj.... | seamustuohy/developers_survey_results | js/core.js | JavaScript | lgpl-3.0 | 1,755 |
var searchData=
[
['msg',['Msg',['../_unreal_lib_noise_8h.html#ad2aaaa08982145c87b0c906d23f30e3d',1,'UnrealLibNoise.h']]]
];
| NovanMK2/UnrealLibNoise | Documentation/html/search/defines_1.js | JavaScript | lgpl-3.0 | 127 |
/* @flow */
import { Core, init as initCore, initTransport } from '../../js/core/Core.js';
import { checkBrowser } from '../../js/utils/browser';
import { settings, CoreEventHandler } from './common.js';
import { getHDPath } from '../../js/utils/pathUtils.js';
import * as bitcoin from 'bitcoinjs-lib-zcash';
import ... | szymonlesisz/trezor-connect-alpha | src/__tests__/core/signTransactionSegwit.spec.js | JavaScript | lgpl-3.0 | 8,568 |
class InsertImageDialog extends ConfirmMessageDialog {
constructor() {
super();
this.contents = "";
/**
*
* @type {MessageDialog}
*/
this.parent = null;
this.icon_enabled = false;
this.itemClass = "MCEImagesBean";
}
setImageID(i... | yodor/sparkbox | sparkfront/js/dialogs/json/MCEImageBrowserDialog.js | JavaScript | lgpl-3.0 | 6,746 |
//>>built
define("dijit/_editor/plugins/LinkDialog", [
"require",
"dojo/_base/declare", // declare
"dojo/dom-attr", // domAttr.get
"dojo/keys", // keys.ENTER
"dojo/_base/lang", // lang.delegate lang.hitch lang.trim
"dojo/_base/sniff", // has("ie")
"dojo/string", // string.substitute
"dojo/_base/window", // win.... | felixgers/CoG2Web3D | dijit/_editor/plugins/LinkDialog.js.uncompressed.js | JavaScript | lgpl-3.0 | 20,028 |
var searchData=
[
['emails',['Emails',['../class_catharsis_1_1_domain_1_1_contact.html#ab2973812daa0698724d4e75661f8f754',1,'Catharsis::Domain::Contact']]],
['entity',['Entity',['../class_catharsis_1_1_domain_1_1_entity.html',1,'Catharsis::Domain']]],
['executed',['Executed',['../class_catharsis_1_1_domain_1_1_sc... | prokhor-ozornin/Catharsis.NET.Domain | doc/html/search/all_4.js | JavaScript | lgpl-3.0 | 401 |