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":"08630045","logradouro":"Rua Boa Terra","bairro":"Ch\u00e1caras S\u00e3o Judas Tadeu","cidade":"Suzano","uf":"SP","estado":"S\u00e3o Paulo"});
| lfreneda/cepdb | api/v1/08630045.jsonp.js | JavaScript | cc0-1.0 | 156 |
jsonp({"cep":"73310690","logradouro":"\u00c1rea AEN 9","bairro":"Setor Norte (Planaltina)","cidade":"Bras\u00edlia","uf":"DF","estado":"Distrito Federal"});
| lfreneda/cepdb | api/v1/73310690.jsonp.js | JavaScript | cc0-1.0 | 157 |
jsonp({"cep":"60862105","logradouro":"Rua Ana Cl\u00e9cia Viana","bairro":"Passar\u00e9","cidade":"Fortaleza","uf":"CE","estado":"Cear\u00e1"});
| lfreneda/cepdb | api/v1/60862105.jsonp.js | JavaScript | cc0-1.0 | 145 |
jsonp({"cep":"57085710","logradouro":"Rua Filad\u00e9lfia","bairro":"Benedito Bentes","cidade":"Macei\u00f3","uf":"AL","estado":"Alagoas"});
| lfreneda/cepdb | api/v1/57085710.jsonp.js | JavaScript | cc0-1.0 | 141 |
jsonp({"cep":"13070024","logradouro":"Rua do A\u00e7\u00facar","bairro":"Jardim Chapad\u00e3o","cidade":"Campinas","uf":"SP","estado":"S\u00e3o Paulo"});
| lfreneda/cepdb | api/v1/13070024.jsonp.js | JavaScript | cc0-1.0 | 154 |
jsonp({"cep":"17505050","logradouro":"Rua Luiz Gatti","bairro":"Jardim Bandeirantes","cidade":"Mar\u00edlia","uf":"SP","estado":"S\u00e3o Paulo"});
| lfreneda/cepdb | api/v1/17505050.jsonp.js | JavaScript | cc0-1.0 | 148 |
jsonp({"cep":"48903903","logradouro":"Pra\u00e7a Bar\u00e3o do Rio Branco","bairro":"Centro","cidade":"Juazeiro","uf":"BA","estado":"Bahia"});
| lfreneda/cepdb | api/v1/48903903.jsonp.js | JavaScript | cc0-1.0 | 143 |
jsonp({"cep":"74785731","logradouro":"Rua SR 2","bairro":"Residencial Belo Horizonte","cidade":"Goi\u00e2nia","uf":"GO","estado":"Goi\u00e1s"});
| lfreneda/cepdb | api/v1/74785731.jsonp.js | JavaScript | cc0-1.0 | 145 |
jsonp({"cep":"83075476","logradouro":"Rua Serafim Fran\u00e7a","bairro":"Borda do Campo","cidade":"S\u00e3o Jos\u00e9 dos Pinhais","uf":"PR","estado":"Paran\u00e1"});
| lfreneda/cepdb | api/v1/83075476.jsonp.js | JavaScript | cc0-1.0 | 167 |
jsonp({"cep":"35930546","logradouro":"Rua Jos\u00e9 S\u00e9rgio","bairro":"Luc\u00edlia","cidade":"Jo\u00e3o Monlevade","uf":"MG","estado":"Minas Gerais"});
| lfreneda/cepdb | api/v1/35930546.jsonp.js | JavaScript | cc0-1.0 | 157 |
jsonp({"cep":"59150080","logradouro":"Rua Virgin\u00f3polis","bairro":"Nova Parnamirim","cidade":"Parnamirim","uf":"RN","estado":"Rio Grande do Norte"});
| lfreneda/cepdb | api/v1/59150080.jsonp.js | JavaScript | cc0-1.0 | 154 |
jsonp({"cep":"72316115","logradouro":"Quadra QR 208 Conjunto 14","bairro":"Samambaia Norte (Samambaia)","cidade":"Bras\u00edlia","uf":"DF","estado":"Distrito Federal"});
| lfreneda/cepdb | api/v1/72316115.jsonp.js | JavaScript | cc0-1.0 | 170 |
jsonp({"cep":"75908120","logradouro":"Rua Caraj\u00e1s","bairro":"Parque Laranjeiras","cidade":"Rio Verde","uf":"GO","estado":"Goi\u00e1s"});
| lfreneda/cepdb | api/v1/75908120.jsonp.js | JavaScript | cc0-1.0 | 142 |
jsonp({"cep":"18619452","logradouro":"Rua Dezesseis","bairro":"Vila Real de Barra Bonita (Vitoriana)","cidade":"Botucatu","uf":"SP","estado":"S\u00e3o Paulo"});
| lfreneda/cepdb | api/v1/18619452.jsonp.js | JavaScript | cc0-1.0 | 161 |
jsonp({"cep":"41310530","logradouro":"Rua Alexandre Teixeira","bairro":"\u00c1guas Claras","cidade":"Salvador","uf":"BA","estado":"Bahia"});
| lfreneda/cepdb | api/v1/41310530.jsonp.js | JavaScript | cc0-1.0 | 141 |
jsonp({"cep":"08635540","logradouro":"Rua La\u00e9rcio Lopes dos Reis","bairro":"Jardim do Lago","cidade":"Suzano","uf":"SP","estado":"S\u00e3o Paulo"});
| lfreneda/cepdb | api/v1/08635540.jsonp.js | JavaScript | cc0-1.0 | 154 |
jsonp({"cep":"96506292","logradouro":"Beco Tr\u00eas","bairro":"Santo Ant\u00f4nio","cidade":"Cachoeira do Sul","uf":"RS","estado":"Rio Grande do Sul"});
| lfreneda/cepdb | api/v1/96506292.jsonp.js | JavaScript | cc0-1.0 | 154 |
jsonp({"cep":"88132013","logradouro":"Rua 859","bairro":"Passa Vinte","cidade":"Palho\u00e7a","uf":"SC","estado":"Santa Catarina"});
| lfreneda/cepdb | api/v1/88132013.jsonp.js | JavaScript | cc0-1.0 | 133 |
jsonp({"cep":"07060040","logradouro":"Rua Isa","bairro":"Jardim Alian\u00e7a","cidade":"Guarulhos","uf":"SP","estado":"S\u00e3o Paulo"});
| lfreneda/cepdb | api/v1/07060040.jsonp.js | JavaScript | cc0-1.0 | 138 |
jsonp({"cep":"97045440","logradouro":"Rua Samuel Morse","bairro":"Itarar\u00e9","cidade":"Santa Maria","uf":"RS","estado":"Rio Grande do Sul"});
| lfreneda/cepdb | api/v1/97045440.jsonp.js | JavaScript | cc0-1.0 | 145 |
/**
* WordPress dependencies
*/
import { createNewPost } from '@wordpress/e2e-test-utils';
/**
* Internal dependencies
*/
import { clickButton, uploadMedia } from '../../utils';
const noticeSelector = '.media-toolbar-secondary .notice-warning';
const largeImage = 'large-image-36521.jpg';
const smallImage = 'small... | ampproject/amp-wp | tests/e2e/specs/block-editor/featured-image-notice.js | JavaScript | gpl-2.0 | 1,678 |
'use strict';
/**
* @description Service that allows to add a project on server
* @param {json} object that contains projectName (the name of new project) and userID
*/
angular.module('app.services.project', ['ngRoute', 'ngResource'])
.factory('projectService', ['$resource', function($resource) {
ret... | DazzleWorks/Premi | public/app/services/project/project.js | JavaScript | gpl-2.0 | 494 |
/* 需要前置 jquery 1.42+ 、jquery.validate.js。 */
//=================== $.fn.GroupVal ==========================================================================================================
/*
* 功能 : 获取/设置一组或单个 checkbox/radio 的value值。
*
* 使用方法 : a.只给一个参数 ,在this范围内取name相同的一组或单个 checkbox/radio 的值(value);
* ... | lsyuan/ecms | Web/Scripts/jquery.JsonData.js | JavaScript | gpl-2.0 | 14,046 |
(function($){
$(document).ready( function() {
// insert span tag into submenu item for more flexibility
$('#submenu li a').each( function() {
$(this).wrapInner('<span></span>');
});
// move system message
if ( $('#system-message').length > 0 ) {
var message = $('#system-message').html();
... | joomleiros/tpl_joomleiros | administrator/components/com_easyblog/assets/js/admin.js | JavaScript | gpl-2.0 | 2,513 |
var CrawfordPlains = {
"type": "FeatureCollection",
"features": [
{
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-113.40228540858526,
53.44484250184222
],
[
-113.4007704035171,
... | EsriCanada-CE/ecce-app-challenge-2016 | maraudersmApp/maraudersmApp/GeoJsonNeighbor/Crawford Plains_neighbor.js | JavaScript | gpl-2.0 | 5,387 |
// gridstack.js 0.2.4-dev
// http://troolee.github.io/gridstack.js/
// (c) 2014-2015 Pavel Reznikov
// gridstack.js may be freely distributed under the MIT license.
(function(factory) {
if (typeof define === 'function' && define.amd) {
define(['jquery', 'lodash', 'jquery-ui/core', 'jquery-u... | BearsTheme/lemongrid | wp-content/plugins/lemongrid/assets/js/gridstack.js | JavaScript | gpl-2.0 | 33,845 |
var express = require('express');
var router = express.Router();
var mongoose = require('mongoose');
var bodyParser = require('body-parser');
var methodOverride = require('method-override');
//copy-pasted from method-override
router.use(bodyParser.urlencoded({ extended: true }));
router.use(methodOverride(function(req... | alexcotoranu/ux-classify | routes/cards.js | JavaScript | gpl-2.0 | 12,188 |
/*
* Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free... | hazzik/nashorn | test/script/basic/hideLocationProperties.js | JavaScript | gpl-2.0 | 1,529 |
var structec__datagram__t =
[
[ "queue", "structec__datagram__t.html#a6e6acbb9301ecc6f382740eae531f00a", null ],
[ "sent", "structec__datagram__t.html#aa1ff1596b3e36d19123be609dbf3de46", null ],
[ "device_index", "structec__datagram__t.html#a9804c4ebdbd3e7ff5b55bfe3aa33bbef", null ],
[ "type", "structec... | ahzahraee/etherlabmaster | doxygen-output/html/structec__datagram__t.js | JavaScript | gpl-2.0 | 1,576 |
/*
* Magix - A Managed Ajax Library for ASP.NET
* Copyright 2010 - 2011 - Ra-Software, Inc. - thomas.hansen@winergyinc.com
* Magix is licensed as GPLv3, or Commercially for Proprietary Projects through Ra-Software.
*/
(function() {
MUX.Uploader = MUX.klass();
MUX.extend(MUX.Uploader.prototype, MUX.Cont... | xingh/magix | Magix-UX/Js/Uploader.js | JavaScript | gpl-2.0 | 3,470 |
import _ from 'lodash';
/**
* endsWith helper
*
* @module lohand
*
* @param {string} string - sting to test
* @param {string} target - target character
* @param {Object} options - handlebars context
* @returns {string} rendered output
*/
function endsWith(string, target, {fn, inverse, hash: {position}}) {
i... | SomeoddpilotInc/lohand | lib/helpers/endsWith.js | JavaScript | gpl-2.0 | 440 |
import { THEME_PREVIEW_STATE } from 'calypso/state/themes/action-types';
import 'calypso/state/themes/init';
export function showThemePreview( themeId ) {
return {
type: THEME_PREVIEW_STATE,
themeId,
};
}
| Automattic/wp-calypso | client/state/themes/actions/show-theme-preview.js | JavaScript | gpl-2.0 | 213 |
// PARALLAX TRIANGLE
jQuery(document).ready(function($) {
var css3dtransforms = true;
if( $('html').hasClass('no-csstransforms3d') ) {
css3dtransforms = false;
}
console.log('This is css3dtransforms', css3dtransforms);
if( (!mobile) && (css3dtransforms == true) ) {
// console.log('Het from para... | Click3X/000258_TheFamilyNYC | wp-content/themes/wen-theme/library/js/parallax-tri.js | JavaScript | gpl-2.0 | 2,911 |
module('GenPass mobile version');
// Enumerate jQuery selectors for caching.
var $iframe = $('#GP');
var $el = {};
var selectors =
[
'Passwd',
'Domain',
'Len',
'CaseLower',
'CaseUpper',
'CaseMixed',
'Generate',
'Output'
];
var testMobileVersion = function () {
// Populate selec... | chriszarate/genpass | test/mobile.js | JavaScript | gpl-2.0 | 2,199 |
var SponsorshipDashboard = function(){
var self = this;
//params filled by PHP
this.chartId = 0;
this.datasets = [];
this.fullTicks = [];
this.hiddenSeries = [];
this.monthly = null;
this.ticks = [];
//other params
this.data = [];
this.overview = null;
this.plot = null;
this.previousPoint = null;
this.se... | felixonmars/app | extensions/wikia/SpecialPageViews/modules/SpecialPageViews.js | JavaScript | gpl-2.0 | 14,236 |
// JSON Validator
// http: //jsonlint.com/
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
// General rule
// Storage is within the form
// the rest should be placed within the objects ... (if it makes sense)
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
//
// Techni... | stefanwalther/set-analysis-wizard | legacy/library/js/SetAnalysisWizard.js | JavaScript | gpl-2.0 | 1,694 |
define(
[
'angular',
'common/controllers/romaZoom',
'common/directives/romaZoom',
'common/controllers/namesGrid',
'common/directives/namesGrid',
'common/controllers/lazyList',
'common/directives/lazyList',
'common/controllers/geoselectionTypeGrid',
... | victorbucutea/swl | templates/recruiter-root/recruiter-ui/src/test/scripts/common/module.js | JavaScript | gpl-2.0 | 6,112 |
/*
* Copyright (C) 2006 Google Inc.
*
* 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 applic... | svyatoslavteterin/belton.by | static/js/search2.js | JavaScript | gpl-2.0 | 61,603 |
(function (window) {
var BaseService = jsClass.extend({
controllerName: null,
qService: null,
http: null,
init: function (controllerName, http, qService) {
this.controllerName = controllerName;
this.http = http;
this.qService = qService;
... | JUkhan/JWT.Studio | JWT.Studio/jwtApp/Scripts/Services/BaseService.js | JavaScript | gpl-2.0 | 4,789 |
/**
* $Id: editor_plugin_src.js,v 1.1 2007-05-05 09:21:23 umut Exp $
*
* @author Moxiecode
* @copyright Copyright © 2004-2007, Moxiecode Systems AB, All rights reserved.
*/
/* Import plugin specific language pack */
tinyMCE.importPluginLanguagePack('style');
var TinyMCE_StylePlugin = {
getInfo : func... | atealxt/crm | intouch2/war/tinymce/plugins/style/editor_plugin_src.js | JavaScript | gpl-2.0 | 2,210 |
(function(name)
{
var event = document.createEvent('MouseEvents');
event.initMouseEvent(name, true, true, window, 1, 0, 0, 0, 0, false, false, false, false, 0, null);
if(elem.onclick)
{
//elem.onclick(event);
}
return elem.dispatchEvent(event);
})('%1')
| mvasilchuk/yasem-web-browser | js/mouseevent.js | JavaScript | gpl-2.0 | 288 |
Meteor.publish('reviews', function (filter) {
filter = filter || {};
Object.assign(filter, {userId: this.userId});
return Reviews.find(filter);
});
Meteor.publish('review', function (id) {
return Reviews.findOne({_id: id});
});
Meteor.publish('user', function () {
if (this.userId) {
return Meteor.users.... | vdavid/movie-meteor | server/publications.js | JavaScript | gpl-2.0 | 420 |
var searchData=
[
['xinpinitemcats',['xinpinItemCats',['../classSellerAuthorize.html#a4744b022906ee62b368603d816d590a9',1,'SellerAuthorize']]],
['xmlparser',['XmlParser',['../classXmlParser.html',1,'XmlParser'],['../classXmlParser.html#a056dcf51038ecfd5840135b05239bf76',1,'XmlParser::XmlParser(const QString &st... | sd44/TaobaoCppQtSDK | doc/search/all_78.js | JavaScript | gpl-2.0 | 595 |
(function($) {
$(document).ready(function() {
initCreateDialog();
if (window.location.hash === '#add') {
$('#btn-add-new').trigger('click');
}
});
function initCreateDialog() {
var $container = $('#gg-create-gallery-dialog'),
$trigger = $('#gg-crea... | kamil-incubasys/carpets | wp-content/plugins/grid-gallery-ready/src/GirdGallery/Galleries/assets/js/gird-gallery.galleries.index.js | JavaScript | gpl-2.0 | 3,534 |
/*
* yui-ext 0.33
* Copyright(c) 2006, Jack Slocum.
*/
/**
* @class YAHOO.ext.grid.DefaultDataModel
* This is the default implementation of a DataModel used by the Grid. It works
* with multi-dimensional array based data. Using the event system in the base class
* {@link YAHOO.ext.grid.AbstractData... | nanoprime/sureinvoice | includes/javascript/yui/ext/data/DefaultDataModel.js | JavaScript | gpl-2.0 | 12,416 |
//------------------------------------------------------------------------------
// Event-Service: asynchroner Nachrichtenaustausch
//------------------------------------------------------------------------------
// depends-on:
// jquery
// inheritance
//-----------------------------------------------------... | DarkLuk42/hn-web-study | content/js/es.js | JavaScript | gpl-2.0 | 3,276 |
Meteor.startup(function(){
if(!IO || !IO.buildpacks || IO.buildpacks.length < 1){
console.error('IO-cache dependency loaded before buildpacks or missing IO object');
//return false;
}
//make cache
IO.cache = new IO.Cache();
});
| dpwoert/CityIO | packages/cityio-cache/startup.js | JavaScript | gpl-2.0 | 263 |
var Sprite = function( w, h, frameDef, imageIndex ) {
this.width = w;
this.height = h;
this.frame = 0;
this.frames = frameDef;
this.ts = getTimeStamp();
this.SCALE = 1;
this.imageIndex = imageIndex || 0;
};
Sprite.prototype = {
render: function(ctx, x, y, doFlip){
... | madmarcel/devour | js/sprite.js | JavaScript | gpl-2.0 | 2,134 |
$(window).load(function(){FusionCharts.ready(function () {
var socialMediaPlan = new FusionCharts({
type: 'gantt',
renderAt: 'chart-container',
width: '750',
height: '500',
dataFormat: 'json',
dataSource: {
"chart": {
"dateformat": "mm/dd/y... | sguha-work/fiddletest | fiddles/Chart/Gantt-Chart/Simple-Gantt-chart-with-multiple-categories_330/demo.js | JavaScript | gpl-2.0 | 5,601 |
function SetFonts(fonts) {
for (var i = 0; i < fonts.items.length; i++) {
$('#title_font, #subtitle_font, #body_font, #my_font')
.append($("<option></option>")
.attr("value", fonts.items[i].family)
.text(fonts.items[i].family));
}
}
var script = document.createElement('script')... | mediaexhibitor/meacqua | wp-content/themes/firstheme/admin/js/rm.js | JavaScript | gpl-2.0 | 486 |
/* local Storage*/
app.factory("localStore", function () {
return {
set: function (key, val) {
localStorage.setItem(key, val);
console.log("stored to local storage");
},
get: function (key) {
var val = localStorage.getItem(key);
return val;
... | leorajdsouza/cinematic | service/dbService.js | JavaScript | gpl-2.0 | 424 |
(function(window, $) {
'use strict';
function Gallery(selector, photos) {
this.view = app.View;
this.controller = app.Controller;
this.photo = app.Photo;
this.photo.add(photos);
this.view.attachGallery(selector);
this.view.setPhoto(
this.photo.current()
);
this.controller.bindEvents(this.view,... | NathanCH/cetan | wp-content/themes/schoolbus/src/js/gallery/app.js | JavaScript | gpl-2.0 | 403 |
/**
* WordPress dependencies
*/
import { activateTheme } from '@wordpress/e2e-test-utils';
/**
* Internal dependencies
*/
import {
goToOnboardingWizard,
moveToSiteScanScreen,
testNextButton,
testPreviousButton,
} from '../../utils/onboarding-wizard-utils';
import { testSiteScanning } from '../../utils/site-sca... | ampproject/amp-wp | tests/e2e/specs/amp-onboarding/site-scan.js | JavaScript | gpl-2.0 | 2,981 |
/*
NodeJS script that wathes for changes on the module and tests folder.
First: install watchr (if you don't have it globally installed):
# npm install wathcr
Second, execute the script from the root folder (outside utils/ dir)
# node utils/watch.js
Done!
*/
// Requires
var watchr = require('watchr');
var sys = ... | fmartingr/datCrawl | utils/watcher.js | JavaScript | gpl-2.0 | 1,192 |
vti_encoding:SR|utf8-nl
vti_timelastmodified:TR|21 Nov 2012 08:20:46 -0000
vti_extenderversion:SR|5.0.2.6790
vti_lineageid:SR|{A70A7D69-B557-4B2E-BF6E-756E8FD5B197}
vti_cacheddtm:TX|21 Nov 2012 08:20:46 -0000
vti_filesize:IR|2326
vti_backlinkinfo:VX|
| JustinTBayer/chapter-manager | js/DataTables-1.9.4/media/unit_testing/tests_onhold/4_server-side/_vti_cnf/oLanguage.sInfoPostFix.js | JavaScript | gpl-2.0 | 258 |
/**
* External dependencies
*/
import PropTypes from 'prop-types';
/**
* WordPress dependencies
*/
import { __ } from '@wordpress/i18n';
/**
* Internal dependencies
*/
import { ListItems } from '../list-items';
/**
* Render site information.
*
* @param {Object} props Component props.
* @param {Obj... | ampproject/amp-wp | assets/src/components/amp-support/site-info.js | JavaScript | gpl-2.0 | 3,120 |
game={}
game.buildings={}
game.buildings['metal_mine']={
"id":0,
"display_name":"Metal Mine",
"resource_name":"metal",
"resource_relation":"production"
}
game.buildings['crystal_mine']={
"id":1,
"display_name":"Crystal Mine",
"resource_name":"crystal",
"resource_relation":"production"
}
game.buildings['gas_mine... | TumultuousBuffalo97/Galaxy-Empire-Clone-Codelouisville-Project- | js/game.js | JavaScript | gpl-2.0 | 8,220 |
jQuery(document).ready(function(a){jQuery(".search-panel .dropdown-menu").find("a").click(function(d){d.preventDefault();var b=$(this).attr("href").replace("#","");var c=$(this).text();jQuery(".search-panel span#search_concept").text(c);jQuery(".input-group #search_filter").val(b)})}); | kazist/kazist | applications/System/Addons/Search/assets/js/search.min.js | JavaScript | gpl-2.0 | 286 |
'use strict';
angular.module('mean.contacts').config(['$stateProvider',
function ($stateProvider) {
$stateProvider
.state('create contact', {
url: '/',
templateUrl: 'contacts/views/index.html'
})
.state('edit contact', {
url: '/contact/:contactId/edit',
templateU... | mimiflynn/contacts | packages/custom/contacts/public/routes/contacts.js | JavaScript | gpl-2.0 | 499 |
/*!
* Media helper for soliloquybox
* version: 1.0.6 (Fri, 14 Jun 2013)
* @requires soliloquybox v2.0 or later
*
* Usage:
* $(".soliloquybox").soliloquybox({
* helpers : {
* media: true
* }
* });
*
* Set custom URL parameters:
* $(".soliloquybox").soliloquybox({
* ... | gregdavispsu/kennett-design | wp-content/plugins/soliloquy-lightbox/js/lib/fancybox-media.js | JavaScript | gpl-2.0 | 5,346 |
jQuery(document).ready(function() {
var myLatlng = new google.maps.LatLng(params.lat, params.lng);
var mapOptions = {
center: new google.maps.LatLng(params.lat, params.lng),
zoom: 8,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
var map = new google.maps.Map(document.getElementById("map_canvas"), mapO... | siobhankha/caa | wp-content/plugins/combrite/front/js/map.js | JavaScript | gpl-2.0 | 669 |
$(function() {
window.scroll(0,240);
$('#photo_bar_container').attr('style', 'background:url('+headerImage+')');
$('.wp-caption').css({'width':''});
selectAlbumCovers();
repositionNavBar();
for(var i = 0; i < allHeaderImages.length; i++) {
new Image().src = allHeaderImages[i];
}
$(window).on('resize', func... | mygoodgomez/square_nik | scripts/site.js | JavaScript | gpl-2.0 | 2,035 |
define([ 'backbone', 'util', 'model/project/MessageModel' ], function(Backbone, util, MessageModel) {
var MessageList = Backbone.Collection.extend({
model: MessageModel
});
return MessageList;
}); | AjaxJackjia/IdeaWorks | WebContent/module/my/model/project/MessageCollection.js | JavaScript | gpl-2.0 | 203 |
/**
* maelstrom-sass | lib/tasks/lint.js
*/
'use strict';
const GulpIf = require('gulp-if');
// // // // // // // // // // // // // // // // // // // // // // // // // // //
module.exports = function($plugin, $maelstrom)
{
return function()
{
let $filesToExclude = '!' + $maelstrom.config.src.sass +... | roeldev/maelstrom-sass | lib/tasks/lint.js | JavaScript | gpl-2.0 | 608 |
/*jslint node: true */
module.exports = function (grunt) {
'use strict';
grunt.initConfig(
{
jslint: {
Gruntfile: {
src: ['Gruntfile.js']
}
},
jsonlint: {
manifests: {
src: '*.json... | Rudloff/adblock-imokwithcookies | Gruntfile.js | JavaScript | gpl-2.0 | 1,577 |
const protobuf = require("protobufjs");
const fs = require("fs");
function wrap(o) {
var wrapper = {};
wrapper.inner = o;
for (let p in o) {
var capitalized = p[0].toUpperCase() + p.substring(1, p.length);
if (capitalized[capitalized.length - 1] === "_") {
capitalized = capita... | wyvernlang/wyvern | native/javascript/stdlib/support/bytecode.js | JavaScript | gpl-2.0 | 3,881 |
'use strict';
function User (obj) {
this.firstName = obj.firstName;
this.lastName = obj.lastName;
this.birthDate = new Date(obj.birthDate);
this.jobTitle = obj.jobTitle;
}
User.prototype.firstName = null;
User.prototype.lastName = null;
User.prototype.birthDate = null;
User.prototype.jobTitle = null; | alexeybondarenko/angular-business-template | app/scripts/modules/abt.users.providers/models/user.js | JavaScript | gpl-2.0 | 307 |
var searchData=
[
['info',['INFO',['../class_logger.html#a96ecc57d01700c7b14d101f0f65a9932a61a9b6fc1e9babc448984b8a34ca2ed2',1,'Logger']]],
['info_5fparam_5fvalue',['INFO_PARAM_VALUE',['../_globals_8hpp.html#a71979fc65a21e2bf27f0df1f7c9d4721',1,'Globals.hpp']]]
];
| ivan-zapreev/Automated-Translation-Tries | doxygen/html/search/all_7.js | JavaScript | gpl-2.0 | 269 |
(function(){function forEach(arr,f){for(var i=0,e=arr.length;i<e;++i)f(arr[i]);}
function arrayContains(arr,item){if(!Array.prototype.indexOf){var i=arr.length;while(i--){if(arr[i]===item){return true;}}
return false;}
return arr.indexOf(item)!=-1;}
function scriptHint(editor,keywords,getToken){var cur=editor.getCursor... | alfasado/mt-static-min | mt-static/codemirror/lib/util/javascript-hint.js | JavaScript | gpl-2.0 | 3,651 |
export const DOI_PATTERN = /\b10\.(?:97[89]\.\d{2,8}\/\d{1,7}|\d{4,9}\/\S+)/;
export const DOI_ORG_PATTERN = /doi\.org$/;
export const isDoi = (value) => typeof value === 'string' && DOI_PATTERN.test(value);
export const extractDoi = (value) => {
const matches = value.match(DOI_PATTERN);
if (!matches) {
return n... | pubpub/pubpub | utils/crossref/parseDoi.js | JavaScript | gpl-2.0 | 530 |
/********************
* Planet Mandriva
* stylesheet switcher
* based on http://www.alistapart.com/articles/alternate/
* May 2005
* by John Keller
* www.johnkeller.com
********************/
// stylesheet utility functions
function setActiveStyleSheet(title) {
var linkArray = document.getElementsByTagName("lin... | inverse-inc/packetfence-pki | pki/static/css/switch-styles.js | JavaScript | gpl-2.0 | 2,790 |
'use strict';
const fs = require('fs');
const path = require('path');
module.exports = function () {
return {
getVersion: fs.readFileSync(path.join(__dirname, 'getVersion.sql')).toString(),
views: fs.readdirSync(path.join(__dirname, 'views')).reduce((sql, filename) => {
if (/^(.*)\.sql$/.exec(filename... | R-Vision/collectorjs | plugins/sccm/queries/index.js | JavaScript | gpl-2.0 | 505 |
var video_filter_dialog = {
insert : function() {
var ed = tinyMCEPopup.editor, e;
tinyMCEPopup.restoreSelection();
tinyMCEPopup.execCommand("mceBeginUndoLevel");
var file_url = $('#edit-file-url').val();
// @Todo: validate width and hight is INTs?
if (file_url == "") {
// ... | charlesanders/continuinged | sites/all/modules/video_filter/editors/tinymce/video_filter.js | JavaScript | gpl-2.0 | 1,322 |
import gulp from 'gulp';
import { styleCheck } from 'gulp-eslint-style-checker';
gulp.task('style-check', () => {
return styleCheck(['src/**/*.js', 'src/**/*.jsx']);
});
gulp.task('default', ['style-check']);
| engvik/rwtn-map | gulpfile.babel.js | JavaScript | gpl-2.0 | 213 |
/*
jQuery News Ticker 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 2 of the License.
jQuery News Ticker is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY;... | af6900/a-blog | assets/js/jquery.ticker.js | JavaScript | gpl-2.0 | 15,994 |
function openerp.qweb_pos_ticket(instance){ //module is instance.point_of_sale
module=instance.point_of_sale;
_t = instance.web._t;
console.log("qweb pos ticket");
module.PaymentScreenWidget=module.ScreenWidget.extend({
show: function () {
console.log("Click on back_buton");
... | silvau/Addons_Odoo | qweb_pos_ticket/static/src/js/qweb_pos_ticket.js | JavaScript | gpl-2.0 | 818 |
/*
* Wazuh app - Script to generate sample alerts
* Copyright (C) 2015-2021 Wazuh, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your op... | wazuh/wazuh-kibana-app | server/lib/generate-alerts/generate-alerts-script.js | JavaScript | gpl-2.0 | 40,537 |
/*!
*DragBySHF v1.1.1
*Author:盛浩峰
*Date:2014-05-12
*http://www.cnblogs.com/iamshf
*http://wonder-world.appspot.com
*修复bug
*/
;
(function ($, window, document, undefined) {
//#region 拖动公共方法
function onDragStart(e) {
///<summary>
///开始拖动
///</summary>
///<para... | iamshf/jQueryPlugin | drag/dragBySHF.js | JavaScript | gpl-2.0 | 5,660 |
_dynamicInclude($includeFolder);
_include('../_include.js');
try {
thruk_login();
thruk_open_panorama();
thruk_unlock_dashboard("Dashboard");
click(_button("add"));
click(_span("Icons & Widgets"));
click(_span("Service Status"));
mouseClickXY(100,100);
isVisible(_textbox('host'));
... | ppanula/Thruk | t/docker/cases/0211_panorama_service_icon_speedometer.js | JavaScript | gpl-2.0 | 1,285 |
/**
* Overriding default error object
* @param {string} name: Error name
* @param {string} code: Error code
* @param {string} message: Error message
* @param {object} datas: Error usefull datas object
* @returns {Error}
*/
var error = function( name, code, message, datas ){
this.name = name||'Error';
thi... | gmasmejean/stud.io | lib/application/error.js | JavaScript | gpl-2.0 | 638 |
/*
* Copyright (C) 2012-2014 52°North Initiative for Geospatial Open Source
* Software GmbH
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License version 2 as publishedby the Free
* Software Foundation.
*
* If the program is linked with l... | 52North/timeseries-protector | webapp/src/main/webapp/static/js/permissionManagement.js | JavaScript | gpl-2.0 | 19,736 |
( function( $ ) {
$('#toggle').click(function() {
$(this).toggleClass('active');
$('#overlay').toggleClass('open');
});
} )( jQuery );
| Jessekevon/specht-architects | wp-content/themes/specht/js/mobile-menu.js | JavaScript | gpl-2.0 | 154 |
'use strict';
var express = require('express');
var controller = require('./post.controller');
var router = express.Router();
router.get('/', controller.index);
router.get('/:id', controller.show);
router.post('/', controller.create);
module.exports = router; | easingthemes/dot | server/api/post/index.js | JavaScript | gpl-2.0 | 263 |
var arc = require('../arc');
var log = arc.log;
log.error = arc.error;
log("foo", "error");
log("bar", "FATAL");
log("baz", "WARN");
log.error("oh noes it errored!", new Error("Im ded"));
| virtkick/arc-log | test/test.js | JavaScript | gpl-2.0 | 189 |
{
// these are for the color picker
currentColor_content: 'Current',
inUseColors_content: 'In Use',
Palette_txt: 'Palette',
Custom_txt: 'Custom',
// these are general strings
Ok_txt: 'OK',
Cancel_txt: 'Cancel',
CloseIcon_title: 'Close',
ErrorDialog_title: 'Error'
... | ColFusion/ColfusionWeb | downloads/spoon/spoon/plugins/spoon/agile-bi/platform/pentaho-solutions/system/common-ui/resources/web/dojo/pentaho/common/nls/messages.js | JavaScript | gpl-2.0 | 324 |
module.exports = function(app, mongoose){
app.get('/guild/:guildID"', function(req, res) {
var guildID = req.params.guildID;
var Guild = mongoose.model("Guild");
Guild.findByID({id:guildID}, function(data){
res.jsonp(data);
});
});
app.post('/guild"', function(req, res) {
var Guild = mongoose.model("Gui... | muklin/guildBoss | app/routes/GuildModuleRoutes.js | JavaScript | gpl-2.0 | 406 |
const checkFiltered = require("./../Modules/FilterChecker.js");
const mstranslate = require("./../Modules/MicrosoftTranslate.js");
const runExtension = require("./../Modules/ExtensionRunner.js");
const levenshtein = require("fast-levenshtein");
const unirest = require("unirest");
module.exports = (bot, db, config, wi... | ChatterBoxGames/ChatterBot | Events/messageCreate.js | JavaScript | gpl-2.0 | 33,347 |
/*
* printThis v1.3
* @desc Printing plug-in for jQuery
* @author Jason Day
*
* Resources (based on) :
* jPrintArea: http://plugins.jquery.com/project/jPrintArea
* jqPrint: https://github.com/permanenttourist/jquery.jqprint
* Ben Nadal: http://www.bennadel.com/blog/1591-Ask-Ben-P... | joasssko/vitality | wp-content/themes/vitality/js/core.js | JavaScript | gpl-2.0 | 8,572 |
/*
* build profile
* All config options: https://github.com/jrburke/r.js/blob/master/build/example.build.js
* node r.js -o ./require.build.js
*/
module.exports = ({
// Target directory to build into. Create a temporary directory.
// all source will be copied here first
dir: '<%= config.compressedDir %... | minutelabsio/Sheep-Bounce | build/require-build.js | JavaScript | gpl-2.0 | 3,082 |
/* ************************************************************************
qooxdoo - the new era of web development
http://qooxdoo.org
Copyright:
2004-2008 1&1 Internet AG, Germany, http://www.1und1.de
License:
LGPL: http://www.gnu.org/licenses/lgpl.html
EPL: http://www.eclipse.org/org/d... | omid/webian | usr/qx/sdk/framework/source/class/qx/legacy/ui/pageview/tabview/Page.js | JavaScript | gpl-2.0 | 818 |
jQuery(document).ready(function() {
initialize();
$('button#submitButton').click( function() {
var formVals = $('form#inspireMeSearch').serializeArray();
var str = "";
$.each( formVals, function( key, value ) {
str += "/" + value.value;
});
var someData = $.... | sagar-khanna/InspireMe | InspireMe/public/javascripts/submit.js | JavaScript | gpl-2.0 | 587 |
/***************************************************************************
* Copyright (C) 2003-2015 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This pro... | fishilico/platal | htdocs/javascript/jobtermstree.js | JavaScript | gpl-2.0 | 2,898 |
var os = require("os")
, winston = require('winston')
, argv = require('optimist').argv
, fs = require('fs')
, path = require('path')
, options = [
{
hostname:/^(.*\.local)$/,
web_root:'http://localhost:3000',
port : 3000,
secret :'.6t+La`Oz}PCJp8Akpb&.8lsPJ<gOde{er!Z.|yh31?yTJnF/... | jakemdunn/node-player | app/includes/config.js | JavaScript | gpl-2.0 | 2,944 |
/*
* File: app/controller/TomcatController.js
*
* This file was generated by Sencha Architect version 3.2.0.
* http://www.sencha.com/products/architect/
*
* This file requires use of the Ext JS 4.2.x library, under independent license.
* License of Sencha Architect does not include license for Ext JS 4.2.x. For ... | nices96/athena-meerkat | console/app/controller/TomcatController.js | JavaScript | gpl-2.0 | 19,857 |
import Ember from 'ember';
export default Ember.Component.extend({
tagName: 'a',
attributeBindings: ['href'],
href: '#',
classNames: ['async-button', 'btn'],
classNameBindings: ['inProgress'],
timeout: 60000,
timeoutAction: null,
timeouter: null,
inProgress: false,
stopProgress: function() {
... | sergiferran/emberjs-async-button | app/components/async-button.js | JavaScript | gpl-2.0 | 2,265 |
/**
* Represents Form
* @constructor
*/
function Form(form, init) {
var init = init || true;
this.form = form;
if (init) {
this.init();
}
}
/**
* init
*
* binds events on the form
*/
Form.prototype.init = function() {
var self = this;
// on submit event
$(this.form).submit(function (event, done) {
... | FKobus/go-bananas | panel/themes/default/js/form.js | JavaScript | gpl-2.0 | 4,322 |
jQuery(document).ready(function(a){0!==a("#gc_settings").length&&"undefined"!==typeof a.ui.tabs&&(a("#gc_load").hide(),a("#gci_tabs").show(),a("#gci_tabs").tabs({create:function(b,c){"#tab-debug"===location.hash&&a("html, body").animate({scrollTop:a("#gci_del").offset().top-50},500)}}),a("#gci_roles,#post_types").chose... | wp-plugins/gator-cache | js/gator-cache.min.js | JavaScript | gpl-2.0 | 423 |
(function($){
$(document).ready(function(){
$( "section#main-content" ).children( "div.region" ).removeAttr( "id" );
});
})(jQuery); | walkerart/mnartists | sites/default/modules/mn_op/js/applications.js | JavaScript | gpl-2.0 | 133 |
'use strict';
describe('Hit Dice Type Model', function() {
//Clean up after each test.
afterEach(function() {
simple.restore();
});
describe('Save', function() {
it('should save the values.', function() {
var ft = new HitDiceType();
var saved = false;
... | tanyxp/charactersheet | test/models/test_hit_dice_type.js | JavaScript | gpl-2.0 | 2,471 |
<html xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core">
<ui:composition>
<script type="text/javascript">
var usernameRequired = '<h:outputFormat value="#{text['errors.required']}"><f:param valu... | spotlight2001/myjsf2_appfuse | myjsf2/src/main/webapp/scripts/login.js | JavaScript | gpl-2.0 | 1,691 |