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":"13277661","logradouro":"Rua Gildo Gemi","bairro":"Ponte Alta","cidade":"Valinhos","uf":"SP","estado":"S\u00e3o Paulo"});
| lfreneda/cepdb | api/v1/13277661.jsonp.js | JavaScript | cc0-1.0 | 135 |
jsonp({"cep":"09892040","logradouro":"Rua Maria Gertrudes","bairro":"Jordan\u00f3polis","cidade":"S\u00e3o Bernardo do Campo","uf":"SP","estado":"S\u00e3o Paulo"});
| lfreneda/cepdb | api/v1/09892040.jsonp.js | JavaScript | cc0-1.0 | 165 |
jsonp({"cep":"08526110","logradouro":"Avenida Rosa Teixeira Bueno","bairro":"Parque S\u00e3o Francisco","cidade":"Ferraz de Vasconcelos","uf":"SP","estado":"S\u00e3o Paulo"});
| lfreneda/cepdb | api/v1/08526110.jsonp.js | JavaScript | cc0-1.0 | 176 |
jsonp({"cep":"21515534","logradouro":"Travessa Nossa Senhora de F\u00e1tima","bairro":"Costa Barros","cidade":"Rio de Janeiro","uf":"RJ","estado":"Rio de Janeiro"});
| lfreneda/cepdb | api/v1/21515534.jsonp.js | JavaScript | cc0-1.0 | 166 |
jsonp({"cep":"93415690","logradouro":"Pra\u00e7a Frederico Schneider","bairro":"Ouro Branco","cidade":"Novo Hamburgo","uf":"RS","estado":"Rio Grande do Sul"});
| lfreneda/cepdb | api/v1/93415690.jsonp.js | JavaScript | cc0-1.0 | 160 |
jsonp({"cep":"12415140","logradouro":"Rua Montese","bairro":"Campinas","cidade":"Pindamonhangaba","uf":"SP","estado":"S\u00e3o Paulo"});
| lfreneda/cepdb | api/v1/12415140.jsonp.js | JavaScript | cc0-1.0 | 137 |
jsonp({"cep":"24130135","logradouro":"Rua Zoraida Brasil Alc\u00e2ntara","bairro":"Fonseca","cidade":"Niter\u00f3i","uf":"RJ","estado":"Rio de Janeiro"});
| lfreneda/cepdb | api/v1/24130135.jsonp.js | JavaScript | cc0-1.0 | 155 |
jsonp({"cep":"18077702","logradouro":"Rua Dois","bairro":"Jardim Santo Andr\u00e9","cidade":"Sorocaba","uf":"SP","estado":"S\u00e3o Paulo"});
| lfreneda/cepdb | api/v1/18077702.jsonp.js | JavaScript | cc0-1.0 | 142 |
jsonp({"cep":"36060390","logradouro":"Rua Henrique Miranda S\u00e1","bairro":"Linhares","cidade":"Juiz de Fora","uf":"MG","estado":"Minas Gerais"});
| lfreneda/cepdb | api/v1/36060390.jsonp.js | JavaScript | cc0-1.0 | 149 |
jsonp({"cep":"03952070","logradouro":"Rua Vila-Boa de Goi\u00e1s","bairro":"Jardim Nove de Julho","cidade":"S\u00e3o Paulo","uf":"SP","estado":"S\u00e3o Paulo"});
| lfreneda/cepdb | api/v1/03952070.jsonp.js | JavaScript | cc0-1.0 | 163 |
jsonp({"cep":"83408280","logradouro":"Rua Abel Scuissiato","bairro":"Atuba","cidade":"Colombo","uf":"PR","estado":"Paran\u00e1"});
| lfreneda/cepdb | api/v1/83408280.jsonp.js | JavaScript | cc0-1.0 | 131 |
jsonp({"cep":"72265507","logradouro":"Bloco QCS Bloco G","bairro":"Setor Industrial (Ceil\u00e2ndia)","cidade":"Bras\u00edlia","uf":"DF","estado":"Distrito Federal"});
| lfreneda/cepdb | api/v1/72265507.jsonp.js | JavaScript | cc0-1.0 | 168 |
jsonp({"cep":"40302220","logradouro":"Avenida Matheus","bairro":"Maca\u00fabas","cidade":"Salvador","uf":"BA","estado":"Bahia"});
| lfreneda/cepdb | api/v1/40302220.jsonp.js | JavaScript | cc0-1.0 | 130 |
jsonp({"cep":"69919192","logradouro":"Travessa Brunei","bairro":"Conjunto Mariana","cidade":"Rio Branco","uf":"AC","estado":"Acre"});
| lfreneda/cepdb | api/v1/69919192.jsonp.js | JavaScript | cc0-1.0 | 134 |
jsonp({"cep":"55294315","logradouro":"Rua Floriano Portela","bairro":"Magano","cidade":"Garanhuns","uf":"PE","estado":"Pernambuco"});
| lfreneda/cepdb | api/v1/55294315.jsonp.js | JavaScript | cc0-1.0 | 134 |
jsonp({"cep":"06266340","logradouro":"Rua M","bairro":"Bonan\u00e7a","cidade":"Osasco","uf":"SP","estado":"S\u00e3o Paulo"});
| lfreneda/cepdb | api/v1/06266340.jsonp.js | JavaScript | cc0-1.0 | 126 |
jsonp({"cep":"35430175","logradouro":"Rua Jacy Lopes","bairro":"S\u00e3o Judas Tadeu","cidade":"Ponte Nova","uf":"MG","estado":"Minas Gerais"});
| lfreneda/cepdb | api/v1/35430175.jsonp.js | JavaScript | cc0-1.0 | 145 |
// Compiled by ClojureScript 1.8.51 {:static-fns true, :optimize-constants true}
goog.provide('reagent.core');
goog.require('cljs.core');
goog.require('reagent.impl.util');
goog.require('reagent.impl.component');
goog.require('reagent.interop');
goog.require('reagent.ratom');
goog.require('reagent.impl.template');
goog... | cchanley2003/webClojure | target/uberjar/reagent/core.js | JavaScript | epl-1.0 | 20,398 |
'use strict';
module.exports = {
// put UI test specs here...
}; | AGES-Initiatives/ioc-tms | test/spec/uitest.js | JavaScript | epl-1.0 | 66 |
angular.module('PaperUI.directive.configDescription', []) //
.directive('configDescription', function() {
return {
restrict : 'E',
scope : {
configuration : '=',
parameters : '=',
expertMode : '=?',
configArray : '=?',
form : '=?'
}... | AchimHentschel/smarthome | extensions/ui/org.eclipse.smarthome.ui.paper/web-src/js/directives/directive.configDescription.js | JavaScript | epl-1.0 | 397 |
/*
* Copyright (c) 2015 GuangZhou Research Institute of China Telecom. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/ep... | chinatelecom-sdn-group/ServiceControlPlatform | routes/policydetail_mgr/flow_policy.js | JavaScript | epl-1.0 | 2,949 |
"use strict";
import angular from 'angular';
export default angular.module('stats', []); | purplecode/faces | public/app/stats/module.js | JavaScript | gpl-2.0 | 88 |
function initialize() {
var mapOptions = {
zoom: 11,
scrollwheel: false,
center: new google.maps.LatLng(40.061681, -75.167041)
};
var map = new google.maps.Map(document.getElementById('contact-map'),
mapOptions);
var marker = new google.maps.Marker({
position: map.getCenter(),
map: map
})... | developerTajul/AJ | js/map.js | JavaScript | gpl-2.0 | 2,829 |
/*
* Copyright (C) 2015 Deutsche Telekom AG.
*
* Author: Mislav Novakovic <mislav.novakovic@sartura.hr>
*
* testconf is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
... | freenetconf/testconf | netconf_client/tests/freenetconfd-plugins/dt-system/rpc_set_datetime.js | JavaScript | gpl-2.0 | 1,005 |
(function ($) {
$(document).ready(function(){var touch=$('#touch-menu');var menu=$('.menu');$(touch).on('click',function(e){e.preventDefault();menu.slideToggle();});$(window).resize(function(){var w=$(window).width();if(w>767&&menu.is(':hidden')){menu.removeAttr('style');}});});
}) (jQuery);
| webfixua/Webfix-TPM | js/menu.js | JavaScript | gpl-2.0 | 293 |
var curElem = null;
var checks = {}; // Hashtable
var htRights = {}; // Hashtable
var changes = {}; // Hashtable
function definedRight(userID, userName, isGroup, permissions, inherited){
this.userID = userID;
this.isGroup = isGroup;
this.userName = userName;
this.permissions = permissions;
this.in... | Saftemand/S_DW_Continuous_Deployment_Test | S_DW_Continuous_Deployment_test/Admin/Module/eCom_Catalog/images/permission/permission.js | JavaScript | gpl-2.0 | 9,510 |
(function($) {
$.fn.eqHeight = function(grTarget) {
if(grTarget != null){
this.height($(grTarget).height());
}else {
var highestBox = 0;
this.each(function(){
var target = $(this).data('target');
if($(this).data('target') !== 'undefined') {
$(this).height($(target).height());
... | Yerlix/Portfolio | wp-content/themes/portfolio/js/eqHeight.js | JavaScript | gpl-2.0 | 552 |
$(function(){
$("#btnSubmit").click(function(){
var selectedValues = $('#txtDeveloper').tokenInput("get");
var selectedKeyValues = $('#txtKeyWords').tokenInput("get");
$("#hdId").val("");
$("#hdKeyId").val("");
$.each(selectedValues, function (i, item) {
if ($("#hdId").val() == "") {
... | mastersoftwaresolutions/biddle | public/javascripts/newproject.js | JavaScript | gpl-2.0 | 793 |
var __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(); child.__super__ = parent.prototype; return chil... | ajency/minyawns | wp-content/plugins/ajency-activity-and-notifications/ajan-marionette-notification/dist/aj-notification.js | JavaScript | gpl-2.0 | 3,675 |
// cutsceene.js
var Cutscene = function(game) {
this.game = game;
this.Scene1 = null;
this.Scene2 = null;
this.Scene3 = null;
this.Scene4 = null;
this.sceneArray = [];
this.done = false;
// this.Scene1 = null;
// this.Scene1 = null;
// this.Scene1 = null;
};
Cutscene.prototype = {
create : function() {
... | jkymmel/november-game | cutscene.js | JavaScript | gpl-2.0 | 1,838 |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("... | studer-raimann/OneDrive | vendor/srag/custominputguis/node_modules/html2canvas/dist/npm/renderer/CanvasRenderer.js | JavaScript | gpl-2.0 | 11,218 |
var $$ = function(elementId){
function getObjs(str)
{
var type=str.split("=")[0];
var value=str.split("=")[1];
if(type="name")return document.getElementsByName(value);
if(type="id")return document.getElementById(value);
}
if(elementId.indexOf("=")>-1)
{
if(elementId.indexOf("[")>-1)
{
var res... | crossoverJie/company_open | company/WebRoot/include/js/admincommon.js | JavaScript | gpl-2.0 | 9,953 |
(window.webpackJsonp=window.webpackJsonp||[]).push([[25],{"7aB5":function(n,e,o){"use strict";o.r(e);var t=o("ensb");e.default=Object(t.a)((function(n){Promise.all([o.e(0),o.e(41)]).then(function(){var e=o("qZTL");"function"==typeof n&&n(e)}.bind(null,o)).catch(o.oe)}))}}]);
//# sourceMappingURL=25.chunk.5eb0f.js.map | 5orenso/simple-blog | template/global/themusher/25.chunk.5eb0f.js | JavaScript | gpl-2.0 | 318 |
String.prototype.num = function(){
return this.length;
} | faker-web/test | tiaoshi/pages/template/template.js | JavaScript | gpl-2.0 | 60 |
/*
* Copyright (C) 2005 - 2014 TIBCO Software Inc. All rights reserved.
* http://www.jaspersoft.com.
*
* Unless you have purchased a commercial license agreement from Jaspersoft,
* the following license terms apply:
*
* This program is free software: you can redistribute it and/or modify
* it under the terms... | leocockroach/JasperServer5.6 | jasperserver-war/src/main/webapp/scripts/common/config/lodashTemplateSettings.js | JavaScript | gpl-2.0 | 1,212 |
// Generated on 2015-04-20 using generator-jhipster 2.7.0
'use strict';
var fs = require('fs');
var parseString = require('xml2js').parseString;
// Returns the second occurence of the version number
var parseVersionFromPomXml = function() {
var version;
var pomXml = fs.readFileSync('pom.xml', "utf8");
pars... | mkorobeynikov/jhipster-radriges | Gruntfile.js | JavaScript | gpl-2.0 | 14,778 |
var searchData=
[
['finish',['finish',['../class_redeanfrage.html#a8121285b4f17ec8d6c732fff8e34ae3f',1,'Redeanfrage']]],
['finished',['FINISHED',['../class_redeanfrage.html#ac4156718456ad89ed6d32e281a8bac18a66196f5384c2da89e04966043bd7ec55',1,'Redeanfrage::FINISHED()'],['../class_network_1_1_connected_client.html#a... | Schwane/EM2015_PraesiBert | Doc/Doxygen/html/search/all_5.js | JavaScript | gpl-2.0 | 949 |
var service = service || {}
service.base = "http://localhost:3000/api";
//artist
service.artist = service.base + "/artists";
// Song
service.song = service.artist + "/${artistId}/songs";
service.songs = service.base + "/songs"; | aboieriu/altfest-backbone | app/js/service.js | JavaScript | gpl-2.0 | 227 |
// Registers / uses the Mosaic namespace
Drupal.mosaic = Drupal.mosaic || {};
// ----------------------------------------------------------------------
// Handles a few js changes that happen on the front page
// ----------------------------------------------------------------------
// Document loaded!
(function($) {... | coraltech/drupal-cn | sites/all/themes/mosaic/js/nodes/fe_attach/cnfront.js | JavaScript | gpl-2.0 | 3,013 |
//v.3.5 build 120822
/*
Copyright DHTMLX LTD. http://www.dhtmlx.com
You allowed to use this component or parts of it under GPL terms
To use it on other terms or get Professional edition of the component please contact us at sales@dhtmlx.com
*/
function eXcell_dhxCalendar(cell){
if (cell){
this.cell = cell... | regadou/waw | dhtmlx/dhtmlxGrid/sources/excells/dhtmlxgrid_excell_dhxcalendar.js | JavaScript | gpl-2.0 | 10,971 |
(function($){
$(document).ready(function(){
$('.promote_content').hover(
function() {
$(this).find('.promote_txt').show().stop().animate({
opacity: 1
}, 400);
},
function() {
$(this).find... | senven/blog | wp-content/themes/sonicbids/js/404.js | JavaScript | gpl-2.0 | 453 |
/// <reference path="jquery-1.2.6-vsdoc.js" />
(function($) {
$.fn.annotateImage = function(options) {
/// <summary>
/// Creates annotations on the given image.
/// Images are loaded from the "getUrl" propety passed into the options.
/// </summary>
var opts = $.extend({... | rockgobo/rocknclimb | js/jquery.annotate.js | JavaScript | gpl-2.0 | 16,705 |
/**
* Fetches the new page and puts it inline.
* @param id - The element id whose contents will get replaced
* @param viewUrl - The URL for the new page
* @param page - The page number to request
*/
function fetchPage(id, viewUrl, page) {
$.get(viewUrl, {page: page}, function(data, status) {
$(id).html(dat... | artmob/artmob | sites/all/modules/contributed/ajax_views/ajax_views.js | JavaScript | gpl-2.0 | 345 |
var EventEmitter = require('events').EventEmitter;
var util = require('util');
var utils = require('../../util/utils');
var net = require('net');
var Composer = require('stream-pkg');
var logger = require('pomelo-logger').getLogger('pomelo-rpc', __filename);
var Tracer = require('../../util/tracer');
var Acceptor = fu... | huojiecs/game1 | game-server/node_modules/pomelo/node_modules/pomelo-rpc/lib/rpc-server/acceptors/tcp-acceptor.js | JavaScript | gpl-2.0 | 7,784 |
jQuery(document).ready(function ($) {
var search_timeout_id = null;
// Hide the articles when the close link is clicked
$('#close-search').click(function() {
$('.kbs-article-search-results').hide('slow');
});
// Execute the article search
function find_article( search_text ) {
$('#kbs-article-res... | KB-Support/kb-support | assets/js/kbs-live-search.js | JavaScript | gpl-2.0 | 1,599 |
var searchData=
[
['scanfiles',['scanFiles',['../main_8cpp.html#a1bc69b1b6f62d721f14ed9c03555a9c8',1,'main.cpp']]],
['size',['size',['../struct_file.html#abec73ae2a96ee8136ba14a49fec88b25',1,'File::size()'],['../struct_file_bucket.html#a16f787c14b9b69c959374749f70bb80a',1,'FileBucket::size()']]]
];
| Ranind/Deduplicator | doc/html/search/all_7.js | JavaScript | gpl-2.0 | 304 |
'use strict';
/**
* @ngdoc function
* @name snippetsApp.controller:MainCtrl
* @description
* # MainCtrl
* Controller of the snippetsApp
*/
angular.module('snippetsApp')
.controller('MainCtrl', function ($scope, cfpLoadingBar) {
$scope.topSnippets = [
{
name: 'Sample snippet',
descripti... | netlabspl/snippets | frontend/app/scripts/controllers/main.js | JavaScript | gpl-2.0 | 1,745 |
/**
* @fileoverview A module providing various RDBMS related utility functions
*/
var log = require('ringo/logging').getLogger(module.id);
/**
* Creates a table
* @param {Store} store The store to create the table for
* @param {String} tableName The name of the table to create
* @param {Array} columns An array ... | a564941464/itest_p | modules/sqlstore/util.js | JavaScript | gpl-2.0 | 9,555 |
function navigate(url) {
location.href=url;
}
// getElementByID with browser check!!
function getElById(idVal) {
if (document.getElementById != null)
return document.getElementById(idVal);
if (document.all != null)
return document.all[idVal];
alert("Problem getting element by id");
return null;
}
... | alivardar/5651-pfsense | pfsense_turkish/dtree.js | JavaScript | gpl-2.0 | 14,854 |
module.exports = {
clean (object) {
if (typeof object === "function") {
if (object.restore) {
object.restore();
}
} else {
for (var method in object) {
if (typeof object[method] === "object") {
this.clean(object[method]);
} else if (typeof object[method] ===... | RandoApp/Rando | test/mockUtil.js | JavaScript | gpl-2.0 | 456 |
Chickadee.Models.Quiz = Backbone.Model.extend({
urlRoot: "/api/quizzes",
question: function(){
if (!this._question) {
this._question = new Chickadee.Models.Question();
}
return this._question;
},
parse: function(payload){
if (payload.question) {
this.question().set(payload.question... | jshorty/chickadee | app/assets/javascripts/models/quiz.js | JavaScript | gpl-2.0 | 389 |
import expect from 'expect';
import React from 'react';
import TestUtils from 'react-addons-test-utils';
import { bindActionCreators } from 'redux';
import { setupShallowRender, setupRender } from '../../helpers';
import states from '../../../constants/stateConstants';
import InGamePage from '../../../pages/InGamePage'... | udontknowmeapp/udontknowme | frontend/src/js/test/components/pages/InGamePage.spec.js | JavaScript | gpl-2.0 | 4,896 |
/*global require:true, process:true */
/*
* grunt-tinypng
* https://github.com/marrone/grunt-tinypng
*
* Copyright (c) 2013 Mike M
* Licensed under the MIT license.
*/
module.exports = function(grunt) {
'use strict';
// Please see the Grunt documentation for more information regarding task
// crea... | spiderwebsolutions/poolequip | node_modules/grunt-tinypng/tasks/tinypng.js | JavaScript | gpl-2.0 | 17,290 |
var panorama;
var APP = new Object();
APP.copyright = 'FEUC (c) 2014';
APP.panoInicial = 'entrada_1';
var latBase = -22.898633;
var lonBase = -43.554502;
//Corresponde ao tamanho da imagem em largura
var worldSizeX = 9728;
//Corresponde ao tamanho da imagem em altura
var worldSizeY = 4864;
//... | flaviomarcheni/feuc_caminho_virtual | caminhoVirtual/war/include/js/main_feuc.js | JavaScript | gpl-2.0 | 11,164 |
// Watch Files For Changes
'use strict';
var gulp = require('gulp'),
livereload = require('gulp-livereload'),
config = require('../config').paths;
gulp.task('watch', function () {
livereload.listen({
host: 'localhost'
});
gulp.watch(config.images, ['images']);
gulp.watch(config.js, ['lint-js', 'lin... | kevin-vb/tvfeeds8.local | themes/tvfeeds_base/gulp/tasks/watch.js | JavaScript | gpl-2.0 | 528 |
/*******************************************************************************
Copyright 2009 Whole Foods Co-op
This file is part of Fannie.
Fannie 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 Foun... | FranklinCoop/IS4C | fannie/item/departments/super.js | JavaScript | gpl-2.0 | 4,404 |
var Drupal = Drupal || {};
(function($, Drupal){
"use strict";
Drupal.behaviors.rustyvw = {
attach: function() {
}
};
})(jQuery, Drupal);
| dkjoseph/Rusty-VW | sites/all/themes/rustyvw/js/script.js | JavaScript | gpl-2.0 | 159 |
Ext.namespace("panet");
Ext.namespace("panet.graph");
/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
* コンストラクタ
* ---------------------------------------------------------------- */
panet.graph.vbar = function (id) {
var elm = document.getElementById(id);
if(! elm) { return; }
if(elm.nodeName != "CANVAS") { return; }
if(elm.... | panbasten/imeta | imeta2.x/imeta-war/src/main/webapp/service/graph/vbar.js | JavaScript | gpl-2.0 | 37,016 |
/* ========================================================================
* DOM-based Routing
* Based on http://goo.gl/EUTi53 by Paul Irish
*
* Only fires on body classes that match. If a body class contains a dash,
* replace the dash with an underscore when adding it to the object below.
*
* .noConflict()
* ... | happywithyou86/Wordpress-lcn-draft | content/themes/lachambrenoire/assets/src/js/_main.js | JavaScript | gpl-2.0 | 2,025 |
/** Wonderplugin Gallery Plugin Free Version
* Copyright 2015 Magic Hills Pty Ltd All Rights Reserved
* Website: http://www.wonderplugin.com
* Version 5.7
*/
(function($){$(document).ready(function(){$(".wonderplugin-engine").css({display:"none"});$("#wonderplugin-gallery-toolbar").find("li").each(function(index){... | Telemedellin/fonvalmed | wp-content/plugins/wonderplugin-gallery/app/wonderplugin-gallery-creator.js | JavaScript | gpl-2.0 | 62,478 |
var RoninTeam = {
growl: function(){
$("#growl").notify({
speed: 500,
expires: 3000
});
},
helpers: function(){
$('ul.chat').scrollTo('100%', 1);
},
currentTime: function() { return new Date().getTime(); },
flashMessages: function() {
$('<div id="flash-messages"></div>').appendTo('bo... | mephux/ronin-team | data/ronin/team/public/js/roninteam.js | JavaScript | gpl-2.0 | 6,929 |
window['%@'].events.startAd(); | levi/glitchapi | src/start_event.js | JavaScript | gpl-2.0 | 30 |
/*
* 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/kendo.maskedtextbox.js | JavaScript | gpl-2.0 | 16,430 |
const ruleFactory = require( './npm-package-json-lint-factory' );
module.exports = ruleFactory();
| Automattic/wp-calypso | packages/eslint-plugin-package-json/src/rules/index.js | JavaScript | gpl-2.0 | 98 |
/**
* Tabs - jQuery plugin for accessible, unobtrusive tabs
* @requires jQuery v1.1.1
*
* http://stilbuero.de/tabs/
*
* Copyright (c) 2006 Klaus Hartl (stilbuero.de)
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
*... | lacanoid/nodes | static/lib/js/jquery.tabs.js | JavaScript | gpl-2.0 | 31,775 |
/** @namespace H5PUpgrades */
var H5PUpgrades = H5PUpgrades || {};
H5PUpgrades['H5P.Video'] = (function ($) {
/**
* Help move and rename object properties.
*
* @private
* @param {Object} oldObj The object that has the property
* @param {String} oldProp The old property name
* @param {String} newPr... | NROER/drupal-intranet | sites/default/files/h5p/libraries/H5P.Video-1.1/upgrades.js | JavaScript | gpl-2.0 | 2,433 |
/* global async:true */
/* global jQuery:true */
/* global Ajax:true */
/* global requestUrl:true */
/* global concurrency:true */
/* global cacheConcurrency:true */
"use strict";
var $j = jQuery.noConflict();
$j(document).ready(function () {
var overlayElem = document.createElement("div");
overlayElem.setAt... | puntable/kraken-magento | js/kraken/optimize.js | JavaScript | gpl-2.0 | 4,884 |
var express = require('express')
var app = express();
var mqtt = require('mqtt');
var YQL = require('yql');
var server = require('http').Server(app);
var io = require('socket.io')(server);
var suncalc = require('suncalc');
var running;
var updateWeatherInterval;
var client = mqtt.connect('mqtt://doughnut.kent.ac.uk'... | Tatskaari/weather-display-mqtt-web-service | weather_service.js | JavaScript | gpl-2.0 | 5,151 |
/*! EXT:lib_jquery_lazyload->custom */
jQuery(document).ready(function(){var a="img.img-lazy";$(a).lazyload({threshold:100,effect:"fadeIn",placeholder:"/typo3conf/ext/lib_jquery_lazyload/Resources/Public/Images/lazyLoadingImage.gif"})});
| sonority/lib_jquery_lazyload | Resources/Public/JavaScript/jquery.lazyload-custom.min.js | JavaScript | gpl-2.0 | 238 |
import { BaseFormGroupToggle, BaseFormGroupToggleProps } from '@/components/new'
import i18n from '@/utils/locale'
export const props = {
...BaseFormGroupToggleProps,
// overload :options default
options: {
type: Array,
default: () => ([
{ value: '0', label: i18n.t('Off') },
{ value: '1', la... | inverse-inc/packetfence | html/pfappserver/root/src/views/Configuration/_components/new/BaseFormGroupToggleZeroOneStringAsOffOn.js | JavaScript | gpl-2.0 | 556 |
(function($, Drupal, window, document, undefined) {
var s = {};
s.toggleItem = function(e) {
var $this = $(e.currentTarget),
$row = $this.parents('tr'),
$rows = $row.nextAll();
n = $('td:eq(0) .indentation', $row).length;
hidden = $row.hasClass('c... | sodacrackers/washyacht | sites/all/modules/wyc_intranet/scripts/admin.js | JavaScript | gpl-2.0 | 1,710 |
Ext.define('QwiketMVC.store.Skill', {
extend: 'Ext.data.Store',
storeId: 'Skill',
model: 'QwiketMVC.model.Skill',
autoLoad: true,
//pageSize: 4,
//autoLoad: {start: 0, limit: 4},
proxy: {
type: 'ajax',
api: {
create: base+'index.php/positions?controller=positi... | nicholasdickey/hudsonwilde | components/com_qwiket/js/app/store/Skill.js | JavaScript | gpl-2.0 | 887 |
function alert(type, msg) {
console.log('Alert: ' + msg);
$('#alert-text').text(msg);
var $alert = $('#alert');
$alert.removeClass("alert-success alert-info alert-warning alert-danger");
$alert.addClass("alert-"+type);
$alert.removeClass('hidden');
$alert.stop(true, true);
$alert.fadeTo(4000, 500).slid... | TreffnonX/TakWeb | js/interface/alertbox.js | JavaScript | gpl-2.0 | 784 |
var name_generator = require('./name_generator');
var model_game = require('./model_game');
var db = require("./dbconnection");
function _get_valid_usernames(candidates, callback) {
if (candidates.length == 0) {
callback(false, []);
} else {
var query = db.createQuery('User').filter('username', candidates[... | marcrasi/webset | model_lobby.js | JavaScript | gpl-2.0 | 5,354 |
//TODO "remember" previous settings (e.g. scale) in case they were not default
function zoomToFeature(imgEl, feat) {
if ((imgEl == null) || (typeof feat != 'object')) return;
if (!feat.parameters || (typeof feat.parameters != 'object')) return;
var elWidth = imgEl.width;
var imgWidth = imgEl.naturalWid... | WildbookOrg/Wildbook | src/main/webapp/javascript/annot.js | JavaScript | gpl-2.0 | 980 |
var fbDatabasejoin = fbElement.extend({
initialize: function(element, options) {
this.plugin = 'fabrikdatabasejoin';
this.options = Object.extend({
'liveSite':'',
'popupform':49,
'id':0,
'formid':0,
'key':'',
'label':''
}, options || {});
this.setOptions(element, this.options);... | chrisinammo/arthurmcneil | components/com_fabrik/plugins/element/fabrikdatabasejoin/javascript.js | JavaScript | gpl-2.0 | 2,808 |
angular.module('starter.controllers', [])
.controller('AppCtrl', function($scope, $ionicModal, $timeout) {
// With the new view caching in Ionic, Controllers are only called
// when they are recreated or on app start, instead of every page change.
// To listen for when this page is active (for example, to refre... | ahayder/IONIC-Tabs-Sidemenu | js/controllers.js | JavaScript | gpl-2.0 | 1,624 |
/**
* jQuery.labelify - Display in-textbox hints
* Stuart Langridge, http://www.kryogenix.org/
* Released into the public domain
* Date: 25th June 2008
* @author Stuart Langridge
* @version 1.3
*
*
* Basic calling syntax: $("input").labelify();
* Defaults to taking the in-field label from the field'... | punithagk/quantix | sites/default/files/js/js_-N16RNdeUJauajx51ly78wTLJN5eMI20pGKKVH6iARw.js | JavaScript | gpl-2.0 | 16,689 |
/*!
* VisualEditor UserInterface WikiaMediaQueryWidget class.
*/
/* global mw */
/**
* @class
* @extends OO.ui.Widget
*
* @constructor
* @param {Object} [config] Configuration options
* @param {string|jQuery} [config.placeholder] Placeholder text for query input
* @param {string} [config.value] Initial query... | Wikia/OldStructuredDataPrototype | extensions/VisualEditor/wikia/modules/ve/ui/widgets/ve.ui.WikiaMediaQueryWidget.js | JavaScript | gpl-2.0 | 5,961 |
import R from 'ramda'
import { combineReducers } from 'redux'
import * as types from '../constants/ActionTypes'
import {
fulfilled,
buildManyResourceReducer,
buildSingleResourceReducer
} from '../util/redux'
let manyReducer = buildManyResourceReducer(types.FILES)
manyReducer.handle(fulfilled(types.FILES.CREAT... | ubyssey/dispatch | dispatch/static/manager/src/js/reducers/FilesReducer.js | JavaScript | gpl-2.0 | 572 |
/* ************************************************************************
qooxdoo - the new era of web development
http://qooxdoo.org
Copyright:
2004-2008 1&1 Internet AG, Germany, http://www.1und1.de
2006 Derrell Lipman
License:
LGPL: http://www.gnu.org/licenses/lgpl.html
EPL: htt... | omid/webian | usr/qx/sdk/framework/source/class/qx/legacy/ui/tree/TreeFolder.js | JavaScript | gpl-2.0 | 26,913 |
angular.module('GenForm',['RecursionHelper']); | andremeirelesa/gen-form | src/genform.module.js | JavaScript | gpl-2.0 | 46 |
(function ($) {
Drupal.behaviors.zerofourzero = {
attach: function (context, settings) {
// ------------------
// Toggling class on long text fields with summary to indicate
// if the summary is visible or not
// ------------------
function checkIfSummaryIsVisible() {
$('.... | bohman/traveljournal | sites/all/themes/zerofourzero/zerofourzero.js | JavaScript | gpl-2.0 | 852 |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/*
* This file is used/requested by the 'Styles' button.
* The 'Styles' button is not enabled by default in DrupalFull and DrupalFiltered toolbars.
*/
if(typeof(CKEDITO... | ibevamp/recruitingcentral | sites/all/themes/rctheme/ckeditor.styles.js | JavaScript | gpl-2.0 | 3,730 |
/* Copyright (c) Daniel Berenguer (panStamp) 2012 */
/**
* Update table fields
*/
function updateValues()
{
var xmlDoc = getXmlDoc();
var settings = xmlDoc.getElementsByTagName("settings")[0];
if (settings != null)
{
var opt;
var recordcmd = settings.getElementsByTagName("recordcmd")[0];
if (re... | ekoeppen/panstamp-python | lagarto/lagarto-speech/www/js/general_settings.js | JavaScript | gpl-2.0 | 1,295 |
describe('select', function() {
/**
* The test sets up a input, with inputs bound to its properties.
* We can play with its visibility, its value, its label display, etc...
*/
beforeEach(function() {
browser.get('/bonita/preview/page/no-app-selected/select/');
});
it('should manage contingency', ... | bonitasoft/bonita-ui-designer | tests/src/test/spec/pages/select.spec.js | JavaScript | gpl-2.0 | 1,271 |
/**
* popoverHtmlPopup.
* @file popoverHtmlPopup.js.
* @copyright Copyright © Lunch-Time 2014
*/
define([], function() {
'use strict';
var popoverHtmlPopup = [
function() {
return {
restrict: 'EA',
replace: true,
scope: {
... | Lunch-Time/lunch-time | Dinner/Scripts/LunchTime/core/directives/popoverHtmlPopup.js | JavaScript | gpl-2.0 | 627 |
window.outgoing_links_class = function () {
'use strict';
this.current_page = 1;
this.constants = null;
/**
* Initializing.
*
* @since 0.3.0
*/
this.init = function () {
var self = this;
/* Waiting for the DOM to be loaded */
document.addEventListener( 'DOMContentLoaded', functio... | WordPress-Plugin-Programmierer/ebook-snippets | 20.5.1.3-track-external-links/js/backend.js | JavaScript | gpl-2.0 | 6,155 |
/*
* jQuery UI Tooltip @VERSION
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* http://docs.jquery.com/UI/Tooltip
*
* Depends:
* jquery.ui.core.js
* jquery.ui.widget.js
* jquery.ui.position.js
*/
(function(... | samdark/jquery-ui | ui/jquery.ui.tooltip.js | JavaScript | gpl-2.0 | 5,768 |
/*!
* VisualEditor ContentEditable WikiaBlockVideoNode class.
*
* @copyright 2011-2013 VisualEditor Team and others; see AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
/**
* VisualEditor ContentEditable Wikia video node.
*
* @class
* @extends ve.ce.WikiaBlockMediaNode
* @mixins ve.ce.WikiaV... | Wikia/OldStructuredDataPrototype | extensions/VisualEditor/wikia/modules/ve/ce/ve.ce.WikiaBlockVideoNode.js | JavaScript | gpl-2.0 | 1,001 |
// mylist_to_top userscript for Netflix
// Built by Jared Sohn as a part of Flix Plus by Lifehacker, 2014-2015
// http://www.github.com/jaredsohn/flixplus
// Depends on: jquery, mutation-summary.js, fplib.js
//
// Moves Continue Watching and MyList to the top of the page
//
// Mutation observers only run when lolomoRow... | jaredsohn/flix_plus | userscripts/mylist_to_top.js | JavaScript | gpl-2.0 | 1,541 |
// Copyright 2016 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.
const ColorPicker = require('components/dialogs/color_picker.js');
const CommandBuilder = require('components/command_manager/command_builder.j... | harryrf/playground | javascript/features/gangs/gang_commands.js | JavaScript | gpl-2.0 | 33,512 |
(function($) {
/**
* Initialize editor instances.
*
* @todo Is the following note still valid for 3.x?
* This function needs to be called before the page is fully loaded, as
* calling tinyMCE.init() after the page is loaded breaks IE6.
*
* @param editorSettings
* An object containing editor settings for each... | uttecht/markuttecht | sites/default/files/js/js_5DebgWB3Ra443PSLOI0nKdRzBCAFb3vhKCLG5NyB6mk.js | JavaScript | gpl-2.0 | 12,449 |
// 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.
// Encapsulates an individual role within a Discord Guild. Users can have any number of roles.
// https://discord.com/developers/docs/resources... | LVPlayground/playground | javascript/features/nuwani_discord/structures/role.js | JavaScript | gpl-2.0 | 932 |
'use strict';
// The custom HTML element name.
var rainy = 'x-rainbow';
// A-l-l-l-l-l the colours of the rainbow.
var rainbowColours = [
'#FF0000',
'#FF7F00',
'#FFFF00',
'#00FF00',
'#0000FF',
'#4B0082',
'#8B00FF',
];
function centerText(element) {
// Vertically center the element's t... | bhalash/Fun | HTML/rainbow/rainbow_text.js | JavaScript | gpl-2.0 | 1,113 |
jQuery.fn.center = function () {
this.css("position","absolute");
this.css("top", Math.max(0, (($(window).height() - $(this).outerHeight()) / 2) + $(window).scrollTop()) + "px");
this.css("left", Math.max(0, (($(window).width() - $(this).outerWidth()) / 2) + $(window).scrollLeft()) + "px");
return this;... | StW96/MyGeneration | src/tiles.js | JavaScript | gpl-2.0 | 1,385 |
import widgets from './widgets-mock';
import widget from './widgetsFrom-mock';
describe('switchComponentPopupController', function () {
let $scope;
let widgetRepo;
let modalInstance;
let controller;
beforeEach(angular.mock.module('bonitasoft.designer.editor.whiteboard', 'bonitasoft.designer.common.repositor... | bonitasoft/bonita-ui-designer | frontend/test/unit/editor/whiteboard/switchComponent/switch-component-popup.controller.spec.js | JavaScript | gpl-2.0 | 7,935 |
showWord(["n. "," 1. Konvèsasyon, deba. Diskisyon sa a enteresan anpil, mwen renmen tande opinyon plizyè moun. 2. Joure. Li lè pou diskisyon sa yo fini. 3. Pati nan yon disètasyon. Se nan diskisyon an mwen mete diferan opinyon otè yo."
]) | georgejhunt/HaitiDictionary.activity | data/words/diskisyon.js | JavaScript | gpl-2.0 | 245 |
function showBusy(targetDiv){
var div = document.getElementById(targetDiv+"_Busy");
if(div != null){
document.getElementById(targetDiv+"_Busy").style.display = '';
}
}
function hideBusy(targetDiv){
var div = document.getElementById(targetDiv+"_Busy");
if(div != null){
document.getElementById(targetDi... | lamsfoundation/lams | lams_tool_larsrc/web/includes/javascript/rsrccommon.js | JavaScript | gpl-2.0 | 2,741 |
ace.define("ace/snippets/ace_text",["require","exports","module"],function(e,t,n){"use strict";t.snippetText=undefined,t.scope="ace_text"}) | lucienevans/desktop-app | public/libs/ace/snippets/ace_text.js | JavaScript | gpl-2.0 | 139 |