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":"38412694","logradouro":"Rua Fernando Reis Cardoso","bairro":"Morada Nova","cidade":"Uberl\u00e2ndia","uf":"MG","estado":"Minas Gerais"});
lfreneda/cepdb
api/v1/38412694.jsonp.js
JavaScript
cc0-1.0
152
jsonp({"cep":"04348050","logradouro":"Rua Jos\u00e9 Teles de Matos","bairro":"Jardim Oriental","cidade":"S\u00e3o Paulo","uf":"SP","estado":"S\u00e3o Paulo"});
lfreneda/cepdb
api/v1/04348050.jsonp.js
JavaScript
cc0-1.0
160
jsonp({"cep":"29017230","logradouro":"Beco Jos\u00e9 Valfredo Santos","bairro":"Forte S\u00e3o Jo\u00e3o","cidade":"Vit\u00f3ria","uf":"ES","estado":"Esp\u00edrito Santo"});
lfreneda/cepdb
api/v1/29017230.jsonp.js
JavaScript
cc0-1.0
174
'use strict' module.exports = require('express').Router()
Webschool-io/be-mean
Apostila/module-nodejs/src/aula-express-generator-rotas/modules/Users/routerExpress.js
JavaScript
cc0-1.0
58
jsonp({"cep":"08715030","logradouro":"Rua S\u00e3o Jo\u00e3o","bairro":"Centro","cidade":"Mogi das Cruzes","uf":"SP","estado":"S\u00e3o Paulo"});
lfreneda/cepdb
api/v1/08715030.jsonp.js
JavaScript
cc0-1.0
146
// No dependencies. 'use strict'; var engine = engine || {}; engine.keyboard = { // Get functions. 'get': { // Check if an event function executes every frame // and return a boolean. // Required args: event, key 'loop': function(args){ return Boolean( engine.keyboard.keyBinds[...
honzi/Files
OldCode/Engine.htm/engine/js/keyboard.js
JavaScript
cc0-1.0
3,758
jsonp({"cep":"12091846","logradouro":"Rua Vicente Rodrigues Sales","bairro":"Cidade Jardim","cidade":"Taubat\u00e9","uf":"SP","estado":"S\u00e3o Paulo"});
lfreneda/cepdb
api/v1/12091846.jsonp.js
JavaScript
cc0-1.0
155
jsonp({"cep":"89286308","logradouro":"Rua Augusto Mallon","bairro":"Cruzeiro","cidade":"S\u00e3o Bento do Sul","uf":"SC","estado":"Santa Catarina"});
lfreneda/cepdb
api/v1/89286308.jsonp.js
JavaScript
cc0-1.0
150
jsonp({"cep":"76820354","logradouro":"Rua Em\u00eddio Alves Feitosa","bairro":"Agenor de Carvalho","cidade":"Porto Velho","uf":"RO","estado":"Rond\u00f4nia"});
lfreneda/cepdb
api/v1/76820354.jsonp.js
JavaScript
cc0-1.0
160
jsonp({"cep":"33840220","logradouro":"Rua das Ar\u00e1lias","bairro":"Rosaneves","cidade":"Ribeir\u00e3o das Neves","uf":"MG","estado":"Minas Gerais"});
lfreneda/cepdb
api/v1/33840220.jsonp.js
JavaScript
cc0-1.0
153
jsonp({"cep":"55291800","logradouro":"Rua Sebasti\u00e3o Ferreira de Lima","bairro":"Francisco Sim\u00e3o dos Santos Figueira","cidade":"Garanhuns","uf":"PE","estado":"Pernambuco"});
lfreneda/cepdb
api/v1/55291800.jsonp.js
JavaScript
cc0-1.0
183
jsonp({"cep":"33822785","logradouro":"Rua Quinze","bairro":"Liberdade","cidade":"Ribeir\u00e3o das Neves","uf":"MG","estado":"Minas Gerais"});
lfreneda/cepdb
api/v1/33822785.jsonp.js
JavaScript
cc0-1.0
143
jsonp({"cep":"04815230","logradouro":"Rua Am\u00e9rico Cioffi","bairro":"Interlagos","cidade":"S\u00e3o Paulo","uf":"SP","estado":"S\u00e3o Paulo"});
lfreneda/cepdb
api/v1/04815230.jsonp.js
JavaScript
cc0-1.0
150
jsonp({"cep":"68377055","logradouro":"Rua VII","bairro":"Mutir\u00e3o","cidade":"Altamira","uf":"PA","estado":"Par\u00e1"});
lfreneda/cepdb
api/v1/68377055.jsonp.js
JavaScript
cc0-1.0
125
jsonp({"cep":"19909110","logradouro":"Rodovia BR-153","bairro":"Vila Santos Dumont","cidade":"Ourinhos","uf":"SP","estado":"S\u00e3o Paulo"});
lfreneda/cepdb
api/v1/19909110.jsonp.js
JavaScript
cc0-1.0
143
jsonp({"cep":"86042420","logradouro":"Rua Adolfo Franciolli","bairro":"Laranjeiras","cidade":"Londrina","uf":"PR","estado":"Paran\u00e1"});
lfreneda/cepdb
api/v1/86042420.jsonp.js
JavaScript
cc0-1.0
140
jsonp({"cep":"02210020","logradouro":"Rua \u00c1guas Formosas","bairro":"Jardim Brasil (Zona Norte)","cidade":"S\u00e3o Paulo","uf":"SP","estado":"S\u00e3o Paulo"});
lfreneda/cepdb
api/v1/02210020.jsonp.js
JavaScript
cc0-1.0
166
jsonp({"cep":"15080290","logradouro":"Rua Matilde Jos\u00e9 Calil","bairro":"Jardim Santa Maria","cidade":"S\u00e3o Jos\u00e9 do Rio Preto","uf":"SP","estado":"S\u00e3o Paulo"});
lfreneda/cepdb
api/v1/15080290.jsonp.js
JavaScript
cc0-1.0
179
jsonp({"cep":"13903210","logradouro":"Avenida Vereador Armando Fornari","bairro":"Parque Dona Virg\u00ednia","cidade":"Amparo","uf":"SP","estado":"S\u00e3o Paulo"});
lfreneda/cepdb
api/v1/13903210.jsonp.js
JavaScript
cc0-1.0
166
jsonp({"cep":"37704094","logradouro":"Rua Louren\u00e7o Dias Ferreira","bairro":"Jardim Santa Ros\u00e1lia","cidade":"Po\u00e7os de Caldas","uf":"MG","estado":"Minas Gerais"});
lfreneda/cepdb
api/v1/37704094.jsonp.js
JavaScript
cc0-1.0
177
jsonp({"cep":"35702509","logradouro":"Rua Exaltino Ribeiro","bairro":"Fl\u00f3rida","cidade":"Sete Lagoas","uf":"MG","estado":"Minas Gerais"});
lfreneda/cepdb
api/v1/35702509.jsonp.js
JavaScript
cc0-1.0
144
jsonp({"cep":"40301290","logradouro":"Rua Botelho Benjamim","bairro":"Santo Ant\u00f4nio","cidade":"Salvador","uf":"BA","estado":"Bahia"});
lfreneda/cepdb
api/v1/40301290.jsonp.js
JavaScript
cc0-1.0
140
jsonp({"cep":"72852856","logradouro":"Quadra Quadra 26","bairro":"Jardim Umuarama Setor 7","cidade":"Luzi\u00e2nia","uf":"GO","estado":"Goi\u00e1s"});
lfreneda/cepdb
api/v1/72852856.jsonp.js
JavaScript
cc0-1.0
151
jsonp({"cep":"69033120","logradouro":"Rua Alfredo da Mata","bairro":"S\u00e3o Jorge","cidade":"Manaus","uf":"AM","estado":"Amazonas"});
lfreneda/cepdb
api/v1/69033120.jsonp.js
JavaScript
cc0-1.0
136
jsonp({"cep":"37500095","logradouro":"Rua Jo\u00e3o Pullit","bairro":"Morro Chic","cidade":"Itajub\u00e1","uf":"MG","estado":"Minas Gerais"});
lfreneda/cepdb
api/v1/37500095.jsonp.js
JavaScript
cc0-1.0
143
jsonp({"cep":"44053456","logradouro":"Caminho Ubat\u00e3","bairro":"Cidade Nova","cidade":"Feira de Santana","uf":"BA","estado":"Bahia"});
lfreneda/cepdb
api/v1/44053456.jsonp.js
JavaScript
cc0-1.0
139
jsonp({"cep":"72859257","logradouro":"Quadra Quadra 257","bairro":"Mans\u00f5es de Recreio Estrela Dalva VIII","cidade":"Luzi\u00e2nia","uf":"GO","estado":"Goi\u00e1s"});
lfreneda/cepdb
api/v1/72859257.jsonp.js
JavaScript
cc0-1.0
171
jsonp({"cep":"83702190","logradouro":"Rua Alfred Charvet","bairro":"Centro","cidade":"Arauc\u00e1ria","uf":"PR","estado":"Paran\u00e1"});
lfreneda/cepdb
api/v1/83702190.jsonp.js
JavaScript
cc0-1.0
138
jsonp({"cep":"41321430","logradouro":"Vila Cambonas-I","bairro":"Castelo Branco","cidade":"Salvador","uf":"BA","estado":"Bahia"});
lfreneda/cepdb
api/v1/41321430.jsonp.js
JavaScript
cc0-1.0
131
jsonp({"cep":"17021600","logradouro":"Rua Benedita Cardoso Madureira","bairro":"Jardim Estrela D'Alva","cidade":"Bauru","uf":"SP","estado":"S\u00e3o Paulo"});
lfreneda/cepdb
api/v1/17021600.jsonp.js
JavaScript
cc0-1.0
159
// Compiled by ClojureScript 0.0-3165 {} goog.provide('cljs.core.async.impl.channels'); goog.require('cljs.core'); goog.require('cljs.core.async.impl.buffers'); goog.require('cljs.core.async.impl.dispatch'); goog.require('cljs.core.async.impl.protocols'); cljs.core.async.impl.channels.box = (function cljs$core$async$im...
snackycracky/equilibrium
frontend/om-tut/resources/public/js/compiled/out/cljs/core/async/impl/channels.js
JavaScript
epl-1.0
18,525
// Compiled by ClojureScript 1.9.946 {} goog.provide('eckersdorf.events'); goog.require('cljs.core'); goog.require('re_frame.core'); goog.require('taoensso.encore'); goog.require('eckersdorf.csv.core'); re_frame.core.reg_event_fx.call(null,new cljs.core.Keyword(null,"change-url","change-url",-1138899515),(function (_,p...
ribelo/eckersdorf
resources/public/js/out/eckersdorf/events.js
JavaScript
epl-1.0
865
(function(){ 'use strict'; angular .module('talkOrganizerApp') .factory('ParseLinks', ParseLinks); function ParseLinks () { var service = { parse : parse }; return service; function parse(header) { if (header.length === 0) { ...
BSI-Business-Systems-Integration-AG/demo-jhipster-democamp-2017
jhipster-ide-presentation/TalkOrganizerApp/src/main/webapp/app/components/util/parse-links.service.js
JavaScript
epl-1.0
1,397
(function() { 'use strict'; angular .module('jhappApp') .factory('stateHandler', stateHandler); stateHandler.$inject = ['$rootScope', '$state', '$sessionStorage', '$translate', 'JhiLanguageService', 'translationHandler', '$window', 'Auth', 'Principal', 'VERSION']; function sta...
Jose-Badeau/boomslang-examples
boomslang.example.web.jhapp/src/main/webapp/app/blocks/handlers/state.handler.js
JavaScript
epl-1.0
2,312
// Compiled by ClojureScript 0.0-3308 {} goog.provide('clojure.string'); goog.require('cljs.core'); goog.require('goog.string'); goog.require('goog.string.StringBuffer'); clojure.string.seq_reverse = (function clojure$string$seq_reverse(coll){ return cljs.core.reduce.call(null,cljs.core.conj,cljs.core.List.EMPTY,coll);...
divs1210/snake-machine
out/clojure/string.js
JavaScript
epl-1.0
9,230
Ext.define('Rd.view.accessProviders.winApAddWizard', { extend: 'Ext.window.Window', alias : 'widget.winApAddWizard', closable: true, draggable: false, resizable: false, title: i18n('sNew_Access_Provider'), width: 400, height: 400, plain: true, borde...
smartwifi/stores-rd
rd/app/view/accessProviders/winApAddWizard.js
JavaScript
gpl-2.0
8,682
/** * Register controller * @namespace blog.authentication.controllers */ (function () { 'use strict'; angular .module('blog.authentication.controllers') .controller('RegisterController', RegisterController); RegisterController.$inject = ['$location', '$scope', '$http', 'Authentication']; /** *...
DaniilLeksin/theblog
static/javascripts/authentication/controllers/register.controller.js
JavaScript
gpl-2.0
1,745
Sourcemash.Views.ProfileView = Backbone.View.extend({ template: JST['profile'], initialize: function(options) { this.listenTo(this.model, 'change', this.render); }, events: { "click #delete-user": 'deleteUser', "click #toggle-suggested-content": 'toggleShowSuggestedContent' }, render: functio...
sourcemash/Sourcemash
sourcemash/frontend/static/js/views/profile_view.js
JavaScript
gpl-2.0
1,060
jQuery(document).ready(function() { jQuery('.slides').cycle({ fx: 'fade', speed: 500, timeout: 6000, pager: '.slidenav', pagerEvent: 'click', pauseOnPagerHover: true, pause: true }) });
mereszpingvin/skodaklub
sites/all/themes/skodaklubcom_sablon/js/utility.js
JavaScript
gpl-2.0
255
'use strict'; var COMMENT_TEXT = 'commenttext'; var COMMENT_EDITTYPE = 'commentedittype'; var DISPLAY_COMMENT_BLANK = 'Please enter a valid comment. The comment can\'t be empty.'; $(document).ready(function() { // Auto-loading for feedback responses $('div[id^="studentFeedback-"]').click(); $('a[id^="vi...
nockc/teammates
src/main/webapp/js/instructorStudentRecords.js
JavaScript
gpl-2.0
7,523
window.txl_map = {}; /** * show address on map based on pre-provided address coordinates * no need to send request outside to ask for coordinates */ window.txl_map.show_map_at_coordinates = function( target_element_id, latitude, longitude, marker_icon, map_styles ) { var myLatlng = new google.maps.LatLng( latit...
wp-plugins/trexanh-property
assets/js/geocode.js
JavaScript
gpl-2.0
3,220
var parallax = { animationFrameHandler: null, layerOne: $(".parallax_under"), layerTwo: $(".parallax_over"), pageWidth : $(window).width(), pageHeight : $(window).height(), midpoint: { x: window.innerWidth/2, y: window.innerHeight/2 }, limit: { x: 20, y: 20 , device:{ ...
sunri5e/invertpictures.com
wp-content/themes/invert-pictures/js/parallax.js
JavaScript
gpl-2.0
3,073
var _ = require("underscore"), config = require("../config/config-" + process.env.NODE_ENV), tools = require("./tools"), redis = require("redis"), redisClient = redis.createClient(config.cache.port, config.cache.url ,{}); var session = { sessionManager: function(req, res...
jmescuderojustel/nodejs-tdd-base
source/server/common/session.js
JavaScript
gpl-2.0
1,863
/** * External dependencies */ import PropTypes from 'prop-types'; /** * WordPress dependencies */ import { useContext } from '@wordpress/element'; import { __, sprintf } from '@wordpress/i18n'; /** * Internal dependencies */ import { Options } from '../components/options-context-provider'; import { AMPDrawer }...
ampproject/amp-wp
assets/src/settings-page/paired-url-structure.js
JavaScript
gpl-2.0
13,135
/** * Copyright 2013 IBM Corp. * * 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/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
Wyliodrin/node-red
red/social/27-twitter.js
JavaScript
gpl-2.0
15,202
var PocketSphinx = require('../'); var app = require('express')(); var http = require('http').Server(app); var io = require('socket.io')(http); app.get('/', function(req, res){ res.sendfile('index.html'); }); io.on('connection', function(socket){ var ps = new PocketSphinx(); ps.on('utterance', function(hyp, utt, ...
moneppo/node-pocketsphinx
demo/demo.js
JavaScript
gpl-2.0
546
/*! Plugin: jQuery Parallax Version 1.1.3 Author: Ian Lunn Twitter: @IanLunn Author URL: http://www.ianlunn.co.uk/ Plugin URL: http://www.ianlunn.co.uk/plugins/jquery-parallax/ Dual licensed under the MIT and GPL licenses: http://www.opensource.org/licenses/mit-license.php http://www.gnu.org/licenses/gpl.html ...
estrategasdigitales/dictobas
wp-content/themes/decibel/js/lib/jquery.parallax.min.js
JavaScript
gpl-2.0
887
module.exports = function(grunt) { require("load-grunt-tasks")(grunt); // npm install --save-dev load-grunt-tasks grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), babel: { options: { sourceMap: true, plugins: ["transform-react-jsx"], presets: ['babel-preset-es2015'], compac...
frankhale/cloak-of-darkness
Gruntfile.js
JavaScript
gpl-2.0
790
var postcss = require('postcss'), fs = require('fs'), path = require('path'), glob = require('glob'), vars = require('postcss-simple-vars'); var parseNameAndArgs = function (rule) { var name = rule.params.split('(', 1)[0], rest = rule.params.slice(name.length).trim(), args; if (rest.length) { if ( rest...
circleQu/greenPlant
helloworld/public/node_modules/postcss-sassy-mixins/index.js
JavaScript
gpl-2.0
3,972
!function(ns){var $,options,enqueue=function(fn){var queue=[],locked=1,working=0,fn=fn,instance=function(){queue.push([this,arguments]),locked||instance.execute()};return instance.execute=function(){if(!working){working=1,locked=0;for(var q;q=queue.shift();)fn.apply(q[0],q[1]);working=0}},instance.lock=function(){locke...
kosmosby/medicine-prof
media/foundry/3.1/config/87fddba43e455b4b225ee31dd2c026a6.js
JavaScript
gpl-2.0
2,869
// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- // // A widget showing the user avatar and name const AccountsService = imports.gi.AccountsService; const GLib = imports.gi.GLib; const Gio = imports.gi.Gio; const Lang = imports.lang; const St = imports.gi.St; const Params = imports.misc.params; const A...
gcampax/gnome-shell
js/ui/userWidget.js
JavaScript
gpl-2.0
3,455
import $ from 'jquery' /** * Handles our DOM security conditional logic based on the user selection * @return void * @since 4.0 */ export function handleSecurityConditionals () { /* Get the appropriate elements for use */ const $secTable = $('#gfpdf-fieldset-gfpdf_form_settings_advanced') const $pdfSecurity ...
GravityPDF/gravity-forms-pdf-extended
src/assets/js/admin/settings/pdf/handleSecurityConditionals.js
JavaScript
gpl-2.0
1,688
/* * https://github.com/5orenso * * Copyright (c) 2019 Øistein Sørensen * Licensed under the MIT license. */ 'use strict'; const { run, webUtil, utilHtml, util } = require('../../middleware/init')({ __filename, __dirname }); const Article = require('../../../lib/class/article'); const fields = { id: 1, ...
5orenso/simple-blog
app/routes/api/get-article.js
JavaScript
gpl-2.0
5,401
import { createElement } from 'react'; import BillingHistoryComponent from 'calypso/me/purchases/billing-history/main'; import Receipt from './receipt'; export function billingHistory( context, next ) { context.primary = createElement( BillingHistoryComponent ); next(); } export function transaction( context, next ...
Automattic/wp-calypso
client/me/purchases/billing-history/controller.js
JavaScript
gpl-2.0
480
/* * This file is part of the TYPO3 CMS project. * * It is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License, either version 2 * of the License, or any later version. * * For the full copyright and license information, please read the * LICENSE.txt file ...
maddy2101/TYPO3.CMS
typo3/sysext/backend/Resources/Public/JavaScript/PageTree/PageTree.js
JavaScript
gpl-2.0
20,826
(function($) { $.fn.pageRank = function(cb) { $.ajax({ url: 'http://api.camcimcumcem.com/page_rank/?url=' + encodeURIComponent($(this).text()) + '&output=js', dataType: 'jsonp', success: function(results) { cb(results.page_rank); } }); ...
mbejda/jQuerySEO
src/jquery.seo.js
JavaScript
gpl-2.0
2,038
'use strict'; const Joi = require('joi'); let schema = { a: Joi.date().format('YYYY-MM-DD') }; let values = [ {a: '2016-07-09'}, {a: '2016-07-99'}, {a: '2016-07-091'}, {a: '2016/07/09'}, {a: '20160709'}, ] for (let v of values) { let ret = Joi.validate(v , schema, { abortEarly:...
gensmusic/test
third_party/nodejs/third-party/joi/date.js
JavaScript
gpl-2.0
557
import { createSelector } from '@automattic/state-utils'; import { getCurrentUserId } from 'calypso/state/current-user/selectors'; import { hasLoadedUserPurchasesFromServer } from './fetching'; import { getPurchases } from './get-purchases'; import 'calypso/state/purchases/init'; /** * Returns a list of purchases ass...
Automattic/wp-calypso
client/state/purchases/selectors/get-user-purchases.js
JavaScript
gpl-2.0
902
/** * NOTES * block details are child block hash, parent block hash, isUncle, isProcessed, and total difficulty * block details are stored to key 'detail'+<blockhash> * meta.rawHead is the the head of the chain with the most POW * meta.head is the head of the chain that has had its state root verifed */ const as...
vaporry/ethereumjs-blockchain
index.js
JavaScript
gpl-2.0
13,252
/** * --------------------------------------------------------------------- * GLPI - Gestionnaire Libre de Parc Informatique * Copyright (C) 2015-2021 Teclib' and contributors. * * http://glpi-project.org * * based on GLPI - Gestionnaire Libre de Parc Informatique * Copyright (C) 2003-2014 by the INDEPNET Devel...
smartcitiescommunity/Civikmind
lib/bundles/tinymce.js
JavaScript
gpl-2.0
1,921
/** * MessageFormat Class - Custom formatting used with 'vue-i18n' * * https://messageformat.github.io/messageformat/MessageFormat * **/ import MessageFormat from 'messageformat' export default class CustomFormatter { constructor (options = {}) { // set locale this._locale = options.locale || 'en-US' ...
inverse-inc/packetfence
html/pfappserver/root/src/utils/formatter.js
JavaScript
gpl-2.0
760
/** * Created by barak on 01/08/2015. */
BrkCoder/angularjs-resources
src/js/directives/ng-carousel.js
JavaScript
gpl-2.0
43
//////// about encryption (old PGP.js) var keyring; function initKeys(){ if (debug){ console.log("Initializing keyring"); } // Keys if (keyring == undefined) { keyring = generateKeyring(); } } // create keyring and import keys from localstore function generateKeyring(){ var keyring = new openpgp.Keyring...
Avo21/PGProject
src/background/model.js
JavaScript
gpl-2.0
4,736
/** * Initialize our global space with a couple setup content and shared resources. */ var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-108087545-1']); _gaq.push(['_setSessionCookieTimeout', 0]); _gaq.push(['_trackPageview', '/background']); var parser = document.createElement('a'); var state = {'count': 0, 'map...
9b/fatbeagle
extension/resources/js/core/background.js
JavaScript
gpl-2.0
12,852
/* * Copyright (C) 2009-2015 Pivotal Software, Inc * * This program is is free software; you can redistribute it and/or modify * it under the terms version 2 of the GNU General Public License as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * b...
pivotal/tcs-hq-management-plugin
com.springsource.hq.plugin.tcserver.serverconfig.web/src/main/webapp/dojox/editor/plugins/nls/it/Save.js
JavaScript
gpl-2.0
736
/* jslint node: true */ 'use strict'; var assert = require('assert'); describe('Canary', function () { it('should validate the set up', function () { assert.equal(true, true); }); });
WDOM/hoxio-2
server/test/canary.js
JavaScript
gpl-2.0
196
function navHeightFix() { var navHeight = jQuery('nav[role="navigation"]').outerHeight(); jQuery('body').css('margin-top',navHeight); } jQuery(document).ready(function($) { // Initialize Blazy var bLazy = new Blazy({ success: function(ele){ // Image has loaded // console.log('loaded',ele); if ( jQuery(...
jonheslop/LDNfashion
js/site.js
JavaScript
gpl-2.0
3,010
/** * jQuery behaviors for platform notification feeds. */ (function ($) { Drupal.behaviors.os_notifications = { attach: function (context, settings) { // Setup. var tourLink = '#os-tour-home'; var $tourLink = $(tourLink); if (!$tourLink.length) { return; } if (typ...
RoySegall/OS-drop7
profiles/openscholar/modules/os/modules/os_tour/theme/os_tour.home.js
JavaScript
gpl-2.0
6,457
var moment = require('moment'), fb = require('fbgraph'), moment = require('moment'), oneDay = moment.duration(1, 'days').asMilliseconds(), logger = require('../util/logger'), birthday = require('./birthday'), posts = require('./posts'), intervalId = null, friends = []; function munge() ...
rishibaldawa/FacebookReport
js/fb/friends.js
JavaScript
gpl-2.0
1,764
/** * External dependencies */ import refx from 'refx'; import multi from 'redux-multi'; /** * Internal dependencies */ import routing from './routing/middleware'; import requests from './requests/middleware'; import effects from './effects'; export default [ multi, refx( effects ), routing, requests ];
aduth/dones
src/state/middlewares.js
JavaScript
gpl-2.0
311
var searchData= [ ['histogram_2efinc_2742',['histogram.finc',['../histogram_8finc.html',1,'']]] ];
reinh-bader/fgsl
doc/html/search/files_7.js
JavaScript
gpl-2.0
101
var container = require("container"); var vertxTests = require("vertx_tests"); var vassert = require("vertx_assert"); // The test methods must begin with "test" function test_1() { vassert.testComplete() } function test_2() { vassert.assertEquals("foo", "foo") vassert.testComplete() } var script = this; conta...
menzelths/scrabble
src/test/resources/integration_tests/javascript/mytest.js
JavaScript
gpl-2.0
496
function T4_CrossProviderTests() { //oData ComplexTypeTests({ name: 'oData', oDataServiceHost: "http://localhost:9000/odata", serviceUrl: 'http://localhost:9000/odata', dbCreation: $data.storageProviders.DbCreationType.DropAllExistingTables}, 'oDataV4'); //LiveArrayTests({ name: 'oData', oDataServiceHost: ...
Malyngo/jaydata
test/qunit/scripts/T4.js
JavaScript
gpl-2.0
40,696
// Copyright 2020 Las Venturas Playground. All rights reserved. // Use of this source code is governed by the MIT license, a copy of which can // be found in the LICENSE file. import { GameBase } from 'features/games/game_base.js'; import { Vector } from 'base/vector.js'; import { random } from 'base/random.js'; // ...
LVPlayground/playground
javascript/features/haystack/haystack_game.js
JavaScript
gpl-2.0
13,114
/* Importar el modelo */ var models = require('../models/models.js'); /* MW que permite acciones solamente si el quiz al que pertenece el comentario objeto pertenece al usuario logeado o si es cuenta admin */ exports.ownershipRequired = function(req, res, next){ models.Quiz.find({ where: { ...
pabloarcones/quiz
controllers/comment_controller.js
JavaScript
gpl-2.0
2,603
showHideDetails ();
lat9/snap_affiliates
includes/modules/pages/referrer_edit/on_load_main.js
JavaScript
gpl-2.0
19
/* * Copyright (c) 2009, 2010 and 2011 Frank G. Bennett, Jr. All Rights * Reserved. * * The contents of this file are subject to the Common Public * Attribution License Version 1.0 (the “License”); you may not use * this file except in compliance with the License. You may obtain a * copy of the License at: * *...
co-alliance/adr
sites/all/modules/islandora_contrib/islandora_scholar/modules/citeproc/lib/citeproc-js/tests/citeproc-js/formats.js
JavaScript
gpl-2.0
2,610
/** █▒▓▒░ The FlexPaper Project This file is part of FlexPaper. FlexPaper 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, version 3 of the License. FlexPaper is distributed in the hope that it will be use...
tsigma-bms/tsigma
sites/all/libraries/flexpaper/js/flexpaper_handlers.js
JavaScript
gpl-2.0
3,178
/* * 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 ANY...
oat-sa/extension-tao-test
views/js/controller/tests/action.js
JavaScript
gpl-2.0
1,589
var c1 = {};var ctx1 = {};var c2 = {};var ctx2 = {};var c3 = {};var ctx3 = {}; function get_canvas() { c1 = document.getElementById("horo_canvas"); ctx1 = c1.getContext("2d"); ctx1.beginPath(); c2 = document.getElementById("moon_canvas"); ctx2 = c2.getConte...
luffy22/aisha
components/com_horoscope/script/asc_s.js
JavaScript
gpl-2.0
8,310
/** This class handles going in and out of Fullscreen mode. Supported on most (but not all) browsers. */ var FullScreenManager = function () { this.triggers = [] }; FullScreenManager.prototype.initialize = function() { var that = this; $(window).resize(function () { that.refreshTriggers(); }) ...
mbinette91/ConstructionLCA
webapp/js/FullscreenManager.js
JavaScript
gpl-2.0
2,009
(function ($) { Drupal.behaviors.bscmsSearchApp = { attach: function (context) { countries = globalCountryList; issues = globalIssuesList; cterms = globalCTermList; iterms = globalITermList; aterms = globalATermList; bundlelist = {'Article': 'article', 'Country Page': 'country...
msfuae/bscms-en
sites/all/modules/features/bscms_apache_solr_search/js/bscms_apache_solr_search.js
JavaScript
gpl-2.0
7,060
// Requires var sensorLib = require('node-dht-sensor'); var blessed = require('blessed'), contrib = require('blessed-contrib'), screen = blessed.screen(); screen.key(['escape', 'q', 'C-c'], function(ch, key) { return process.exit(0); }); // Create layout and widgets var grid1 = new contrib.grid({rows: 2, cols: 1,...
nbaudet/PiCellar
index.js
JavaScript
gpl-2.0
1,173
import React from 'react'; import { StoryPage } from 'StorybookConfig/preview'; import HelperText from './index'; import HelperTextDocs from './HelperText.md'; import HelperTextOptions from './HelperText.knobs.options'; export const HelperTextExample = (args) => ( <HelperText {...args} /> ); HelperTextExample.story...
massgov/mayflower
packages/react/src/components/forms/HelperText/HelperText.stories.js
JavaScript
gpl-2.0
623
/* This file is part of Plugin openzwave for jeedom. * * Plugin openzwave for jeedom 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. * ...
jeedom/plugin-openzwave
desktop/js/openzwave.js
JavaScript
gpl-2.0
22,549
(function ($) { /** * Drag and drop table rows with field manipulation. * * Using the drupal_add_tabledrag() function, any table with weights or parent * relationships may be made into draggable tables. Columns containing a field * may optionally be hidden, providing a better user experience. * * Created tableD...
SquareHook/norbdrupal
sites/default/files/js/js_WoRZdLyjwpNs4Rw6LqZ-KFk4LVagPZqxSkTWb_d5vU4.js
JavaScript
gpl-2.0
83,460
/** * Arstider Utilities and namespace wrapper * * @version 1.1 * @author frederic charette <fredericcharette@gmail.com> */ /** * Engine Namespace * @namespace Arstider */ Arstider = {}; /** * Gets a number timestamp, usefull for id-ing or cache busting * @memberof Arstider * @type {function} * @return {n...
fed135/Arstider
src/sdk/core/Utils.js
JavaScript
gpl-2.0
22,016
showWord(["v. ","amelyore, avanse, macha annavan. 2. Lè yon malad pwogrese, li ap refè. Lè yon maladi pwogrese, malad la vin pi mal, li anpire." ])
georgejhunt/HaitiDictionary.activity
data/words/pwogrese.js
JavaScript
gpl-2.0
150
/* * * This file is part of the OpenLink Software Virtuoso Open-Source (VOS) * project. * * Copyright (C) 1998-2012 OpenLink Software * * This project 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 Foundat...
trueg/virtuoso-opensource
appsrc/ODS-Briefcase/www/js/tbl.js
JavaScript
gpl-2.0
4,816
(function($) { var EA = {}; Backbone.ajax = function() { var args = Array.prototype.slice.call(arguments, 0)[0]; var change = {}; if(args.type === 'PUT' || args.type === 'DELETE') { change.type = 'POST'; change.url = args.url + '&_method=' + args.type; ...
seanlon/profile-page
BookingPortal/wp-content/plugins/easy-appointments/js/report.prod.js
JavaScript
gpl-2.0
9,612
/** * My Cylinder constructor. * @constructor * @param scene {CGFscene} to which this cylinder belongs. * @param height {Float} Cylinder height * @param bRadius {Float} Cylinder bottom radius * @param tRadius {Float} Cylinder top radius * @param slices {Integer} Number of divisions of each circle * @param stack...
sceptross/LAIG-Projeto2
reader/primitives/MyCylinder.js
JavaScript
gpl-2.0
2,396
function test1(a, b) { if (a == b) { print("wrong !"); } if (a != b) { print("OK"); } } function test2(a, b) { if (a == b) { print("wrong !"); } else { print("OK"); } if (a != b) { print("OK"); } else { print("wrong !"); } } test1(4, 7); test2(4, 7);
forax/jsjs
test/test7.js
JavaScript
gpl-2.0
277
module.exports = require('./launchpad.js');
tjhorner/collaborative-launchpad
midi-launchpad/midi-launchpad.js
JavaScript
gpl-2.0
44
document.observe("dom:loaded", function() { var td = $("product_option_values"); var add_link = new Element("a", { href: "#" }); add_link.update("Add new value"); td.appendChild(add_link); var index = parseInt($("newvaluecount").value); add_link.observe("click", function(ev) { ev.stop(); ++index; ...
tonycoz/bse
site/htdocs/js/admin_editprodopt.js
JavaScript
gpl-2.0
687
/*! * VisualEditor UserInterface LinkInspector class. * * @copyright 2011-2013 VisualEditor Team and others; see AUTHORS.txt * @license The MIT License (MIT); see LICENSE.txt */ /*global mw */ /** * MediaWiki link inspector. * * @class * @extends ve.ui.LinkInspector * * @constructor * @param {ve.ui.Window...
Wikia/OldStructuredDataPrototype
extensions/VisualEditor/modules/ve-mw/ui/inspectors/ve.ui.MWLinkInspector.js
JavaScript
gpl-2.0
2,468
$(function() { if ($('#edit-entry').length==0) {return;} if (dotclear.legacy_editor_context===undefined || dotclear.legacy_editor_tags_context[dotclear.legacy_editor_context]===undefined) { return; } if ((dotclear.legacy_editor_tags_context[dotclear.legacy_editor_context].indexOf('#post_content')!==-1) ...
julienw/dotclear-test
plugins/dcLegacyEditor/js/_post_editor.js
JavaScript
gpl-2.0
4,791
jQuery.namespace("Collective.Home"); (function () { Collective.Home.About = { DataUrl: "Home/About", Server: false, ViewModel: {}, View: {}, Load: function (control) { //Initial set var self = this; self.View = control; //ini...
CarlosNetMty/Collective
Collective/Collective.Web/Scripts/Home/About.js
JavaScript
gpl-2.0
742
// "prop" method fix for previous versions of jQuery (1.5 and below) if( typeof jQuery.fn.prop === 'undefined' ) { jQuery.fn.prop = jQuery.fn.attr; } jQuery(document).ready(function(){ //Formatting free form currency fields to currency jQuery(document).bind('gform_post_render', gformBindFormatPricingField...
creative2020/mu2
wp-content/plugins/gravityforms/js/gravityforms.js
JavaScript
gpl-2.0
49,412
//定义画布宽高和生成点的个数 var WIDTH = window.innerWidth, HEIGHT = window.innerHeight, POINT = 35; var canvas = document.getElementById('js-particles'); canvas.width = WIDTH, canvas.height = HEIGHT; var context = canvas.getContext('2d'); context.strokeStyle = 'rgba(0,0,0,0.02)', context.strokeWidth = 1, context.fillS...
firewenda/firewenda.github.io
js/cavas.code.js
JavaScript
gpl-2.0
3,056
App.View.Map = Backbone.View.extend({ _tooltip_template : $('#map-tooltip_template').html(), currentWMSLayers: [], events:{}, initialize: function() { $("#map").outerHeight($("#map").outerHeight()-$("footer").outerHeight()-$("header").outerHeight()); $("#map").css({"top": $("header")....
GeographicaGS/IUCNRedBook
www/src/js/View/MapView.js
JavaScript
gpl-2.0
8,932