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 |
|---|---|---|---|---|---|
// dependencies
define(['mvc/ui/ui-tabs', 'mvc/ui/ui-misc', 'mvc/ui/ui-portlet', 'utils/utils',
'plugin/models/chart', 'plugin/models/group',
'plugin/views/group', 'plugin/views/settings', 'plugin/views/types'],
function(Tabs, Ui, Portlet, Utils, Chart, Group, GroupView, SettingsView, TypesView) {
... | mikel-egana-aranguren/SADI-Galaxy-Docker | galaxy-dist/config/plugins/visualizations/charts/static/views/editor.js | JavaScript | gpl-3.0 | 9,412 |
jQuery(document).ready(function(){
if( $('.cd-stretchy-nav').length > 0 ) {
var stretchyNavs = $('.cd-stretchy-nav');
stretchyNavs.each(function(){
var stretchyNav = $(this),
stretchyNavTrigger = stretchyNav.find('.cd-nav-trigger');
stretchyNavTrigger.on('click', function(event){
event.prevent... | GobiernoFacil/agentes-v2 | public/js/main.js | JavaScript | gpl-3.0 | 716 |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = versionTransform;
var _path2 = require('path');
var _path3 = _interopRequireDefault(_path2);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var packagePath = _path3.defa... | cassiane/KnowledgePlatform | Implementacao/nodejs-tcc/node_modules/babel-plugin-version-transform/lib/index.js | JavaScript | gpl-3.0 | 675 |
๏ปฟ/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'image', 'eo', {
alertUrl: 'Bonvolu tajpi la retadreson de la bildo',
alt: 'Anstataลญiga Teksto',
border: 'Bordero',
btnUpload: 'Sendu al Servilo... | tsmaryka/hitc | public/javascripts/ckeditor/plugins/image/lang/eo.js | JavaScript | gpl-3.0 | 1,029 |
function drawChart(len){
var box = document.createElement('div');
box.setAttribute('style','width:500px;height:500px;border:1px solid black;display:flex;flex-direction:column');
for(var i=0; i<len; i++){
var row = document.createElement('div');
if(i<len-1){
row.setAttribute('style','... | shashankKeshava/effective-enigma | jobCrunch/chess.js | JavaScript | gpl-3.0 | 1,186 |
var path = require('path')
module.exports = {
// Webpack aliases
aliases: {
quasar: path.resolve(__dirname, '../node_modules/quasar-framework/'),
src: path.resolve(__dirname, '../src'),
assets: path.resolve(__dirname, '../src/assets'),
components: path.resolve(__dirname, '../src/components')
},
... | agustincl/AclBoilerplate | config/index.js | JavaScript | gpl-3.0 | 1,969 |
#!/usr/bin/env node
'use strict';
/*All Includes needed for the Bot Core*/
var isfile = function(name) {
require('fs').exists(name, function(exists) {
return exists;
});
};
var jsonfile = require('jsonfile');
var configfile = 'config.json';
var Event = require('./modules/Events').eventBus; // One way Events f... | Bioblaze/Devbot | bot.js | JavaScript | gpl-3.0 | 6,811 |
// Copyright (c) 2012-2014 Lotaris SA
//
// This file is part of ROX Center.
//
// ROX Center 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... | lotaris/rox-center | app/assets/javascripts/modules/globalSettings.js | JavaScript | gpl-3.0 | 4,170 |
"use strict";
/*
Copyright (C) 2013-2017 Bryan Hughes <[email protected]>
Aquarium Control 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.
Aqu... | nebrius/aquarium-control | server/dist/common/src/ICleaning.js | JavaScript | gpl-3.0 | 1,996 |
"use strict";
function HelpTutorial()
{
let _getText = function()
{
return "HelpTutorial_Base";
};
this.getName = function(){ return "HelpTutorial_Base"; };
this.getImageId = function(){ return "button_help"; };
this.getText = _getText;
}
function HelpTutorialBuilding(name, image)
{
this.getName = function(... | Hiperblade/OutpostTLH | script/ViewQueueHelp.js | JavaScript | gpl-3.0 | 6,371 |
var Util = require( 'findhit-util' );
// -----------------------------------------------------------------------------
// Data handles wizard data into session
function Data ( route ) {
var session = route.req[ route.router.options.reqSessionKey ];
// If there isn't a `wiz` object on session, just add it
... | brunocasanova/emvici-router | lib/type/wizard/control.js | JavaScript | gpl-3.0 | 1,035 |
IWitness.ErrorsView = Ember.View.extend({
classNames: ["error-bubble"],
classNameBindings: ["isError"],
isError: function() {
return !!this.get("error");
}.property("error")
});
| djacobs/iWitness | app/views/errors_view.js | JavaScript | gpl-3.0 | 198 |
#!/usr/bin/env node
/*jshint -W100*/
'use strict';
/**
* ใใณใใณๅ็ปใญใฐใคใณใตใณใใซ
*
* ไปฅไธใฎusernameใจpasswordใๆธใๆใใฆใใๅฎ่กใใฆใใ ใใ
*/
var username = 'hogehoge';
var password = 'fugafuga';
var client = require('../index');
console.info('ใใณใใณTOPใใผใธใซใขใฏใปในใใพใ');
client.fetch('http://nicovideo.jp/')
.then(function (result) {
consol... | tohshige/test | express/example/niconico.js | JavaScript | gpl-3.0 | 1,404 |
Ext.define("Voyant.notebook.util.Embed", {
transferable: ['embed'],
embed: function() { // this is for instances
embed.apply(this, arguments);
},
constructor: function(config) {
var me = this;
},
statics: {
i18n: {},
api: {
embeddedParameters: undefined,
embeddedConfig: undefined
},
embed: funct... | sgsinclair/Voyant | src/main/webapp/app/notebook/util/Embed.js | JavaScript | gpl-3.0 | 5,429 |
var Base = require("./../plugin");
module.exports = class extends Base {
isDisableSelfAttackPriority(self, rival) {
return true;
}
isDisableEnemyAttackPriority(self, rival) {
return true;
}
} | ssac/feh-guide | src/models/seal/hardy_bearing_3.js | JavaScript | gpl-3.0 | 208 |
(function() {
'use strict';
angular
.module('app.grid')
.service('GridDemoModelSerivce', GridDemoModelSerivce)
.service('GridUtils',GridUtils)
.factory('GridFactory',GridFactory)
;
GridFactory.$inject = ['modelNode','$q','$filter'];
function GridFactory(m... | zppro/4gtour | src/vendor-1.x/js/modules/grid/grid.service.js | JavaScript | gpl-3.0 | 11,119 |
/**
* Module dependencies.
*/
var express = require('express')
, http = require('http')
, path = require('path')
, mongo = require('mongodb')
, format = require('util').format;
var app = express();
// all environments
app.set('port', process.env.PORT || 3000);
app.set('views', __dirname + '/views');
app.se... | jkamga/INM5151-payGoStore | app.js | JavaScript | gpl-3.0 | 991 |
"use strict";
module.exports = function registerDefaultRoutes( baseUrl,
app,
opts ){
var controller = opts.controller;
var listRouter = app.route( baseUrl );
if( opts.all ){
listRouter = listRouter.all( opts.all... | beni55/d-pac.cms | app/routes/api/helpers/registerDefaultRoutes.js | JavaScript | gpl-3.0 | 999 |
/***
* Copyright (c) 2013 John Krauss.
*
* This file is part of Crashmapper.
*
* Crashmapper 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 yo... | talos/nypd-crash-data-bandaid | map/src/views/app.js | JavaScript | gpl-3.0 | 1,396 |
import altConnect from 'higher-order-components/altConnect';
import { STATUS_OK } from 'app-constants';
import ItemStore from 'stores/ItemStore';
import ProgressBar from '../components/ProgressBar';
const mapStateToProps = ({ itemState }) => ({
progress: itemState.readingPercentage,
hidden: itemState.status !== ST... | BramscoChill/BlendleParser | information/blendle-frontend-react-source/app/modules/item/containers/ProgressBarContainer.js | JavaScript | gpl-3.0 | 518 |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/// Ecma International makes this code available under the terms and conditions set
/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
/// "Use Terms"). Any redistribution of this code must retain the above
/// copyright an... | geminy/aidear | oss/qt/qt-everywhere-opensource-src-5.9.0/qtdeclarative/tests/auto/qml/ecmascripttests/test262/test/suite/ch15/15.3/15.3.2/15.3.2.1/15.3.2.1-11-8-s.js | JavaScript | gpl-3.0 | 881 |
function createCategorySlider(selector)
{
$(document).ready(function(){
var checkforloadedcats = [];
var firstImage = $(selector).find('img').filter(':first');
if(firstImage.length > 0){
checkforloadedcats[selector] = setInterval(function() {
var image = firstImage.get(0);
if (image.complete || i... | desarrollosimagos/puroextremo.com.ve | modules/categoryslider/categoryslider.js | JavaScript | gpl-3.0 | 1,648 |
(function (angular) {
'use strict';
var config = {
githubApiUrl: 'https://api.github.com/',
};
angular.module('myGithubApp').constant('config', config);
})(angular);
| PetrusStarken/MyGit | app/scripts/app-config.js | JavaScript | gpl-3.0 | 180 |
'use strict';
angular.module('aurea')
.directive('d3Bars', function ($window, $timeout, d3Service) {
return {
restrict: 'EA',
scope: {
data: '=',
onClick: '&'
},
link: function (scope, ele, attrs) {
d3Service.d3... | apuliasoft/aurea | public/js/directives/d3.js | JavaScript | gpl-3.0 | 4,457 |
define(['Scripts/App/CommentsScraper'], function(CommentsScraper) {
describe('myFilter', function() {
var failTest = function(error) {
expect(error).toBeUndefined();
};
beforeEach(function(){
jasmine.addMatchers({
toBeEqualComment: function() {
return {
... | srlee309/LessWrongKarma | Tests/Spec/testSpec.js | JavaScript | gpl-3.0 | 1,556 |
const actions = {
// Video ended
ended({dispatch,commit}, video) {
video.isPlaying = false;
dispatch('next', video);
commit('PLAYING',video);
},
// Add video to queue
addToQueue({state, dispatch, commit }, obj) {
var index = _.findIndex(state.qu... | iamspal/playtube | src/store/actions.js | JavaScript | gpl-3.0 | 2,955 |
// core
import React from 'react';
import PropTypes from 'react';
// components
import Loading from '../../components/loading/Loading';
// styles
var style = require('./_index.scss');
// data
var Timeline = require('react-twitter-widgets').Timeline;
var Twitter = React.createClass({
getInitialState: function()... | JoeDahle/fic | app/components/twitter/Twitter.js | JavaScript | gpl-3.0 | 946 |
function Greeter(person) {
return "Hello, " + person;
}
var RandomGuy = "Random Dude";
alert(Greeter(RandomGuy));
//# sourceMappingURL=HelloWorld.js.map | LenardHessHAW/TypeScriptTesting | JavaScript/HelloWorld.js | JavaScript | gpl-3.0 | 156 |
/*
_ _ _ _
___| (_) ___| | __ (_)___
/ __| | |/ __| |/ / | / __|
\__ \ | | (__| < _ | \__ \
|___/_|_|\___|_|\_(_)/ |___/
|__/
Version: 1.8.1
Author: Ken Wheeler
Website: http://kenwheeler.github.io
Docs: http://kenwheeler.github.io/slick
Repo: http://github.com/kenwh... | JoeSz/exopite-multifilter | exopite-multifilter/public/js/slick.dev.js | JavaScript | gpl-3.0 | 90,524 |
HostCMS 6.7 = 9fdd2118a94f53ca1c411a7629edf565
| gohdan/DFC | known_files/hashes/admin/wysiwyg/plugins/imagetools/plugin.min.js | JavaScript | gpl-3.0 | 47 |
import {
DASHBOARD_ACTIVE_COIN_CHANGE,
DASHBOARD_ACTIVE_COIN_BALANCE,
DASHBOARD_ACTIVE_COIN_SEND_FORM,
DASHBOARD_ACTIVE_COIN_RECEIVE_FORM,
DASHBOARD_ACTIVE_COIN_RESET_FORMS,
DASHBOARD_ACTIVE_SECTION,
DASHBOARD_ACTIVE_TXINFO_MODAL,
ACTIVE_COIN_GET_ADDRESSES,
DASHBOARD_ACTIVE_COIN_NATIVE_BALANCE,
DASH... | pbca26/EasyDEX-GUI | react/src/reducers/activeCoin.js | JavaScript | gpl-3.0 | 12,574 |
// urlParams is null when used for embedding
window.urlParams = window.urlParams || {};
// isLocalStorage controls access to local storage
window.isLocalStorage = window.isLocalStorage || false;
// Checks for SVG support
window.isSvgBrowser = window.isSvgBrowser || (navigator.userAgent.indexOf('MSIE') < 0 || document... | crazykeyboard/draw.io | war/js/diagramly/Init.js | JavaScript | gpl-3.0 | 6,535 |
๏ปฟvar chai = require('chai')
, sinon = require('sinon')
, sinonChai = require('sinon-chai')
, expect = chai.expect
, Promise = require('es6-promise').Promise
, UpdateTemplatesController = require('../../../platypi-cli/controllers/cli/updatetemplates.controller');
chai.use(sinonChai);
describe('Temp... | tonylegrone/platypi-cli | test/controllers/cli/updatetemplates.controller.test.js | JavaScript | gpl-3.0 | 2,558 |
var path = require('path');
var Q = require('q');
var fs = require('fs');
var mv = require('mv');
var Upload = require('./upload.model');
exports.upload = function (req, res) {
var tmpPath = req.files[0].path;
var newFileName = Math.random().toString(36).substring(7)+path.extname(tmpPath);
var targetPath =... | NishantDesai1306/lost-and-found | server/api/upload/upload.controller.js | JavaScript | gpl-3.0 | 1,066 |
// Karma configuration
// Generated on Thu Jul 24 2014 18:11:41 GMT-0700 (PDT)
module.exports = function(config) {
config.set({
// base path that will be used to resolve all patterns (eg. files, exclude)
basePath: '',
// frameworks to use
// available frameworks: https://npmjs.org/browse/keyword/k... | bthaase/DDWarden | html/lib/angular-abortable-requests/karma.conf.js | JavaScript | gpl-3.0 | 1,741 |
/*global require,module,console,angular */
require("angular/angular");
require("angular-route/angular-route");
angular.module("RegistrationApp", ["ngRoute"]);
angular.module("RegistrationApp").controller("RegistrationCtrl", require("./components/registration/controller"));
angular.module("RegistrationApp").directive(... | gios/angular-modular-seed | app/app.modules.js | JavaScript | gpl-3.0 | 542 |
/*
* jQuery JavaScript Library v1.10.1
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2013-05-30T21:49Z
*/
(function( window, undefined ) {
// C... | michaelBenin/raptor-editor | src/dependencies/jquery.js | JavaScript | gpl-3.0 | 274,078 |
'use strict';
var ParameterDef = function(object) {
this.id = object.id;
this.summary = object.summary;
this.description = object.description;
this.type = object.type;
this.mandatory = object.mandatory;
this.defaultValue = object.defaultValue;
};
module.exports = ParameterDef;
| linagora/mupee | backend/rules/parameter-definition.js | JavaScript | gpl-3.0 | 292 |
Fox.define('views/email/fields/from-email-address', 'views/fields/link', function (Dep) {
return Dep.extend({
listTemplate: 'email/fields/from-email-address/detail',
detailTemplate: 'email/fields/from-email-address/detail',
});
});
| ilovefox8/zhcrm | client/src/views/email/fields/from-email-address.js | JavaScript | gpl-3.0 | 261 |
export function Bounds(width, height) {
this.width = width;
this.height = height;
}
Bounds.prototype.equals = function(o) {
return ((o != null) && (this.width == o.width) && (this.height == o.height));
};
| elkonurbaev/nine-e | src/utils/Bounds.js | JavaScript | gpl-3.0 | 219 |
// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue';
import BootstrapVue from 'bootstrap-vue';
import 'bootstrap-vue/dist/bootstrap-vue.css';
import 'bootstrap/dist/css/bootstrap.css';
import { mapActions } fr... | staskobzar/amiws | web_root_vue/src/main.js | JavaScript | gpl-3.0 | 826 |
/**
* Created by caimiao on 15-6-14.
*/
define(function(require, exports, module) {
exports.hello= function (echo) {
alert(echo);
};
}) | caimmy/prehistory | static/js/js_modules/archjs_tools.js | JavaScript | gpl-3.0 | 154 |
{"exchange_info":[{"onclick":null,"link":null,"value":"+34 943 018 705"},{"onclick":null,"link":"mailto:[email protected]","value":"[email protected]"},{"onclick":"window.open(this.href,'ix-new-window');return false;","link":"http://www.euskonix.com/principal.html","value":"Website"}],"address":["EuskoNIX (Bilbao, Spain)",... | brangerbriz/webroutes | nw-app/telegeography-data/internetexchanges/internet-exchanges/euskonix-bilbao-spain.js | JavaScript | gpl-3.0 | 641 |
'use strict'
// untuk status uploader
const STATUS_INITIAL = 0
const STATUS_SAVING = 1
const STATUS_SUCCESS = 2
const STATUS_FAILED = 3
// base url api
const BASE_URL = 'http://localhost:3000'
const app = new Vue({
el: '#app',
data: {
message: 'Hello',
currentStatus: null,
uploadError: null,
up... | hariantara/rapid-share-clone | client/assets/lib/upload.js | JavaScript | gpl-3.0 | 2,046 |
sap.ui.jsview(ui5nameSpace, {
// define the (default) controller type for this View
getControllerName: function() {
return "my.own.controller";
},
// defines the UI of this View
createContent: function(oController) {
// button text is bound to Model, "press" action is bound to Cont... | Ryan-Boyd/ui5-artisan | lib/stubs/views/PlainView.js | JavaScript | gpl-3.0 | 368 |
๏ปฟ#pragma strict
var playerFinalScore: int;
var Users: List.< GameObject >;
var userData: GameObject[];
var maxPlayers: int;
var gameManager: GameObject;
var currentPlayer: int;
var currentName: String;
function Awake () {
//var users :GameObject = GameObject.Find("_UserControllerFB");
userData = GameObject.FindGameObje... | RomanKorchmenko/BowlingFX | BowlingFX/Assets/ScoreTransfer.js | JavaScript | gpl-3.0 | 1,210 |
'use strict';
/*global require, after, before*/
var async = require('async'),
assert = require('assert'),
db = require('../mocks/databasemock');
describe('Set methods', function() {
describe('setAdd()', function() {
it('should add to a set', function(done) {
db.setAdd('testSet1', 5, function(err) {
asser... | seafruit/NodeBB | test/database/sets.js | JavaScript | gpl-3.0 | 6,160 |
/*jshint expr:true */
describe("Services: Core System Messages", function() {
beforeEach(module("risevision.core.systemmessages"));
beforeEach(module(function ($provide) {
//stub services
$provide.service("$q", function() {return Q;});
$provide.value("userState", {
isRiseVisionUser: function ()... | Rise-Vision/ng-core-api-client | test/unit/svc-system-messages-spec.js | JavaScript | gpl-3.0 | 499 |
// Copyright 2015, 2016 Parity Technologies (UK) Ltd.
// This file is part of Parity.
// Parity 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... | jesuscript/parity | js/src/views/Signer/components/TransactionPending/transactionPending.js | JavaScript | gpl-3.0 | 4,499 |
import { useState } from "react";
import { PropTypes } from "prop-types";
import { SaveOutlined, WarningOutlined } from "@ant-design/icons";
import {
Button,
Col,
Form,
Input,
InputNumber,
Row,
Select,
Switch,
Typography,
Space,
} from "@nextgisweb/gui/antd";
import i18n from "@n... | nextgis/nextgisweb | nextgisweb/webmap/nodepkg/settings/SettingsForm.js | JavaScript | gpl-3.0 | 9,428 |
var _ = require("lodash");
module.exports = {
// ensure client accepts json
json_request: function(req, res, next){
if(req.accepts("application/json"))
return next();
res.stash.code = 406;
_.last(req.route.stack).handle(req, res, next);
},
// init response
init... | normanjoyner/containership.plugin.navigator | lib/middleware.js | JavaScript | gpl-3.0 | 854 |
var struct_m_s_vehicle_1_1_lane_q =
[
[ "allowsContinuation", "d3/d89/struct_m_s_vehicle_1_1_lane_q.html#a1491a03d3e914ce9f78fe892c6f8594b", null ],
[ "bestContinuations", "d3/d89/struct_m_s_vehicle_1_1_lane_q.html#a2fc7b1df76210eff08026dbd53c13312", null ],
[ "bestLaneOffset", "d3/d89/struct_m_s_vehicle_1_... | cathyyul/sumo-0.18 | docs/doxygen/d3/d89/struct_m_s_vehicle_1_1_lane_q.js | JavaScript | gpl-3.0 | 801 |
jQuery(document).ready(function($) {
$('#slide-left').flexslider({
animation: "slide",
controlNav: "thumbnails",
start: function(slider) {
$('ol.flex-control-thumbs li img.flex-active').parent('li').addClass('active');
}
});
});
jQuery(document).ready(function($) {
$('#slide')... | vietnamframework/vietnamframework | app/view/newstreecolumn/js/jquery.flexslider.init.js | JavaScript | gpl-3.0 | 414 |
// NOTE: nbApp is defined in app.js
nbApp.directive("languageContainerDirective", function() {
return {
restrict : 'E',
templateUrl : 'js/templates/language-container.html',
scope: {
color: "@",
language: "@",
reading: "@",
writing: "@",
list... | nbuechler/nb.com-v8 | js/directives/language-container-directive.js | JavaScript | gpl-3.0 | 3,501 |
// app.photoGrid
var Backbone = require("backbone");
// var _ = require("underscore");
var $ = require("jquery");
var ImageGridFuncs = require("./photo_grid_functions");
var ImageCollection = require("../models/photo_grid_image_collection");
var ImageView = require("./photo_grid_image");
module.exports = Backbone.Vi... | alexkademan/solful-2016-wp | _assets/js/views/photo_grid.js | JavaScript | gpl-3.0 | 4,143 |
// Remove the particular item
function removeArr(arr , removeItem){
if(arr.indexOf(removeItem) > -1){
arr.splice(arr.indexOf(removeItem),1);
}
return arr;
}
| SCABER-Dev-Team/SCABER | client-service/js/user_defined_operator.js | JavaScript | gpl-3.0 | 177 |
const gal=[//731-62
'1@001/b4avsq1y2i',
'1@002/50uvpeo7tb',
'1@002/0ypu4wgjxm',
'1@002/b61d80e9pf',
'1@002/f1kb57t4ul',
'1@002/swq38v49nz',
'1@002/zeak367fw1',
'1@003/nx1ld4j9pe',
'1@003/yh0ub5rank',
'1@004/j29uftobmh',
'1@005/0asu1qo75n',
'1@005/4c7bn1q5mx',
'1@005/le3vrzbwfs',
'1@006/ek0tq9wvny',
'1@00... | Klanly/klanly.github.io | imh/az60.js | JavaScript | gpl-3.0 | 1,322 |
QUnit.test( "testGetIbanCheckDigits", function( assert ) {
assert.equal(getIBANCheckDigits( 'GB00WEST12345698765432' ), '82', 'Get check digits of an IBAN' );
assert.equal(getIBANCheckDigits( '1234567890' ), '', 'If string isn\'t an IBAN, returns empty' );
assert.equal(getIBANCheckDigits( '' ), '', 'If st... | amnesty/dataquality | test/javascript/iban.js | JavaScript | gpl-3.0 | 2,366 |
Bitrix 16.5 Business Demo = bf14f0c5bad016e66d0ed2d224b15630
| gohdan/DFC | known_files/hashes/bitrix/modules/main/install/js/main/amcharts/3.11/lang/hr.min.js | JavaScript | gpl-3.0 | 61 |
function HistoryAssistant() {
}
HistoryAssistant.prototype.setup = function() {
this.appMenuModel = {
visible: true,
items: [
{ label: $L("About"), command: 'about' },
{ label: $L("Help"), command: 'tutorial' },
]
};
this.controller.setupWidget(Mojo.Menu.appMenu, {omitDefaultItems: true}, this.appMenuMo... | sebastianha/webos-app_de.omoco.100pixels | app/assistants/history-assistant.js | JavaScript | gpl-3.0 | 4,982 |
/* Copyright 2016 Devon Call, Zeke Hunter-Green, Paige Ormiston, Joe Renner, Jesse Sliter
This file is part of Myrge.
Myrge 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... | Decision-Maker/sp | public/javascripts/Controllers/navController.js | JavaScript | gpl-3.0 | 1,136 |
'use strict';
angular.module('ldrWebApp')
/**
* @name pageSkipper
* @param config
* @param pages
* @type element
* @description Skip to page directive
* @requires $scope
*/
.directive('pageSkipper', function () {
return {
restrict: 'E',
templat... | qualitance/ldir-web | client/components/page-skipper/page-skipper.directive.js | JavaScript | gpl-3.0 | 1,522 |
odoo.define('point_of_sale.DB', function (require) {
"use strict";
var core = require('web.core');
var utils = require('web.utils');
/* The PosDB holds reference to data that is either
* - static: does not change between pos reloads
* - persistent : must stay between reloads ( orders )
*/
var PosDB = core.Class.ex... | jeremiahyan/odoo | addons/point_of_sale/static/src/js/db.js | JavaScript | gpl-3.0 | 21,089 |
var searchData=
[
['a',['a',['../structRREP.html#abe45cd7d5c14dc356ecab531b2176242',1,'RREP']]],
['ack_5ftimer',['ack_timer',['../structrt__table.html#a4b5c6baab186ae8733b48cf2d5172852',1,'rt_table']]],
['active',['active',['../classNA__NesgLog.html#a0ce1b63fe991dc4304cb30d703aadcd6',1,'NA_NesgLog']]],
['active... | robertomagan/neta_v1 | doc/doxy/search/variables_61.js | JavaScript | gpl-3.0 | 1,214 |
/*
This file is part of the OdinMS Maple Story Server
Copyright (C) 2008 Patrick Huy <[email protected]>
Matthias Butz <[email protected]>
Jan Christian Meyer <[email protected]>
This program is free software: you can redistribute it and/or modify
it under the t... | NovaStory/AeroStory | scripts/npc/world0/9120015.js | JavaScript | gpl-3.0 | 3,358 |
/*
* 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) 2015, Joyent, Inc.
*/
var test = require('./test-namer')('vm-to-zones');
var util = require('... | eait-itig/triton-cns | test/unit/vm-to-zones.test.js | JavaScript | mpl-2.0 | 10,814 |
๏ปฟ/*
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* http://ww... | anam/abs | V1/fckeditor/fckconfig.js | JavaScript | mpl-2.0 | 13,602 |
"use strict";
add_task(setupPrefsAndRecentWindowBehavior);
let testcases = [
/**
* A portal is detected when there's no browser window,
* then a browser window is opened, and the portal is logged into
* and redirects to a different page. The portal tab should be added
* and focused when the window is op... | Yukarumya/Yukarum-Redfoxes | browser/base/content/test/captivePortal/browser_CaptivePortalWatcher_1.js | JavaScript | mpl-2.0 | 3,581 |
/**
* m59peacemaker's memoize
*
* See https://github.com/m59peacemaker/angular-pmkr-components/tree/master/src/memoize
* Released under the MIT license
*/
angular.module('syncthing.core')
.factory('pmkr.memoize', [
function() {
function service() {
return memoizeFactory.appl... | atyenoria/syncthing | gui/syncthing/core/memoize.js | JavaScript | mpl-2.0 | 903 |
'use strict';
var LIVERELOAD_PORT = 35729;
var lrSnippet = require('connect-livereload')({
port: LIVERELOAD_PORT
});
var mountFolder = function (connect, dir) {
return connect.static(require('path').resolve(dir));
};
var fs = require('fs');
var delayApiCalls = function (request, response, next) {
if (re... | glarfs/training-unit-2 | Gruntfile.js | JavaScript | mpl-2.0 | 19,182 |
const html = require('choo/html');
module.exports = function(name, url) {
const dialog = function(state, emit, close) {
return html`
<send-share-dialog
class="flex flex-col items-center text-center p-4 max-w-sm m-auto"
>
<h1 class="text-3xl font-bold my-4">
${state.translate... | mozilla/send | app/ui/shareDialog.js | JavaScript | mpl-2.0 | 1,735 |
import { Mongo } from 'meteor/mongo';
const SurveyCaches = new Mongo.Collection('SurveyCaches');
SimpleSchema.debug = true;
SurveyCaches.schema = new SimpleSchema({
title: {
type: String,
},
version: {
type: Number,
optional: true,
autoValue() {
return 2;
},
},
createdAt: {
ty... | ctagroup/home-app | imports/api/surveys/surveyCaches.js | JavaScript | mpl-2.0 | 945 |
/*jslint unparam: true, browser: true, indent: 2 */
;(function ($, window, document, undefined) {
'use strict';
Foundation.libs.dropdown = {
name : 'dropdown',
version : '4.3.2',
settings : {
activeClass: 'open',
is_hover: false,
opened: function(){},
closed: function(){}
... | Elfhir/apero-imac | static/js/foundation/foundation.dropdown.js | JavaScript | mpl-2.0 | 5,841 |
'use strict';
var inheritance = require('./../../helpers/inheritance'),
Field = require('./field');
var FilterField = function(){};
inheritance.inherits(Field,FilterField);
FilterField.prototype.isOpen = function(){
return this.world.helper.elementGetter(this._root,this._data.elements.body).isDisplayed();
}... | Ivan-Katovich/cms-protractor-fw | test/e2e/support/ui_elements/fields/filterField.js | JavaScript | mpl-2.0 | 1,775 |
define([
'jquery',
'underscore',
'backbone',
'text!template/login.html',
'models/campus'
], function ($, _, Backbone, LoginTemplate, CampusModel) {
var LoginView = Backbone.View.extend({
tagName: 'section',
className: 'container',
template: _.template(LoginTemplate),
... | AngelFQC/fx-dev-edition | app/js/views/login.js | JavaScript | mpl-2.0 | 2,454 |
const AWS = require('aws-sdk');
const s3 = new AWS.S3();
const conf = require('./config');
const { tmpdir } = require('os');
const fs = require('fs');
const path = require('path');
const mozlog = require('./log');
const log = mozlog('send.storage');
const redis = require('redis');
const redis_client = redis.createC... | dannycoates/chooloo | server/storage.js | JavaScript | mpl-2.0 | 5,806 |
/* 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";
var fs = require("fs");
var path = require("path");
var utils = require("../utils");
var chai = requ... | matraska23/jpm | test/functional/test.xpi.js | JavaScript | mpl-2.0 | 987 |
import querystring from 'querystring'
import SlackRTM from './SlackRTM'
import FetchService from 'shared/FetchService'
import userStore from 'stores/user/userStore'
import accountStore from 'stores/account/accountStore'
import { remote, ipcRenderer } from 'electron'
import uuid from 'uuid'
import { WB_WCFETCH_SERVICE_T... | wavebox/waveboxapp | classic/src/scenes/mailboxes/src/stores/slack/SlackHTTP.js | JavaScript | mpl-2.0 | 6,676 |
import React, { Fragment } from 'react';
import { compose, graphql } from 'react-apollo';
import { set } from 'react-redux-values';
import ReduxForm from 'declarative-redux-form';
import { Row, Col } from 'joyent-react-styled-flexboxgrid';
import { Margin } from 'styled-components-spacing';
import { change } from 'redu... | yldio/joyent-portal | consoles/my-joy-images/src/containers/create-image/details.js | JavaScript | mpl-2.0 | 5,062 |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("placeholder","pt",{title:"Propriedades dos marcadores",toolbar:"Sรญmbolo",name:"Nome do marcador",invalidName:"O marcador nรฃo pode estar em branco e n... | crunchmail/dentifrice | dist/ckeditor/plugins/placeholder/lang/pt.js | JavaScript | mpl-2.0 | 406 |
$(function() {
function FirmwareUpdaterViewModel(parameters) {
var self = this;
self.settingsViewModel = parameters[0];
self.loginState = parameters[1];
self.connection = parameters[2];
self.printerState = parameters[3];
self.configPathAvrdude = ko.observable();
... | mcecchi/SuperOcto | OctoPrint-FirmwareUpdater/octoprint_firmwareupdater/static/js/firmwareupdater.js | JavaScript | agpl-3.0 | 16,233 |
exports.main = function(env){
var capsule = env.capsule;
var mtests = capsule.tests.modules;
var thsocket = capsule.tests.modules.transport.http.socket_srv;
// mtests.http_responder.test(capsule);
// thsocket.test({ 'url' : 'http://localhost:8810/sockethh.js'}, capsule);
var thttp ... | ixdu/capsule | tests/deployer/nodejs_srv/capsulated.js | JavaScript | agpl-3.0 | 445 |
/* Copyright (c) 2006-2012 by OpenLayers Contributors (see authors.txt for
* full list of contributors). Published under the 2-clause BSD license.
* See license.txt in the OpenLayers distribution or repository for the
* full text of the license. */
/**
* @requires OpenLayers/Format/SLD/v1.js
* @requires O... | B3Partners/geo-ov | src/main/webapp/openlayers/lib/OpenLayers/Format/SLD/v1_0_0.js | JavaScript | agpl-3.0 | 1,351 |
'use strict';
angular.module('GO.Modules.GroupOffice.Contacts').factory('GO.Modules.GroupOffice.Contacts.Model.ContactGroup', [
'GO.Core.Factories.Data.Model',
function (Model) {
var ContactGroup = GO.extend(Model, function () {
//rename function because this record has a delete attribute on the server
this.... | Intermesh/groupoffice-webclient | app/modules/groupoffice/contacts/model/contact-group.js | JavaScript | agpl-3.0 | 610 |
(function() {
'use strict';
var getModulesList = function(modules) {
return modules.map(function(moduleName) {
return {name: moduleName};
});
};
var jsOptimize = process.env.REQUIRE_BUILD_PROFILE_OPTIMIZE !== undefined ?
process.env.REQUIRE_BUILD_PROFILE_OPTIMIZE : ... | TeachAtTUM/edx-platform | lms/static/lms/js/build.js | JavaScript | agpl-3.0 | 8,162 |
import React from 'react'
import {intlEnzyme} from 'tocco-test-util'
import MenuChildrenWrapper from './MenuChildrenWrapper'
import {StyledMenuChildrenWrapper} from './StyledComponents'
describe('admin', () => {
describe('components', () => {
describe('Navigation', () => {
describe('menuType', () => {
... | tocco/tocco-client | packages/apps/admin/src/components/Navigation/menuType/MenuChildrenWrapper.spec.js | JavaScript | agpl-3.0 | 2,143 |
'use strict';
var phonetic = require('phonetic');
var socketio = require('socket.io');
var _ = require('underscore');
var load = function(http) {
var io = socketio(http);
var ioNamespace = '/';
var getEmptyRoomId = function() {
var roomId = null;
do {
roomId = phoneti... | ryanpetris/droppy | socket.js | JavaScript | agpl-3.0 | 2,696 |
//
//{block name="backend/create_backend_order/view/toolbar"}
//
Ext.define('Shopware.apps.SwagBackendOrder.view.main.Toolbar', {
extend: 'Ext.toolbar.Toolbar',
alternateClassName: 'SwagBackendOrder.view.main.Toolbar',
alias: 'widget.createbackendorder-toolbar',
dock: 'top',
ui: 'shopware-ui',
... | GerDner/luck-docker | engine/Shopware/Plugins/Default/Backend/SwagBackendOrder/Views/backend/swag_backend_order/view/main/toolbar.js | JavaScript | agpl-3.0 | 8,411 |
/*
uSquare 1.0 - Universal Responsive Grid
Copyright (c) 2012 Br0 (shindiristudio.com)
Project site: http://codecanyon.net/
Project demo: http://shindiristudio.com/usquare/
*/
(function($) {
function uSquareItem(element, options) {
this.$item = $(element);
this.$parent = options.$parent;
this.opti... | AhoraMadrid/ahoramadrid.org | js/vendor/jquery.usquare.js | JavaScript | agpl-3.0 | 6,490 |
var searchData=
[
['backtrace',['backtrace',['../class_logger.html#a5deb9b10c43285287a9113f280ee8fab',1,'Logger']]],
['baseexception',['BaseException',['../class_base_exception.html',1,'']]],
['baseexception_2ephp',['BaseException.php',['../_base_exception_8php.html',1,'']]],
['basic_2ephp',['Basic.php',['../_m... | atk4/atk4-web | dox/html/search/all_62.js | JavaScript | agpl-3.0 | 2,662 |
ace.define("ace/mode/jsx", ["require", "exports", "module", "ace/lib/oop", "ace/mode/text", "ace/tokenizer", "ace/mode/jsx_highlight_rules", "ace/mode/matching_brace_outdent", "ace/mode/behaviour/cstyle", "ace/mode/folding/cstyle"], function (e, t, n) {
function l() {
this.HighlightRules = o, this.$outdent ... | ahammer/MySaasa | server/src/main/webapp/ace/src-min-noconflict/mode-jsx.js | JavaScript | agpl-3.0 | 17,411 |
import React from 'react';
import PropTypes from 'prop-types';
import ManaUsageGraph from './ManaUsageGraph';
class HealingDoneGraph extends React.PureComponent {
static propTypes = {
start: PropTypes.number.isRequired,
end: PropTypes.number.isRequired,
offset: PropTypes.number.isRequired,
healingBy... | yajinni/WoWAnalyzer | src/parser/shared/modules/resources/mana/ManaUsageChartComponent.js | JavaScript | agpl-3.0 | 3,101 |
odoo.define('web_editor.field_html_tests', function (require) {
"use strict";
var ajax = require('web.ajax');
var FormView = require('web.FormView');
var testUtils = require('web.test_utils');
var weTestUtils = require('web_editor.test_utils');
var core = require('web.core');
var Wysiwyg = require('web_editor.wysiwyg'... | rven/odoo | addons/web_editor/static/tests/field_html_tests.js | JavaScript | agpl-3.0 | 20,217 |
"use strict";
require("./setup");
var exchange = require("../src/exchange"),
assert = require("assert"),
config = require("config"),
async = require("async");
describe("Exchange", function () {
describe("rounding", function () {
it("should round as expected", function() {
assert.equal( excha... | OpenBookPrices/openbookprices-api | test/exchange.js | JavaScript | agpl-3.0 | 2,486 |
window.WebServiceClientTest = new Class( {
Implements : [Events, JsTestClass, Options],
Binds : ['onDocumentReady', 'onDocumentError'],
options : {
testMethods : [
{ method : 'initialize_', isAsynchron : false }]
},
constants : {
},
initialize : function( options )... | ZsZs/ProcessPuzzleUI | Implementation/WebTier/WebContent/JavaScript/ObjectTests/WebServiceClient/WebServiceClientTest.js | JavaScript | agpl-3.0 | 736 |
import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';
module('Unit | Model | partner partnerclient plan', function(hooks) {
setupTest(hooks);
// Replace this with your real tests.
test('it exists', function(assert) {
let store = this.owner.lookup('service:store');
let model = st... | appknox/irene | tests/unit/models/partner/partnerclient-plan-test.js | JavaScript | agpl-3.0 | 404 |
OC.L10N.register(
"files_external",
{
"Fetching request tokens failed. Verify that your app key and secret are correct." : "ะัะธะฑะบะฐ ะฟะพะปััะตะฝะธั ัะพะบะตะฝะพะฒ ะทะฐะฟัะพัะฐ. ะัะพะฒะตัััะต ะบะพััะตะบัะฝะพััั ะบะปััะฐ ะธ ัะตะบัะตัะฐ ะฟัะธะปะพะถะตะฝะธั.",
"Fetching access tokens failed. Verify that your app key and secret are correct." : "ะัะธะฑะบะฐ ะฟ... | IljaN/core | apps/files_external/l10n/ru.js | JavaScript | agpl-3.0 | 10,010 |
'use strict';
/**
* @ngdoc directive
* @name GO.Core.CustomFields.goCustomFieldsEdit
*
* @description
* Prints custom fields form fieldsets.
*
*
* @param {string} ngModel The customFields model property of the model the customFields belong to
* @param {string} serverModel The custom fields server model.
*... | Intermesh/groupoffice-webclient | app/core/directives/custom-fields/custom-fields-edit-directive.js | JavaScript | agpl-3.0 | 5,358 |
'use strict'
var config = {}
config.facebook = {
'appID': '261938654297222',
'appSecret': 'cd8d0bf4ce75ae5e24be29970b79876f',
'callbackUrl': '/login/facebook/callback/'
}
config.server = {
'port': process.env.PORT || 3000,
'env': process.env.NODE_ENV || 'dev',
'dbUrl': process.env.MONGODB_URI || 'mongodb... | damirkotoric/minihero.org | config.js | JavaScript | agpl-3.0 | 640 |
/*
* _ _ _
* | | | | | |
* | | __ _| |__ ___ ___ __ _| |_ Labcoat (R)
* | |/ _` | '_ \ / __/ _ \ / _` | __| Powerful development environment for Quirrel.
* | | (_| | |_) | (_| (_) | (_| | |_ Copyright (C) 2010 - 2013... | precog/labcoat-legacy | js/ace/mode/csharp.js | JavaScript | agpl-3.0 | 2,838 |