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 |
|---|---|---|---|---|---|
(function(){ mollify.texts.set('es', {
decimalSeparator: ",",
groupingSeparator: ".",
zeroDigit: "0",
plusSign: "+",
minusSign: "-",
fileSizeFormat: "#.#",
sizeInBytes: "{0} bytes",
sizeOneByte: "1 byte",
sizeOneKilobyte: "1 kB",
sizeInKilobytes: "{0} kB",
sizeInMegabytes: "{0} MB",
sizeInGigabytes: "{0} GB",
confir... | janosgyerik/TheToolbox | mollify/client/localization/texts_es.js | JavaScript | gpl-2.0 | 14,944 |
angular.module('bhima.services')
.service('PatientService', PatientService);
PatientService.$inject = [
'SessionService', '$uibModal', 'DocumentService', 'VisitService', 'FilterService', 'appcache', 'PeriodService',
'PrototypeApiService', '$httpParamSerializer', 'LanguageService', 'bhConstants', 'HttpCacheServic... | IMA-WorldHealth/bhima | client/src/modules/patients/patients.service.js | JavaScript | gpl-2.0 | 13,071 |
// @flow
import { add } from './LruStore';
import AdditionalArgumentsDialog from './AdditionalArgumentsDialog';
import { getBody } from 'utils/DomUtils';
import React from 'react';
import ReactDOM from 'react-dom';
import registerTool from 'utils/registerTool';
import WikidataSourceDialog from './WikidataSourceDialog'... | vlsergey/WE-Framework | src/sources/wikieditorIntegration.js | JavaScript | gpl-2.0 | 2,480 |
/*eslint-env node, mocha */
/*global expect */
/*eslint no-console: 0*/
'use strict';
// Uncomment the following lines to use the react test utilities
// import TestUtils from 'react-addons-test-utils';
import createComponent from 'helpers/shallowRenderHelper';
import TileComponent from 'components//TileComponent.js'... | gmuraleekrishna/2048 | test/components/TileComponentTest.js | JavaScript | gpl-2.0 | 609 |
/**
* Settings module
*/
'use strict';
export class Index {
constructor() {
console.log('Hello just for test from the Index class');
}
} | sergey-donchenko/adplus | project/app/assets/javascript/modules/Index.js | JavaScript | gpl-2.0 | 155 |
function Room(id, description) {
this.id = id;
this.description = description;
}
module.exports = Room;
| pdizz/eventMUD | src/Room.js | JavaScript | gpl-2.0 | 122 |
/**
* TCD Software
* Created by Dmitrij Rysanow on 29.12.16.
*/
/**
* Utils for ui services
*
* @return {{optimizeTopicData: optimizeTopicData, extractIdFromFeedEntry: extractIdFromFeedEntry}}
* @export
* @constructor
*/
module.exports = function () {
'use strict';
/**
* @enum {{Music: string[], Vide... | thecyberd3m0n/ngRuflix | src/app/common/Utils.js | JavaScript | gpl-2.0 | 2,284 |
jQuery(document).ready(function($) {
// Append a caret to any submenu in the navigation with children
$('#navPrimary:first-child > li.dropdown > a.dropdown-toggle').each(function(index, element) {
$(this).append('<b class="caret"></b>');
});
$('#myTooltip').tooltip();
}); | charlesgwilson/MuraCMS | default/includes/themes/MuraBootstrap3/js/theme/theme.js | JavaScript | gpl-2.0 | 288 |
;(function(){
/*******
init functions
*******/
function initCrawl(){
createArrays();
}
/*******
Finds all assets and stores them in arrays
*******/
var imgArr, jsArr, cssArr, arrObj;
arrObj={};
function createArrays(){
//*****Begin Images *****//
imgArr = $('body img').map(function() { retur... | Code2Empower/public | asset-finder/crawl.js | JavaScript | gpl-2.0 | 10,999 |
$(document).ready(function(){
loadNews(country);
$("#status").html("<img src='http://i.stack.imgur.com/Pi5r5.gif' />");
var country = "";
function loadNews(country){
switch(country){
case 'us':
country = ".com";
break;
case 'uk':
country = ".co.uk";
break;
case 'ca':
country = ".ca";
break;
... | amitnaik/news | myjs.js | JavaScript | gpl-2.0 | 2,710 |
/**
* Created by Kelsie on 10/26/2015.
*/
Polls = new Mongo.Collection('polls'); | kelsieayamakawa/polling | collections/polls.js | JavaScript | gpl-2.0 | 83 |
let taxonomy = [
{
type: "food",
subtypes: [
"Food Not Bombs",
"Free Communal Meal",
"Food Donation",
"Dumpster"
]
},
{
type: "medical",
subtypes: [
"General Medicine (Western) ",
"Emergency Medicine (Western) ",
"Mental Health",
"Holistic",
... | mcverter/Guttersnipe | packages/server/src/db/data_to_be_migrated/taxonomy.data.js | JavaScript | gpl-2.0 | 673 |
import { includes, get } from 'lodash';
import { AspectRatios, AspectRatiosValues } from 'calypso/state/editor/image-editor/constants';
/**
* Returns the default aspect ratio image editor should use.
*
* If only aspectRatio is specified and is valid, we return it. If only aspectRatios is specified and is valid,
* ... | Automattic/wp-calypso | client/blocks/image-editor/utils.js | JavaScript | gpl-2.0 | 1,247 |
'use strict';
const staticExclusionDates = require('../lib/staticExclusionDates');
const staticAppealStages = require('../lib/staticAppealStages');
const moment = require('moment');
const dateFormat = 'dddd DD MMMM YYYY';
module.exports = superclass => class ReferenceList extends superclass {
getValues(req, res, ca... | UKHomeOffice/AppealRightsExhausted | apps/are_form/behaviours/referencelist.js | JavaScript | gpl-2.0 | 1,451 |
/*!
* SAP UI development toolkit for HTML5 (SAPUI5/OpenUI5)
* (c) Copyright 2009-2014 SAP SE or an SAP affiliate company.
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
*/
jQuery.sap.declare("sap.ui.commons.LinkRenderer");sap.ui.commons.LinkRenderer={};
sap.ui.commons.LinkRenderer.render=funct... | amiramw/ALS-hackathon | ALS_client/src/main/webapp/openui5-runtime-1.24.3/resources/sap/ui/commons/LinkRenderer.js | JavaScript | gpl-2.0 | 1,045 |
#
# FILE DISCONTINUED HERE
# UPDATED VERSION AT
# https://gitlab.com/yeupou/stalag13/raw/master/usr/share/owncloud/apps/notes/js/vendor/jquery-ui/ui/jquery.ui.spinner.js
#
# | |
# \_V_//
# \/=|=\/
# ... | yeupou/stalag13 | usr/share/owncloud/apps/notes/js/vendor/jquery-ui/ui/jquery.ui.spinner.js | JavaScript | gpl-2.0 | 13,563 |
/*!
Copyright(c) 2014 - 2015, Citationtech S.E.
*/
! function() {
function a() {
var a, b = navigator.userAgent,
c = b.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i) || [];
return /trident/i.test(c[1]) ? (a = /\brv[ :]+(\d+)/g.exec(b) || [], "ie" + (a[1] |... | gaubert/mapivor | mapivor-server/public/wind/windity.js | JavaScript | gpl-2.0 | 198,386 |
/**
* Provides the ability to fix a html block to a position on the page when the
* browser is scroled.
*/
(function ($, Drupal, window, document) {
"use strict";
Drupal.blockFloatStack = function() {
if( typeof Drupal.blockFloatStack.blocks == 'undefined' ) {
Drupal.blockFloatStack.blocks = [];
... | gimarg/dynamotors | modules/floating_block/floating_block.js | JavaScript | gpl-2.0 | 8,445 |
/* Import theme specific language pack */
tinyMCE.importPluginLanguagePack('advlink', 'uk,se,de');
/**
* Insert link template function.
*/
function TinyMCE_advlink_getInsertLinkTemplate() {
var template = new Array();
template['file'] = '../../plugins/advlink/link.htm';
template['width'] = 44... | hky/bytehoard | tiny_mce/plugins/advlink/editor_plugin.js | JavaScript | gpl-2.0 | 592 |
/**
* our header Constructor
*
* @return {Object} Return instance of this object
*/
function pwpsHeader() {
$ = jQuery;
this.widgetsArea = $('.pwp-simplicity-header-widgets'),
this.bump = $('.site-header-bump'),
this.header = $('.site-header'),
this.adminBar = $('#wpadminbar'),
this.widgets ... | PremiseWP/pwp-simplicity | js/source/header.js | JavaScript | gpl-2.0 | 930 |
var {B} = require('consts');
var SVG = require('svg.js/svg');
//view listens game
export default class View{
constructor(el,game){
this.svg=SVG(el);
this.main = this.svg.group();
this.main.scale(10);
this.game=game;
this.grid = [];
this.init();
// this.symbols = [];
// this.symbols[B.E... | lijiaqigreat/snake_web | js6/view.js | JavaScript | gpl-2.0 | 1,231 |
/*--------------------------------------------------------*/
/*
Version 1.0.0.1
TABLE OF CONTENTS: */
/*--------------------------------------------------------*/
/* 01 - VARIABLES */
/* 02 - WINDOW LOAD */
/* 03 - SWIPER SLIDER */
/* 04 - MOBILE MENU */
/* 05 - WINDOW SCROLL */
/* 06 - IZOTOPE */
/* 07 - CLICK */... | asiancity/gueven-theme | js/main.js | JavaScript | gpl-2.0 | 15,008 |
// start the popup specefic scripts
// safe to use $
jQuery(document).ready(function($) {
var vibes = {
loadVals: function()
{
var shortcode = $('#_vibe_shortcode').text(),
uShortcode = shortcode;
// fill in the gaps eg {{param}}
$('.vibe-input').each(fun... | ielijose/grupoprediac | wp-content/themes/vestate/includes/shortcodes/tinymce/js/popup.old.js | JavaScript | gpl-2.0 | 10,731 |
/* ================================================
----------- Travelite ---------- */
(function ($) {
"use strict";
//slider start
/******************************************
- PREPARE PLACEHOLDER FOR SLIDER -
******************************************/
var tpj = jQuery;
var revapi116;
tpj(... | eytati/PrograWeb | ProyectoWeb.Sitio/Content/js/custom.js | JavaScript | gpl-2.0 | 56,919 |
/**
* Text (with optional feedback) iDevice (edition code)
*
* Released under Attribution-ShareAlike 4.0 International License.
* Author: Ignacio Gros (http://gros.es/) for http://exelearning.net/
*
* License: http://creativecommons.org/licenses/by-sa/4.0/
*/
var $exeDevice = {
// We use eXe's _ function
i18... | exelearning/iteexe | exe/webui/scripts/idevices/text/edition/text.js | JavaScript | gpl-2.0 | 3,478 |
/**
* @file contact.spec.js
*/
var ContactPage = require('./pages/contact.page');
browser.ignoreSynchronization = true;
describe ('Contact' , function () {
beforeEach(function () {
ContactPage.get();
});
it ('should successfully submit the contact form', function () {
ContactPage.submit('Ana', 'ana@bana... | wlsf82/lat-drupal | tests/contact.spec.js | JavaScript | gpl-2.0 | 628 |
var options;
var chart;
$(function () {
options={
chart: {
renderTo: 'grafica',
zoomType: 'x'
},
title: {
text: 'Pred Finance'
},
subtitle: {
text: document.ontouchstart === undefined ?
'' :
... | UnillanosProject/AppIS | js/higchart.js | JavaScript | gpl-2.0 | 5,952 |
(function() {
/**
* Anim subclass for color transitions.
* <p>Usage: <code>var myAnim = new Y.ColorAnim(el, { backgroundColor: { from: '#FF0000', to: '#FFFFFF' } }, 1, Y.Easing.easeOut);</code> Color values can be specified with either 112233, #112233,
* [255,255,255], or rgb(255,255,255)</p>
* @class ColorAnim
*... | nickjvm/ISA-Corporate | sites/all/libraries/yui_2.7.0/src/animation/js/ColorAnim.js | JavaScript | gpl-2.0 | 5,118 |
// // SCROLL JS
// jQuery(document).ready(function($) {
// // This example adds a duration to the tweens so they are synced to the scroll position
// var controller = $.superscrollorama();
// // amount of scrolling over which the tween takes place (in pixels)
// var scrollDuration = ... | Click3X/000255_Gamut-Cox_Website | wp-content/themes/bones/library/js/scroll.js | JavaScript | gpl-2.0 | 4,245 |
! function(cloudberry) {
'use strict';
/* Main */
cloudberry.modules.register({
id: 'cloudberry.main',
setup: function(h, mod, gettext) {
h.registerView('main', {
id: 'main',
abstract: true,
controller: "MainCtrl",
... | sjarvela/cloudberry | client/js/main.js | JavaScript | gpl-2.0 | 4,290 |
(function() {
var inexactMessages = {
unsimplified: "Your answer is almost correct, but it needs to be simplified.",
missingPercentSign: "Your answer is almost correct, but it is missing a <code>\\%</code> at the end."
};
Khan.answerTypes = Khan.answerTypes || {};
$.extend(Khan.answerTypes, {
text: funct... | lakefernmontessoriacademy/LFMA-Wordpress | wp-content/plugins/khan-exercises/khan-exercises/utils/answer-types.js | JavaScript | gpl-2.0 | 43,213 |
import update from 'react/lib/update';
import { QUEUE_STOPPED, CLICK_CENTRING } from '../constants';
const initialState = {
queue: [],
current: { sampleID: null, running: false },
queueStatus: QUEUE_STOPPED,
autoMountNext: false,
autoAddDiffPlan: false,
centringMethod: CLICK_CENTRING,
numSnapshots: 4,
... | meguiraun/mxcube3 | mxcube3/ui/reducers/queue.js | JavaScript | gpl-2.0 | 3,432 |
$(function () {
if ( /shop/.test(window.location) ) {
$('nav').addClass('stick');
$('body').addClass('unlock-screen');
}
if (window.location.hash) {
$('nav').addClass('stick');
$('body').addClass('unlock-screen');
$('html,body').animate({scrollTop: $(window.location.hash).offset().top - 80},'slow');
}
$... | otilly/gigi | wp-content/themes/gigi-theme/js/gigi.js | JavaScript | gpl-2.0 | 1,828 |
( function( $ ) {
debugger;
$(".prev-post").removeClass();
} )( jQuery ); | KimcoBlogSC/Blog | wp-content/themes/kimcorealty/js/customPostFixes.js | JavaScript | gpl-2.0 | 75 |
/*
* Copyright (C) 2016 TrustedCompany.com
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published bythe Free Software Foundation
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT A... | slebetman/sendgrid-event-logger | lib/json-post-middleware.js | JavaScript | gpl-2.0 | 889 |
(function($){
$.fn.banner = function() {
var selector = $(this).selector;
var imagewrappers = $(selector).find(".bannerimage");
var textwrappers = $(selector).find(".bannertext");
var timer;
var banner = {
currentimage:0,
lastimage:0,
initialize:function(){
... | glacialblade/enzymatic | enzymatic/js/banner.js | JavaScript | gpl-2.0 | 2,503 |
var $j = jQuery.noConflict();
var $scroll = 0;
var $window_width = $j(window).width();
var $window_height = $j(window).height();
var logo_height;
var logo_width;
var menu_dropdown_height_set = false;
var sticky_amount = 0;
var content_menu_position;
var content_menu_top;
var content_menu_top_add = 0;
var src;
var next_... | PelleRylander/Omada | wp-content/themes/bodega/js/default.js | JavaScript | gpl-2.0 | 229,261 |
/*
* jQuery File Upload Plugin JS Example 6.7
* https://github.com/blueimp/jQuery-File-Upload
*
* Copyright 2010, Sebastian Tschan
* https://blueimp.net
*
* Licensed under the MIT license:
* http://www.opensource.org/licenses/MIT
*/
/*jslint nomen: true, unparam: true, regexp: true */
/*global $, ... | socialscript/socialscript | httpdocs/resources/js/jquery.upload/upload.js | JavaScript | gpl-2.0 | 1,124 |
(function( window, undefined ) {
kendo.cultures["fi"] = {
name: "fi",
numberFormat: {
pattern: ["-n"],
decimals: 2,
",": " ",
".": ",",
groupSize: [3],
percent: {
pattern: ["-n %","n %"],
decimal... | cuongnd/test_pro | media/kendo-ui-core-master/src/cultures/kendo.culture.fi.js | JavaScript | gpl-2.0 | 2,106 |
module.exports = {
specialTokens: {
textEscaped: [ 'a b', 'i <3 tags', '1&2&3&4' ],
htmlEscaped: [ 'a b', 'i <3 tags', '1&2&3&4' ],
textUnescaped: [ 'a b', 'i <3 tags', '1&2&3&4' ],
htmlUnescaped: [ 'a b', 'i <3 tags', '... | ironmanLee/my_calypso | client/components/token-field/test/fixtures.js | JavaScript | gpl-2.0 | 1,524 |
SusDevTools = {
articles_login: null
};
ShellProcess.commands['scholar'] = function(terminal) {
var cmd_args = Array.prototype.slice.call(arguments);
cmd_args.shift(); // terminal
window.open('http://scholar.google.com/scholar?hl=en&q=' + encodeURIComponent(cmd_args.join(' ')), '_blank');
};
ShellProcess.co... | jrising/console | html/js/susdev.js | JavaScript | gpl-2.0 | 3,927 |
/**
* Created by p on 2017/5/7.
*/
function test_check_submit() {
var info = {};
var names = ["age", "health", "experience", "purpose", "rate", "date", "down", "spending", "state", "retire"];
var x = "input:radio[name='age']:checked";
for (var i = 0; i < names.length; i++) {
x = "input:radio[... | Mirandaa/Portfolio-investment | 期末提交-基于模糊投资组合模型的投资方案推荐系统/软件源代码/portfolio/web/myJS/test.js | JavaScript | gpl-2.0 | 827 |
var map;
var marker;
var geocoder;
var locationStr = '[% place.latitude %], [% place.longitude %]';
function initMap() {
var latNumber = -34.397;
var lngNumber = 150.644;
var address = '[% place.address %], [% place.city %], [% place.state %]';
if(locationStr.length > 5){
var locationArray... | davidromeroxaandia/Chapix | Chapix/Admin/tmpl/place-location.js | JavaScript | gpl-2.0 | 1,945 |
'use strict';
/**
* @ngdoc overview
* @name vimondApp
* @description
* # vimondApp
*
* Main module of the application.
*/
angular
.module('vimondApp', [
'ngAnimate',
'ngCookies',
'ngResource',
'ngRoute',
'ngSanitize',
'ngTouch'
])
.config(
['$routeProvider', function ($routePro... | Uszi/Vimond | app/scripts/app.js | JavaScript | gpl-2.0 | 513 |
function updateCities() {
// alert("TEST");
regionElementId = populate_sities_vars.input_region;
cityElementId = populate_sities_vars.input_city;
var cityElement = document.getElementById( cityElementId );
var selectedRegionIndex = document.getElementById( regionElementId ).selectedIndex;
// a... | mshenhera/mc-theme | js/cities.js | JavaScript | gpl-2.0 | 775 |
/**
* class Gmap3Menu
* display a menu on google maps
*
* dependencies:
* gmap3 5.x
* jquery 1.3+
*
**/
function Gmap3Menu($div){
var that = this,
items = [],
ts = null,
namespace = "gmap3-menu";
// create an item using a new closure
function create(item){
$=jQuery;
var $item ... | cuongnd/test_pro | media/system/js/gmap3-master/assets/examples/context-menu/menu/gmap3-menu.js | JavaScript | gpl-2.0 | 2,178 |
import React from 'react'
import SvgIcon from '@material-ui/core/SvgIcon'
const MonitoringIcon = (props) => (
<SvgIcon {...props}>
<path fill="#85B446" d="M188.4,567.5c-35.2-14.9-66.2-35.5-92.4-61.8l0,0c-26.4-26.4-47-57.4-61.9-92.5l0,0
c-15-35.4-22.5-73.2-22.5-112.9l0,0c0-19.8,1.8-39.2,5.4-58.2l0,0c3.7-19.3,9... | jben94/centreon | www/frontSrc/Header/Icons/MonitoringIcon.js | JavaScript | gpl-2.0 | 2,377 |
import { isWebgl2 } from './types';
let _UID = 0;
class Program {
constructor(gl, vert, frag, defs) {
this.gl = gl;
this.program = gl.createProgram();
this.vShader = gl.createShader(gl.VERTEX_SHADER);
this.fShader = gl.createShader(gl.FRAGMENT_SHADER);
this.dyns = [];
... | plepers/nanogl | program.js | JavaScript | gpl-2.0 | 7,498 |
(function () {
/**
* Tooltip is an implementation of Overlay that behaves like an OS tooltip,
* displaying when the user mouses over a particular element, and
* disappearing on mouse out.
* @namespace YAHOO.widget
* @class Tooltip
* @extends YAHOO.widget.Overlay
* @constructor
* @... | nickjvm/ISA-Corporate | sites/all/libraries/yui_2.7.0/src/container/js/Tooltip.js | JavaScript | gpl-2.0 | 30,145 |
import getBillingTransactionDateFilterValues from 'calypso/state/selectors/get-billing-transaction-date-filter-values';
const moment = require( 'moment' );
jest.mock( 'i18n-calypso', () => {
return {
translate: ( str ) => str,
};
} );
moment.now = () => new Date( 2018, 4, 24 ); // May 24, 2018
describe( 'getBill... | Automattic/wp-calypso | client/state/selectors/test/get-billing-transaction-date-filter-values.js | JavaScript | gpl-2.0 | 2,278 |
//This is to help withthe visual effects on Filemanager's Thumbnail view and also the layout
jQuery(document).ready(function(){
var fileLink = jQuery('.fileLink');
var fileDetails = jQuery('.filedetails');
jQuery(fileLink).hover(function(){
jQuery(fileDetails).css('width',jQuery(this).css('width'))
... | chisimba/chisimba | app/core_modules/filemanager/resources/thumbnails.js | JavaScript | gpl-2.0 | 393 |
//////////////////////////////////////////
////////////// CCTG JS //////////////
//////////////////////////////////////////
/*
* Get Viewport Dimensions
* returns object with viewport dimensions to match css in width and height properties
* ( source: http://andylangton.co.uk/blog/development/get-viewport-size... | dcrand/CCTG | wp-content/themes/cctg/library/js/main.js | JavaScript | gpl-2.0 | 948 |
var google = require('googleapis');
var OAuth2Client = google.auth.OAuth2;
var plus = google.plus('v1');
var assert = require('assert');
var OPTIONS; // global object set when plugin loads
var oauth2_client;
/**
* create_oauth2_client creates the OAuth2 client
* @param {Object} options - the ... | ddrager/hapi-auth-google | lib/index.js | JavaScript | gpl-2.0 | 2,812 |
/**
* SpecRunner.js
* This is the main file of the spec suite
* that does the following:
* Load dependencies (core libs, testings libs)
* Configure the testing environment
* Load the test suites
* Run the test engine
*/
var jmPath = '../test/lib/jasmine-2.2.0/';
require.config({
baseUrl: "js"... | stereokrauts/stereoscope | stereoscope.webgui.client/src/main/webapp/test/SpecRunner.js | JavaScript | gpl-2.0 | 1,968 |
(function() {
'use strict';
angular
.module('bonitasoft.designer.editor.whiteboard')
.service('whiteboardService', whiteboardService);
function whiteboardService($timeout, arrays) {
var onWidgetRemoveFunctions = [];
var onWidgetAddFunctions = [];
var widgetIds = [];
return {
reg... | bonitasoft/bonita-ui-designer | frontend/app/js/editor/whiteboard/whiteboard.service.js | JavaScript | gpl-2.0 | 3,200 |
showWord(["v. ","bay pyon. Poze pyon pou fè advèsè-a bay legen.<br>"]) | georgejhunt/HaitiDictionary.activity | data/words/pyonnen.js | JavaScript | gpl-2.0 | 73 |
var searchData=
[
['calc_5ftangents',['calc_tangents',['../mover__spline6_8cpp.html#aa23e30f37af6f5df22766fde743ecd64',1,'mover_spline6.cpp']]],
['calculs_5fetats_5ffaders_5fet_5fcontenus',['calculs_etats_faders_et_contenus',['../dmx__functions__13_8cpp.html#ac0e932ae0c7050397aecccdf0a97c882',1,'dmx_functions_13.cp... | AntonLanghoff/whitecat_crossplateform | docAPIwhitecat/html/search/functions_2.js | JavaScript | gpl-2.0 | 23,214 |
/**
*
* APDPlat - Application Product Development Platform
* Copyright (c) 2013, 张炳祥, zbx13@163.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or... | zbx/device | APDPlat_Web/src/main/webapp/js/reLogin.js | JavaScript | gpl-3.0 | 9,563 |
// run_local.js
var deployd = require('deployd'),
fs = require('fs');
var server = deployd({
port: process.env.PORT || 5000,
env: 'production',
db: {
host: 'localhost',
port: 27017,
name: 'worldserver'
},
key: fs.readFileSync('key.pem'),
cert: fs.readFileSync('cert.pem')
});
server.listen();
... | blckwngd/WorldServer | Server/run_local.js | JavaScript | gpl-3.0 | 595 |
/*!
* Ext JS Library 3.3.0
* Copyright(c) 2006-2010 Ext JS, Inc.
* licensing@extjs.com
* http://www.extjs.com/license
*/
/**
* @class Ext.ux.Spinner
* @extends Ext.util.Observable
* Creates a Spinner control utilized by Ext.ux.form.SpinnerField
*/
Ext.ux.Spinner = Ext.extend(Ext.util.Observable, {
incremen... | rukzuk/rukzuk | app/js/Ext/ux/Spinner.js | JavaScript | gpl-3.0 | 12,378 |
const IS_TOUCH = typeof window !== 'undefined' && (('ontouchstart' in window) || window.DocumentTouch && document instanceof window.DocumentTouch)
export default class Drag {
constructor (element) {
this.el = element
this.startPos = {}
this.endPos = {}
this.starts = []
this.drags = []
this.end... | YoZiLin/wukongss | wukongss-html/src/muse-components/utils/drag.js | JavaScript | gpl-3.0 | 3,591 |
import { Template } from "meteor/templating";
import { localeDep, i18nextDep } from "./main";
import { formatPriceString } from "./currency";
import { Reaction, Logger, i18next } from "/client/api";
/**
* i18n
* see: http://i18next.com/
* pass the translation key as the first argument
* and the default message as... | bradleywiebe2/sleepy-tundra | client/modules/i18n/helpers.js | JavaScript | gpl-3.0 | 2,840 |
"use strict";
var SHOW_DATA = {
"venue_name": "Foxborough Stadium, Foxborough, Massachusetts",
"venue_id": 56,
"show_date": "14th of Jul, 1990",
"sets": [
{"set_title": "1st set",
"encore": false,
"songs": [
{"name": "Shakedown Street", "length":"12:48", "trans":"/"},
{"name": "Walkin' Blues", "lengt... | maximinus/grateful-dead-songs | gdsongs/static/data/shows/74.js | JavaScript | gpl-3.0 | 1,741 |
Ext.define('Hrproject.view.clouddrive.CloudDriveController', {
extend: 'Ext.app.ViewController',
requires : [ 'Hrproject.view.clouddrive.documentview.DocumentListView'
],
alias: 'controller.clouddrive',
drivedetails:null,
documentview:null,
driveNewFolder :null,
loadData:function(panel,eopts)
{
... | applifireAlgo/HR | hrproject/src/main/webapp/app/view/clouddrive/CloudDriveController.js | JavaScript | gpl-3.0 | 978 |
/*initialize data arrays*/
var nodesdata = new Array();
var edgesdata = new Array();
/*call to hypothesis api*/
$.getJSON("https://hypothes.is/api/search?tag=ETT", function (data) {
$.each(data.rows, function (i, item) {
/* TODO first take individual values of exact or not with a if selector. the node is ... | PietroLiuzzo/ETT | makegraph.js | JavaScript | gpl-3.0 | 4,634 |
/**
*
*/
function RepeatingVisualGameObject() {
this.width = 0;
this.height = 0;
this.scrollFactor = 1;
}
RepeatingVisualGameObject.prototype = new VisualGameObject();
RepeatingVisualGameObject.prototype.initRepeatingVisualGameObject = function(image, x, y, z, width, height, scrollFactor) {
this.initVisualG... | astorije/speed-away | starfish/RepeatingVisualGameObject.js | JavaScript | gpl-3.0 | 2,318 |
/*
* This file is part of ARSnova Mobile.
* Copyright (C) 2011-2012 Christian Thomas Weber
* Copyright (C) 2012-2021 The ARSnova Team and Contributors
*
* ARSnova Mobile 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 Softw... | thm-projects/arsnova-mobile | src/main/webapp/app/model/Feedback.js | JavaScript | gpl-3.0 | 2,735 |
/**
* jQuery EasyUI 1.3.6
*
* Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved.
*
* Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt
* To use it on other terms please contact us at info@jeasyui.com
*
*/
require('./parser');
require('./spinner');
(function($){
function _1(_2){
v... | cfansimon/jqui-seajs | timespinner.js | JavaScript | gpl-3.0 | 3,927 |
'use strict';
(function() {
//This handles the Settings tab
const fs = require("fs");
const path = require("path");
const dataAccess = require("../../lib/common/data-access");
const moment = require("moment");
const unzipper = require("unzipper");
const ncp = require("ncp");
angular
... | kateract/Firebot | gui/app/controllers/settingsController.js | JavaScript | gpl-3.0 | 18,733 |
import React, { Component, Fragment } from "react";
import PropTypes from "prop-types";
import classnames from "classnames";
import _ from "lodash";
import { Components } from "@reactioncommerce/reaction-components";
import { findCurrency } from "/client/api";
import { highlightVariantInput } from "/imports/plugins/cor... | anthonybrown/reaction | imports/plugins/included/product-variant/components/variantForm.js | JavaScript | gpl-3.0 | 28,075 |
/**
* Enigma plugin script
*
* @licstart The following is the entire license notice for the
* JavaScript code in this file.
*
* Copyright (c) The Roundcube Dev Team
*
* The JavaScript code in this page is free software: you can redistribute it
* and/or modify it under the terms of the GNU General Public Licen... | roundcube/roundcubemail | plugins/enigma/enigma.js | JavaScript | gpl-3.0 | 23,938 |
Template.studyGroupOnlineMembers.helpers({
onlineUsers: function(){
const onlineUsernames = Meteor.users.find({ "status.online": true }, { fields: { id: 1 }})
.fetch()
.map(m => m._id);
const studyGroup = StudyGroups.findOne({_id:FlowRouter.getParam('studyGroup... | codebuddiesdotorg/codebuddies | client/templates/study_groups/study_group_online_members.js | JavaScript | gpl-3.0 | 525 |
var searchData=
[
['casevide',['caseVide',['../classutilitaires_1_1_utilitaire_console.html#a0a8a70d43c8e2b088c61bd54426aa54e',1,'utilitaires::UtilitaireConsole']]],
['chercherelementproche',['chercherElementProche',['../classcontrole_1_1_strategie.html#a948276367808b670e3c7af06f951eac6',1,'controle::Strategie']]],... | Hunsu/L3Project | L3Project/DoxyGen-Doc/search/all_63.js | JavaScript | gpl-3.0 | 2,278 |
aq.page.feeRequests = {
'needKeys' : true,
'init' : function() {
var keys = aq.getStorage('keys');
var from = searchParam('from'), to = searchParam('to');
if(from === 'me') from = keys.primary;
if(to === 'me') to = keys.primary;
$('#feeRequests-from')[0].value = (from || '');
$('#feeRequests... | dev942/aquila | client/pageFee.js | JavaScript | gpl-3.0 | 8,611 |
/* */
"format global";
define(['ModernizrProto', 'testProps'], function(ModernizrProto, testProps) {
/**
* testProp() investigates whether a given style property is recognized
* Property names can be provided in either camelCase or kebab-case.
*
* @memberof Modernizr
* @name Modernizr.testProp
* @a... | GreatWorksCopenhagen/gw-xmascard | src/lib/bower/modernizr@3.2.0/src/testProp.js | JavaScript | gpl-3.0 | 1,418 |
if (JSINFO.LoadNewsTicker) {
/* DOKUWIKI:include js/jquery.newsTicker-1.0.11.min.js */
}
/**
* We handle several device classes based on browser width.
*
* - desktop: > 1201px
* - mobile:
* - tablet >= 544px
* - phone <= 543px
* And a special state when ToC and/or Sidebar are "extracted"
*... | geekitude/dokuwiki-template-mixture | script.js | JavaScript | gpl-3.0 | 7,376 |
var interrupt={
step: function(addr){
if ((MEMORY[0xFFFF]&0x01)&&(MEMORY[0xFF0F]&0x01)){
interrupt.vBlankInt();
}else if((MEMORY[0xFFFF]&0x02)&&(MEMORY[0xFF0F]&0x02)){
interrupt.lcdStatInt();
}else if((MEMORY[0xFFFF]&0x04)&&(MEMORY[0xFF0F]&0x04)){
interrupt.timerInt();
}else if((MEMORY[0xFFFF]&... | dgibb/MOES | Emulators/src/GB/interrupt.js | JavaScript | gpl-3.0 | 1,480 |
import $ from 'jquery'
import React from 'react';
import gql from 'graphql-tag';
import {graphql} from 'react-apollo';
import moment from 'moment';
import {Link} from 'react-router';
import scrollToElement from 'scroll-to-element';
let Home = React.createClass({
componentDidMount(){
require('../assets/css/main.c... | rendact/rendact | addons/themes/overflow/layouts/Home.js | JavaScript | gpl-3.0 | 4,045 |
var uid = 0;
var FeedTable = {
createRow: function(message, imageSrc, page, done) {
Facebook.getName(page, function (name) {
Facebook.getProfilePicture(page, function(picUrl) {
var newItem = ['<div class="','"><div><div style="width: 100%; overflow: hidden;"><div style=... | transparenciaunicamp/transparenciaunicamp-app | Nos/Nos/www/js/table.js | JavaScript | gpl-3.0 | 658 |
Joomla 3.3.3 = fc8a173b99304b765757840ad3bf112b
Joomla 3.6.4 = 9799dd341c8ad1495fbb10532582e760
Joomla 3.2.3 = 60a1e89ca7095bee9f8a5ab193f303db
Joomla 3.5.1 = 4ad48029ceca76c1de8dd9e37a2d4e09
| gohdan/DFC | known_files/hashes/media/editors/tinymce/plugins/visualblocks/plugin.min.js | JavaScript | gpl-3.0 | 192 |
/**
* Template Name: Outlook Pro
* Version: 1.0
* Template Scripts
* Author: WpFreeware
* Author URI: https://www.wpfreeware.com
Custom JS
1. HEADER
2. MENU SMOOTH SCROLLING
3. PRELOADER
4. SCROLL TOP BUTTON
5. HOVER DROPDOWN MENU
6. MOBILE MENU CLOSE
7. RETINA SUPPORT
**/
(function( $ ){
"us... | wpfreeware/outlook-lite | js/custom.js | JavaScript | gpl-3.0 | 7,742 |
Ext.define('MoMo.admin.model.Application', {
extend: 'MoMo.admin.model.Base',
proxy: {
type: 'rest',
url: BasiGX.util.Url.getWebProjectBaseUrl() + 'rest/momoapps',
headers: BasiGX.util.CSRF.getHeader(),
writer: {
type: 'json',
transform: function(data, re... | KaiVolland/momo3-admin | app/model/Application.js | JavaScript | gpl-3.0 | 1,272 |
{"windows":[{"tabs":[],"selected":0,"_closedTabs":[],"busy":false,"width":1366,"height":768,"screenX":0,"screenY":0,"sizemode":"normal"}],"selectedWindow":1,"_closedWindows":[],"session":{"lastUpdate":1473617952848,"startTime":1473617929983,"recentCrashes":0},"global":{}} | anilmainali/UISamples | UI01/UI01_Menu_TCFF1253_v01/profiles/interactive/sessionstore-backups/recovery.js | JavaScript | gpl-3.0 | 272 |
// ej4.10
function cabeceras() {
for (let i = 1; i <= 6; i++) {
document.write("<h" + i + ">Cabecera h" + i + "</h" + i + ">");
}
}
document.write("<br /><h1>Práctica del bucle for</h1>");
cabeceras();
// ej4.11
function pintarArray(blanca) {
let col = window.prompt("Introduce el número de columna... | IhToN/DWECliente | First Quarterly/Unit 1/Worksheet #5/codigo.js | JavaScript | gpl-3.0 | 7,413 |
$(function(){
var latlong = {};
latlong["AF"] = {'latitude':33,'longitude':65,'name':"Afghanistan"}
latlong["AL"] = {'latitude':41,'longitude':20,'name':"Albania"}
latlong["DZ"] = {'latitude':28,'longitude':3,'name':"Algeria"}
latlong["AS"] = {'latitude':-14.3333,'longitude':-170,'name':"American Samoa"}
latlong[... | madirish/hector | html/js/kojoneymap.js | JavaScript | gpl-3.0 | 17,717 |
'use strict';
angular.module('squirrel').controller('SidebarCtrl',
["$scope", "gettextCatalog", "sidebar", "$location", "debug", "$timeout",
function($scope, gettextCatalog, sidebar, $location, debug, $timeout) {
$scope.templateUrl = undefined;
$scope.toggleSidebar = function() {
sidebar.... | Stibbons/Squirrel | frontend/src.before/app/modules/sidebar/sidebar.controller.js | JavaScript | gpl-3.0 | 2,986 |
/*
* This file is the primary script, which is run on every page to inject html elements
* for tooltip display.
*
*/
var DEBUG = false;
function log(input, override) {
chrome.storage.local.get(['_DEVMODE'], function(data) {
if (data._DEVMODE || DEBUG || override) console.log("DOTATOOLTIPS:", input);
});
}
... | dgkf/DotaTooltips | dev/js/add_tooltips.js | JavaScript | gpl-3.0 | 21,348 |
/*
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( 'toolbar', 'bn', {
toolbarCollapse: 'Collapse Toolbar', // MISSING
toolbarExpand: 'Expand Toolbar', // MISSING
toolbarGroups: {
... | ernestbuffington/PHP-Nuke-Titanium | includes/wysiwyg/ckeditor/plugins/toolbar/lang/bn.js | JavaScript | gpl-3.0 | 616 |
var __v=[
{
"Id": 33,
"Tag": 4,
"Name": "javascript",
"Sort": 0
}
] | zuiwuchang/king-document | data/tags/4.js | JavaScript | gpl-3.0 | 84 |
define(["wc/array/toArray",
"wc/dom/attribute",
"wc/dom/event",
"wc/dom/focus",
"wc/dom/formUpdateManager",
"wc/dom/initialise",
"wc/dom/shed",
"wc/dom/tag",
"wc/dom/Widget",
"wc/ui/ajaxRegion",
"wc/timers",
"wc/ui/ajax/processResponse",
"wc/ui/rowAnalog",
"wc/ui/table/common",
"wc/ajax/triggerManager",
... | jonathanaustin/wcomponents | wcomponents-theme/src/main/js/wc/ui/table/rowExpansion.js | JavaScript | gpl-3.0 | 15,949 |
(() => {
app.service('VizService', ['$http', 'PostService', function ($http, PostService) {
const self = this;
function _countUniqueElements(arr) {
var tags = [], count = [], prev;
arr.sort();
for (var i = 0; i < arr.length; i++) {
if (arr[i] !=... | luciannojunior/cidadania-de-bolso | web-client/js/service/VizService.js | JavaScript | gpl-3.0 | 1,709 |
var searchData=
[
['readfile',['readFile',['../iofile_8c.html#aec03413f45715232ccc4b277700b6a1e',1,'readFile(char *filePath): iofile.c'],['../iofile_8h.html#aec03413f45715232ccc4b277700b6a1e',1,'readFile(char *filePath): iofile.c']]],
['readme_2emd',['README.md',['../_r_e_a_d_m_e_8md.html',1,'']]]
];
| crisferlop/DNASequenceAlignment | doc/html/search/all_d.js | JavaScript | gpl-3.0 | 316 |
/* ==========================================================
* Popup.js v2.0.0
* ==========================================================
* Copyright 2012 xsokev
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obt... | CCAFS/Analogues-Platform | js/dojobootstrap/PopupBase.js | JavaScript | gpl-3.0 | 10,848 |
var searchData=
[
['gamestate',['gameState',['../class_game.html#a8e9005ad798afc264e1cdcf7e9638c19',1,'Game']]]
];
| trew/LawyerRace | doc/html/search/variables_67.js | JavaScript | gpl-3.0 | 117 |
var $ = require('jquery');
var vent = require('./vent');
module.exports = {
ConfigNamespace : 'Radarr.',
Events : {
ConfigUpdatedEvent : 'ConfigUpdatedEvent'
},
Keys : {
DefaultProfileId : 'RadarrDefaultProfileId',
DefaultRootFolderId : 'RadarrDefaultRootFolderId',
... | jamesmacwhite/Radarr | src/UI/Config.js | JavaScript | gpl-3.0 | 2,098 |
CATEGORIES = [
'Cineclube',
'Coletivo',
'Organização Social',
'Universidade',
'Escola Pública',
'Escola Privada',
'Instituição Governamental',
'Espaços e Centros Culturais',
'Equipamento Público',
'Mídia/Blog/Site',
'Formador de Opinião/Especialista',
'Empresa',
'Grupo Religioso',
'Parque',
... | nucleo-digital/plataforma-taturana | lib/film-form-data.js | JavaScript | gpl-3.0 | 995 |
import { connect } from 'react-redux';
import GameMovesPanelComponent from '../../../components/game/sidebar/GameMovesPanelComponent';
function mapStateToProps(state) {
return {
game: state.game.game,
moves: state.game.moves
};
}
export default connect(mapStateToProps)(GameMovesPanelComponent);
| johndiiorio/bughouse | src/client/app/containers/game/sidebar/GameMovesPanelContainer.js | JavaScript | gpl-3.0 | 304 |
var expect = require('chai').expect;
const vpcEndpointExposed = require('./vpcEndpointExposed');
const vpcEndpoints = [
{
"VpcEndpointId": "vpce-004441c67cb8fb7f7",
"VpcEndpointType": "Gateway",
"VpcId": "vpc-99de2fe4",
"ServiceName": "com.amazonaws.us-east-1.s3",
"State": "... | cloudsploit/scans | plugins/aws/ec2/vpcEndpointExposed.spec.js | JavaScript | gpl-3.0 | 4,341 |
(function (angular) {
var NAME = 'binAction';
angular.module('angularx')
.component(NAME, new BinActionComponent());
function BinActionComponent() {
this.templateUrl = 'bin-action.html';
this.bindings = {
danger: '@?' + NAME + 'Danger',
iconClass: '@?' + NAM... | binarta/angularx.js | src/components/bin-action/bin-action.js | JavaScript | gpl-3.0 | 2,350 |
describe('AnswerOptionFactory', function() {
var Mock = {};
var option;
var factory;
Mock.VALUE = 1;
Mock.EXTRACTION_VALUE = '.extractionValue';
beforeEach(function() {
angular.mock.module('otusjs');
mockJsonObject();
inject(function(_$injector_) {
mockQuestion(_$injector_);
fa... | ccem-dev/otus-model-js | tests/unit/survey-item/model/question/answer-option-question/answer-option-factory-spec.js | JavaScript | gpl-3.0 | 3,652 |