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
jsonp({"cep":"57600580","logradouro":"Travessa Zeca Paulo","bairro":"Alto do Cruzeiro","cidade":"Palmeira dos \u00cdndios","uf":"AL","estado":"Alagoas"});
lfreneda/cepdb
api/v1/57600580.jsonp.js
JavaScript
cc0-1.0
155
jsonp({"cep":"66065065","logradouro":"Vila Edir","bairro":"Condor","cidade":"Bel\u00e9m","uf":"PA","estado":"Par\u00e1"});
lfreneda/cepdb
api/v1/66065065.jsonp.js
JavaScript
cc0-1.0
123
jsonp({"cep":"97541480","logradouro":"Rua Simpl\u00edcio Jacques","bairro":"Vila Nova","cidade":"Alegrete","uf":"RS","estado":"Rio Grande do Sul"});
lfreneda/cepdb
api/v1/97541480.jsonp.js
JavaScript
cc0-1.0
149
// Compiled by ClojureScript 1.10.439 {} goog.provide('czm.core'); goog.require('cljs.core'); goog.require('geo.calc'); czm.core.VIEWER = (new Cesium.Viewer("cesiumContainer",({"imageryProvider": Cesium.createWorldImagery(), "terrainProvider": Cesium.createWorldTerrain(), "animation": false, "shouldAnimate": true}))); ...
rururu/simpro-scene
resources/public/js/drape/czm/core.js
JavaScript
epl-1.0
7,487
/* Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang("placeholder","ug",{title:"ئورۇن بەلگە خاسلىقى",toolbar:"ئورۇن بەلگە قۇر",name:"ئورۇن بەلگە ئىسمى",invalidName:"ئورۇن ئىگىلەش بەلگ...
wcadena/inventarioFinalApp
public/js/plugins/ckeditor/plugins/placeholder/lang/ug.js
JavaScript
epl-1.0
593
var goog = {structs: {PriorityPool: {prototype: {getObject: function(){}, setDelay: function(){}, disposeInternal: function(){}}}}}; var ZeroClipboard = {config: function(){}, prototype: {on: function...
nherzing/retroboard
externs.js
JavaScript
epl-1.0
384
$wnd.showcase.runAsyncCallback8("function YDb(){var a,b,c;b=new _7b;skc((HYb(),b.gb),LFc,'cwFlowPanel');for(c=0;c<30;c++){a=new O0b(XLc+c);pj(a.gb,'cw-FlowPanel-checkBox',true);k_b(b,a,b.gb)}return b}\nggb(751,1,dEc);_.sc=function cEb(){Rib(this.a,YDb())};SEc($n)(8);\n//# sourceURL=showcase-8.js\n")
JakaCikac/dScrum
web/WEB-INF/classes/gwt-2.6.0/samples/Showcase/war/showcase/deferredjs/16F46C5E820687612D12084B2DAFA684/8.cache.js
JavaScript
gpl-2.0
301
$(function(){ $(document).foundation(); /*$.ajax(ajax_script.ajaxurl, { method: 'GET', dataType: 'json', data: ({ action : 'test_action', name: 'esgy' }) }).done(function ( data ) { console.log(data); });*/ });
esgy/Verbiage
wp-content/themes/esgy-wp-boot/scripts/app.js
JavaScript
gpl-2.0
283
/** * @version $Id$ * @package phpmygpx * @copyright Copyright (C) 2011 Sebastian Klemm * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php */ /** * Class: OpenLayers.Layer.OSM.NearMap * * Inherits from: * - <OpenLayers.Layer.OSM> */ OpenLayers.Layer.OSM.NearMap = OpenLayers.Class(OpenLayers...
FOSMR/phpMyGPX-fosm
openlayers/NearMap.js
JavaScript
gpl-2.0
1,921
function SimplerReader(pFile, startPos, littleEndian) { // module to track position while reading binary data 'use strict'; this.pos = startPos; this.file = new DataView(pFile); this.littleEndian = littleEndian; this.readUint16 = function() { this.pos += 2; return this.file.getUint16(this.pos-2, t...
spacem/dntviewer
simplerreader.js
JavaScript
gpl-2.0
1,916
/*! EasyRecipe Plus 3.3.3077 Copyright (c) 2015 BoxHill LLC */ !function(e){tinymce.create("tinymce.plugins.EasyRecipeGuestPost",{init:function(t,n){n=n.replace(/js$/g,"images/"),t.onLoadContent.add(function(t,n){"mce_fullscreen"!==t.editorId&&e(window).trigger("guestpostloaded",[t,n])}),t.onSetContent.add(function(t,n...
Bakerpedia/Development_Site5
wp-content/plugins/easyrecipeplus/js/easyrecipe-guestpost-mce-4.0.20-min.js
JavaScript
gpl-2.0
795
/** * Blockly@rduino */ 'use strict'; /** * Override Blockly.makeColour to use Hexa or HUE */ Blockly.makeColour = function(color) { if (typeof color != 'string' || color.substring(0,1) != '#') { color = goog.color.hsvToHex(color, Blockly.HSV_SATURATION, Blockly.HSV_VALUE * 255); } return color; }; /** * C...
technologiescollege/Blockly-at-rduino_offline
wwwBlockly@rduino/core_BlocklyArduino/blockly@rduino.js
JavaScript
gpl-2.0
45,038
const ModLog = require("./../../Modules/ModerationLogging.js"); module.exports = (bot, db, config, winston, userDocument, serverDocument, channelDocument, memberDocument, msg, suffix) => { if(suffix) { let member, reason; if(suffix.indexOf("|")>-1 && suffix.length>3) { member = bot.memberSearch(suffix.substrin...
HilbertGilbertson/GAwesomeBot
Commands/Public/kick.js
JavaScript
gpl-2.0
1,195
var searchData= [ ['ord_5flf',['ORD_LF',['../class_j_s_min.html#a98f6ca84ead290a98d78d5af97f3b0b3',1,'JSMin']]], ['ord_5fspace',['ORD_SPACE',['../class_j_s_min.html#ae1d4e1296e34ef6f2ca1afd327ec3d9c',1,'JSMin']]], ['os_5funix',['OS_UNIX',['../_p_e_a_r_8php.html#aac9eed8b1212799624da961df2b7469f',1,'PEAR.php']]] ]...
HeartCrafter/xataface
doc_output/html/search/variables_6f.js
JavaScript
gpl-2.0
322
/* Copyright 2008 by Nguyen Thanh Vy (ntvy@truthinet.com.vn) Licensed under the iNet Solutions Corp.,; you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.truthinet.com/licenses Unless required by applicable law or agreed to in writing, software dis...
inetcloud/iMail
source/web-mail/js/inet/ui/mail/addressbook/ContactDialog.js
JavaScript
gpl-2.0
10,254
/* myportalLinkExtractors.js * Copyright (C) 2005-2009 Max Smolens * * This file is part of My Portal. * * My Portal 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, * o...
msmolens/myportal
src/content/myportalLinkExtractors.js
JavaScript
gpl-2.0
3,005
/** * @file * Custum.js. * * Filename: custum.js. * Website: http://www.ordasoft.com * Description: file custom javascript * Author: ordasoft dev team ordasoft.com. */ (function ($) { "use strict"; Drupal.behaviors.osDeltaReady = { attach: function (context, settings) { if ($("[rel=...
HossamYassin/realestate
sites/all/themes/hostel/js/custom.js
JavaScript
gpl-2.0
1,931
/*{"mac":"1:6eb9b06b007b2f7c56ae5c2008fd8609e6bb945cac5c3a668e56b720879168b5","k":"1.0.0","created":"2012-08-08T10:14:00Z","version":"11401774"}*/ ;(function(window,document,undefined){ var g=void 0,m=!0,n=null,o=!1;function p(a){return function(){return this[a]}}var q;function r(a,c,b){var d=2<arguments.length?Array.p...
bladerunner92/web-tutorial
spc/Statistical Process Control_files/tjm5ttd.js
JavaScript
gpl-2.0
28,957
import {startCase} from './../lib/helpers'; import {expect} from 'chai'; describe('startCase', function () { it('should startCase text', function () { expect(startCase('Foo Bar')).to.equal('Foo Bar'); expect(startCase('--foo-bar')).to.equal('Foo Bar'); expect(startCase('__foo_bar__')).to.equal('Foo Bar')...
SomeoddpilotInc/lohand
test/startCase.js
JavaScript
gpl-2.0
332
module.exports = function(grunt) { grunt.initConfig({ // Telling grunt to initalise the configuration file pkg:grunt.file.readJSON('package.json'), sass: { dist: { options: { style: 'expanded' }, files: { 'public/stylesheets/style.css': 'public/stylesheets/sass/style.scss' } } }...
alajfit/NodeJS-Openshift_Template_Setup
gruntfile.js
JavaScript
gpl-2.0
812
var NightFuryPostService = angular.module('PostService',[]); NightFuryPostService.service('POST',function($q,$http){ this.getPostInCategory = function(category_name,posts_per_page){ //if category_name == null => get posts in all page var url = '/wp-json/posts'; url += '?&filter[posts_per_page]=' + posts_per_page...
hieupv92/aroundcoders
wp-content/themes/NightFury/js/raw/services/PostService.js
JavaScript
gpl-2.0
1,220
/* * Kendo UI v2015.2.805 (http://www.telerik.com/kendo-ui) * Copyright 2015 Telerik AD. All rights reserved. * * Kendo UI commercial licenses may be obtained at * http://www.telerik.com/purchase/license-agreement/kendo-ui-complete * If you do not own a commercial license, this file shall be governed by the trial licen...
cleitonalmeida1/EstagioAZ
assets/vendor/kendoui/src/js/cultures/kendo.culture.vi.js
JavaScript
gpl-2.0
2,788
/** * @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ /** * This file was added automatically by CKEditor builder. * You may re-use it at any time to build CKEditor again. * * If you would like to build CKEdi...
aczietlow/zietlow.ninja
sites/all/libraries/ckeditor/build-config.js
JavaScript
gpl-2.0
2,486
jQuery(document).ready(function($) { // Link popup handler: $.each($("a.mr_social_sharing_popup_link"), function() { var elem = $(this); elem.click( function (event) { event.preventDefault(); var popup = window.open(elem.attr('href'),'mr_social_sharing','height=400,width=740'); if (popup)...
deemac504/Suade
wp-content/plugins/social-sharing-toolkit/script_no_follow.js
JavaScript
gpl-2.0
454
angular.module('kityminderEditor') .directive('hyperLink', ['rModal', function(rModal) { return { restrict: 'E', templateUrl: 'ui/directive/hyperLink/hyperLink.html', scope: { minder: '=' }, replace: true, link: function...
rishiqing/rishiqing-minder
ui/directive/hyperLink/hyperLink.directive.js
JavaScript
gpl-2.0
1,373
var express = require('express'); var router = express.Router(); var quizController = require('../controllers/quiz_controller.js'); var commentController = require('../controllers/comment_controller'); var sessionController = require('../controllers/session_controller'); var statisticController = require('../controller...
ejcubillan/quiz-2015-ejc
routes/index.js
JavaScript
gpl-2.0
2,204
(function($) { Drupal.behaviors.mck_uig = { attach: function (context, settings) { mck_uig_backtotop_click(); mck_uig_backtotop_toggle(); mck_uig_search(); search_block_form_submit(); $(window).bind('scroll', function(){ mck_uig_backtotop_toggle(); }); } }; var mck_uig_backto...
pmstrategygroup/mfi
sites/all/themes/mck_uig/js/mck_uig-script.js
JavaScript
gpl-2.0
3,076
/* _ _ (_) (_) _ ___ _ __ _ ___ | |/ _ \| '_ \| |/ __| | | (_) | | | | | (__ |_|\___/|_| |_|_|\___| http://ionicframework.com/ A utility for starting and administering Ionic based mobile app projects. Licensed under the MIT license. See LICENSE For more. Copyright 2014 Drifty (http://drif...
ragudol/dcwyapp
node_modules/ionic/lib/ionic.js
JavaScript
gpl-2.0
20,231
var NAVTREEINDEX3 = { "group___storage.html#ggae98a46f4ea1a43ca48acaf15d2eb7113ad0f73bc18eeacdd07b0626ca00c36e69":[0,0,15,12,5], "group___storage.html#ggae98a46f4ea1a43ca48acaf15d2eb7113ae00145f46ca2bcab8f4c6c3c63c39d40":[0,0,15,12,6], "group___storage.html#ggae98a46f4ea1a43ca48acaf15d2eb7113ae13bac64d3fd01405399ecd326...
sung9155/pebble-korean-language-pack
PebbleSDK-3.2.1/Documentation/Basalt/navtreeindex3.js
JavaScript
gpl-2.0
11,572
/* Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.lang['fi'] = { undo : { redo : 'Toista', undo : 'Kumoa' }, toolbar : { toolbarCollapse : 'Kutista työkalupalkki', toolbar...
julienw/dotclear-test
plugins/dcCKEditor/js/ckeditor/lang/fi.js
JavaScript
gpl-2.0
16,329
var searchData= [ ['endcylinderhigh',['endCylinderHigh',['../db/d38/structpartitionTable.html#a32fea225b8ffd925ad919ffc56e9abda',1,'partitionTable']]], ['endcylinderlow',['endCylinderLow',['../db/d38/structpartitionTable.html#ad7829e34be70084abe145227b0d18274',1,'partitionTable']]], ['endhead',['endHead',['../db/...
gimiki/ArdBir_Test
Open_ArdBir/doc/html/search/variables_65.js
JavaScript
gpl-2.0
534
/* * * Helper Funcitons * */ //Having to type 'Box2D.' in front of everything makes porting //existing C++ code a pain in the butt. This function can be used //to make everything in the Box2D namespace available without //needing to do that. function using(ns, pattern) { if (pattern == undefined) { ...
dialoquad/dialoquad
wp-content/themes/responsive/js/box2d-helpers.js
JavaScript
gpl-2.0
19,316
/* global element, by */ const bhService = require('./bhServiceSelect'); const bhDepot = require('./bhDepotSelect'); module.exports = { selector : '[bh-service-or-depot-select]', set : async function set(requestor, type = 'service', id) { const map = { service : bhService, depot : bhDepot, ...
IMA-WorldHealth/bhima
test/end-to-end/shared/components/bhServiceOrDepot.js
JavaScript
gpl-2.0
552
var status = 0; var maps = Array(102000000, 101000000, 100000000, 103000000); var cost = Array(1200, 1200, 800, 1000); var costBeginner = Array(120, 120, 80, 100); var selectedMap = -1; function start() { status = -1; action(1, 0, 0); } function action(mode, type, selection) { if (mode == -1) { cm...
icelemon1314/mapleLemon
scripts/npc/1002000.js
JavaScript
gpl-2.0
8,418
/** * exit-manage.controller Created by zppro on 16-5-31. * Target:老人出院管理 */ (function() { 'use strict'; angular .module('subsystem.organization-pfta') .controller('ExitManageGridController', ExitManageGridController) .controller('ExitManageDetailsController', ExitManageDetailsContro...
zppro/fsrok
src/anyang-1.0/js/modules/subsystem/organization-pfta/exit-manage.controller.js
JavaScript
gpl-2.0
12,357
// // About interface design // 1, gettranslate {info_id} return related_translated_info // // class InfoLine // function InfoLine(objectToDisplay) { this.infoID = objectToDisplay.info_id; this.infoContent = objectToDisplay.info_content; this.infoLanguage = objectToDisplay.info_language; this....
liuxiaohao/ezgotranslate
public/web/js/translate.js
JavaScript
gpl-2.0
15,140
//////////////////////////////// /// ///Html preview /// //////////////////////////////// function toCookie(cookiename,cookievalue,expire) { document.cookie = '' ; expr =makeYearExpDate(expire) ; cookiename = fixSep(cookiename) ; astr = fixSep(cookievalue) ; if(expir...
bjfuzzj/pubsystem
js/share_func.js
JavaScript
gpl-2.0
3,595
var deploy = require('gulp-gh-pages'); var es = require('event-stream'); var gulp = require('gulp'); var livereload = require('gulp-livereload'); var replace = require('gulp-replace'); var shell = require('gulp-shell'); var spawn = require('child_process').spawn; var handleError = function (err) { console.log(err....
draganshadow/mediamine
gulpfile.js
JavaScript
gpl-2.0
960
module.exports = function(app){ var log = app.utils.log, Dao = app.dao.client, responseView = require('../views/jsonSuccessResponse'); return { create: function(req, res, next){ if(req.user.role == 'admin'){ Dao.createClient(req.body).then(function(client)...
evaluon/api
controllers/client.js
JavaScript
gpl-2.0
593
showWord(["np.","Jounalis fi, opozan politik militè maltrete epi lage l toutouni nan lari Pòtoprens an 1957." ])
georgejhunt/HaitiDictionary.activity
data/words/Akim-Renp~elIv~on_YvonneHakime-Rimpel_.js
JavaScript
gpl-2.0
114
/* Eloquent Javascript - Chapter 4 Exersice: Deep comparison */ var isObject = function (candidate) { return (typeof candidate === 'object'); }; var collectPropertyNames = function (object) { var propertyNames = []; for (var propName in object) { if (object.hasOwnProperty(propName)) {...
claycarpenter/eloquent-js-exercises
chapters/4-data-structures/deep-comparison.js
JavaScript
gpl-2.0
3,001
'use strict'; var egdApp = angular.module('egdApp', [ 'ngAnimate', 'LocalStorageModule', 'ngAria', 'tmh.dynamicLocale', 'ngResource', 'ui.router', 'ngCookies', 'pascalprecht.translate', 'ngCacheBuster', 'infinite-scroll', 'ui.bootstrap', 'sticky', 'ngAudio', 'ui....
esutoniagodesu/egd-web
src/main/webapp/scripts/app/app.js
JavaScript
gpl-2.0
7,546
import React from 'react'; import Options from 'misago/components/threads-list/thread/subscription/options'; // jshint ignore:line export default class extends React.Component { getIcon() { if (this.props.thread.subscription === true) { return 'star'; } else if (this.props.thread.subscription === false...
1905410/Misago
frontend/src/components/threads-list/thread/subscription/full.js
JavaScript
gpl-2.0
1,760
import React from "react"; import PureComponent from "./PureComponent"; import classNames from "classnames"; // See app/assets/stylesheets/font/fontello-puavo/css/puavo-icons-codes.css const ICONS = [ "plus", "minus", "home", "check", "cog", "attention", "cog-alt", "pencil", "ok", ...
opinsys/puavo-users
import-tool/components/Icon.js
JavaScript
gpl-2.0
1,066
/* @author: Seven Lju @date: 2015-09-22 a tool based on HTML5 to construct content graph from flat file. */ function LazacFile3D(text, config) { if (!config) config = {}; if (!config.custom) config.custom = {}; this.config = config; this.text = text; this.drewbox = null; this.graph = []; } LazacF...
dna2github/dna2mtgol
htmlUtils/lazac-file3d.js
JavaScript
gpl-2.0
3,454
cdpApp.config(['$routeProvider', function($routeProvider) { $routeProvider .when('/', { templateUrl: 'components/home/homeView.html', controller: 'homeController' }) .when('/login', { templateUrl: 'components/auth/loginView.html', controller: 'loginController' }); } ]);
SpiderNitt/NITT-CDP-frontend
src/app/app.route.js
JavaScript
gpl-2.0
294
/* * Funcionalidades envolvendo a página de atendimento */ exports.carregarPagina = function(req, res){ res.render('uti/crises', { title: 'Hello World' }); };
projetosigac/projetosigac
web/routes/utiCrises.js
JavaScript
gpl-2.0
164
'use strict'; module.exports = { up: function (queryInterface, Sequelize) { queryInterface.addColumn( 'users', 'isEnabled', { type: Sequelize.BOOLEAN, defaultValue: true } ).then(function () { queryInterface.sequelize.query("update users set 'isEnabled' = true "...
kldavis4/copcast-server
legacy/old_migrations/20160302155333-create-enabled-in-users.js
JavaScript
gpl-2.0
466
'use strict'; angular.module('moggerUiApp') .factory('Post', function ($resource) { return $resource('/api/posts/:id/:controller', { id: '@_id' },{ update: {method:'PUT', params:{id:'@_id'}}} ); });
ioneyed/mogger-base
client/components/blog/post/post.service.js
JavaScript
gpl-2.0
228
/** * Notes Element * * @copyright: Copyright (C) 2005-2013, fabrikar.com - All rights reserved. * @license: GNU/GPL http://www.gnu.org/copyleft/gpl.html */ /** watch another element for changes to its value, and send an ajax call to update this elements values */ define(['jquery', 'fab/element'], function ...
emundus/v6
plugins/fabrik_element/notes/notes.js
JavaScript
gpl-2.0
3,799
(function(){ if('placeholder' in document.createElement('input')) return; function target (e){ var e = e||window.event; return e.target||e.srcElement; } function _getEmptyHintEl(el){ var hintEl = el.hintEl; return hintEl && g(hintEl); } function blurFn(e){ var el = target(e); if(!el || el.tagName != '...
starsea/Tieba_Sign
system/js/placeholder.fix.js
JavaScript
gpl-2.0
1,693
/** * @version: $Id: tree.js 904 2011-03-02 20:15:56Z Radek Suski $ * @package: SobiPro Library * =================================================== * @author * Name: Sigrid Suski & Radek Suski, Sigsiu.NET GmbH * Email: sobi[at]sigsiu.net * Url: http://www.Sigsiu.NET * ========================================...
cyberalpha/UbicoArte
components/com_sobipro/var/js/tree_2d77271a9cfc940d648a35edfa40e228.js
JavaScript
gpl-2.0
9,001
/** * @file * Client-side script for the ${Module_machine_name} module. */ (function ($) { "use strict"; Drupal.behaviors.${Module_machine_name} = { attach: function (context, settings) { }, detach: function (context, settings, trigger) { } }; })(jQuery);
mparker17/file-code-templates
D7 js.js
JavaScript
gpl-2.0
285
function run(envbuilder) { envbuilder.printOut(); var factorybookmark = "$SELF/published/factory/boxsetfactory/latest"; var factoryid = envbuilder.readStorage(factorybookmark); assert(factorybookmark, factoryid); var order = envbuilder.getEnvironment().getScript("addorder"); var state = envbuilder.createFactor...
jeukku/collabthings
src/test/js/linefactory_runenv_init.js
JavaScript
gpl-2.0
589
'use strict'; angular.module('simpleWikiApp').controller('PageCreateController', PageCreateController); function PageCreateController($http, toast) { var vm = this; vm.newPage = { contentType: 'markdown' }; vm.onSubmit = onSubmit; activate(); /* * Public API */ function onSubmit() { $...
vikeen/simple-wiki
client/app/pages/create/controller.js
JavaScript
gpl-2.0
581
'use strict'; /* * MySQL object-relational mapping * =============================== * * (C) 2014 Mark K Cowan <mark@battlesnake.co.uk> * * https://github.com/battlesnake/node-mysql-orm * * Released under GNU General Public License, Version 2 * */ var mysql = require('mysql'); var async = require('async'); ...
battlesnake/node-mysql-orm
utils.js
JavaScript
gpl-2.0
2,587
// IMMEDIATE var WPSC_GoldCart = { "displayMode":"default", "productListClass":"wpsc_default_product_list" }; var gratuity_value = 0; var cart_total = 0; var cart_subtotal = 0; var gra = 0, gra_new = 0; var gra_formatted = 0; var cart_discount = 0; var tax_total=0; Number.prototype.toMoney = function() { return "...
benmkramer/srvd
wp-content/themes/Starkers/js/my-savecard.js
JavaScript
gpl-2.0
5,599
var model=require("./db"); var protocolInfo=require("./protocolDeclare"); var db=model.db; var cl=model.cList; function gen(callback) { var result={}; var finished=0; for (var i=0;i<cl.length;i++) { (function(cname) { db[cname].find({},function(err,docs) { if (err) { ...
levythu/levyink
models/dumpdb.js
JavaScript
gpl-2.0
781
'use strict';(function(d){"object"==typeof exports&&"object"==typeof module?d(require("../../lib/codemirror"),require("../htmlmixed/htmlmixed")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../htmlmixed/htmlmixed"],d):d(CodeMirror)})(function(d){var l="template literal msg fallbackmsg let if el...
morinfa/TYPO3.CMS
typo3/sysext/t3editor/Resources/Public/JavaScript/Contrib/cm/mode/soy/soy.js
JavaScript
gpl-2.0
5,643
/* DO NOT EDIT. THIS IS A CACHE FILE AND WILL GET OVERWRITTEN RANDOMLY. INSTEAD EDIT THE TEMPLATE FROM WITHIN THE ADMIN ZONE, OR BY MANUALLY EDITING A TEMPLATES_CUSTOM OVERRIDE. */ "use strict";function make_tooltip_func(op) {return function(event){if(typeof event=='undefined')var event=window.event;if(typeof window.t...
geminiusa/composrfoundation
themes/default/templates_cached/EN/javascript_themeing.js
JavaScript
gpl-2.0
11,848
var realtimeArray = []; var keepRealtime = []; var inRealtime = false; var count = 0; var resltimeTimer = ''; var originalRefresh = 0; var timeOffset; var realtimeTimer; var rtWidth = 0; var rtHeight = 0; var url; function realtimeDetectBrowser() { if (navigator.userAgent.indexOf(...
micke2k/cacti
include/realtime.js
JavaScript
gpl-2.0
3,831
/** * Dates * author : xv * description : '日期控件' * date : 2015-3-18 * version : 1.0 * email : zhangdw620@sina.com */ (function (win, $) { //常用dom字符 var G = {//可以自己配置适合自己的结构名称 doms: { /*整体框架公用Class*/ maskDrag: 'xv_Mask_Drag', maskBo...
codeManage/xvDialog
src/js/xvDialog.js
JavaScript
gpl-2.0
29,122
UTUT(); function UTUT(){ "use strict"; var App=document.getElementById("app"); App.innerHTML="<h1>A short _Underscore Tutorial</h1><h3>8 useful functions</h3><div id=funkylist></div>"; var FL=document.getElementById('funkylist'); //Main Containers FL.innerHTML="<h2 class=thatswhy>"+ why + "</h2><h2 id='ma...
dcorns/underscoretutorial
lib/ust.js
JavaScript
gpl-2.0
7,596
Jobs = new Mongo.Collection("jobs"); Jobs.attachSchema( new SimpleSchema({ title: { type: String, label: "Job Title", max: 128 }, company: { type: String, label: "Company", max: 128, optional: true }, location: { type: String, label: "Location...
fifthsegment/Paradot
collections/jobs.js
JavaScript
gpl-2.0
3,350
/*=====UNCOMMENT ANY OF THIS FUNCTIONS TO USE THEM INTO MAIN.JS====*/ //Align element in the middle of the screen $.fn.alignCenter = function() { var marginTop = Math.max(40, parseInt($(window).height()/2 - $(this).height()/2)) + 'px'; var marginLeft = Math.max(40, parseInt($(window).width()/2 - $(this).width()/2...
emptimd/test
app/js/_functions.js
JavaScript
gpl-2.0
3,121
$("document").ready(function(){ $('#colorpickerHolder').ColorPicker({flat: true}); $('#colorpickerField1').ColorPicker( { onSubmit: function(hsb, hex, rgb, el) { $(el).val(hex); $(el).ColorPickerHide(); $(el).css("background-color", "#"+hex+""); $(el).css("color", "#"+hex+""); //alert(hex); }, ...
Gorehide/kengo
kengo/jscriptes/color.js
JavaScript
gpl-2.0
484
/*global module:false*/ module.exports = function(grunt) { // PROJECT CONFIG grunt.initConfig({ // META DATA pkg: grunt.file.readJSON('package.json'), banner: '/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - ' + '<%= grunt.template.today("yyyy-mm-dd") %>*/\n', // TASK CONFIG // concatonate j...
jaredcobb/jaredcobb.com
_source/Gruntfile.js
JavaScript
gpl-2.0
3,345
var running_number = 0; function add_conf_attribute(table, key, rt) { if(fields[key] == undefined) { key = 'customvariable'; } running_number--; if(key != 'customvariable' && key != 'exception') { jQuery('#new_' + key + '_btn').css('display', 'none'); } // add new row tbl ...
awiddersheim/Thruk
plugins/plugins-available/conf/root/conf.js
JavaScript
gpl-2.0
24,843
// This is a manifest file that'll be compiled into application.js, which will include all the files // listed below. // // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts, // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative pat...
damionbroadaway/TheNerdeteria
the_nerdeteria/app/assets/javascripts/application.js
JavaScript
gpl-2.0
712
// JSDeferred 0.4.0 Copyright (c) 2007 cho45 ( www.lowreal.net ) // See http://github.com/cho45/jsdeferred function Deferred () { return (this instanceof Deferred) ? this.init() : new Deferred() } Deferred.ok = function (x) { return x }; Deferred.ng = function (x) { throw x }; Deferred.prototype = { _id : 0xe38286e...
cho45/Prosigns
driver/ruby/assets/jsdeferred.js
JavaScript
gpl-2.0
9,666
/************************************************************************************* Angular Application Main module configuration Start *************************************************************************************/ 'use strict'; angular.module('app', ['ngRoute', 'ngAnimate', 'ui.bootstrap']); (funct...
inovacode/AngularJS-User-Portal-Boilerplate
client/app/app-bundle.js
JavaScript
gpl-2.0
17,562
Ext.define('Form.store.query.queryDefinitionStore', { extend: 'Ext.data.Store', model: 'Form.model.query.managerModel', remoteFilter: true, remoteSort: true, simpleSortMode: true, sorters: [{ property: 'DATELASTUPDATE', direction: 'DESC' }], filters: [{ type: 'string', ...
leonelllagumbay/bdg
app/store/query/queryDefinitionStore.js
JavaScript
gpl-2.0
959
var logger = require('../../node_modules/nightwatch/lib/util/logger.js') module.exports = function(client) { return client .perform(() => console.log('--> ' + logger.colors.green('log in'))) .url(client.launchUrl) .waitForElementVisible('i.github.square.icon') .assert.containsText('.modal ...
RonanDrouglazet/OctoBoot
test/actions/login.js
JavaScript
gpl-2.0
1,127
/** * 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; under version 2 * of the License (non-upgradable). * * This program is distributed in the hope that it will be useful, * but WITHOUT AN...
oat-sa/extension-tao-itemqti
views/js/portableElementRegistry/assetManager/portableAssetStrategy.js
JavaScript
gpl-2.0
2,154
Apps.SettingsManager = function(args) { // Init // ---- var manager = this; if (args == undefined) args = {}; // Set title // --------- args.title = safeAssign(args.title, 'Управление настройками'); // Create window and parts // ----------------------- Application.call(this); this.window = new Flex....
jeka5555/rengine
core/admin/.admin-application/settingsManager/settingsManager.js
JavaScript
gpl-2.0
1,298
(function () { $.material.init(); new WOW().init(); })(); Vue.config.delimiters = ['(%', '%)']; var PostCreate = new Vue({ el: '#post_create', data: { content: null } });
7Pros/circuit
assets/js/app.js
JavaScript
gpl-2.0
201
/* $Id */ /** * adsense_click.js - fires counter to log adsense clicks */ var lastStatus = ''; function adsense_click(e) { window.focus(); if (window.status && (window.status != lastStatus)) { lastStatus = window.status; var img = new Image(); img.src = window.location.protocol + '//' + window.locat...
linuxmotion/TheLinuxMotion
sites/default/files/js/js_BFUEpDiBViVpkcoYZx8oANGr3iWnm2-PynC7rl0CpZI.js
JavaScript
gpl-2.0
26,644
var mongoose = require( 'mongoose' ), MetadataSchema = new mongoose.Schema( { activities: [ { activity: String, types: [ String ] } ], ages: [ String ], types: [ String ] }, { collection: 'metadata' } ); module.exports = mongoose.model( 'Metadata', MetadataSchema );
jeradg/toronto-scraper
lib/models/metadata.js
JavaScript
gpl-2.0
315
$(document).ready(function(){ var MN_TIMEOUT = 3000; // Период переключения новостей в милисикундах var lastTime = new Date().getTime(); var mainNewsBoxes = document.getElementsByClassName("photoNews"); for (var i = 0; i < mainNewsBoxes.length; i++) { eval('mainNewsBoxes[i].addEventLis...
seavan/smoltoday
trunk/src/smolensk/content/js/mainnews.js
JavaScript
gpl-2.0
2,294
/** * SVGPan library 1.2.1 * ====================== * * Given an unique existing element with id "viewport" (or when missing, the first g * element), including the the library into any SVG adds the following capabilities: * * - Mouse panning * - Mouse zooming (using the wheel) * - Object dragging * * Y...
cmatsuoka/codecgraph
SVGPan.js
JavaScript
gpl-2.0
7,542
showWord([""n."," a. ","kalite yon moun ki ap chèche pwogrès san limit, ki ap chèche pèfeksyon nan tout bagay."<br>"])
georgejhunt/HaitiDictionary.activity
data/words/p~efeksyonis.js
JavaScript
gpl-2.0
122
/** * @license Angular v4.0.3 * (c) 2010-2017 Google, Inc. https://angular.io/ * License: MIT */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/platform-browser'), require('@angular/animations/browser'), requ...
mattc321/ec_app
ec_task_credits/angular-app/node_modules/@angular/platform-server/bundles/platform-server.umd.js
JavaScript
gpl-2.0
76,168
showWord(["n. "," 1. Mezi, règleman. Se enpòtan pou yon moun gen kontwòl sou sa li manje. 2. Siveyans. Pwofesè sa a gen bon kontwòl sou timoun yo pou yo pa fè dezòd. 3. Resansman. Chak maten, gadyen prizon an fè kontwòl prizonye yo." ])
georgejhunt/HaitiDictionary.activity
data/words/kontw~ol.js
JavaScript
gpl-2.0
245
// Generated on 2015-12-01 using generator-chrome-extension 0.4.4 'use strict'; // # Globbing // for performance reasons we're only matching one level down: // 'test/spec/{,*/}*.js' // use this if you want to recursively match all subfolders: // 'test/spec/**/*.js' module.exports = function (grunt) { // Time how l...
shawnr/bubble-popper
Gruntfile.js
JavaScript
gpl-2.0
8,062
/** * AvaTax Brazil * The Avatax-Brazil API exposes the most commonly services available for interacting with the AvaTax-Brazil services, allowing calculation of taxes, issuing electronic invoice documents and modifying existing transactions when allowed by tax authorities. This API is exclusively for use by busines...
Avalara/avataxbr-clients
javascript-client/test/api/InvoiceSettingsApi.spec.js
JavaScript
gpl-3.0
2,099
var Vue = require('vue') var VueRouter = require('vue-router') Vue.use(VueRouter) export default new VueRouter({ mode: 'history', scrollBehavior: () => ({y: 0}), routes: [ { path: '/', redirect: '/login' }, { path: '/login', component: resolve => require(['./views/login'], resol...
LiqunHu/MVPN
frontEnd/src/routes.js
JavaScript
gpl-3.0
1,608
(function () { 'use strict'; angular.module('ph.stores') .directive('phStore', phStore); function phStore($timeout, Stores, Alert, leafletData, leafletMarkersHelpers, StoresEditContactDetailsModal) { return { restrict: 'E', replace: 'true', scope: { loaded: '=', store:...
indr/phundus-spa
app/modules/stores/directives/ph-store.js
JavaScript
gpl-3.0
4,150
/** * profile.activeMedication Test * * @param patient */ function map(patient) { // Query logic var query = { denominator : function(patient, date, errorContainer) { return true }, numerator : function(patient, date, denominator, errorContainer) { return denominator && profile.active...
HDCbc/queries
test/Test-0008_profile.activeMedicationTest.js
JavaScript
gpl-3.0
447
// Copyright 2015, 2016 Ethcore (UK) Ltd. // This file is part of Parity. // Parity is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version....
kushti/mpt
js/src/api/rpc/ethcore/ethcore.e2e.js
JavaScript
gpl-3.0
1,875
var tplListNew = `<!DOCTYPE html> <html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"> <head> <meta charset="utf-8"> <!-- utf-8 works for most cases --> <meta name="viewport" content="width=device-width"> <!-- Forcing ini...
TheUnassigned/publishthis.email
templates/emails/source/list-new.js
JavaScript
gpl-3.0
9,498
export default { elements: { window, // Shortcut bind, in other words make shortcuts listen to iframe. $window: jQuery( '#elementor-preview-iframe' ), $body: jQuery( '#elementor-test' ), }, config: { elements: { data: {}, editSettings: {} }, breakpoints: {}, responsive: { breakpoints: { mobile: ...
ramiy/elementor
tests/qunit/editor/frontend.js
JavaScript
gpl-3.0
1,415
$(document).ajaxComplete(function () { $("[id=contenedorEspera]").each(function () { $(this).fadeOut(500); }); docReady(); }); $(document).ajaxStart(function () { mostrarEspera("Por favor espere."); }); $.ajaxSetup({ statusCode: { 500: function () { mostrarError("<span ...
arasmit2453/amsrental-presupuestos
public/js/sb-admin-2.js
JavaScript
gpl-3.0
10,049
import _ from "lodash"; import { Meteor } from "meteor/meteor"; import { check, Match } from "meteor/check"; import { Reaction } from "/server/api"; import { ContractItems } from '/imports/plugins/custom/olga-core/lib/collections/collections'; import { SupplyContracts } from "/imports/plugins/custom/olga/lib/collecti...
Team-Olga/Olga-Verkkokauppa
imports/plugins/custom/olga-core/server/methods/supplyContracts.js
JavaScript
gpl-3.0
2,437
(function (window, angular) { "use strict"; var module = angular.module('user-page.video', [ 'ui.router', 'settings', 'projects-api' ]); // Routes module.config([ '$stateProvider', function ($stateProvider) { $stateProvider .state('user-page.video', { ...
clickberry/web
src/js/modules/user-page-video.js
JavaScript
gpl-3.0
2,179
//inject angular file upload directives and services. //var app = angular.module('VoltigeApp', ['ngFileUpload']); (function () { 'use strict'; var app = angular.module('VoltigeApp', [ 'ui.bootstrap', 'ngAnimate', 'ngRoute', ...
daddykom/voltige-web
public/app.js
JavaScript
gpl-3.0
7,417
"use strict"; const ProductCtrl = require('../ctrl/product'); module.exports = class ProductRoutes { static init(router) { router .route('/api/v1/products') .get(ProductCtrl.list) .post(ProductCtrl.save); router .route('/api/v1/products/:id') .get(ProductCtrl.getWithCartNumb)...
aaronchen2k/mobistore-client
server/api/client/routes/product.js
JavaScript
gpl-3.0
363
function compileAndClose(compId,compId1,Id,height){ if(Id==1){ $(compId).hide(); $(compId1).show(); if(compId==".aiteMe"){ $('.comment').show();$('.comment1').hide(); $('.praise').show();$('.praise1').hide(); $('.privacyLetter').show();$('.privacyLetter1').hide(); $('.noAttPriLetter'...
apacheCrazyFan/weiboRepository
vweibo/src/main/webapp/front/js/UserSet_message.js
JavaScript
gpl-3.0
2,948
// Copyright 2016-2020, University of Colorado Boulder /** * This model is solely responsible for choosing between different scenes, one for each black box. * * @author Sam Reid (PhET Interactive Simulations) */ import StringProperty from '../../../../axon/js/StringProperty.js'; import circuitConstructionKitBlack...
phetsims/circuit-construction-kit-black-box-study
js/blackbox/model/BlackBoxModel.js
JavaScript
gpl-3.0
671
/*! jQuery UI - v1.10.4 - 2014-01-17 * http://jqueryui.com * Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ (function(t){t.effects.effect.bounce=function(e,i){var s,n,a,o=t(this),r=["position","top","bottom","left","right","height","width"],l=t.effects.setMode(o,e.mode||"effect"),h="hide"===l...
guatajuk/sirUSI
includes/jquery-ui-1.10.4/development-bundle/ui/minified/jquery.ui.effect-bounce.min.js
JavaScript
gpl-3.0
1,058
import paper from "paper" let Sprite = paper.Group.extend({ _class: 'Sprite', initialize: function Sprite(url, size, portion) { this.maskSize = size || new paper.Size(256, 256) this.portion = portion var that = this if (portion) { this._spriteSheetWidth = portion.width / that.maskSize.width this._spri...
alex4o/Graphene
src/js/sprite.js
JavaScript
gpl-3.0
1,891