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":"69901040","logradouro":"Travessa Vera Cruz","bairro":"Morada do Sol","cidade":"Rio Branco","uf":"AC","estado":"Acre"});
lfreneda/cepdb
api/v1/69901040.jsonp.js
JavaScript
cc0-1.0
134
jsonp({"cep":"89260387","logradouro":"Servid\u00e3o Germano Karsten","bairro":"Barra do Rio Cerro","cidade":"Jaragu\u00e1 do Sul","uf":"SC","estado":"Santa Catarina"});
lfreneda/cepdb
api/v1/89260387.jsonp.js
JavaScript
cc0-1.0
169
jsonp({"cep":"72850715","logradouro":"Rua Rio de Janeiro","bairro":"Jardim J\u00f3ckei Clube","cidade":"Luzi\u00e2nia","uf":"GO","estado":"Goi\u00e1s"});
lfreneda/cepdb
api/v1/72850715.jsonp.js
JavaScript
cc0-1.0
154
jsonp({"cep":"74870250","logradouro":"Rua DF 24","bairro":"Ch\u00e1cara do Governador","cidade":"Goi\u00e2nia","uf":"GO","estado":"Goi\u00e1s"});
lfreneda/cepdb
api/v1/74870250.jsonp.js
JavaScript
cc0-1.0
146
jsonp({"cep":"79071360","logradouro":"Rua Odorico Mendes","bairro":"N\u00facleo Habitacional Universit\u00e1rias","cidade":"Campo Grande","uf":"MS","estado":"Mato Grosso do Sul"});
lfreneda/cepdb
api/v1/79071360.jsonp.js
JavaScript
cc0-1.0
181
jsonp({"cep":"49015470","logradouro":"Travessa David Bitencourt Luduvice","bairro":"S\u00e3o Jos\u00e9","cidade":"Aracaju","uf":"SE","estado":"Sergipe"});
lfreneda/cepdb
api/v1/49015470.jsonp.js
JavaScript
cc0-1.0
155
jsonp({"cep":"41235130","logradouro":"Avenida Janda\u00edra","bairro":"Pau da Lima","cidade":"Salvador","uf":"BA","estado":"Bahia"});
lfreneda/cepdb
api/v1/41235130.jsonp.js
JavaScript
cc0-1.0
134
var library = require('./library.js'); var check_cond = function(num, div, start) { var n = ''; for(var i = start; i < start + 3; i++) { n = n + num.toString().charAt(i - 1); } if(parseInt(n) % div === 0) { return true; } return false; } var check_all = function(num)...
xitkov/projecteuler
other-lang/js/solve0043.js
JavaScript
epl-1.0
2,372
var gulp = require('gulp'); var sourcemaps = require('gulp-sourcemaps'); var source = require('vinyl-source-stream'); var buffer = require('vinyl-buffer'); var browserify = require('browserify'); var watchify = require('watchify'); var babel = require('babelify'); var jade = require('gulp-jade'); var connect = require(...
circuitsim/circuit-simulator
gulpfile.js
JavaScript
epl-1.0
2,998
/* Updates fields based on checkbox changes */ var PRFtoggleEnabled = function(cbox, id, type) { oldval = cbox.checked ? 0 : 1; var dataS = { "action" : "toggleEnabled", "id": id, "type": type, "oldval": oldval, }; data = $.param(dataS); $.ajax({ type: "POST"...
leegarner-glfusion/profile
js/toggleEnabled.js
JavaScript
gpl-2.0
2,241
var aux={sort:function(){}};var excSorter={enabled:false,sBundle:'',button:'',init:function(){var bs=Components.classes["@mozilla.org/intl/stringbundle;1"].getService(Components.interfaces.nsIStringBundleService);this.sBundle=bs.createBundle("chrome://sortexceptions/locale/sortexceptions.properties");var elems=docume...
TPS/SortExceptions
XPI/chrome/content/sortexceptions.js
JavaScript
gpl-2.0
1,907
jQuery(document).ready(function(){ jQuery("#ResponsiveContactForm").validate({ submitHandler: function(form) { jQuery.ajax({ type: "POST", dataType: "json", url:MyAjax, data:{ action: 'ai_action', fdata : jQuery(document.formValidate).serialize() }, success:function(respon...
andile-admin/new_election
wp-content/plugins/responsive-contact-form/js/ajax.js
JavaScript
gpl-2.0
1,183
(function ($) { $(document).ready(function() { var highestCol = Math.max($('.first-menu .pane-content').height(),$('.middle-menu .pane-content').height(),$('.last-menu .pane-content').height()); /*.first-menu .pane-content, .middle-menu .pane-content, .last-menu .pane-content $('.elements').height(highestCo...
l0c0/consulados
sites/all/themes/embajada/equals_height.js
JavaScript
gpl-2.0
372
var events = require("events"), util = require("util"), colors = require("colors"), Firmata = require("firmata").Board, _ = require("lodash"), __ = require("../lib/fn.js"), Repl = require("../lib/repl.js"), serialport = require("serialport"), Pins = require("../lib/board.pins.js"), O...
pmark/Proboscis
node_modules/johnny-five/lib/board.js
JavaScript
gpl-2.0
17,276
/* thePlatform Video Manager Wordpress Plugin Copyright (C) 2013-2014 thePlatform for Media 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 opt...
uw-it-aca/MediaAMP-video-manager
js/theplatform.tinymce.plugin.js
JavaScript
gpl-2.0
2,087
import F2 from '@antv/f2'; fetch('https://gw.alipayobjects.com/os/antfincdn/N81gEpw2Ef/income.json') .then(res => res.json()) .then(data => { const chart = new F2.Chart({ id: 'container', pixelRatio: window.devicePixelRatio }); chart.source(data, { time: { type: 'timeCat', ...
antvis/g2-mobile
examples/component/guide/demo/point.js
JavaScript
gpl-2.0
1,844
/** A data model representing a list of Invites @class InviteList @extends Discourse.Model @namespace Discourse @module Discourse **/ Discourse.InviteList = Discourse.Model.extend({ empty: (function() { return this.blank('pending') && this.blank('redeemed'); }).property('pending.@each', 'redeemed.@ea...
SuperSonicDesignINC/FXDD
app/assets/javascripts/discourse/models/invite_list.js
JavaScript
gpl-2.0
1,146
(function( window, undefined ) { kendo.cultures["ur-PK"] = { name: "ur-PK", numberFormat: { pattern: ["-n"], decimals: 2, ",": ",", ".": ".", groupSize: [3], percent: { pattern: ["-n %","n %"], d...
cuongnd/test_pro
media/kendo-ui-core-master/src/cultures/kendo.culture.ur-PK.js
JavaScript
gpl-2.0
2,263
/** * @license BitSet.js v4.0.1 14/08/2015 * http://www.xarg.org/2014/03/javascript-bit-array/ * * Copyright (c) 2016, Robert Eisele (robert@xarg.org) * Dual licensed under the MIT or GPL Version 2 licenses. **/ (function(root) { 'use strict'; /** * The number of bits of a word * @const * @type num...
dashuo556/pkbitmap
bitset.js
JavaScript
gpl-2.0
19,561
angular.module('app.controllers.ForgotPasswordCtrl', ['ngRoute']) .controller('ForgotPasswordCtrl', ['$scope', '$http', '$modalInstance', 'forgotPasswordService', function($scope, $http, $modalInstance, forgotPasswordService) { $scope.forgot_data = { email: "" }; $scope.ok = f...
DazzleWorks/Premi
public/app/controllers/home/ForgotPasswordCtrl.js
JavaScript
gpl-2.0
570
import React from 'react' import { connect } from 'react-redux' import ItemSelectInput from './ItemSelectInput' import sectionsActions from '../../../actions/SectionsActions' class SectionSelectInputComponent extends React.Component { listSections(query) { let queryObj = {} if (query) { queryObj['q...
ubyssey/dispatch
dispatch/static/manager/src/js/components/inputs/selects/SectionSelectInput.js
JavaScript
gpl-2.0
1,402
! function(factory) { if (typeof require === 'function' && typeof exports === 'object' && typeof module === 'object') { var target = module['exports'] || exports; factory(target); } else if (typeof define === 'function' && define['amd']) { //define(['exports'],function(exports){ ...
simon4545/cff
Build/template-build.js
JavaScript
gpl-2.0
23,369
/** * Route Mappings * (sails.config.routes) * * Your routes map URLs to views and controllers. * * If Sails receives a URL that doesn't match any of the routes below, * it will check for matching files (images, scripts, stylesheets, etc.) * in your assets directory. e.g. `http://localhost:1337/images/foo.jpg`...
hyphenated/reto40Semanas
config/routes.js
JavaScript
gpl-2.0
2,924
/** * Textarea Element * * @copyright: Copyright (C) 2005-2013, fabrikar.com - All rights reserved. * @license: GNU/GPL http://www.gnu.org/copyleft/gpl.html */ var FbTextarea = new Class({ Extends: FbElement, initialize: function (element, options) { this.plugin = 'fabriktextarea'; this.parent(element, o...
raimov/broneering
plugins/fabrik_element/textarea/textarea.js
JavaScript
gpl-2.0
9,888
Ext.define('Planche.lib.Query', { constructor : function(query){ Ext.apply(this, query); }, getPrevRecordSetSQL : function(){ this.start -= this.end; if(this.start < 0) this.start = 0; return this.getSQL(); }, getNextRecordSetSQL : function(){ this.start += this.end; return...
skyfly33/planche
lib/Query.js
JavaScript
gpl-2.0
1,386
; ; ; ; ;
asheehan/VectorBase
sites/all/modules/custom/downloadable_file/include/sites/default/files/ftp/js/js_hGOh1qp3Vvjqy8AD12NYODQYydqXURqvXXSO1gvio1M.js
JavaScript
gpl-2.0
10
define('util', ['jquery'], function($){ $.extend({ restGet: function(url, data, callback){ $.get(url, data, function(data){ if(data.success){ callback(data); } else { if(data.redirect){ location.href = data.redirect; } else if(data.message){ $.showError('notify'...
Wangzr/rabbit-home
public/javascripts/jquery-extend.js
JavaScript
gpl-2.0
1,919
(function(){ if ( window.xataface == undefined ) window.xataface = {}; if ( window.xataface.modules == undefined ) window.xataface.modules = {}; if ( window.xataface.modules.htmlreports == undefined ) window.xataface.modules.htmlreports = {}; })();
MfN-Berlin/AmphibiansTraits
modules/htmlreports/js/xataface/modules/htmlreports/__init__.js
JavaScript
gpl-2.0
253
(function($, Translator) { Skin = function Skin(code, skinData) { this.variableRegex = /\{#([\w \|]*)\#\}/; this.translateRegex = /\{=([\w \|,]*)\=\}/; this.code = code; this.extractData(skinData); } Skin.prototype.scanChildren = function(code, skinData) { if(skinData) this.extractData(skinDa...
Laegel/Carpenter
Skin.js
JavaScript
gpl-2.0
6,085
/* Bootstrap v3.3.1 (http://getbootstrap.com) * Copyright 2011-2014 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * Modifications from Andoni M. Garcia. */ if (typeof jQuery === 'undefined') { throw new Error('Bootstrap\'s JavaScript requires jQuery') } +function ($) ...
andonigarcia/andonigarcia.github.io
js/bootstrap.js
JavaScript
gpl-2.0
12,178
// Generated by CoffeeScript 1.8.0 var db, monitor; db = require('./db.js'); monitor = require('./monitor.js'); module.exports.launch = function() { require('./argv_parser.js').parse(process.argv.slice(2), function() { var m; db.createClient(); db.clearQueue(); m = monitor.createMonitor().start(); ...
PaprikaZ/buyer-monitor
lib/launcher.js
JavaScript
gpl-2.0
329
self.addEventListener("message", nextEmpty); function isAt(points, x, y) { for (var i = 0, len = points.length; i < len; i += 2) { if (points[i] == x && points[i + 1] == y) return true; } return false; } function nextEmpty(event) { var data = event.data; var x = 0; var y = 0; wh...
formigone/easylearntutorial
js/gamedev/app/snake/js/next-empty.worker.js
JavaScript
gpl-2.0
525
var Arduino = function(port) { this.portName = port; this.status = "CLOSED"; } module.exports = Arduino;
Thom-x/arduino-serial-api
lib/class/arduino.js
JavaScript
gpl-2.0
109
'use strict'; var config = require('../config'), gulp = require('gulp'), size = require('gulp-size'); // output size in console gulp.task('info', function() { // You can pass as many relative urls as you want return gulp.src(config.destPaths.root + '/*/**') .pipe(size()) });
kiriaze/new-sg
gulp/tasks/info.js
JavaScript
gpl-2.0
297
var _hc_windowTimeout; var _hc_newDemographicHandler = function(args) { clearTimeout(_hc_windowTimeout); var window = jQuery("#_hc_window"); jQuery(window).find("#_hc_message, #_hc_read, #_hc_actions, #_hc_match, #_hc_noMatch, #_hc_matchSearch, #_hc_closeBtn").hide(); jQuery(window).find("._hc_mismatch").re...
vvanherk/oscar_emr
src/main/webapp/hcHandler/hcHandlerUpdateDemographic.js
JavaScript
gpl-2.0
7,508
'use strict'; angular.module('wordclashApp').controller('LoginCtrl', ['$scope', '$location', 'authService', 'ngAuthSettings', function ($scope, $location, authService, ngAuthSettings) { $scope.loginData = { userName: "", password: "", useRefreshTokens: false }; $scope.message = "";...
PascalS86/wordclash
wordclash/app/login/login.controller.js
JavaScript
gpl-2.0
2,373
import has from 'lodash/has'; import trim from 'lodash/trim'; import currencyFormatter from 'currency-formatter'; import { hasCurrencyCode } from '../utils/utils-settings'; import { maybeTrimHTML } from '../utils/utils-common'; import { getMoneyFormat, getShop } from '../ws/ws-shop'; import { showingLocalCurrency, get...
arobbins/wp-shopify
public/js/app/pricing/pricing-format.js
JavaScript
gpl-2.0
5,602
var AbstractExtendedActivityDataModifier = Fiber.extend(function(base) { return { content: '', isAuthorOfViewedActivity: null, dataViews: [], summaryGrid: null, init: function(analysisData, appResources, userSettings, athleteId, athleteIdAuthorOfActivity, basicInfos) { ...
nishanttotla/stravistix
hook/extension/js/modifiers/extendedActivityData/AbstractExtendedActivityDataModifier.js
JavaScript
gpl-2.0
7,842
/** * grunt/pipeline.js * * The order in which your css, javascript, and template files should be * compiled and linked from your views and static HTML files. * * (Note that you can take advantage of Grunt-style wildcard/glob/splat expressions * for matching multiple files, and the ! prefix for excluding files.)...
libteiwm/FedShare
tasks/pipeline.js
JavaScript
gpl-2.0
2,692
angular.module('bhima.controllers') .controller('ConfirmDonationController', ConfirmDonationController); ConfirmDonationController.$inject = [ '$scope', '$q', '$http', 'validate', 'connect', '$location', 'uuid', 'SessionService' ]; function ConfirmDonationController($scope, $q, $http, validate, connect, $location, ...
IMA-WorldHealth/bhima-1.X
client/src/partials/stock/donation_management/confirm_donation.js
JavaScript
gpl-2.0
5,472
(function () { 'use strict'; var module = angular.module('memosWebApp', []); }());
tmorin/memos
app/scripts/modules/memosWebApp/module.js
JavaScript
gpl-2.0
95
// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- const Clutter = imports.gi.Clutter; const Gio = imports.gi.Gio; const GLib = imports.gi.GLib; const GObject = imports.gi.GObject; const Lang = imports.lang; const Meta = imports.gi.Meta; const Shell = imports.gi.Shell; const Dialog = imports.ui.dialog; co...
halfline/gnome-shell
js/ui/closeDialog.js
JavaScript
gpl-2.0
4,964
/* profiler-plugin.js is part of Aloha Editor project http://aloha-editor.org * * Aloha Editor is a WYSIWYG HTML5 inline editing library and editor. * Copyright (c) 2010-2012 Gentics Software GmbH, Vienna, Austria. * Contributors http://aloha-editor.org/contribution.php * * Aloha Editor is free software;...
bitcodes/pinecones
sites/all/libraries/aloha/aloha/plugins/extra/profiler/lib/profiler-plugin.js
JavaScript
gpl-2.0
8,987
jQuery.noConflict(); jQuery(document).ready(function(){ /** * This will remove username/password text in the login form fields **/ jQuery('.username, .password').focusout(function(){ if(jQuery(this).val() != '') { jQuery(this).css({backgroundPosition: "0 -32px"}); } else { jQuery(this).css({backgroun...
berryjace/www
crm/assets/docs/theme/template/js/custom/general.js
JavaScript
gpl-2.0
3,455
/** * Plugin to add header resizing functionality to a HeaderContainer. * Always resizing header to the left of the splitter you are resizing. */ Ext.define('Ext.grid.plugin.HeaderResizer', { extend: 'Ext.plugin.Abstract', requires: [ 'Ext.dd.DragTracker', 'Ext.util.Region' ], alias: ...
AlexeyPopovUA/Learning-ExtJS-6-Classes
ext/classic/classic/src/grid/plugin/HeaderResizer.js
JavaScript
gpl-2.0
13,965
(function ($) { Drupal.behaviors.sbac_featured_content = { attach: function (context, settings) { // If JS is working, turn cursor into a pointer and redirect on click $('.featured-content-inner').css( 'cursor', 'pointer' ); $('.featured-content-inner').click(function(){ window.location...
SmarterApp/DigitalLibrary
docroot/sites/all/modules/custom/sbac_featured_content/js/sbac_featured_content.js
JavaScript
gpl-2.0
382
/* Publish module for wikiEditor */ ( function ( $ ) { $.wikiEditor.modules.publish = { /** * Compatability map */ browsers: { // Left-to-right languages ltr: { msie: [['>=', 7]], firefox: [['>=', 3]], opera: [['>=', 9.6]], safari: [['>=', 4]] }, // Right-to-left languages rtl: { ms...
libis/schatkamer-mediawiki
extensions/WikiEditor/modules/jquery.wikiEditor.publish.js
JavaScript
gpl-2.0
5,169
/* global kirkiL10n */ var kirki = kirki || {}; kirki = jQuery.extend( kirki, { /** * An object containing definitions for input fields. * * @since 3.0.16 */ input: { /** * Radio input fields. * * @since 3.0.17 */ radio: { /** * Init the control. * * @since 3.0.17 * @para...
reduxframework/kirki
controls/js/src/kirki.input.js
JavaScript
gpl-2.0
11,614
jQuery(document).ready(function ($) { const $resourcesTable = $('#resources-table'); $resourcesTable.find('tbody tr:not(.sub-table-header)').hide(); $resourcesTable.find('.sub-table-header').click(function () { $(this).nextUntil('tr.sub-table-header').toggle(); const visibleLength = $resou...
ACP3/module-permissions
Resources/Assets/js/admin/resources.index.js
JavaScript
gpl-2.0
579
/* $Id: jquery.pngFix.js,v 1.1.1.5 2009/02/04 19:23:30 gibbozer Exp $ */ /** * -------------------------------------------------------------------- * jQuery-Plugin "pngFix" * Version: 1.1, 11.09.2007 * by Andreas Eberhard, andreas.eberhard@gmail.com * http://jquery.andreaseberhard.de/ * * Co...
rmontero/dla_ecommerce_site
sites/all/modules/contrib/colourise/js/jquery.pngFix.js
JavaScript
gpl-2.0
4,655
/*------------------------------------------------------------------------ # Full Name of JSN UniForm # ------------------------------------------------------------------------ # author JoomlaShine.com Team # copyright Copyright (C) 2012 JoomlaShine.com. All Rights Reserved. # Websites: http://www.joomlashine.c...
ducdongmg/joomla_tut25
administrator/components/com_uniform/assets/js/forms.js
JavaScript
gpl-2.0
1,317
var InlineDonation = function(){ this.clientToken = document.getElementById('client_token').value; this.setupEvents(); } InlineDonation.prototype.setupEvents = function(){ jQuery(document.body).on('keyup', '#donation-form input', this.clearInvalidEntries); this.setup(); } InlineDonation.prototype.setup ...
namwoody/kart-zill.com
wp-content/plugins/woo-payment-gateway/assets/js/donations-inline.js
JavaScript
gpl-2.0
3,123
var Table = require ('../table.js'); var Command = require('../command.js'); require('../actions/report-action.js'); require('../actions/move-action.js'); require('../actions/right-action.js'); require('../actions/left-action.js'); require('../actions/place-action.js'); exports.Valid_PLACE = function(test){ var cmd =...
PierreKel/ToyRobot
test/command-test.js
JavaScript
gpl-2.0
2,117
(function ($) { Drupal.ychenikSearch = {}; /** * jQuery plugin. */ $.fn.ychenikSearch = function (stars) { stars = stars || 0; this.each(function () { $(this).addClass('ychenik-search').find('label').each(function () { var context = this.form; var $label = $(this); if (!$label.attr('for')...
borisay/ychenik
sites/all/modules/custom/ychenik_search/ychenik_search.js
JavaScript
gpl-2.0
3,267
angular.module('SpamExpertsApp') .run(['$rootScope', '$state', 'uiService', 'AuthService', 'API_EVENTS', function ($rootScope, $state, uiService, AuthService, API_EVENTS) { $rootScope.$on('$stateChangeStart', function (event, next) { if (next.name !== 'login') { ...
SpamExperts/mobile-app
src/js/auth/init.js
JavaScript
gpl-2.0
2,639
module.exports = function (grunt) { "use strict"; grunt.initConfig({ dirs: { css: 'app/css', js: 'app/js', sass: 'app/sass', }, compass: { dist: { options: { config: 'config.rb', } } }, concat: { options: { seperator: ';', ...
SeerUK/WoWPR
Gruntfile.js
JavaScript
gpl-2.0
1,487
Ext.define('TrackApp.view.main.Main', { extend: 'Ext.panel.Panel', requires: [ 'Ext.resizer.Splitter' ], xtype: 'app-main', controller: 'main', viewModel: { type: 'main' }, title: 'Oslo-Bergen til fots', header: { titlePosition: 0, defaults: { xtype: 'button', toggleGroup: 'men...
turban/oslobergen
app/view/main/Main.js
JavaScript
gpl-2.0
1,049
"use strict" var util = require('util') var MessageEvent = require('./messageevent') var Config = require('./config') /** * Coordinate the connection of a new chat client to the server. * Different chat clients send the information differently, so far this chat server supports: TinTin++, mudjs, MudMaster, MudMaste...
logikaljay/mudchat
core/handshake.js
JavaScript
gpl-2.0
3,704
'use strict'; import React from 'react'; import ReactDOM from 'react-dom'; import UIDropdownComponent from './component'; let uiDropdown = function (element) { ReactDOM.render( React.createElement( UIDropdownComponent, {'message': element.getAttribute('data-message')} ), ...
roman901/Overheard
frontend/js/ui/dropdown/index.js
JavaScript
gpl-2.0
371
/* * \brief localization strings for fr_FR * * \file loc_fr_FR.js * * Copyright (C) 2006-2009 Jedox AG * * 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 published * by the Free Software Foundation at http://www.gnu.org...
fschaper/netcell
ui/docroot/ui/wss/base/i18n/loc_fr_FR.js
JavaScript
gpl-2.0
53,246
/* * @brief ajax * * @file Group.js * * Copyright (C) 2006-2009 Jedox AG * * 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 published * by the Free Software Foundation at http://www.gnu.org/copyleft/gpl.html. * * This...
fschaper/netcell
ui/docroot/ui/wss/base/grid/CopyRange.js
JavaScript
gpl-2.0
2,491
/** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ /* @api */ define([ 'underscore', 'Magento_Checkout/js/view/payment/default', 'Magento_Payment/js/model/credit-card-validation/credit-card-data', 'Magento_Payment/js/model/credit-card-validation/credit-car...
kunj1988/Magento2
app/code/Magento/Payment/view/frontend/web/js/view/payment/cc-form.js
JavaScript
gpl-2.0
8,982
'use strict'; var angular = require('angular'); var angularMessages = require('angular-messages'); var satellizer = require('satellizer'); var material = require('angular-material'); angular.module('sheltrApp', [ require('angular-ui-router'), require('./controllers'), require('./services'), 'ngMaterial', 'ng...
ChrisMcKenzie/sheltr
public/scripts/app.js
JavaScript
gpl-2.0
3,328
var searchData= [ ['y',['y',['../group___accelerometer_service.html#a58008ae111afcb60b47419541c48aa91',1,'AccelData::y()'],['../group___graphics_types.html#a94afc39fa39df567b9e78702d1f07b3e',1,'GPoint::y()']]], ['year_5funit',['YEAR_UNIT',['../group___wall_time.html#gga0423d00e0eb199de523a92031b5a1107a652f00ea2c629...
sdeyerle/pebble_fun
PebbleSDK-2.0-BETA7/Documentation/pebble-api-reference/search/all_79.js
JavaScript
gpl-2.0
360
/** * Created by reuben on 10/11/14. */ "use strict"; angular.module('crookedFireApp.filters', []).filter('tabsFilter', function () { return function (tabs, roles) { var arr = []; //load public tabs for (var i = 0; i < tabs.length; i++) { for (var j = 0; j < tabs[i].roles.le...
Gaurav2Github/MyCrookedFireBase
app/scripts/filters/navigation.fltr.js
JavaScript
gpl-2.0
698
/** * Attr: cmTooltip and cmTooltipContent */ myApp.directive('cmTooltip', function() { return function (scope, iElement, iAttrs) { console.log("appling cm tooltip"); var currentValue = ""; iAttrs.$observe('cmTooltipContent', function(value) { if(value != currentValue && value...
Bio-LarK/skeletome-knowledge
sites/all/modules/custom/skeletome_angular/js/directives/cm_tooltip.js
JavaScript
gpl-2.0
573
$(window).load(function(){FusionCharts.ready(function () { var cnstrctnPlan = new FusionCharts({ type: 'gantt', renderAt: 'chart-container', width: '750', height: '500', dataFormat: 'json', dataSource: { "chart": { "caption": "Construction ...
sguha-work/fiddletest
fiddles/Chart/Gantt-Chart/A-sample-Gantt-chart-_45/demo.js
JavaScript
gpl-2.0
42,182
// requestAnim shim layer by Paul Irish window.requestAnimFrame = (function(){ return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.oRequestAnimationFrame || window.msR...
Techbot/Techbot.github.io
template013/script.js
JavaScript
gpl-2.0
6,656
/* ************************************************************************ 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/toolbar/Button.js
JavaScript
gpl-2.0
1,870
var Traverse = require('.'); var assert = require('assert'); exports['negative update test'] = function () { var obj = [ 5, 6, -3, [ 7, 8, -2, 1 ], { f : 10, g : -13 } ]; var fixed = Traverse.map(obj, function (x) { if (x < 0) this.update(x + 128); }); assert.deepEqual(fixed, [ 5, ...
daslicht/TimberExperiments
mat/timber-starter-theme_/node_modules/grunt-contrib-nodeunit/node_modules/nodeunit/node_modules/tap/node_modules/runforcover/node_modules/bunker/node_modules/burrito/node_modules/traverse/test/negative.js
JavaScript
gpl-2.0
549
/** * @package JCE * @copyright Copyright (c) 2009-2015 Ryan Demmer. All rights reserved. * @license GNU/GPL 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * JCE is free software. This version may have been modified pursuant * to the GNU General Public License, and as distributed it...
widgetfactory/jce-editor
editor/tiny_mce/plugins/browser/editor_plugin.js
JavaScript
gpl-2.0
1,889
var FileChooser = function(config) { // Setup a variable for the current directory this.current_directory; /* ---- Begin side_navbar tree --- */ this.tree = new Ext.tree.TreePanel( { region: 'west', width: 150, minSize: 150, maxSize: 250, animate:...
vyos/vyatta-webgui
src/client/Vyatta/utils/vyatta-filechooser.js
JavaScript
gpl-2.0
4,309
;(function ($, window) { var intervals = {}; var removeListener = function(selector) { if (intervals[selector]) { window.clearInterval(intervals[selector]); intervals[selector] = null; } }; var found = 'waitUntilExists.found'; /** * @function * @property {object} jQuery plugin which runs handler function ...
chikato/TND
wp-content/plugins/smart-social-media-widget/js/jquery.waituntilexists.js
JavaScript
gpl-2.0
1,735
/*! lightgallery - v1.2.15 - 2016-03-10 * http://sachinchoolur.github.io/lightGallery/ * Copyright (c) 2016 Sachin N; Licensed Apache 2.0 */ (function($, window, document, undefined) { 'use strict'; var defaults = { thumbnail: true, animateThumb: true, currentPagerPosition:...
reed23/cinemafilms
node_modules/lightgallery/dist/js/lg-thumbnail.js
JavaScript
gpl-2.0
15,685
/** Represents an asynchronous operation. Provides a standard API for subscribing to the moment that the operation completes either successfully (`fulfill()`) or unsuccessfully (`reject()`). @class Promise.Resolver @constructor @param {Promise} promise The promise instance this resolver will be handling **/ function R...
schancel/gameserver
public/js/yui3-3.12.0/src/promise/js/resolver.js
JavaScript
gpl-2.0
8,693
/** * Copyright (c) 2008- Samuli JŠrvelŠ * * 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/epl-v10.html. If redistributing this code,...
janosgyerik/TheToolbox
mollify/backend/plugin/Archiver/client/plugin.js
JavaScript
gpl-2.0
1,939
/** * cordova Web Intent plugin * Copyright (c) Boris Smus 2010 * */ var WebIntent = function() { }; WebIntent.prototype.ACTION_SEND = "android.intent.action.SEND"; WebIntent.prototype.ACTION_VIEW= "android.intent.action.VIEW"; WebIntent.prototype.EXTRA_TEXT = "android.intent.extra.TEXT"; ...
ComunidadeExpresso/expressomobile-www
js/libs/cordova/webintent.js
JavaScript
gpl-2.0
3,059
/* Copyright (c) 2004-2006, The Dojo Foundation All Rights Reserved. Licensed under the Academic Free License version 2.1 or above OR the modified BSD license. For more information on Dojo licensing, see: http://dojotoolkit.org/community/licensing.shtml */ dojo.provide("dojo.data.old.Item"); dojo.require("dojo...
freemed/freemed
ui/dojo/htdocs/dojo/src/data/old/Item.js
JavaScript
gpl-2.0
7,279
import config from '@automattic/calypso-config'; import debugFactory from 'debug'; // Enable/disable ad-tracking // These should not be put in the json config as they must not differ across environments export const isGoogleAnalyticsEnabled = true; export const isGoogleAnalyticsEnhancedEcommerceEnabled = true; export ...
Automattic/wp-calypso
client/lib/analytics/ad-tracking/constants.js
JavaScript
gpl-2.0
4,877
$(document).ready(function(){ createCaroussel($('div[data-caroussel=caroussel]')); setVisibleInCaroussel($('div[data-caroussel=caroussel]'), 0); setAutoChange($('div[data-caroussel=caroussel]')); }); function createCaroussel(carousselElement){ carousselElement.append('<div class="caroussel"></div>'); carousselEle...
Remi-Laot-CreiZyz/caroussel-jquery
caroussel.js
JavaScript
gpl-2.0
5,546
/* * 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 ...
dalder/TYPO3.CMS
typo3/sysext/backend/Resources/Public/JavaScript/Storage.js
JavaScript
gpl-2.0
5,501
/* Shape Settings Tab */ TP.shapesStore = Ext.create('Ext.data.Store', { fields: ['name', 'data'], proxy: { type: 'ajax', url: 'panorama.cgi?task=userdata_shapes', reader: { type: 'json', root: 'data' } }, data : thruk_shape_data }); TP.iconsetsSt...
awiddersheim/Thruk
plugins/plugins-available/panorama/root/js/panorama_js_panlet_icon_widgets_settings.js
JavaScript
gpl-2.0
94,388
(function() { angular.module('hb5').controller('HbFontaineListController', ['$attrs', '$scope', 'GeoxmlService', '$routeParams', '$log', '$filter', '$timeout', 'hbAlertMessages', 'hbUtil', function($attrs, $scope, GeoxmlService, $routeParams, $log, $filter, $timeout, hbAlertMessages, hbUtil) { $log.debug...
bsisa/hb-ui
main/src/fontaine/hbFontaineListController.js
JavaScript
gpl-2.0
2,720
import styles from './index.css' import React from 'react' export default React.createClass({ propTypes: { isLoading: React.PropTypes.bool.isRequired }, render() { return ( <div className={ this.props.isLoading === true ? styles.show : styles.hide }></div> ) } })
ndxm/nd-react-scaffold
src/components/common/loading/index.js
JavaScript
gpl-2.0
306
$.ajax({ async: false, url: "http://api.visalus.com/ITReporting/SalesAnalytics/GetDataBySP/?SPName=usp_PROMO_ViCrunch3FF_JSON&?", type: 'GET', dataType: 'jsonp', success: function (data) { var result = JSON.stringify(dat...
tsmulugeta/vi.com
js/crunchtime.js
JavaScript
gpl-2.0
1,074
/* * collection * A collection of posts * * If fetch items are specified, then only gets those posts. * Otherwise, gets the posts specified from a configuration endpoint. */ define([ "lodash", "backbone", "helpers/urls", "helpers/types", "helpers/params", "components/content/entities/parser", "modul...
localnerve/wpspa
app/components/content/entities/collection.js
JavaScript
gpl-2.0
2,289
/** * IRCAnywhere server/channels.js * * @title ChannelManager * @copyright (c) 2013-2014 http://ircanywhere.com * @license GPL v2 * @author Ricki Hastings */ var _ = require('lodash'), hooks = require('hooks'); /** * This object is responsible for managing everything related to channel records, ...
KenanSulayman/ircanywhere
server/channels.js
JavaScript
gpl-2.0
8,230
showWord(["v. ","korije, redrese." ])
georgejhunt/HaitiDictionary.activity
data/words/rektifye.js
JavaScript
gpl-2.0
37
showWord(["n. "," aktivite pou al chase bèt sovaj pou vyann nan osnon pou po. Mwen pa janm al lachas, paske mwen pa gen kè pou mwen touye okenn bèt." ])
georgejhunt/HaitiDictionary.activity
data/words/lachas.js
JavaScript
gpl-2.0
155
/* * Copyright 2013 IMOS * * The AODN/IMOS Portal is distributed under the terms of the GNU General Public License * */ describe('Portal.data.GeoNetworkRecord', function() { var record; beforeEach(function() { record = new Portal.data.GeoNetworkRecord({ abstract: 'the abstract', ...
IMASau/aodn-portal
src/test/javascript/portal/data/GeoNetworkRecordSpec.js
JavaScript
gpl-3.0
2,250
/** Template Controllers @module Templates */ /** The dashboard template @class [template] views_dashboard @constructor */ Template['views_dashboard'].helpers({ /** Get all current wallets @method (wallets) */ 'wallets': function(disabled){ var wallets = Wallets.find({disabled: disable...
EarthDollar/ed-meteor-dapp-wallet
app/client/templates/views/dashboard.js
JavaScript
gpl-3.0
2,400
'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; function getDecimals(n) { n = n + ''; var i = n.indexOf('.'); return (i == -1) ? 0 : n.length - i - 1; } function getVF(n...
espringtran/travis-web-fonts
test/vendors/angular-1.5.5/i18n/angular-locale_de-ch.js
JavaScript
gpl-3.0
2,891
/************************************************************************ * This file is part of EspoCRM. * * EspoCRM - Open Source CRM application. * Copyright (C) 2014-2021 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko * Website: https://www.espocrm.com * * EspoCRM is free software: you can redistribute...
ayman-alkom/espocrm
client/src/views/record/detail-small.js
JavaScript
gpl-3.0
1,503
Simpla CMS 2.3.8 = 1040075c69dc0e56580b73f479381087
gohdan/DFC
known_files/hashes/simpla/design/js/codemirror/mode/octave/octave.js
JavaScript
gpl-3.0
52
reportico_jquery = jQuery.noConflict(); var reportico_ajax_script = "index.php"; /* ** Reportico Javascript functions */ function setupDynamicGrids() { if (typeof reportico_dynamic_grids === 'undefined') { return; } if ( reportico_jquery.type(reportico_dynamic_grids) != 'undefined' ) ...
grupo-glud/EcoHack
plugin/reportico/script/reportico/js/reportico.js
JavaScript
gpl-3.0
27,172
/* * Copyright (C) 2005-2010 Erik Nilsson, software on versionstudio point com * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option...
versionstudio/vibestreamer
client/vibe-ext/plugins/playlists/src/PlaylistsDialog.js
JavaScript
gpl-3.0
4,457
var _ = require('underscore'), Backbone = require('backbone'), DAL = require('../DAL'); var Message = Backbone.Model.extend( /** @lends Message.prototype */ { defaults: { userId: null, waveId: null, parentId: null, message: '', unread...
tofuseng/SURF
code/model/Message.js
JavaScript
gpl-3.0
1,029
function parse(req) { var arreglo_parametros = [], parametros = {}; if (req.url.indexOf("?") > 0 ){ var url_data = req.url.split("?"); var arreglo_parametros = url_data[1].split("&"); } for (var i = arreglo_parametros.length - 1; i >= 0; i--) { var parametro = arreglo_parametros[i] var param_data = p...
fcojulio/Test-NodeJS
params_parser.js
JavaScript
gpl-3.0
445
let html_audio = document.getElementById("audio-source"); let html_open_button = document.getElementById("open-button"); //Setup the audio graph and context let audioContext = new window.AudioContext(); let audioSource = audioContext.createMediaElementSource($("#audio-source")[0]); let audioAnalyser = audioContext.c...
Yordrar/pulse
mainWin/js/player.js
JavaScript
gpl-3.0
6,544
/* Copyright 2010-2012 Infracom & Eurotechnia (support@webcampak.com) This file is part of the Webcampak project. Webcampak 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 (a...
Webcampak/v2.0
src/www/interface/dev/app/view/permissions/PermissionsWindow.js
JavaScript
gpl-3.0
1,869