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
/** * ProxyStore is a superclass of {@link Ext.data.Store} and {@link Ext.data.BufferedStore}. It's never used directly, * but offers a set of methods used by both of those subclasses. * * We've left it here in the docs for reference purposes, but unless you need to make a whole new type of Store, what * you're pr...
AlexeyPopovUA/Learning-ExtJS-6-Classes
ext/packages/core/src/data/ProxyStore.js
JavaScript
gpl-2.0
35,909
USETEXTLINKS = 1 STARTALLOPEN = 0 WRAPTEXT = 1 PRESERVESTATE = 0 HIGHLIGHT = 1 ICONPATH = 'file:////Users/eric/github/popgenDB/sims_for_structure_paper/2PopDNAnorec_0.5_1000/' //change if the gif's folder is a subfolder, for example: 'images/' foldersTree = gFld("<i>ARLEQUIN RESULTS (2PopDNAnorec_1_76.arp)</i>", "...
DIPnet/popgenDB
sims_for_structure_paper/2PopDNAnorec_0.5_1000/2PopDNAnorec_1_76.res/2PopDNAnorec_1_76.js
JavaScript
gpl-2.0
916
// Most of it was made by xPaw: https://gist.github.com/xPaw/73f8ae2031b4e528abf7 // Add following lines into manifest.json under content_scripts section (and tweak or remove date below): // { // "js": [ "js/autojoinSteamQueue.js" ], // "matches": [ "*://store.steampowered.com/*" ] // } const summer2018 = new D...
ge-ku/AutoJoin-for-SteamGifts
js/autojoinSteamQueue.js
JavaScript
gpl-2.0
2,924
'use strict'; /** * Load all public assets, e.g js, css, images */ exports.register = function (server, options, next) { server.route({ method: 'GET', path: '/public/{params*}', config: { description: 'load assets', auth: false, handler: { directory: { path: 'public'...
heron2014/Bubbles
lib/assets/index.js
JavaScript
gpl-2.0
425
/* Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'image', 'ja', { alertUrl: 'イメージのURLを入力してください。', alt: '代替テキスト', border: 'ボーダー', btnUpload: 'サーバーに送信', button2Img: '選択したボタンを画像に置き換えますか?', hSpace:...
Gargadon/BanchouBlog
ckeditor/plugins/image/lang/ja.js
JavaScript
gpl-2.0
1,095
import {COMMENT_REPLY} from './../bundles/comment/actions' import { COMMENTS_RECEIVE } from './../bundles/thread/actions' function comments(state = {}, action) { switch (action.type) { case COMMENTS_RECEIVE: return { ...state, ...action.list } // case COMMENT_REPLY: // retur...
pinchtools/piplet
app/javascript/packs/reducers/comments.js
JavaScript
gpl-2.0
541
/* * This file is part of Invenio. * Copyright (C) 2015 CERN. * * Invenio 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 2 of the * License, or (at your option) any later version. * * ...
mvesper/invenio-circulation
invenio_circulation/static/js/circulation/circ_id_complete.js
JavaScript
gpl-2.0
2,045
(function ($) { /** * Attach the child dialog behavior to new content. */ Drupal.behaviors.overlayChild = { attach: function (context, settings) { // Make sure this behavior is not processed more than once. if (this.processed) { return; } this.processed = true; // If we cannot reach the...
sghinescu/baschetmania
sites/default/files/js/js_Fc4I144XPrPKyUpaWv36lNESuazCkfla6EpZyDPBOQk.js
JavaScript
gpl-2.0
21,554
//Menu teaser (function(){ jQuery(document).ready(function(){ if ( jQuery('header.header').hasClass("teaser-menu") ) { missTheme.options.header.params.teaser = 13; } jQuery('header.header.teaser-menu').find("nav > ul li a").each( function () { if ( jQuery(this).attr('title') ) { jQuery( '<small cl...
qyom/pipstation
wp-content/themes/im-startup/assets/scripts/static/jquery/jquery.theme.menuteaser.js
JavaScript
gpl-2.0
450
var svg = d3.select("svg.header") .append("g") .translate((window.innerWidth-620)/2, 120) var radius = d3.scale.linear() .domain([0, 5]) .range([50, 10]) var theta = function(d){ switch(d){ case 0: return 102; case 1: return 173; case 2: return 232; case 3: return 2...
mgold/Invitation-to-Another-Dimension
js/header.js
JavaScript
gpl-2.0
1,046
Template.comment.helpers({ submittedText: function() { var date = new Date(this.submitted); console.log("vote =====>", this); var d=date.getDate(); var m=date.getMonth()+1; var y=date.getFullYear(); return m + " - " + d + " - " + y; }, postID : function(postID){ ...
the-sumit/sumit-prototype
app/client/views/comments/comment.js
JavaScript
gpl-2.0
2,225
/* global _, angular */ angular.module('bidos') .controller('Subdomains', Subdomains); function Subdomains(Resources, $scope, $state) { Resources.get().then(function(data) { $scope.subdomains = _.filter(data.subdomains, {domain_id: parseInt($state.params.domainId)}); }); $scope.select = function (subdomain...
rwilhelm/bidos
app/src/core/components/subdomains/subdomains.controller.js
JavaScript
gpl-2.0
420
/** * @file * A JavaScript file for the theme. * * In order for this JavaScript to be loaded on pages, see the instructions in * the README.txt next to this file. */ // JavaScript should be made compatible with libraries other than jQuery by // wrapping it with an "anonymous closure". See: // - http://drupal.org...
namitgarg/multi
sites/www.gonyon.com/themes/GonyonPlasticSurgery/js/script.js
JavaScript
gpl-2.0
1,610
function loadCashier(){ var data = 'action=loadCashier'; data += '&' + $('#osForm').serialize(); $.ajax({ url: 'OverShortCashierPage.php', data: data, success: function(response){ $('#display').html(response); $('#countSCA').focus(); } }); $('#date').val(''); $('#empno').val(''); } function re...
GeorgeStreetCoop/CORE-POS
fannie/modules/plugins2.0/OverShortTools/js/cashier.js
JavaScript
gpl-2.0
2,531
spellEffects[ 'junglecreatures' ] = function( args ) { var self = this, _ccd = Component.bugcraft.currentCharacterObject.characterData, _moveFrames = {}, _tc = args.targetCharacter, _tcd = _tc.characterData, _changeFrameFunctionPointer = null, _currentIndex = 1, _maxFrames = ...
victoralex/gameleon
public_web/components/bugcraft/resources/public/component.bugcraft.spellEffects/class.spellEffects.junglecreatures.js
JavaScript
gpl-2.0
3,074
define([ "helpers/contract", "helpers/types", "components/content/views/content/single/view", "components/content/views/content/multi/view" ], function(contract, types, SingleView, MultiView) { function getView(options) { contract(options, "object_type"); var type = types.baseObjectType(options....
localnerve/wpspa
app/components/content/views/content/main.js
JavaScript
gpl-2.0
674
var mdf_range_update = false; jQuery(function() { if (!jQuery('#pn_html_buffer').length) { jQuery('body').append('<div id="pn_html_buffer" class="mdf_info_popup" style="display: none;"></div>'); jQuery('body').append('<div id="pn_html_buffer2" style="display: none;"></div>'); } //+++ md...
NeverWithout/Fragrance-Bar
wp-content/plugins/wp-meta-data-filter-and-taxonomy-filter/js/front.js
JavaScript
gpl-2.0
21,044
/*! * CC Slider by Chop-chop * http://shop.chop-chop.org */ (function($){ 'use strict'; var defaults = { // basic mode: 'fade', autoPlay: 3000, pauseOnHover: true, animationSpeed: 1000, pagination: true, arrows: true, loop: false, keyboard: true, mousewheel: true, touch: true, lockDuringA...
mayomm/YKB
wp-content/plugins/slider-cc/public/templates/js/slidercc.core.js
JavaScript
gpl-2.0
11,980
'use strict'; var Offers = require('./OffersService'); module.exports.offerinfo = function offerinfo (req, res, next) { Offers.offerinfo(req.swagger.params, res, next); }; module.exports.offerlink = function offerlink (req, res, next) { Offers.offerlink(req.swagger.params, res, next); }; module.exports.offerne...
syscoin/syscoin-api
server/nodejs/controllers/Offers.js
JavaScript
gpl-2.0
540
/** * PhilaeCMS * Copyright (C) 2014 Daniel Budick * * 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 2 * of the License, or (at your option) any later version. * * This ...
BudickDa/PhilaeCMS
philae/lib/privileges.js
JavaScript
gpl-2.0
4,715
window.chartColors = { red: 'rgb(255, 99, 132)', orange: 'rgb(255, 159, 64)', yellow: 'rgb(255, 205, 86)', green: 'rgb(75, 192, 192)', blue: 'rgb(54, 162, 235)', purple: 'rgb(153, 102, 255)', grey: 'rgb(231,233,237)' }; ES.WidgetLive = ES.Widget.extend({ init: function() { var m...
eoto88/EcoSystems
assets/js/widgets/live.js
JavaScript
gpl-2.0
9,559
'use strict'; angular.module('agileimApp') .factory('authExpiredInterceptor', function ($rootScope, $q, $injector, localStorageService) { return { responseError: function(response) { // If we have an unauthorized request we redirect to the login page // Don't do ...
lazcatluc/agileim
src/main/webapp/scripts/components/interceptor/auth.interceptor.js
JavaScript
gpl-2.0
1,016
showWord(["n. ","branch medikal ki espesyalize nan trete granmoun ki avanse nan laj.<br>"])
georgejhunt/HaitiDictionary.activity
data/words/jeryatri.js
JavaScript
gpl-2.0
91
/* jslint node: true */ var FILENAME = 'modules/empathy.js', ALL_JAVASCRIPT_FILES = ['Gruntfile.js', '*/*.js', 'public/javascripts/*.js']; module.exports = function(grunt) { 'use strict'; grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), ...
prometheansacrifice/Socialysis
Gruntfile.js
JavaScript
gpl-2.0
1,733
/** * @version $Id: gantry-totop.js 58623 2012-12-15 22:01:32Z btowles $ * @author RocketTheme http://www.rockettheme.com * @copyright Copyright (C) 2007 - 2015 RocketTheme, LLC * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only */ eval(function(p,a,c,k,e,r){e=function(c){return c.toString(a)};if(...
moveloaded/moveloaded
wp-content/plugins/gantry/js/gantry-totop.js
JavaScript
gpl-2.0
761
tinyMCE.addI18n('ja.emojiau',{ desc:"au\u7d75\u6587\u5b57", title:"au\u7d75\u6587\u5b57" });
ivywe/geeklog-ivywe
extended/public_html/tinymce/js/tiny_mce/plugins/emojiau/langs/ja.js
JavaScript
gpl-2.0
92
showWord(["n. ","Zouti pou moun ka wè bagay ki lwen nan syèl la. Si ou gen lajan ou ka achte yon teleskòp.<br>"])
georgejhunt/HaitiDictionary.activity
data/words/telesk~op.js
JavaScript
gpl-2.0
116
var allTestCases = [ { world: "small", utterance: "take an object", interpretations: [["holding(e)", "holding(f)", "holding(g)", "holding(k)", "holding(l)", "holding(m)"]] }, { world: "small", utterance: "take a blue object", interpretations: [["holding(g)", "holding(m)"]] ...
Clink92/shrdlite-course-project
InterpreterTestCases.js
JavaScript
gpl-3.0
4,895
import mockContext from "/imports/test-utils/helpers/mockContext"; import groupQuery from "./group"; const fakeShopId = "FAKE_SHOP_ID"; const fakeGroup = { _id: "FAKE_GROUP_ID", name: "fake", shopId: fakeShopId }; const fakeAccount = { _id: "FAKE_ACCOUNT_ID", groups: ["group1", "group2"] }; beforeEach(() => { jest....
anthonybrown/reaction
imports/plugins/core/accounts/server/no-meteor/queries/group.test.js
JavaScript
gpl-3.0
2,348
var stream = require('getstream'); // Instantiate a new client (server side) client = stream.connect('9jtyb249ejzp', 'jnbe82eryq4qvquj4wn5dc8nh85bry33jpbmu84jn58xc3uk4y697xke4rcz9kyk', '24985'); // Instantiate a new client (client side) //client = stream.connect('9jtyb249ejzp', null, '24985'); var p1 = client.feed('pr...
resamsel/translatr
playground/streamio-consumer.js
JavaScript
gpl-3.0
819
/*! * jQuery ScotiaVideo Plugin * TODO */ // IE fix for origin if (!window.location.origin) { window.location.origin = window.location.protocol + "//" + window.location.hostname + (window.location.port ? ':' + window.location.port: ''); } (function($, window, document, _config){ 'use strict'; // set...
dahukish/bns_yt_handler
example/scotia-video.1.0.0.js
JavaScript
gpl-3.0
25,894
var class_passed_message = [ [ "direction_t", "class_passed_message.html#a11c83e74aa007c495b32ec3ed4953a50", [ [ "INCOMING", "class_passed_message.html#a11c83e74aa007c495b32ec3ed4953a50a43c42d4afa45cd04736e0d59167260a4", null ], [ "OUTGOING", "class_passed_message.html#a11c83e74aa007c495b32ec3ed4953a50a...
JoeAlisson/ITSA
Veins-ITSA/doc/doxy/class_passed_message.js
JavaScript
gpl-3.0
1,412
describe('Home Page', () => { it('Should load correctly', () => { cy.visit('/') cy.get('div.marketing-content') .should('contain', 'Real-time Retrospectives') }); it('Should login and write a post', () => { cy.get('.MuiButton-root').click(); cy.get('.MuiTabs-flexContainer > [tabindex="-1...
antoinejaussoin/retro-board
integration/cypress/integration/test.spec.js
JavaScript
gpl-3.0
936
/* Prototype JavaScript framework, version 1.6.0 * (c) 2005-2007 Sam Stephenson * * Prototype is freely distributable under the terms of an MIT-style license. * For details, see the Prototype web site: http://www.prototypejs.org/ * *--------------------------------------------------------------------------*/ ...
amastov/studiocracy-public
vendor/bundle/ruby/2.2.0/gems/json-1.8.2/data/prototype.js
JavaScript
gpl-3.0
124,134
/*jshint unused: vars */ /* define(['angular', 'angular-mocks', 'app'], function(angular, mocks, app) { 'use strict'; describe('Directive: progressBar', function () { // load the directive's module beforeEach(module('oslerApp.directives.ProgressBar')); var element, scope; beforeEach(inject...
varco/askoldpro
test/spec/directives/progressbarSpec.js
JavaScript
gpl-3.0
663
import { LOAD_MORE_MESSAGES, requestMessages, getNextOffset } from '../modules/message'; const loadMoreHandler = ({ store, action }) => { if (action.type !== LOAD_MORE_MESSAGES) { return; } const { type, key } = action.payload; const collectionState = store.getState().message.messagesCollections[type][key...
CaliOpen/CaliOpen
src/frontend/web_application/src/store/middlewares/messages-middleware.js
JavaScript
gpl-3.0
633
'use strict' // const foo = (msg) => { // Função anónima... MAS o this tem outro significado // const foo = function(msg) { // Função anónima function foo(msg) { // if(msg == undefined) return console.log('Empty msg') if(!msg) return console.log('Empty msg') let str = '' for(let i = 0; i < argumen...
isel-leic-pi/1617v-LI51N
aula02-functions-and-objects/app02-functions.js
JavaScript
gpl-3.0
872
/** * @plugin.js * @App Options Dependency Manager Plugin JS * * @License: http://www.siteeditor.org/license * @Contributing: http://www.siteeditor.org/contributing */ /*global siteEditor:true */ (function( exports, $ ){ var api = sedApp.editor; api.pageConditions = api.pageConditions || {};...
SiteEditor/editor
editor/extensions/options-engine/assets/js/dependency-plugin.js
JavaScript
gpl-3.0
17,291
/** * @package HikaShop for Joomla! * @version 2.3.0 * @author hikashop.com * @copyright (C) 2010-2014 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ function tableOrdering( order, dir, task ) { var form = document.adminForm; form.filter_ord...
traintoproclaim/ttp-web
htdocs/media/com_hikashop/js/hikashop.js
JavaScript
gpl-3.0
24,511
module.exports = { "extends": "airbnb-base", "plugins": [ "import" ], "env": { "browser": true, "mocha": true, "protractor": true, "node": true }, "globals": { "expect": true }, "rules": { "semi": ["error", "never"], "quotes": ["error", "double"], "indent": ["error", "tab"], "...
ice-blaze/lilengine
.eslintrc.js
JavaScript
gpl-3.0
503
describe('Targets can be searched', function() { var store_records, store_operation, store_success; beforeEach(function() { this.application = Ext.create('Ext.app.Application', { name:'LSP', appFolder:'./app', requires:['LDA.helper.LDAConstants'], // Define all the controllers that should initi...
openphacts/coreGUI
public/app-test/spec/PharmacologyByTargetTest.js
JavaScript
gpl-3.0
3,278
/* * Copyright © 2012 Pedro Agullo Soliveres. * * This file is part of Log4js-ext. * * Log4js-ext 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. * * ...
opennode/opennode-console
lib/log4js/sm/log/src/Level.js
JavaScript
gpl-3.0
8,897
var mongoose = require("mongoose"); // definicion del esquema var Schema = mongoose.Schema; var LibroSchema = new Schema({ titulo: String, autor: String, campos_biblioteca: { ejemplares: Number, ultima_reserva: Date } }) var ReservaSchema = new Schema({}); module.exports = { Libro: m...
germanux/cursomeanstack
11_mongoose/ejemplo09-mongoose/ejemplo04model.js
JavaScript
gpl-3.0
408
'use strict'; var app = angular.module('exemplo', []).controller('clienteController', function($scope, $http){ $scope.mensagem_erro = ''; $scope.resultado = ''; $scope.novoCliente = {}; $scope.carregarClientes = function() { var url = 'http://localhost:8080/clientes/'; $http.get(url...
lucasmauricio/web-downsizing-paper-sample
web-app/js/app-exemplo/clienteController.js
JavaScript
gpl-3.0
3,702
(function ($) { "use strict"; /** * Constructor * @constructor */ $.MicaTimeline = function (dtoParser, popupIdFormatter, useBootstrapTooltip) { this.parser = dtoParser; this.popupIdFormatter = popupIdFormatter; this.useBootstrapTooltip = useBootstrapTooltip; }; /** * Class method d...
apruden/mica2
mica-webapp/src/main/webapp/bower_components/mica-study-timeline/src/mica-study-timeline.js
JavaScript
gpl-3.0
3,187
import {Ternary} from "./ternary"; import {cast} from "./cast"; export const F = Object.assign(new Ternary("F", false), { and() { return this; }, xor(b) { return cast(b); } }); Ternary.F = F;
ileri/ternary-logic
lib/f.js
JavaScript
gpl-3.0
226
{ id: "shinryu1_h4", name: "竜帝級 雷鳴轟く至天塔", desc: "", overlap: false, aprnum: 5, data: [ { appearance: [ 1 ], enemy: [ { name: "ボルケーノドラゴン", hp: 45000, imageno: 1660, attr: 0, ...
Arika0093/wiz_simu
js/data/quests/event/shinryu1/shinryu1_h4.js
JavaScript
gpl-3.0
9,525
import mongoose, { Schema } from 'mongoose' import auditingSchema from '../../core/base.model' import mongoosePaginate from 'mongoose-paginate' import uniqueValidator from 'mongoose-unique-validator' const ClassifiedReleaseOrderSchema = new auditingSchema({ publicationId: { type: Schema.ObjectId, ref: 'Publi...
costaivo/ClientManager
src/modules/classifieds/ClassifiedReleaseOrders/classifiedReleaseOrder.model.js
JavaScript
gpl-3.0
990
import React from "react"; import { composeWithTracker } from "@reactioncommerce/reaction-components"; import { Template } from "meteor/templating"; import { Roles } from "meteor/alanning:roles"; import { Reaction } from "/client/api"; /** * Push package into action view navigation stack * @param {SyntheticEvent} e...
anthonybrown/reaction
imports/plugins/core/dashboard/client/containers/packageListContainer.js
JavaScript
gpl-3.0
2,174
define({ "sourceSetting": "Pretraži postavke izvora", "instruction": "Dodaj i konfiguriši servise za geokodiranje ili slojeve geoobjekata kao izvore pretrage. Ovi navedeni izvori određuju šta može da se pretražuje unutar trake za pretragu.", "add": "Dodaj izvor pretrage", "addGeocoder": "Dodaj geokoder", "geo...
EsriCanada-CE/ecce-app-challenge-2017
GISoar/app/widgets/Search/setting/nls/sr/strings.js
JavaScript
gpl-3.0
2,387
import epics from './src/metricsEpics'; import { reducer } from './src/metricsReducer'; import * as selector from './src/metricsSelectors'; import * as constants from './src/metricsConstants'; import Metrics from './src/metricsPage'; import { MetricsMenu } from './src/metricsMenu'; export default { name: 'Metrics', ...
nicoechaniz/lime-app
plugins/lime-plugin-metrics/index.js
JavaScript
gpl-3.0
434
export class Timer { /** * diff 2 `Date` in Millisecond * @param {Date} since * @param {Date} until */ static diff(since, until) { return (until.getTime() - since.getTime()); } constructor() { /** time elapsed in millisecond */ this.sum = 0; this.runn...
Rocket1184/electron-netease-cloud-music
src/main/mpris/timer.js
JavaScript
gpl-3.0
1,347
'use strict'; module.exports = function(grunt) { grunt.config('clean', { all: '<%= settings.build.dst %>' }); }
KenVanGilbergen/ken.Spikes.Swagger
swagger-client-web/gruntTasks/clean.js
JavaScript
gpl-3.0
145
// Karma configuration file, see link for more information // https://karma-runner.github.io/1.0/config/configuration-file.html module.exports = function (config) { config.set({ basePath: '', frameworks: ['jasmine', '@angular-devkit/build-angular'], plugins: [ require('karma-jasmine'), requir...
AdamJo/dota2-minimap-spectator
karma.conf.js
JavaScript
gpl-3.0
1,128
var a00116 = [ [ "Advertising Data Encoder", "a00118.html", null ], [ "Debug Assert Handler", "a00119.html", null ], [ "BLE Device Manager", "a00126.html", [ [ "Initialization", "a00126.html#lib_device_manaegerit", [ [ "Associated Events", "a00126.html#lib_device_manager_init_evt", null ], ...
DroneBucket/Drone_Bucket_CrazyFlie2_NRF_Firmware
nrf51_sdk/Documentation/s110/html/a00116.js
JavaScript
gpl-3.0
1,368
import StorageAdapter from 'ui-web/snf/adapters/storage'; export default StorageAdapter.extend({ findQuery: function(store, type, query) { var object_id = store.get('object_id'); delete store.object_id; return this.ajax(this.buildURL(type.typeKey, object_id), 'GET', { data: query }); }, });
AthinaB/synnefo
snf-ui-app/ui-web/app/adapters/version.js
JavaScript
gpl-3.0
311
import 'bootstrap'; import '../imports/startup/client/index.js';
jiyuu-llc/jiyuu
client/main.js
JavaScript
gpl-3.0
65
class Color { constructor () { this.r = Color.value(); this.g = Color.value(); this.b = Color.value(); this.style = "rgba(" + this.r + "," + this.g + "," + this.b + ",1)"; //this.style = "rgba(233,72,152,1)"; } static value () { return Math.floor(Math.random() * 255); } } class Dot { constructor (pa...
Kronos3/Webmaster-Nationals
src/connect_dots.js
JavaScript
gpl-3.0
4,611
importScripts('../js/examples.js', './solutions.js', '../js/Puzzle.js'); onmessage = function (event) { if (event.data === 'start') { runTests(); } }; function runTests() { var count = 1; for (var name in solutions) { testCase(count, name); count++; } postMess...
hetzenmat/hetzenmat.github.io
Nonogram/test/test_worker.js
JavaScript
gpl-3.0
2,518
// Table row template with placeholders var ordersRowTemplate = '<tr><td><img class="order-status-icon" title="order_status_title" src="order_status_icon"></td><td><p class="order-number">Narudžba <strong>#order_number</strong> by</p><p class="first-last-name">order_name</p><p><a class="email" href="mailto:order_email...
dariour/chrome-extension-woocommerce
scripts/popup.js
JavaScript
gpl-3.0
8,901
(function() { 'use strict'; angular .module('anelclothesApp') .config(stateConfig); stateConfig.$inject = ['$stateProvider']; function stateConfig($stateProvider) { $stateProvider.state('gateway', { parent: 'admin', url: '/gateway', data: { ...
jlopezjuy/ClothesHipster
anelclothes/src/main/webapp/app/admin/gateway/gateway.state.js
JavaScript
gpl-3.0
990
var class_n_b_frame = [ [ "checkOptions", "dc/d86/class_n_b_frame.html#a1d586add0fd5236f91a41673552cbb03", null ], [ "fillOptions", "dc/d86/class_n_b_frame.html#af1901022d54dc5509e070f68e8101217", null ] ];
cathyyul/sumo-0.18
docs/doxygen/dc/d86/class_n_b_frame.js
JavaScript
gpl-3.0
214
/* Global variables */ var phonePort = 8666; var phoneIp; var phone; // Holds all the function objects with an id var callbacks = []; // Array with all the contacts by their id var contacts = []; // An array with all the favourites and their id var favourites = []; // An array with all the messages organised by id ...
tom-ando/sms
web/main.js
JavaScript
gpl-3.0
10,139
var YDom = YAHOO.util.Dom; var YEvent = YAHOO.util.Event; var subChildren = null; var configTimeZone = null; if (typeof WcmDashboardWidgetCommon == "undefined" || !WcmDashboardWidgetCommon) { var WcmDashboardWidgetCommon = {}; } WcmDashboardWidgetCommon.dashboards = new Array(); WcmDashboardWidgetComm...
jvega-crafter/studio-ui
static-assets/components/cstudio-dashboard-widgets/lib/wcm-dashboardwidget-common.js
JavaScript
gpl-3.0
65,409
import AbstractRepository from "./abstract_repository" export default class ProfileRepository extends AbstractRepository { constructor(db) { super(db); } tableName() { return "profiles"; } initialColumns() { return [ // Note the specific ordering, this is critical for the sql // que...
USEPA/hivescience
www/js/repositories/profile_repository.js
JavaScript
gpl-3.0
518
import { moduleFor, test } from 'ember-qunit'; moduleFor('service:canvas', { // Specify the other units that are required for this test. // needs: ['service:foo'] }); // Replace this with your real tests. test('it exists', function(assert) { var service = this.subject(); assert.ok(service); });
hugoruscitti/huayra-collage
tests/unit/services/canvas-test.js
JavaScript
gpl-3.0
310
'use strict'; const Q = require('q'); function getPromise(){ let deferred = Q.defer(); //Resolve the promise after a second setTimeout(() => { deferred.resolve('final value'); }, 1000); return deferred.promise; } let promise = getPromise(); promise.then((val) => { console.log('done with:', val); });
mectest1/HelloNodeJS
beginning-node/base/promise-separate.js
JavaScript
gpl-3.0
319
/* Copyright 2012 Samuel Bucheli and Thomas Klöti, University Library Berne. This file is part of the Ryhiner Bounding Box Tool. The Ryhiner Bounding Box Tool 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 Found...
godfatherofpolka/RyhinerBoundingBoxTool
js/gruppen.js
JavaScript
gpl-3.0
670,073
// Copyright © 2016, Ugo Pozo // 2016, Câmara Municipal de São Paulo // token_selector.js - floating action button component for the interface. // This file is part of Anubis. // Anubis is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as publ...
cmspsgp31/anubis
anubis/frontend/src/components/TokenField/token_selector.js
JavaScript
gpl-3.0
7,244
/*! jQuery UI - v1.10.3 - 2013-05-03 * http://jqueryui.com * Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.draggable.js, jquery.ui.droppable.js, jquery.ui.resizable.js, jquery.ui.selectable.js, jquery.ui.sortable.js, jquery.ui.effect.js, jquery.ui.accordion.js, jquery.ui.autocomplete...
caloriscz/caloris10
caloris/themes/caloris-admin/js/jquery-ui.js
JavaScript
gpl-3.0
597,229
/******************************************************************************* uBlock Origin - a browser extension to block requests. Copyright (C) 2014-present Raymond Hill This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as p...
dhowe/AdNauseam2
src/js/contentscript.js
JavaScript
gpl-3.0
49,724
(function() { 'use strict'; angular .module('otusjs.player.core.phase') .service('otusjs.player.core.phase.SaveActionService', Service); Service.$inject = [ 'otusjs.player.core.phase.ActionPipeService', 'otusjs.player.core.phase.PreSaveActionService', 'otusjs.player.core.phase.ExecutionSaveA...
ccem-dev/otus-preview-js
app/otusjs-player-core/phase/save/save-action-service.js
JavaScript
gpl-3.0
1,005
// Representa um ação que pode ser desfeita e refeita // A ação é associada a uma aba aberta // Nas funções redo e undo, this se refere à aba associada à ação function Acao(nome, redo, undo) { var aba = Interface.abaFoco this.id = String(Math.random()) this.nome = nome this.redo = redo this.undo = undo if (ab...
sitegui/editorHP
js/dados/Acao.js
JavaScript
gpl-3.0
2,027
'use strict'; angular.module('myApp.home', ['ngRoute']) // Declared route .config(['$routeProvider', function($routeProvider) { $routeProvider.when('/home', { templateUrl: 'views/home/home.html', controller: 'HomeCtrl' }); }]) // Home controller .controller('HomeCtrl', [function() { }])...
nick-feifan/healthwise
test/views/home/home.js
JavaScript
gpl-3.0
321
let fs = require('fs'); const {dialog} = require('electron').remote; let drivelist = require('drivelist'); let distrosList = require('./js/distros.json'); let numeral = require('numeral'); let fileNameRoute; let fileName; let fileChoosed = false; let downloadFile = false; let checksumFileDownloaded; let di...
Brunux/virtydrive
virty-app/js/index.js
JavaScript
gpl-3.0
13,712
'use strict'; /* globals app, ajaxify, define, socket */ define('forum/topic/events', ['forum/topic/browsing', 'forum/topic/postTools', 'forum/topic/threadTools'], function(browsing, postTools, threadTools) { var Events = {}; var events = { 'event:update_users_in_room': browsing.onUpdateUsersInRoom, 'user.is...
erikahan/NodeBB-fungus
public/src/forum/topic/events.js
JavaScript
gpl-3.0
4,591
/** * Created by trebollo on 6/2/16. */ var express = require('express'); var router = express.Router(); // Check auth on every resource router.get('*', function(req, res, next) { //console.log('Checking AUTH permissions for request ' + req.method + ' - ' + req.baseUrl); next(); }); module.exports = router...
tomasrebollo/modularch
routes/authRouter.js
JavaScript
gpl-3.0
322
var eio = require('engine.io'), HashMap = require('hashmap').HashMap; function Server() { var self = this; self.endpoint = { port: 44444, host: 'localhost' }; self.server = eio.listen(self.endpoint.port, self.endpoint.host); self.server.on('connection', function(socket){ c...
Fincodr/matrix.io
test/server.js
JavaScript
gpl-3.0
875
Ext.define('Onlineshopping.onlineshopping.shared.shop.viewmodel.retail.PaymentProcessingViewModel', { 'extend': 'Ext.app.ViewModel', 'alias': 'viewmodel.PaymentProcessingViewModel', 'model': 'PaymentProcessingModel' });
applifireAlgo/OnlineShopEx
onlineshopping/src/main/webapp/app/onlineshopping/shared/shop/viewmodel/retail/PaymentProcessingViewModel.js
JavaScript
gpl-3.0
234
/* Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'save', 'no', { toolbar: 'Lagre' } );
ernestbuffington/PHP-Nuke-Titanium
includes/wysiwyg/ckeditor/plugins/save/lang/no.js
JavaScript
gpl-3.0
228
import React from 'react'; import PermitSearchResultsByAddress from './PermitSearchResultsByAddress' function PermitSearchResultsAddress(props) { if (props.data === null) { return <p>No results found</p>; } if (!props.data.length) { return <p>No results found</p>; } const addressList = props.data....
cityofasheville/simplicity2
src/app/development/permits/PermitSearchResultsAddresses.js
JavaScript
gpl-3.0
1,185
/*global Ext, i18n*/ //<debug> console.log(new Date().toLocaleTimeString() + ": Log: Load: WPAKD.view.desktop.icons.SystemConfiguration"); //</debug> Ext.define("WPAKD.view.desktop.icons.SystemConfiguration", { extend: "Ext.Container", alias: "widget.desktopiconssystemconfiguration", draggable: true, f...
Webcampak/ui
Sencha/App6.0/workspace/Desktop/app/view/desktop/icons/SystemConfiguration.js
JavaScript
gpl-3.0
1,278
var fs = require('fs'), path = require('path'); var uaList = fs.readFileSync(path.join(__dirname, 'ua.txt')); uaList = uaList.toString().split('\n'); var OSs = {}; var browsers = {}; var browserVersions = {}; var unknown = []; var osMatch = { ios: /iOS|iPhone OS/i, android: /Android/i, linux: /Linux/i, win: /W...
MulberryComic20/ConnectMessenger-web
ua_handler.js
JavaScript
gpl-3.0
1,808
/** * $Id: mxCompositeLayout.js,v 1.11 2010-01-02 09:45:15 gaudenz Exp $ * Copyright (c) 2006-2010, JGraph Ltd */ /** * Class: mxCompositeLayout * * Allows to compose multiple layouts into a single layout. The master layout * is the layout that handles move operations if another layout than the first * element...
swissfondue/gtta
js/mxgraph/src/js/layout/mxCompositeLayout.js
JavaScript
gpl-3.0
2,516
import Client from '../../../api'; import { AsyncActionStatus } from '../../../const/AsyncActionStatus'; import { getCurrency, getNobtName, getPersonNames } from './selectors'; export const UPDATE_CREATE_NOBT_STATUS = 'NewNobt.UPDATE_CREATE_NOBT_STATUS'; export const SELECT_CURRENCY = 'NewNobt.SELECT_CURRENCY'; expor...
nobt-io/frontend
src/routes/CreateNobt/modules/actions.js
JavaScript
gpl-3.0
2,130
/* -*- Mode: JavaScript; coding: utf-8; tab-width: 3; indent-tabs-mode: tab; c-basic-offset: 3 -*- ******************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011. ...
create3000/cobweb
src/cobweb/Components/Rendering/IndexedTriangleStripSet.js
JavaScript
gpl-3.0
5,599
$(document).ready(function () { $(window).on('load', function() { let pathname = window.location.pathname.split('/') // console.log(pathname) if(pathname[1]==='operador') { $('#home').addClass('active') let action = pathname[2].split('-') if (action[0]==='update' || action[0]==='perfi...
jonilsondeveloper/repositorio-qms
src/public/scripts/script.js
JavaScript
gpl-3.0
7,559
(function(){ function isValid($, eventName){ var valid = true; $.each(function(i, el){ valid = valid && el.dispatchEvent(new Event(eventName)); }); return valid; } function setHandler(els){ els.each(function(i, el){ if(!(el instanceof HT...
TrigenSoftware/OpenSayThank
web/app/login.js
JavaScript
gpl-3.0
3,081
var DI = require('../'); function A(options) { this.name = 'A'; this.options = options; } function B(options) { if (! (this instanceof B)) { return new B(options); } this.name = 'B'; this.options = options; } var di = new DI(); function S(msg) { console.log(msg); } di.addConfig({ A: A, B: B, ...
zerkalica/micro-di
example/ex1.js
JavaScript
gpl-3.0
832
const _ = require('lodash'); const utils = require('./utils'); /* * Default key object settings for lando.keys cache */ const keyDefaults = { host: 'lagoon.amazeeio.cloud', port: '32222', user: 'lagoon-pending', date: _.toInteger(_.now() / 1000), }; /* * Generates a new lagoon-pending key. */ exports.gene...
kalabox/lando
integrations/lando-lagoon/lib/keys.js
JavaScript
gpl-3.0
1,637
/* * Languages for annotation Javascript */ /* * Fetch a localized string * This is a function so that it can be replaced with another source of strings if desired * (e.g. in a database). The application uses short English-language strings as keys, so * that if the language source is lacking the key can be ret...
GeofG/marginalia-m
releases/marginalia-m-1.0/moodle/blocks/marginalia/marginalia-strings.js
JavaScript
gpl-3.0
1,860
/* Copyright (c) 2015, Brandon Jones, Colin MacKenzie IV. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, ...
Priyansh2/test
webgl/toji-gl-matrix-7c8d5dd/src/gl-matrix/mat4.js
JavaScript
gpl-3.0
67,936
// ----------------------------------------------------------------------------------- // // Lightbox v2.04 // by Lokesh Dhakar - http://www.lokeshdhakar.com // Last Modification: 2/9/08 // // For more information, visit: // http://lokeshdhakar.com/projects/lightbox2/ // // Licensed under the Creative Commons Attributi...
sebyx31/sebsews
templates/lightbox/js/lightbox.js
JavaScript
gpl-3.0
18,428
/** * Created by zacharymartin on 4/20/15. */ ParserUI.PARSING = 0; ParserUI.PLATES = 1; ParserUI.FEATURES = 2; ParserUI.EXPERIMENT = 3; ParserUI.MANUAL_ENTRY = "byManualEntry"; ParserUI.PLATE_LEVEL_FEATURE = "byFeature"; ParserUI.FEATURE_LIST_PLACEHOLDER = "--- features ---"; ParserUI.LABEL_LIST_PLACEHOLDER = "--...
platify/platify
grails-app/assets/javascripts/parser/ParserUI.js
JavaScript
gpl-3.0
47,186
module.exports = function (app) { // catch 404 and forward to error handler app.use(function(req, res, next) { var err = new Error('Not Found'); err.status = 404; next(err); }); // development error handler // will print stacktrace app.use(function(err, req, res, next) { res.status(err.sta...
RandomVision/darkchess
backend/lib/error_handlers.js
JavaScript
gpl-3.0
686
{"exchanges":[{"info":[{"onclick":null,"link":null,"value":"31 70 365 36 88"},{"onclick":null,"link":"mailto:info@nl-ix.net","value":"info@nl-ix.net"},{"onclick":"window.open(this.href,'ix-new-window');return false;","link":"http://www.nl-ix.net","value":"Website"},{"onclick":null,"link":null,"value":"Online since: Apr...
brangerbriz/webroutes
nw-app/telegeography-data/internetexchanges/buildings/19228.js
JavaScript
gpl-3.0
472
/* * VITacademics * Copyright (C) 2014-2016 Aneesh Neelam <neelam.aneesh@gmail.com> * Copyright (C) 2014-2016 Ayush Agarwal <agarwalayush161@gmail.com> * * This file is part of VITacademics. * * VITacademics is free software: you can redistribute it and/or modify * it under the terms of the GNU General ...
aneesh-neelam/VITacademics
handlers/mobile.js
JavaScript
gpl-3.0
1,250
var searchData= [ ['nextdispatching',['NextDispatching',['../interface_general_health_care_elements_1_1_department_models_1_1_outpatient_1_1_i_input_outpatient.html#ab18ee0a2d14360da569e968e79fdebcf',1,'GeneralHealthCareElements.DepartmentModels.Outpatient.IInputOutpatient.NextDispatching()'],['../class_general_healt...
nikolausfurian/HCDESLib
API/search/functions_b.js
JavaScript
gpl-3.0
1,360
/*global require */ 'use strict'; var _ = require('lodash'), utils = require('./../build-utils'), StatementInputBloq = require('./../statementInputBloq'); /** * Bloq name: mbot-ifthereisalotoflight * * Bloq type: Statement-Input * * Description: * * Return type: none */ var bloqMBotIfThereIsALotOfLig...
bq/bloqs
src/scripts/bloqs/makeblock/ifThereIsALotOfLight.js
JavaScript
gpl-3.0
1,759
angular.module('abastecimentoApp.servicesNotificacoes', []).factory('Notificacao', function ($resource, $http, constantService) { return { query: query, get:get } function query(callback) { $http.get(constantService.baseURL + '/notificacoes') .then(function (response) { ...
cassiane/KnowledgePlatform
Implementacao/nodejs-tcc/public/static/js/servicesNotificacoes.js
JavaScript
gpl-3.0
972