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 addShape(name, shape, color, x, y, z, rx, ry, rz, s) { var ROOT = this; ROOT.group = new THREE.Group(); var geometry = new THREE.ShapeGeometry(shape); var material = new THREE.MeshBasicMaterial({ color: color, overdraw: 0.5 }); ROOT.mesh = new THREE.Mesh...
zlatnaspirala/visualjs
project/project_instance_webgl/lib/addShape.js
JavaScript
gpl-3.0
1,063
turingApp.controller('TurMLDataGroupDataCtrl', [ "$scope", "$stateParams", "$state", "$rootScope", "$translate", "vigLocale", "turMLDataGroupDataResource", "$uibModal", function($scope, $stateParams, $state, $rootScope, $translate, vigLocale, turMLDataGroupDataResource, $uibModal) { $scope.vig...
openviglet/turing
src/main/resources/public/js/build/extract/feature/ml/data/group/data/TurMLDataGroupDataCtrl.js
JavaScript
gpl-3.0
1,229
// ==UserScript== // @name Includes : Neopets : Shop [CONTINUATION] // @namespace http://gm.wesley.eti.br // @author w35l3y // @email w35l3y@brasnet.org // @copyright 2012+, w35l3y (http://gm.wesley.eti.br) // @license GNU GPL // @homepage http://gm.wesley.eti.br/includ...
saitodisse/userscripts
backup/125310.user.js
JavaScript
gpl-3.0
8,468
/* Copyright 2008 (C) Nicira, Inc. This file is part of NOX. NOX 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. NOX is distributed...
bigswitch/snac-nox
src/nox/apps/directory/static_www/directorymanagerws/UserGroup.js
JavaScript
gpl-3.0
2,119
// This file was automatically generated. Do not modify. 'use strict'; goog.provide('Blockly.Msg.ca'); goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "Afegeix un comentari"; Blockly.Msg.CHANGE_VALUE_TITLE = "Canvia valor:"; Blockly.Msg.CLEAN_UP = "Clean up Blocks"; // untranslated Blockly.Msg.COLLAPSE_ALL...
zggdfsccnzcgy/SCNUOJ
web/blockly/msg/js/ca.js
JavaScript
gpl-3.0
31,460
// @flow import type { MatchConfig } from '../MatchConfig'; import type { MatchState } from '../MatchState'; import type { TransitionType } from '../TransitionType'; /** * Player has earned a card from capturing territories and is one or more card * that can be drawn. */ export default function HasEarnedCard( con...
matthewspivey/warcode-core
src/transitions/HasEarnedCard.js
JavaScript
gpl-3.0
515
var searchData= [ ['score',['Score',['../class_score.html',1,'']]], ['shape',['Shape',['../class_shape.html',1,'']]], ['shapefactory',['ShapeFactory',['../class_shape_factory.html',1,'']]] ];
kevin-barbier/js-bricks
doc/html/search/classes_9.js
JavaScript
gpl-3.0
198
/*jslint unparam: true, white: true, browser: true, devel: true */ // -------------------------------------------------------------------------------------------------------------------- // <copyright file="bcms.pages.redirects.js" company="Devbridge Group LLC"> // // Copyright (C) 2015,2016 Devbridge Group LLC // /...
devbridge/BetterCMS
Modules/BetterCms.Module.Pages/Scripts/bcms.pages.redirects.js
JavaScript
gpl-3.0
6,801
var App = angular.module("App", ["ionic"]); App.service("ChileBitBook", ["$http","$log", ChileBitBook]); App.controller("AppCtrl", ["$scope", "ChileBitBook", "$log", AppCtrl]); function AppCtrl($scope, ChileBitBook, $log){ $scope.Bids = []; $scope.Asks = []; $scope.updateBook = function(){ ChileB...
chilebit/chilebit.github.io
cotizacion/js/app.js
JavaScript
gpl-3.0
1,205
/** * Adds a .btn-confirm class that will prompt for confirmation before completing an action * Attributes: * data-confirm-text: the message displayed in the confirmation dialog * data-after-confirm: the js that will be evaled after successful confirmation * * Example * <a href="/profile" * class="...
Darunada/namechangr
resources/js/components/btn-confirm.js
JavaScript
gpl-3.0
1,096
function localStoragePolyFill() { function createCookie(name, value, days) { var expires; if (days) { var date = new Date(); date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000)); expires = "; expires=" + date.toGMTString(); } else { expires = ""; } document.cookie = ...
mmagr/gui
src/js/polyfills/localStorage.js
JavaScript
gpl-3.0
2,699
/* * Participants Database Aux Plugin settings page support * * sets up the tab functionality on the plugin settings page * * @version 1.1 * */ PDbAuxSettings = (function ($) { var tabsetup; var wrapped; var wrapclass; var effect = { effect : 'fadeToggle', duration : 200 }; const lastTab =...
xnau/pardibee
js/aux_plugin_settings.js
JavaScript
gpl-3.0
2,434
var Serial = require('serialport'); function scan (pattern, cb) { if (!cb) { cb = pattern; pattern = 'DexCom_Gen4_USB'; } var opt = {baudRate: 9600}; Serial.list(scanned); function scanned (err, list) { var candidates = list.map(function (el) { if (el && el.pnpId) { if (el.pnpId.match(patter...
bewest/dexcom-uart
utils/scan.js
JavaScript
gpl-3.0
466
import {findNode, processNode} from 'utils/common'; import {setFileInputData, initSearch, sendReceipt} from 'utils/engines'; const engine = 'tmview'; async function search({session, search, image, storageIds}) { // previous search may be cached processNode( '.image-remove button', function (node) { ...
dessant/search-by-image
src/engines/tmview.js
JavaScript
gpl-3.0
860
/*! * jquery.counterup.js 1.0 * * Copyright 2013, Benjamin Intal http://gambit.ph @bfintal * Released under the GPL v2 License * * Date: Nov 26, 2013 * * Modified: dependency to inview js instead of Waypoint */ (function(e){"use strict";e.fn.counterUp=function(t){var n=e.extend({time:400,delay:10},t);return this.each(f...
ScriptGadget/spotbot
html/js/jquery.counterup.min.js
JavaScript
gpl-3.0
1,099
var __v=[ { "Id": 1556, "Panel": 853, "Name": "TP", "Sort": 0, "Str": "" }, { "Id": 1557, "Panel": 853, "Name": "anti-anti", "Sort": 0, "Str": "" } ]
zuiwuchang/king-document
data/panels/853.js
JavaScript
gpl-3.0
188
/* Copyright 2008 (C) Nicira, Inc. This file is part of NOX. NOX 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. NOX is distributed...
bigswitch/snac-nox
src/nox/apps/coreui/static_www/coreui/_ItemSort.js
JavaScript
gpl-3.0
3,585
"use strict";jQuery.noConflict();function gs_search_topics_site_homepage(){var b="#gs-search-topic-site-home-search",a=null; a=GSSearch(b,"/s/search.ajax",0,10,{mg:"1"},null);jQuery("#gs-site-home-activity-tabs li:first-child a").click(); a.load()}jQuery(document).ready(function(){gsJsLoader.with_module("/++resource++g...
e-democracy/edem.search.topic
edem/search/topic/browser/javascript/loadtopic-min.js
JavaScript
gpl-3.0
389
'use strict'; var execSync = require('child_process').execSync; function releaseTime(packageName) { var cmd = 'yarn info ' + packageName + ' time --json'; var stdout = null; try { stdout = execSync(cmd); } catch(e) { process.stderr.write('Failed to run: ' + cmd + '\n'); process.stderr.write(error....
sbleon/libyear-yarn
lib/release-time.js
JavaScript
gpl-3.0
564
var path=require('path'); var configuration=require("config-tea"); var serviceFactory=require("../lib/server/serviceFactory"); describe("service section handler", function(){ beforeAll(function(){ var manager=configuration.ConfigurationManager; manager.initFromFile(path.resolve(__dirname, "./...
PerficientGDC-NR/Node-College
projects/JCommunicator/spec/serviceSectionHandler_spec.js
JavaScript
gpl-3.0
463
module.exports = require('./webpack.common');
greizgh/Phashword
webpack.dev.js
JavaScript
gpl-3.0
46
$(document).ready(init); function init() { block(); $('form select').select2({ width: "100%" }); // Only numeric fields $('.deliveryYear').integerInput(); // event to filter the deliverables subtypes $(".capdevDeliverableType").on("change", changeDeliverableType); } var $supportDocsList = $('tab...
CCAFS/MARLO
marlo-web/src/main/webapp/crp/js/capDev/supportingDocuments.js
JavaScript
gpl-3.0
3,905
tinymce.PluginManager.add('filemanager',function(editor){function openmanager(){var win,data,dom=editor.dom,imgElm=editor.selection.getNode();var width,height,imageListCtrl;win=editor.windowManager.open({title:'File Manager',file:tinyMCE.baseURL +'/plugins/filemanager/dialog.php?editor='+editor.id+'&lang='+tinymce.sett...
tarsodecastro/geradoc
js/tinymce/plugins/filemanager/plugin.min.js
JavaScript
gpl-3.0
667
/*global imports, print */ const Gtk = imports.gi.Gtk; const GObject = imports.gi.GObject; const ExtensionUtils = imports.misc.extensionUtils; const Me = ExtensionUtils.getCurrentExtension(); const Convenience = Me.imports.convenience; const Gettext = imports.gettext.domain('switcher'); const _ = Gettext.gettext; con...
daniellandau/switcher
prefs.js
JavaScript
gpl-3.0
11,809
'use strict'; /** * @ngdoc function * @name smartCityFrontEndApp.controller:IndAddressCtrl * @description * # SearchCtrl * Controller of the smartCityFrontEndApp */ angular.module('smartCityFrontEndApp') .controller('IndAddressCtrl', function ($scope, $rootScope) { $scope.displayedView = 0; $scope.anim...
Hexanonyme/PLD_SmartCity
Frontend/app/scripts/controllers/indAddress.js
JavaScript
gpl-3.0
922
function $_(selector) { return document.querySelector(selector); } function $_a(selector) { return document.querySelectorAll(selector); } function str_to_element(text) { var div = document.createElement("div"); div.innerHTML = text; return div.firstChild; }
egebilecen/python-websocket-server
examples/simple-online-chat/js/main.js
JavaScript
gpl-3.0
280
export { default as Bullet } from './bullet.js'; export { default as Player } from './player.js'; export { default as Weapon } from './weapon.js';
AB-Web-Games/start
src/models/index.js
JavaScript
gpl-3.0
147
function APIError({ok, error, needed, provided}) { this.name = error this.message = '' switch(error) { case 'missing_scope': this.message = `Add scopes: ${needed}` break case 'invalid_auth': this.message = 'This token is invalid' break case 'token_revoked': this.message =...
nakajmg/SlackStatusChanger
APIError.js
JavaScript
gpl-3.0
553
/* Parameters: index: n’th occurrence of the specified day 1 - first 2 - second 3 - third 4 - fourth 5 - fifth 6 - last day: daynumber – javascript way where sunday is 0 and is saturday is 6 month: which is 1-12 [optional – defaults to current] year: Full year – four digits [optional – defaults to current] var ...
dasower/nthday.js
nthday.js
JavaScript
gpl-3.0
2,587
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _keys = require('babel-runtime/core-js/object/keys'); var _keys2 = _interopRequireDefault(_keys); var _promise = require('babel-runtime/core-js/promise'); var _promise2 = _interopRequireDefault(_promise); exports.default = touchA...
Cy6erlion/wharica
node_modules/webdriverio/build/lib/commands/touchAction.js
JavaScript
gpl-3.0
10,954
/** * GaiaEHR (Electronic Health Records) * Copyright (C) 2013 Certun, LLC. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any la...
gaiaehr/gaiaehr
app/model/areas/PoolArea.js
JavaScript
gpl-3.0
1,133
var dir_5cd59005dcaf1c2fb34106390b8ffe09 = [ [ "bmp085.c", "bmp085_8c.html", "bmp085_8c" ] ];
axillent/stavr
doxygen/html/dir_5cd59005dcaf1c2fb34106390b8ffe09.js
JavaScript
gpl-3.0
97
/** * Created by jcchoiling on 2/1/2017. */ b = function(){ $.extend({ 'func2': function(arg){ console.log('func: '+arg); } }); function f1(){ } }; b();
jcchoiling/learningPython
s13/Day17/practice/jq/extend2.js
JavaScript
gpl-3.0
201
/** * Created by xiyuan on 17-6-5. */ vOn(function ($app) { $app.directive('v-on', { priority:100, //属性作用域 props: function (expStr,expInfo) { var vnode=this.vnode, oldEventFn; return [ { exp:expStr, ...
jiyi1990118/frame-core
project/comm/directive/comm/v-on.js
JavaScript
gpl-3.0
662
let MenuService = ($resource, API_URL) => { 'ngInject'; return $resource(API_URL+'/api/menu/:menuId', {menuId: '@_id'}) }; export default MenuService
BreakOutEvent/breakout-cms
app/api/menuService.js
JavaScript
gpl-3.0
154
var teamOperations = { getSavedTeams: function () { var savedTeams = []; for (var key in localStorage) { if (localStorage.hasOwnProperty(key)) { var teamName = key.match(/^team::(.+)$/); if (teamName !== null) { savedTeams.push(teamName...
giero/LGoH-deck-suggester
js/team_operations.js
JavaScript
gpl-3.0
4,677
Ext.define('visiomatic.comment.CommentsPosition',{ extend: 'Ext.Panel', requires:[ 'Ext.grid.feature.Grouping', 'Ext.form.field.HtmlEditor', 'Ext.ux.PreviewPlugin', 'Ext.window.Toast', 'visiomatic.comment.CommentsPositionModel', 'visiomatic.comment.CommentsPositi...
linea-it/dri
frontend/packages/local/visiomatic/src/comment/CommentsPosition.js
JavaScript
gpl-3.0
7,620
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/fractal/layouts/Single.js
JavaScript
gpl-3.0
2,505
import $ from "jquery"; $(function(){ $("#mobile-trigger").on("click", function(event){ event.preventDefault(); $("body").toggleClass("sidebar-visible"); }); });
skaes/logjam_core
app/assets/javascripts/logjam-mobile.js
JavaScript
gpl-3.0
176
// // hotkey handling and remapping. // // // import {createMask, runAction} from './wings3d.js'; const keyMap = new Map; function runHotkeyAction(mode, event) { // extract alt, ctrl, shift key const meta = createMask(event.altKey, event.ctrlKey, event.shiftKey); // extract key const hotkey = event.key.t...
lingochen/wings3d
html/js/wings3d_hotkey.js
JavaScript
gpl-3.0
1,350
/* * Sudoku Generator * v0.2 * * Copyright (c) 2010, David J. Rager * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright not...
light24bulbs/sudoku
public/libs/sudokugen.js
JavaScript
gpl-3.0
31,921
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.ensureInstance = ensureInstance; var _host = require('./host'); var _fs = require('fs'); var fs = _interopRequireWildcard(_fs); var _path = require('path'); var path = _interopRequireWildcard(_path); var _lodash = require('l...
dasaki-gr/angular2-coder
node_modules/awesome-typescript-loader/dist.babel/instance.js
JavaScript
gpl-3.0
14,903
/* * jsCow.components - jsCow extention - JavaScript Library * http://www.gelight-tec.de/ * * Copyright 2011, Mario Linz * http://www.gelight-tec.de/gui/license * * Date: April 04 22:00:00 2011 */ /** &Uuml;ber das Object "component" kann eine neue Instanz einer registrierten Komponente geholt bzw. erzeugt wer...
jsCow/jscow-builder
__backup__/__Backup__1.0.0__/jscow.components.js
JavaScript
gpl-3.0
56,586
Joomla 3.3.3 = a1fb7849ead53b3133513fbad848b4ba Joomla 3.6.4 = aaecc3182b565dd36a0ec82519d63a62 Joomla 3.2.1 = b2e77f60ce752902efc1d40a4ff702ba Joomla 3.2.7 = bd0b0f68e47701c5f6fc85caefab458a Joomla 3.4.8 = 25917fb0c34e22440af7f5814b8744af Joomla 3.5.1 = f8f778255e55dd60d752f86dde857e97 Joomla 3.7.0 = 815d90d0b7389f301...
gohdan/DFC
known_files/hashes/media/editors/tinymce/plugins/anchor/plugin.min.js
JavaScript
gpl-3.0
336
H.record = { maxRecord: parseInt($('.record-box').attr('max-record')) || 5, recordTime: parseInt($('.record-box').attr('record-time')) || 60, recordInitTimer: 15, recordInitFlag: null, recordDom: null, localId: null, serverIdList: [], countdownFlag: null, barFlag: null, init: fun...
seedui/edu
js/app/review-ac.js
JavaScript
gpl-3.0
28,410
/*jshint esversion: 6*/ export default class BaseTask { constructor(obj) { for (let prop in obj) { this[prop] = obj[prop]; } if (!this.name) this.name = 'default'; if (!this.deps) this.deps = ''; } }
michaelkornblum/clockwork
gulp_modules/classes/BaseTask.js
JavaScript
gpl-3.0
228
/*! * Config For UZ * Power by FIS3 * https://github.com/gavinning/aimee * * Aimee-app * Date: <%= time %> */
gavinning/aimee-cli
template/js/uzconfig.js
JavaScript
gpl-3.0
117
MODX Evolution 1.0.5 = 20a76a48f4b845d16315829fc3249d80
gohdan/DFC
known_files/hashes/assets/plugins/tinymce/jscripts/tiny_mce/themes/simple/editor_template_src.js
JavaScript
gpl-3.0
56
// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors // License: GNU General Public License v3. See license.txt frappe.provide("erpnext.accounts"); {% include 'erpnext/public/js/controllers/buying.js' %}; erpnext.accounts.PurchaseInvoice = erpnext.buying.BuyingController.extend({ setup: function(doc...
ahmadRagheb/goldenHR
erpnext/accounts/doctype/purchase_invoice/purchase_invoice.js
JavaScript
gpl-3.0
9,783
/* This file is part of CaptureTheData! Copyright (c) 2011, Bobbie Smulders Contact: mail@bsmulders.com GNU General Public License Usage This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in the...
bsmulders/CaptureTheData
ctdapp/ctd/view/GpsSpeedWindow.js
JavaScript
gpl-3.0
1,129
'use strict'; var app = require('../..'); import request from 'supertest'; var newMoviemapping; describe('Moviemapping API:', function() { describe('GET /api/moviemappings', function() { var moviemappings; beforeEach(function(done) { request(app) .get('/api/moviemappings') .expect(2...
ParvBhardwaj/movie-mela
server/api/moviemapping/moviemapping.integration.js
JavaScript
gpl-3.0
3,643
var searchData= [ ['rainbowrow_5fleft',['rainbowrow_left',['../group__deployment.html#ga61c28c043183f54a51db2a5175940b86',1,'rainbowrow_left():&#160;rainbow.ino'],['../group__rainbow.html#gad4e8497757364dbc8187298bd87acc44',1,'rainbowrow_left():&#160;rainbow.ino']]], ['rainbowrow_5fright',['rainbowrow_right',['../g...
copyrights/b-car
doc/html/search/variables_8.js
JavaScript
gpl-3.0
944
var classvm = [ [ "SandBox", "d0/d0a/classvm.html#a8e842bfbf905fcd1ef830b1074f59a34", null ] ];
xushiwei/fibjs
docs/d0/d0a/classvm.js
JavaScript
gpl-3.0
99
'use strict'; import { writable, derived } from "svelte/store"; export const McuBootCount = writable(0); export const McuErrorMask = writable(0); export const McuGitTagNames = writable([]); export const McuFirmwareVersion = writable(""); export const McuChipId = writable(""); export const McuFirmwareBuildDate = writab...
zwiebert/tronferno-mcu
comp/app/app_webapp/njs/src/store/mcu_firmware.js
JavaScript
gpl-3.0
1,129
Wordpress 4.5.3 = 24c29760815a7dc701c4fd4401804d93 Wordpress 3.4.2 = 3211fa8ad9b5ff52a438e30c3b7c2998
gohdan/DFC
known_files/hashes/wp-includes/js/colorpicker.js
JavaScript
gpl-3.0
102
'use strict' // Loading configuration const dotenv = require('dotenv').config({ path: 'config.env' }) // Carregar base de dados const escolas = require('./db/escolas.json') // Busca Fuzzy const Fuse = require('fuse.js') const fuse_options = { shouldSort: true, threshold: 0.6, location: 0, distanc...
silvawillian/tia-ro-bot-prefeitura-sp
index.js
JavaScript
gpl-3.0
8,240
define("ace/snippets/vbscript",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="vbscript"}); (function() { window.require(["ace/snippets/vbscript"], function(m) { if (typeof module == "object" && typeof exports == "o...
jimmy201602/webterminal
static/plugins/ace/snippets/vbscript.js
JavaScript
gpl-3.0
472
define([ './_Node' , 'Atem-MOM/errors' , './validators' , './PenStrokeLeft' , './PenStrokeRight' ], function( Parent , errors , validators , PenStrokeLeft , PenStrokeRight ) { "use strict"; var DeprecatedError = errors.Deprecated; /** * This Element represents a point of a of ...
graphicore/Atem-MOM
lib/MOM/PenStrokeCenter.js
JavaScript
gpl-3.0
3,346
function getXMLHttp() { var xmlHttp; try { xmlHttp = new XMLHttpRequest(); } catch(e) { //Internet Explorer is different than the others try { xmlHttp = new ActiveXObject("Msxml2.XMLHTTP"); } catch(e) { try { xmlHttp = new ActiveXObject("Microsoft.XMLHTTP"); } catch(e) { alert("Old browser? Upgrade today so you can use...
abrandao/lab
studies/learn-php-7/Example Code Files/chapter2/e21Ajax_Example_JavaScript.js
JavaScript
gpl-3.0
704
'use strict'; var common = require('../common'); var path = require('path'); var assert = require('assert'); try { require(path.join(common.fixturesDir, 'invalid.json')); } catch (err) { var re = /test[/\\]fixtures[/\\]invalid.json: Unexpected string/; var i = err.message.match(re); assert.notStrictEqual(null,...
TrossSoftwareAndTech/webvt
lib/node-v7.2.0/test/parallel/test-require-json.js
JavaScript
gpl-3.0
371
/// 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.2/15.2.3/15.2.3.10/15.2.3.10-3-4.js
JavaScript
gpl-3.0
788
'use strict'; // Modules const _ = require('lodash'); const LandoApiClient = require('./../lib/api'); module.exports = lando => { // Get the API client const api = new LandoApiClient(lando.log); // Return the task return { command: 'contrib:remove', level: 'tasks', describe: 'Removes a Lando Contr...
kalabox/lando
plugins/lando-alliance/tasks/contrib-remove.js
JavaScript
gpl-3.0
933
SIN.setCookie = function (key, value, options) { options = options || {}; value = value || ''; if (typeof options.expires === 'number') { var ms = options.expires * 1000 * 60 * 60 * 24; options.expires = new Date(Date.now() + ms); } document.cookie = [ encodeURIComponent(ke...
sin/sin
src/cookies.js
JavaScript
gpl-3.0
1,307
import Adapt from 'core/js/adapt'; import McqView from './McqView'; import McqModel from './McqModel'; export default Adapt.register('mcq', { model: McqModel, view: McqView });
adaptlearning/adapt-contrib-mcq
js/adapt-contrib-mcq.js
JavaScript
gpl-3.0
182
blm.actions.Enochian = function(observers) { var action = observers.actionObserver.action; var multiplier = jobActions.utils.calculateDamageBuffs(observers.effectObserver.effects); var effects = observers.effectObserver.activeEffects(); indexOfAstralFire = observers.effectObserver.indexOf(blm.traits.AstralFire...
charles-shao/fc_website
app/assets/javascripts/simulator/actions/blm/spells/enochian.js
JavaScript
gpl-3.0
1,086
/** * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ ( function( bender ) { 'use strict'; bender.editorBot = function( tc, editor ) { this.testCase = tc; this.editor = editor; }; ben...
ernestbuffington/PHP-Nuke-Titanium
includes/wysiwyg/ckeditor/tests/_benderjs/ckeditor/static/bot.js
JavaScript
gpl-3.0
10,005
import { PolymerElement, html } from '../@polymer/polymer'; import { mixinBehaviors } from '../@polymer/polymer/lib/legacy/class.js'; import { Templatizer } from '../@polymer/polymer/lib/legacy/templatizer-behavior.js'; import { Whenever } from './src/whatever.js'; import { dom } from '../@polymer/polymer/lib/legacy/po...
bluewatertracks/bwt-datatable
bwt-datatable-column.js
JavaScript
gpl-3.0
12,056
"use strict"; const events = require("../events.js"); const defaultSettings = { listPosts: { safe: true, sketchy: true, unsafe: false, }, upscaleSmallPosts: false, endlessScroll: false, keyboardShortcuts: true, transparencyGrid: true, fitMode: "fit-both", tagSug...
rr-/szurubooru
client/js/models/settings.js
JavaScript
gpl-3.0
1,436
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'showblocks', 'ka', { toolbar: 'არეების ჩვენება' });
tsmaryka/hitc
public/javascripts/ckeditor/plugins/showblocks/lang/ka.js
JavaScript
gpl-3.0
256
import bodyParser from 'body-parser'; import express from 'express'; import morgan from 'morgan'; import mongoose from 'mongoose'; import path from 'path'; import passport from 'passport'; import reactEngine from 'express-react-engine'; import routers from './routers'; import './stores'; import settingsStore from './st...
rento19962/relax
lib/server/index.js
JavaScript
gpl-3.0
4,016
/** GaiaEHR (Electronic Health Records) Copyright (C) 2013 Certun, LLC. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. ...
chithubco/doctorapp
app/store/administration/PreventiveCareActiveProblems.js
JavaScript
gpl-3.0
1,126
(function() { var LocationSelector, __hasProp = {}.hasOwnProperty, __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); chil...
arout/halcyon
public/template/sing/assets/vendor/messenger/docs/welcome/javascripts/location-sel.js
JavaScript
gpl-3.0
1,846
'use strict'; var BankAccountInquiryPage = function() { browser.ignoreSynchronization = true; var page = this; this.pageElements = function() { page.account = element(by.name('bank_account')); page.dateFrom = element(by.name('TransAfterDate')); page.dateTo = element(by.name('TransToDate')); page...
cambell-prince/frontaccounting-wrapper
tests/e2e/banking/pages/bankAccountInquiry.page.js
JavaScript
gpl-3.0
1,535
var lastFocusedControlId = ""; function focusHandler(e) { if ((e.originalTarget != undefined) && (e.originalTarget != null)) { try { if (!e.originalTarget.focus) { e.originalTarget.focus = true; } } catch (err) { } } } function appInit() { i...
CCChapel/ccchapel.com
CMS/CMSScripts/RestoreLostFocus.js
JavaScript
gpl-3.0
1,961
(function (App) { 'use strict'; var apiUrl = 'http://vodo.net/popcorn', db = new Datastore(); function Vodo() { if (!(this instanceof Vodo)) { return new Vodo(); } App.Providers.Generic.call(this); } inherits(Vodo, App.Providers.Generic); function ...
Digitalbil/ButterMovies
src/app/lib/providers/vodo.js
JavaScript
gpl-3.0
5,060
'use strict'; var cheerio = require( 'cheerio' ); function isJsonString( data ) { try { JSON.parse( data ); } catch (e) { return false; } return true; } function parseArticles( html ) { var el = cheerio.load( html || '' ); var articles = el( 'article.badge-entry-container' );...
mquintal/9gag-feed
lib/http-parser.js
JavaScript
gpl-3.0
1,252
var $animText = $("#anim_text"); $animText.html( $animText.html().replace(/./g, "<span>$&</span>").replace(/\s/g, "&nbsp;")); //TweenMax.staggerFromTo( $animText.find("span"), 0.1, {autoAlpha:0}, {autoAlpha:1}, 0.1 ); $animText.find("span").each(function(){ TweenMax.fromTo(this, 2.5, {autoAlpha:0, rotation:rando...
RomaniukVadim/romaniukvadim.github.io
portfolio/works/old_page/js/main.js
JavaScript
gpl-3.0
644
CanyonRunner.NavigationHome = function (game) { this.advanceButton = null; }; CanyonRunner.NavigationHome.prototype = { create: function () { this.sound = this.game.add.audioSprite('sound'); //Show Navigation Supply Screen this.background = this.add.sprite(0, 0, 'sprites', 'navigation-home'); ...
zackproser/CanyonRunner
src/NavigationHome.js
JavaScript
gpl-3.0
2,655
// ********************************************************************** // // Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved. // // This copy of Ice is licensed to you under the terms described in the // ICE_LICENSE file included in this distribution. // // ***************************************************...
JohnCrash/voxel
server/lxnodemodules/LXSlices/LXGrid.App/Lottery/LXSliceLotteryDraw.js
JavaScript
gpl-3.0
4,682
/*globals define, document, module, ReadNES, window*/ (function (document, window, undefined) { "use strict"; var ReadNESshiv = { init: function () { ReadNES.vars.shiv = "../shiv/ReadNESshiv.php"; ReadNES.extend({ events: function () { var input = this.el.input; input.onchange = this.iframe;...
kevinselwyn/ReadNES.js
shiv/ReadNESshiv.js
JavaScript
gpl-3.0
1,659
import { getResource } from './../common.js' export const domain = '9now'; export const resource = { buttonClassName: 'vjs-control vjs-button', buttonHoverStyle: /** CSS */ (` filter: brightness(50%) sepia(1) hue-rotate(167deg) saturate(253%) brightness(104%); `), buttonInsertBefore: function(/** Element ...
amarcu5/PiPer
src/common/scripts/resources/9now.js
JavaScript
gpl-3.0
860
$(document).ready(function(){ /*$(document).click(function(event) { console.log(event); if ($(event.target).closest(".period-month").length) return; $(".period-month").addClass("hide"); event.stopPropagation(); });*/ /*$('.lm-subnav-stat-payment .search_user').click(...
Slaffka/moodel
blocks/lm_bank/js/admin.js
JavaScript
gpl-3.0
16,862
if (typeof ADX == "undefined" || !ADX) { var ADX = {}; } ADX.serviceMap = (function ($) { var _export = {}; var _elementId = ''; var _map = null; var _mapOptions = {}; var _infobox = null; var _searchActionURL = ""; _mapOptions = { credentials: ADX.settings.mapSettings.key, mapTypeId: Microsoft.Maps.MapTypeId...
nzkelvin/mrxrm
Adxstudio/MasterPortal/Areas/Service311/js/servicemap.js
JavaScript
gpl-3.0
14,314
/* meldung_show.js */ function showMeldung(olFeature) { onMeldungShowClose(); var feature = olFeature.clone(); var img = '<img id="meldung_details_icon" src="images/icons/' + feature.get("vorgangstyp") + '_' + feature.get("status") + '_layer.png"></img>'; var title = img + (feature.get("vorgangstyp...
bfpi/klarschiff-frontend2
javascripts/meldung_show.js
JavaScript
gpl-3.0
13,305
/// 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.4/15.4.4/15.4.4.21/15.4.4.21-9-c-i-19.js
JavaScript
gpl-3.0
1,472
// jslint configuration. Don't put spaces before 'jslint' and 'global'. /*jslint browser: true */ /*global $, window */ // Format the form. $(document).ready(function () { $('div#content').addClass('container'); // Bootstrap tooltip, not to be confused with jQuery tools tooltip. $('div.help_tooltip').tooltip(...
lizardsystem/lizard-damage
lizard_damage/static/lizard_damage/form.js
JavaScript
gpl-3.0
710
/*jslint browser: true*/ 'use strict'; //Fungsi untuk memudahkan buat Node function createNode(element) { return document.createElement(element); // Membuat tipe elemen yang dilewatkan melalui parameter }; //Fungsi untuk menambahkan sub node di bawah Node function append(parent, el) { return parent.appendChild...
meizano/lampung
js/transliterasiAksara.js
JavaScript
gpl-3.0
3,364
/* * Copyright 2013 Google Inc. All Rights Reserved. * 2015 Hauke Petersen <devel@haukepetersen.de> * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org...
haukepetersen/cosy
root/sunburst.js
JavaScript
gpl-3.0
11,491
/** * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.dialog.add( 'cellProperties', function( editor ) { var langTable = editor.lang.table, langCell = langTable.cell, langCommon =...
ernestbuffington/PHP-Nuke-Titanium
includes/wysiwyg/ckeditor/plugins/tabletools/dialogs/tableCell.js
JavaScript
gpl-3.0
15,369
setInterval(function () { update(); }, 1000); function update() { var currentdate = new Date(); var arrTime = [currentdate.getHours(),currentdate.getMinutes(),currentdate.getSeconds()]; //arrTime = [23,59,59]; var i = 0; var d = 1; do{ lightsOn(d, Math.floor(arrTime[i]/10)); lightsOn(d...
mpohl/linearWatch
js/main.js
JavaScript
gpl-3.0
792
var SSLYeah = require('../ssl-yeah.js'); const constants = require('../modules/constants.js'); var progressRefreshInterval = ''; //*************INIT**************// process.stdin.setEncoding('utf8'); var crawler = new SSLYeah(); crawler.on('crawlDone', conclude); //*************MAIN*************// if(process.argv[2...
guiweber/ssl-yeah
modules/cli.js
JavaScript
gpl-3.0
4,244
const Config = require('./Config'); module.exports = require('./' + Config.dal);
zkiiito/SURF
code/DAL.js
JavaScript
gpl-3.0
81
/* * This file is part of Saladay <https://www.crimx.com/rn-saladay/>. * Copyright (C) 2017 CRIMX <straybugs@gmail.com> * * Saladay is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 3 as * published by the Free Software Foundation. * * Saladay...
crimx/rn-saladay
dao/goal_lists.js
JavaScript
gpl-3.0
2,363
// ------------------------------------ // Off-Canvas Navigation // ------------------------------------ angular.module("risevision.common.header") .service("offCanvas", ["$window", function ($window) { var service = { visible: false, enabled: false }; service.enabl...
juggle21/sunsignage
web/bower_components/common-header/src/js/ui-components/off-canvas-nav.js
JavaScript
gpl-3.0
2,886
/* * Thickbox 3.1 - One Box To Rule Them All. * By Cody Lindley (http://www.codylindley.com) * Copyright (c) 2007 cody lindley * Licensed under the MIT License: http://www.opensource.org/licenses/mit-license.php */ $.noConflict(); // imagepath = images/thickbox/loadingAnimation.gif; var tb_pathToImage = " "; /...
aroramanish63/bulmail_app
js/thickbox.js
JavaScript
gpl-3.0
11,683
import React, { Component } from 'react' import { connect } from 'react-redux' import { addTodo } from '../actions/index' import { bindActionCreators } from 'redux' /*** REDUX AWARE ***/ class TodoList extends Component { renderList() { // since this is iterating, the todo is a single item from the overall array ...
verseatile/redux-almost
app/containers/old__TodoList.js
JavaScript
gpl-3.0
1,240
$.fn.countTo = function(a) { a = a || {}; return $(this).each(function() { var c = $.extend({}, $.fn.countTo.defaults, { from: $(this).data("from"), to: $(this).data("to"), speed: $(this).data("speed"), refreshInterval: $(this)....
david628/ued
src/assets/js/plugins/scrool/scrollNum.js
JavaScript
gpl-3.0
2,143
/** @odoo-module **/ import { insert, insertAndReplace, link } from '@mail/model/model_field_command'; import { afterEach, afterNextRender, beforeEach, dragenterFiles, start, } from '@mail/utils/test_utils'; QUnit.module('mail', {}, function () { QUnit.module('components', {}, function () { QUnit....
jeremiahyan/odoo
addons/mail/static/src/components/thread_view/tests/thread_view_tests.js
JavaScript
gpl-3.0
76,808
/* * Copyright (C) 2016 Kai Ryu <kai1103@gmail.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 * (at your option) any later version. * * Thi...
kairyu/tkg-chrome-app
background.js
JavaScript
gpl-3.0
7,729
// @flow 'use strict'; const grid = 12; // functions for correcting responsive sizes in bootstrap subgrids // determine size wanted based on size in function sizeIt(gridSize, sizeEle, sizeScreen = 'xs') { // determine outer size let outerSize = _getOuterSize(gridSize, sizeScreen); // subtract outer from this s...
Zealder/zealder-cms
sub-packs/themes/zealder-default-theme/src/helpers/subgrid.js
JavaScript
gpl-3.0
1,449