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
'use strict'; /*@ngInject*/ function repoItemClassifierFilter() { return function(node) { if (node.type) { return 'uib-repository__item--movable'; } else { return 'uib-repository__group'; } }; } module.exports = repoItemClassifierFilter;
raqystyle/ui-builder
frontend/scripts/builder/modules/repository/filters/repoItemClassifier.filter.js
JavaScript
gpl-2.0
268
(function($) { function ACFTableField() { var t = this; t.version = '1.3.4'; t.param = {}; // DIFFERENT IN ACF VERSION 4 and 5 { t.param.classes = { btn_small: 'acf-icon small', // "acf-icon-plus" becomes "-plus" since ACF Pro Version 5.3.2 btn_add_row: 'acf-icon-plus -plus', btn_add...
johannheyne/acf-table
advanced-custom-fields-table-field/tags/1.3.4/js/input-v5.js
JavaScript
gpl-2.0
26,869
/** * App Control * * Central controller attached to the top level <html> * element */ "use strict"; ( function ( angular, app ) { // get user profile data app.controller( "AppCtrl", [ '$rootScope', '$scope', '$state', 'UserService', function ( $rootScope, $scope, $state, UserService ) { // // bodyCl...
Kevinlearynet/angular-trial-app
scripts/controllers/app-controller.js
JavaScript
gpl-2.0
901
'use strict'; /** * @ngdoc function * @name quickNewsApp.controller:CbcCtrl * @description * # CbcCtrl * Controller of the quickNewsApp */ angular.module('quickNewsApp') .controller('CbcCtrl', function ($scope, $http) { this.awesomeThings = [ 'HTML5 Boilerplate', 'AngularJS', 'Karma' ...
amtux/quick-news
app/scripts/controllers/cbc.js
JavaScript
gpl-2.0
1,204
/*! jQuery UI - v1.8.20 - 2012-04-30 * https://github.com/jquery/jquery-ui * Includes: jquery.effects.transfer.js * Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */(function(a,b){a.effects.transfer=function(b){return this.queue(function(){var c=a(this),d=a(b.options.to),e=d.offset(),f={top:e.top,left:e.left,height:...
gustavoguichard/simsimultaneas
wp-includes/js/jquery/jquery.effects.transfer.min-ck.js
JavaScript
gpl-2.0
697
module.exports = { dist: { options: { plugin_slug: 'simple-user-adding', svn_user: 'wearerequired', build_dir: 'release/svn/', assets_dir: 'assets/' } } };
wearerequired/simple-user-adding
grunt/wp_deploy.js
JavaScript
gpl-2.0
180
/** * The routes worker process * * This worker process gets the app routes by running the application dynamically * on the server, then stores the publicly exposed routes in an intermediate format * (just the url paths) in Redis. * From there, the paths are used by the live app for serving /sitemap.xml and ...
localnerve/wpspa
server/workers/routes/lib/index.js
JavaScript
gpl-2.0
2,589
jQuery('#bootstrapslider').carousel({ interval: bootstrapslider_script_vars.interval, pause: bootstrapslider_script_vars.pause, wrap: bootstrapslider_script_vars.wrap });
bassjobsen/twitter-bootstrap-slider
js/bootstrapslider.js
JavaScript
gpl-2.0
177
/** * Setup (required for Joomla! 3) */ if(typeof(akeeba) == 'undefined') { var akeeba = {}; } if(typeof(akeeba.jQuery) == 'undefined') { akeeba.jQuery = jQuery.noConflict(); } akeeba.jQuery(document).ready(function($){ function atsAssignmentClick() { var parent = akeeba.jQuery(this).parent('td'); var id...
SirPiter/folk
www/media/com_ats/js/tickets.js
JavaScript
gpl-2.0
3,563
/** * Created by LPAC006013 on 23/11/14. */ /* * wiring Super fish to menu */ var sfvar = jQuery('div.menu'); var phoneSize = 600; jQuery(document).ready(function($) { //if screen size is bigger than phone's screen (Tablet,Desktop) if($(document).width() >= phoneSize) { // enable superfish ...
dejanmarkovic/topcat-final
js/global.js
JavaScript
gpl-2.0
994
var ajaxManager = (function() { $jq = jQuery.noConflict(); var requests = []; return { addReq: function(opt) { requests.push(opt); }, removeReq: function(opt) { if($jq.inArray(opt, requests) > -1) { requests.splice($jq.inArray(opt, requests), 1); } }, run: function...
rbredow/allyzabbacart
js/cart66-library.js
JavaScript
gpl-2.0
10,666
var express = require('express'); var path = require('path'); var tilestrata = require('tilestrata'); var disk = require('tilestrata-disk'); var mapnik = require('tilestrata-mapnik'); var dependency = require('tilestrata-dependency'); var strata = tilestrata(); var app = express(); // define layers strata.layer('hill...
nronnei/srtm-server
app.js
JavaScript
gpl-2.0
1,877
/* ======================================================================== * Bootstrap: alert.js v3.0.3 * http://getbootstrap.com/javascript/#alerts * ======================================================================== * Copyright 2013 Twitter, Inc. * * Licensed under the Apache License, Version 2.0 (the "L...
nick144/Tournaments
js/bootstrap.js
JavaScript
gpl-2.0
36,381
var express = require('express'), Weapon = require('../models/Weapon'), router = express.Router(); // HOMEPAGE router.get('/', function(req, res) { res.render('index', { title:'Weapons Guide | Fire Emblem | Awakening', credit: 'Matt.Dodson.Digital', msg: 'Hello Word!' }); }); /...
dodsonm/fire-emblem-awakening
routes/index.js
JavaScript
gpl-2.0
717
Package.describe({ summary: "Next bike list package" }); Package.on_use(function (api) { api.use(['nb','underscore', 'templating', 'nb-autocomplete', 'nb-markers', 'nb-infowindow', 'nb-directions', 'nb-geocoder', 'nb-markerlabel', 'nb-citypicker'], ['client']); api.add_files(['list.html', 'list.js'], ['client'])...
wolasss/nextbike-poland
packages/nb-list/package.js
JavaScript
gpl-2.0
326
'use strict'; 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 ("value" in descriptor) descriptor.writable = true; Object.definePrope...
uraway/markov-chain-mecab
lib/index.js
JavaScript
gpl-2.0
3,365
/************************************************** * Funkcje związane z geolokalizacją GPS **************************************************/ WMB.Comment = { /** * Funkcja dodająca nowy komentarz do zgłoszenia * * @method onAddSubmit */ onAddSubmit: function(marker_id) { if (WMB.User.isLoggedIn()) { if ($(...
airwaves-pl/WroclawskaMapaBarier
web/lib/js/wmb.comment.js
JavaScript
gpl-2.0
5,969
;(function() { /** Used to access the Firebug Lite panel (set by `run`). */ var fbPanel; /** Used as a safe reference for `undefined` in pre ES5 environments. */ var undefined; /** Used as a reference to the global object. */ var root = typeof global == 'object' && global || this; /** Method and objec...
Great-Bee/NVWA-Client
js/bower_components/lodash/perf/perf.js
JavaScript
gpl-2.0
60,255
/* Behaviour v1.1 by Ben Nolan, June 2005. Based largely on the work of Simon Willison (see comments by Simon below). Small fixes by J.Dobrowolski for Front Accounting May 2008 Description: Uses css selectors to apply javascript behaviours to enable unobtrusive javascript in html documents. ...
w2pc/front_accounting
js/behaviour.js
JavaScript
gpl-2.0
8,278
define(function(require) { var Model = require("web/common/model"); var SpsrModel = Model.extend({ idAttribute: "recordId", defaults: { name: "SDI1", kzck: 0, ydsd: 0, srjkxh: 0, ld: 123, dbd: 124, bhd: 125, sppy: 126, czpy: 127 }, urls: { "create": "spsr.psp", "update":...
huang147300/EDSFrontEnd
js/index/pz/spsr/spsr_model.js
JavaScript
gpl-2.0
413
var express = require('express'), formidable = require('formidable'), imgur = require('imgur'), fs = require('fs'), url = require('url'), bodyParser = require('body-parser'), router = express.Router(), uuid = require('node-uuid'), db = require('../lib/database'), tools = require('../...
luigiplr/imgSnap-backend
routes/api.js
JavaScript
gpl-2.0
2,487
var UniteNivoPro = new function() { var t = this; var containerID = "slider_container"; var container, arrow_left, arrow_right, bullets_container; var caption_back, caption_text; var bulletsRelativeY = ""; /** * show slider view error, hide all the elements */ t.showSliderViewErr...
VS-Studio3/build
administrator/components/com_nivosliderpro/assets/nivopro.js
JavaScript
gpl-2.0
22,978
/* Copyright: © 2011 Thomas Stein, CodeLounge.de <mailto:info@codelounge.de> <http://www.codelounge.de/> Released under the terms of the GNU General Public License. You should have received a copy of the GNU General Public License, along with this software. In the main directory, see: licence.txt If not, see: <http://...
codelounge/codelounge-exposure-theme
js/exposure.js
JavaScript
gpl-2.0
3,408
/** * card_view = new BaristaCardView({el: $("target_selector", url:"", title:"", subtitle:"", fg_color: "#1b9e77", image:"", span_class: "col-lg-12"}); * * A Backbone View that displays a card of information wrapped in link * The view is meant to be a top level...
cmap/barista
source/views/BaristaCardView.js
JavaScript
gpl-2.0
2,907
'use strict'; app.controller('orderController', ['$scope', '$rootScope', 'toastrService', 'orderService', function ($scope, $rootScope, toastrService, orderService) { $scope.paging = 1; $scope.disabledMore = false; $scope.data = []; $scope.getOrders = function () { order...
ozalvarez/elcubo9
elcubo9.admin/app/controllers/orderController.js
JavaScript
gpl-2.0
1,103
/* * Flocking Debugging Unit Generators * http://github.com/colinbdclark/flocking * * Copyright 2011-2014, Colin Clark * Dual licensed under the MIT and GPL Version 2 licenses. */ /*global require*/ /*jshint white: false, newcap: true, regexp: true, browser: true, forin: false, nomen: true, bitwise: false, m...
mcanthony/Flocking
src/ugens/debugging.js
JavaScript
gpl-2.0
2,806
import { createSelector } from '@automattic/state-utils'; import { filter, orderBy } from 'lodash'; import 'calypso/state/comments/init'; function filterCommentsByStatus( comments, status ) { return 'all' === status ? filter( comments, ( comment ) => 'approved' === comment.status || 'unapproved' === commen...
Automattic/wp-calypso
client/state/comments/selectors/get-site-comments.js
JavaScript
gpl-2.0
1,304
(function(customer_id) { tinymce.create('tinymce.plugins.ItStream_AttachToPost', { customer_id: customer_id, init : function(editor, plugin_url) { editor.addButton('player_scheduling', { title : 'Embed ItStream Player', cmd : 'itm_scheduling', ...
wp-plugins/itstream
admin/assets/js/editor.js
JavaScript
gpl-2.0
3,621
jQuery(function($) { /////////////////////////////////////////////////////////////////// ///// META BOXES JS /////////////////////////////////////////////////////////////////// jQuery('.repeatable-add').live('click', function() { var field = jQuery(this).closest('td').find('.custom_repeatable li:last').clone(t...
StefanDindyal/wordpresser
wp-content/themes/bobbarnyc/inc/settings-panel/js/custom-admin.js
JavaScript
gpl-2.0
5,266
/* JavaScript User Interface Library -- Common datatypes for user elements * Copyright 2010 Jaakko-Heikki Heusala <jhh@jhh.me> * $Id: common.js 415 2010-10-15 05:00:51Z jheusala $ */ /** Simple message box constructor * @params type The message type: error, notice, info or success * @params msg Message */ functi...
jheusala/jsui
lib/jsui/common.js
JavaScript
gpl-2.0
1,101
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ ( function($) { } )( jQuery ); var waitForFinalEvent = (function () { var timers = {}; return function (callback,...
jsxmedia/jgm-wp-theme
js/global-functions.js
JavaScript
gpl-2.0
566
'use strict'; angular.module('eshttp') .filter('unixtostr', function() { return function(str){ var dt; dt = Date.create(str * 1000).format('{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}'); if (dt == "Invalid Date") { return 'N/A'; } else { return dt; } }; }...
fangli/eshttp
eshttp_webmanager/cloudconfig/static/filters/unixtostr.js
JavaScript
gpl-2.0
323
/* Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'colordialog', 'en-gb', { clear: 'Clear', highlight: 'Highlight', options: 'Colour Options', selected: 'Selected Colour', titl...
WBCE/WebsiteBaker_CommunityEdition
wbce/modules/ckeditor/ckeditor/plugins/colordialog/lang/en-gb.js
JavaScript
gpl-2.0
344
(function() { var preview = true; var themeShortcuts = { insert: function(where) { switch(where) { case 'st_button_more': var href = jQuery("#btn_more_src").val(); var what = '[st_button_more href="'+href+'"]'; break; case 'st_button': var text = jQuery("#text").val()...
vinciteng/bookitforward
wp-content/plugins/SupremeShortcodes/js/editor_plugin.js
JavaScript
gpl-2.0
66,280
import Backbone from 'backbone'; export default class Router extends Backbone.Router { get routes() { return { '(/)': 'home', 'login': 'login', 'access_token=*token': 'token', 'activity': 'activity', 'swim': 'swim', 's...
clementprdhomme/misfit-dashboard
src/js/router.js
JavaScript
gpl-2.0
443
/*jslint browser: true */ /*global jQuery: true */ /** * jQuery Cookie plugin * * Copyright (c) 2010 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 * */ // TODO JsDoc /** * Create a cookie...
tungcan1501/hdtv
sites/default/files/js/js_FxzL6y_vG1Dd9B-MsolHGVlVoN_lbUIGopU6FCDDV9U.js
JavaScript
gpl-2.0
29,612
var wocs_loading_first_time = true;//simply flag var jQuery(function () { if (woocs_drop_down_view == 'chosen') { try { if (jQuery("select.woocommerce-currency-switcher").length) { jQuery("select.woocommerce-currency-switcher").chosen({ disable_search_thresho...
asshurimrepo/mont8
wp-content/plugins/woocommerce-currency-switcher/js/front.js
JavaScript
gpl-2.0
2,447
var elixir = require('laravel-elixir'); var gulp = require("gulp"); require('laravel-elixir-wiredep'); /* |-------------------------------------------------------------------------- | Elixir Asset Management |-------------------------------------------------------------------------- | | Elixir provides a clean, f...
levofski/web-2-cv
gulpfile.js
JavaScript
gpl-2.0
1,696
(function ($) { $(document).ready(function(){ $("#edit-title-0-value").change(update); $("#edit-field-carac1-0-value").click(update); $("#edit-field-carac1-0-value").change(update); $("#edit-field-carac2-0-value").change(update); $("#edit-field-carac3-0-value").change(update); $("#edit-field-carac4-0-val...
TGR05/POEI-mini-projet
modules/custom/cardform/js/gamecards.js
JavaScript
gpl-2.0
6,227
define(["require", "exports"], function (require, exports) { "use strict"; exports.ZaOverviewPanelController = ZaOverviewPanelController; });
ZeXtras/zimbra-lib-ts
zimbraAdmin/common/ZaOverviewPanelController.js
JavaScript
gpl-2.0
146
function playAudioVisualize(track) { var bars = 50; var waveResolution = 128; var style = "bars"; //set default style upon loading here var audio = new Audio(); var canvas, source, context, analyser, fFrequencyData, barX, barWidth, barHeight, red, green, blue, ctx; audio.controls = true; ...
cp2846/audio-visualizer
visualizer.js
JavaScript
gpl-2.0
3,591
/*global chrome */ // Check if the feature is enable let promise = new Promise(function (resolve) { chrome.storage.sync.get({ isEdEnable: true }, function (items) { if (items.isEdEnable === true) { resolve(); } }); }); promise.then(function () { /*global removeIfExis...
hochgenug/BADW
scripts/ed.js
JavaScript
gpl-2.0
481
PUMP_SELECTOR.CoordSlicer = function( parameters ) { var image = parameters.image; var coord = parameters.coord; var name = parameters.name; var obj = {}; if( image === undefined) { //PUMPER.debug("PUMPER::CoordSlicer() - Cannot slice image, image missing."); return undefine...
racerxdl/f2rank
jsselector/coord.js
JavaScript
gpl-2.0
823
/** * Provides a DataSchema implementation which can be used to work with * delimited text data. * * @module dataschema * @submodule dataschema-text */ /** Provides a DataSchema implementation which can be used to work with delimited text data. See the `apply` method for usage. @class DataSchema.Text @extends ...
schancel/gameserver
public/js/yui3-3.12.0/src/dataschema/js/dataschema-text.js
JavaScript
gpl-2.0
6,718
define(['jquery', 'util.tooltips', 'helper.boxes', 'modules/panel'], function($, tooltips, panel) { /* Grid */ tourStepsGrid = [ { beginning: true, title: 'Welcome to the Blox Visual Editor!', content: '<p>If this is your first time in the Blox Visual Editor, <strong>we recommend following this tour so yo...
bloxtheme/BloxTheme
bloxtheme/library/visual-editor/scripts-src/util.tour.js
JavaScript
gpl-2.0
13,717
/** * Created by inwebo on 05/02/15. */ alert('local');
inwebo/Libre
demos/assets/instances/www.test.fr/themes/default/public/js/demo.js
JavaScript
gpl-2.0
58
/** Select # What? # Part of my "Responsive Menu Concepts" article on CSS-Tricks http://css-tricks.com/responsive-menu-concepts # 2012 by Tim Pietrusky # timpietrusky.com **/
evasmidt/allsafe-drupal
themes/custom/allsafe/js/scripts.js
JavaScript
gpl-2.0
191
(function ($) { function getCsrfTokenForFullShotImage(callback) { $ .get(Drupal.url('rest/session/token')) .done(function (data) { var csrfToken = data; callback(csrfToken); }); } function patchImageFullShot(csrfToken, file, fid) ...
asharnb/dawn
modules/custom/studiobridge_store_images/js/studio-bridge-fullshot-image.js
JavaScript
gpl-2.0
3,011
showWord(["v. ","vin jòn.<br>"])
georgejhunt/HaitiDictionary.activity
data/words/joni.js
JavaScript
gpl-2.0
33
document.addEventListener("DOMContentLoaded", function (event) { 'use strict'; var paragraph, url, proxy; paragraph = document.querySelectorAll('p.error_text'); chrome.tabs.query({ currentWindow: true, active: true }, function (tabs) { url = tabs[0].url; if (url.indexOf('chrome://') == 0) { paragraph[0].inne...
joelself/GoogleCacheBrowser
src/popup.js
JavaScript
gpl-2.0
815
showWord(["","Wayòm ki te nan pati Sidwès peyi Ispayola. Se Boyekyo ki te chèf endyen nan wayòm sa a. Kapital wayòm sa a te Lagwana, kounye a yo rele l Leogàn." ])
georgejhunt/HaitiDictionary.activity
data/words/zaragwa.js
JavaScript
gpl-2.0
169
/**! * The MIT License * * Copyright (c) 2010-2012 Google, Inc. http://angularjs.org * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitati...
HediMaiza/SmoothieParis
js/vendor/google-maps.js
JavaScript
gpl-2.0
15,335
showWord(["np. ","Avoka, politisyen. Madanm prezidan Jean Bertrand Aristide." ])
georgejhunt/HaitiDictionary.activity
data/words/TwouyoMildr~ed_Trouillot.js
JavaScript
gpl-2.0
80
$('.attach_detach').on('click', function(){ var device_id = $(this).attr('device_id'); $('#device_id').val(device_id); }); $('.detach_customer').on('click', function(){ //get the attached customer name var customer_name = $(this).attr('cust_name'); if(confirm('Are you sure you want to detach('+customer_...
toxicaliens/rental
src/js/allocate_devices.js
JavaScript
gpl-3.0
399
var gulp = require('gulp') var mocha = require('gulp-mocha') var nodemon = require('gulp-nodemon') var env = require('gulp-env'); gulp.task('API-Server', (cb) => { let started = false env({ vars: { httpPort: 8080 } }); return nodemon({ script: 'index.js' }) .on('start', () => { ...
HeyYZU/HeyYZU-server
gulpfile.js
JavaScript
gpl-3.0
690
/* Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ (function(){var l={_attachScript:function(e,c){var d=new CKEDITOR.dom.element("script");d.setAttribute("src",e);d.on("error",c);CKEDITOR.document.getBody().append(d);return d}...
Daniel-KM/Omeka-S
application/asset/vendor/ckeditor/plugins/embedbase/plugin.js
JavaScript
gpl-3.0
3,601
Ext.define('Omni.view.sizes.Explorer', { extend: 'Buildit.ux.explorer.Panel', alias: 'widget.omni-sizes-Explorer', initComponent: function() { var me = this; // EXPLORER INIT (Start) =============================================================== Ext.apply(this, { allowFind: true, s...
tunacasserole/omni
app/assets/javascripts/omni/view/sizes/Explorer.js
JavaScript
gpl-3.0
2,541
/* * Copyright (c) 2011-2013 Lp digital system * * This file is part of BackBee. * * BackBee is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any l...
ndufreche/BbCoreJs
src/tb/component/formbuilder/form/element/views/form.element.view.hidden.js
JavaScript
gpl-3.0
2,067
var _i_x_n_annotation_format_8h = [ [ "IXNAnnotationFormat", "_i_x_n_annotation_format_8h.html#a607464fe85fc01c26df0c51826fd4841", [ [ "IXNAnnotationFormatPlainString", "_i_x_n_annotation_format_8h.html#a607464fe85fc01c26df0c51826fd4841a7b4fb91d85f0776a7abe6e0623f6b0fc", null ], [ "IXNAnnotationFormatJs...
BrainModes/BM.Muse
libmuse_5.8.0/ios/doc/_i_x_n_annotation_format_8h.js
JavaScript
gpl-3.0
590
/************************************************************************ * This file is part of EspoCRM. * * EspoCRM - Open Source CRM application. * Copyright (C) 2014 Yuri Kuznetsov, Taras Machyshyn, Oleksiy Avramenko * Website: http://www.espocrm.com * * EspoCRM is free software: you can redistribute it and...
lucasmattos/crm
client/src/views/email-account/record/edit.js
JavaScript
gpl-3.0
1,286
var Connection = require("./db/db-connection").Connection; var Tables = require("./db/tables"); const R = require("ramda"); var QUERY_MATCHES = { $or: [ {percent_name: {$gt: 0.9}}, { distance: {$lt: 1} }, { percent_name: {$gt: 0.8}, distance: {$lt:...
marcog83/cesena-online-demo
dati-jobs/fuzzy-match-fb-places-step_2.js
JavaScript
gpl-3.0
3,057
ace.require("ace/ext/language_tools"); var editor = ace.edit("editor"); editor.setOptions({ enableBasicAutocompletion: true }); editor.setTheme("ace/theme/eclipse"); editor.getSession().setMode("ace/mode/java"); document.getElementById('editor').style.fontSize = '18px'; editor.setAutoScrollEditorIntoView(true); ...
AbdallaMahmoud/codeyard
src/main/resources/webapp/js/main.js
JavaScript
gpl-3.0
7,360
require('dotenv').config({ silent: true }); var Express = require('express'); var path = require('path'); var fs = require('fs'); var merge = require('lodash/merge'); var proxy = require('proxy-middleware'); var ejs = require('ejs'); var config = require('./config'); var server = new Express(); server.set('port', c...
Nebo15/gandalf.web
server/index.js
JavaScript
gpl-3.0
1,008
import moment from 'moment'; import PublicationsController from './controller/publications.controller.js'; import AuthorsController from './controller/authors.controller.js'; import PublishersController from './controller/publishers.controller.js'; /* * Application routing */ function routing($routeProvider) { $r...
enric-sinh/publication-library
web/src/app/app.config.js
JavaScript
gpl-3.0
1,574
/* * Copyright (C) 2013 Huub de Beer * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publis...
htdebeer/PhD-DE3
src/models/model.js
JavaScript
gpl-3.0
19,172
// needs Markdown.Converter.js at the moment (function () { var util = {}, position = {}, ui = {}, doc = window.document, re = window.RegExp, nav = window.navigator, SETTINGS = { lineLength: 72 }, // Used to work around some browser bugs where we c...
MitchellMcKenna/LifePress
public/scripts/pagedown/Markdown.Editor.js
JavaScript
gpl-3.0
80,757
import { moduleForComponent, test } from 'ember-qunit'; moduleForComponent('hq-category', { // Specify the other units that are required for this test // needs: ['component:foo', 'helper:bar'] }); test('it renders', function(assert) { assert.expect(2); // Creates the component instance var component = ...
hugoruscitti/huayra-quotes
tests/unit/components/hq-category-test.js
JavaScript
gpl-3.0
487
class Block { constructor(x, y, width, colour) { this.x = x; this.y = y; this.width = width; this.colour = colour; this.occupied = false; } draw() { fill(this.colour); rect(this.x, this.y, this.width, this.width); } }
DanielGilchrist/p5.js-snake
classes/block.js
JavaScript
gpl-3.0
255
define(['backbone', 'underscore'], function (Backbone, _) { return Backbone.Model.extend({ idAttribute: 'username', defaults: { persona: { personaPnombre: '', personaSnombre: '', personaApaterno: '', personaAmaterno: '', dni: '' } }, validate: function (attrs, options) { console.lo...
jaxkodex/edu-stat
src/main/webapp/resources/js/app/models/docente-model.js
JavaScript
gpl-3.0
1,442
// Copyright 2015, 2016 Ethcore (UK) Ltd. // This file is part of Parity. // Parity is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version....
pdaian/parity
js/src/ui/ParityBackground/parityBackground.js
JavaScript
gpl-3.0
1,825
/** * Piwik - free/libre analytics platform * * @link http://piwik.org * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later */ (function ($, require) { var exports = require('piwik/UI'); /** * Creates a new notifications. * * Example: * var UI = require('piwik/UI'); ...
piwik/piwik
plugins/CoreHome/javascripts/notification.js
JavaScript
gpl-3.0
7,980
(function() { var app = angular.module('article-directive', ['ui.bootstrap.contextMenu']); app.config(function($sceProvider) { // Completely disable SCE. For demonstration purposes only! // Do not use in new projects. $sceProvider.enabled(false); }); app.directive('article', function () { var c...
lowdev/Article-Annotater
src/main/resources/static/article/angular-article-directive.js
JavaScript
gpl-3.0
1,330
/* Copyright (C) 2014 PencilBlue, LLC 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) any later version. This program is...
shihokoui/pencilblue
plugins/pencilblue/controllers/admin/content/topics/manage_topics.js
JavaScript
gpl-3.0
2,715
function print_last_modif_date(v) { document.write("Last updated " + v.substr(7, 19)); }
francois-a/fastqtl
doc/script/print_last_modif_date.js
JavaScript
gpl-3.0
89
import { defineMessages } from 'react-intl'; export default defineMessages({ save: { id: 'cboard.components.FormDialog.save', defaultMessage: 'Save' }, cancel: { id: 'cboard.components.FormDialog.cancel', defaultMessage: 'Cancel' } });
shayc/cboard
src/components/UI/FormDialog/FormDialog.messages.js
JavaScript
gpl-3.0
261
const { nativeImage } = require('electron') const { resolve } = require('path') exports.size16 = nativeImage.createFromPath(resolve(__dirname, '../icon16.png')) exports.size16.setTemplateImage(true)
Gerhut/Meibo
lib/icon.js
JavaScript
gpl-3.0
201
document.addEventListener("DOMContentLoaded", function(event) { if (/android|blackberry|iPhone|iPad|iPod|webOS/i.test(navigator.userAgent) === false) { var linkDescrs = document.querySelectorAll('.link-descr'); Array.prototype.forEach.call(linkDescrs, function(el, i) { el.parentNode.addEventListener('mouseenter...
thedanielgray/thedanielgray.github.io
js/gray.js
JavaScript
gpl-3.0
2,070
var gulp = require('gulp'); var browserSync = require('browser-sync'); var jshint = require('gulp-jshint'); var concat = require('gulp-concat'); var uglify = require('gulp-uglify'); var rename = require('gulp-rename'); // 静态服务器 gulp.task('browser-sync', function() { browserSync.init({ files: "src/**", ...
bdSpring/zhou-task02
26/gulpfile.js
JavaScript
gpl-3.0
946
// mailer.js var nodemailer = require('nodemailer'); var smtpTransport = nodemailer.createTransport("SMTP", { service: "Mandrill", debug: true, auth: { user: "evanroman1@gmail.com", pass: "k-AdDVcsNJ9oj8QYATVNGQ" } }); exports.sendEmailConfirmation = function(emailaddress, username, firs...
evrom/ativinos---deprecated
local_modules/mailer.js
JavaScript
gpl-3.0
1,602
$(function(){ $('#telefone').mask('(99)9999-9999'); $('.editar').on({ click : function(){ var url = URI+"sistema/editar/"+$(this).attr('data-item'); window.location.href = url; } }); $('.deletar').on({ click : function(){ ...
Carlos-Claro/admin2_0
js/sistema.js
JavaScript
gpl-3.0
1,437
// This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle is dis...
nitro2010/moodle
enrol/attributes/js/jquery.booleanEditor.js
JavaScript
gpl-3.0
12,496
/* Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ (function(){function w(a){for(var f=0,p=0,n=0,q,d=a.$.rows.length;n<d;n++){q=a.$.rows[n];for(var e=f=0,b,c=q.cells.length;e<c;e++)b=q.cells[e],f+=b.colSpan...
omeka/omeka-s
application/asset/vendor/ckeditor/plugins/table/dialogs/table.js
JavaScript
gpl-3.0
8,955
$(function() { $("#childGrid").jqGrid( { url : "TBCcnsizePrm.html?getGridData",datatype : "json",mtype : "GET",colNames : [ 'Conn Id',getLocalMessage('water.connsize.frmDt'), getLocalMessage('water.connsize.toDt'), getLocalMessage('water.connsize.frm'),getLocalMessage('water.connsize.to'), getLocalMessage('e...
abmindiarepomanager/ABMOpenMainet
Mainet1.1/MainetServiceParent/MainetServiceWeb/src/main/webapp/js/masters/connectionsize/connectionSizeScript.js
JavaScript
gpl-3.0
5,451
/** * @file Map places of interest * @author Tom Jenkins tom@itsravenous.com */ module.exports = { castle: { title: 'Rowton Castle', lat: 52.708739, lng: -2.9228567, icon: 'pin_castle.png', main: true, description: 'Where it all happens! Rowton Castle is a small castle manor house roughly halfway betwe...
itsravenous/lizandtomgetmarried
src/components/map/places.js
JavaScript
gpl-3.0
1,179
var struct_create_packets_1_1__2 = [ [ "angle", "struct_create_packets_1_1__2.html#a425d33bd27790066ff7edb4a608a8149", null ], [ "buttons", "struct_create_packets_1_1__2.html#a6b7d2d6c0a3a063f873420c010063b33", null ], [ "distance", "struct_create_packets_1_1__2.html#afb30de28ec41190d0cb278640d4782ab", null...
kipr/harrogate
shared/client/doc/struct_create_packets_1_1__2.js
JavaScript
gpl-3.0
416
!function(namespace) { 'use strict'; function Modal(elem, params) { this.$element = jQuery(elem); this.params = params || {}; this.cssReadyElement = this.params.cssReadyElement || 'JS-Modal-ready'; this.cssActiveElement = this.params.cssActiveElement || 'JS-Modal-active'; this.__construct(); ...
subuk/bakapy
front/scripts/modal.js
JavaScript
gpl-3.0
2,698
var __v=[ { "Id": 3568, "Panel": 1763, "Name": "紋理動畫", "Sort": 0, "Str": "" }, { "Id": 3569, "Panel": 1763, "Name": "相關API", "Sort": 0, "Str": "" }, { "Id": 3570, "Panel": 1763, "Name": "Example", "Sort": 0, "Str": "" } ]
zuiwuchang/king-document
data/panels/1763.js
JavaScript
gpl-3.0
291
var events = require('events'), koanize = require('koanizer'), util = require('util'); koanize(this); // Standard and RFC set these values var REFERENCE_CLOCK_FREQUENCY = 90000; // RTP packet constants and masks var RTP_HEADER_SIZE = 12; var RTP_FRAGMENTATION_HEADER_SIZE = 4; var SAMPLES_PER_FRAME...
rfines/NodeKoans
2_dgram/buffer-koans.js
JavaScript
gpl-3.0
2,619
var searchData= [ ['handler_5fallocator',['handler_allocator',['../classwebsocketpp_1_1transport_1_1asio_1_1handler__allocator.html',1,'websocketpp::transport::asio']]], ['hash32',['Hash32',['../classnfd_1_1name__tree_1_1Hash32.html',1,'nfd::name_tree']]], ['hash64',['Hash64',['../classnfd_1_1name__tree_1_1Hash64...
nsol-nmsu/ndnSIM
docs/icens/html/search/classes_7.js
JavaScript
gpl-3.0
2,179
// Search script generated by doxygen // Copyright (C) 2009 by Dimitri van Heesch. // The code in this file is loosly based on main.js, part of Natural Docs, // which is Copyright (C) 2003-2008 Greg Valure // Natural Docs is licensed under the GPL. var indexSectionsWithContent = { 0: "000000000000000000000000000000...
hungly/Pacman
html/search/search.js
JavaScript
gpl-3.0
24,120
var __v=[ { "Id": 2046, "Chapter": 630, "Name": "c++", "Sort": 0 } ]
zuiwuchang/king-document
data/chapters/630.js
JavaScript
gpl-3.0
85
import React from 'react'; import { mount } from 'enzyme'; import { Link, HashRouter as Router } from 'react-router-dom'; import { Button } from 'react-bootstrap'; import BackHomeButton from '../BackHomeButton'; describe('<BackHomeButton/>', () => { it('<BackHomeButton /> should render <Router/>', () => { const ...
gcallah/Indra
webapp/src/components/__tests__/BackHomeButton.test.js
JavaScript
gpl-3.0
1,329
'use strict'; var Ose = require('ose'); var M = Ose.class(module, './index'); /** Docs {{{1 * @submodule bb.pagelet */ /** * @caption Dashboard pagelet * * @readme * Pagelet for creating dashboard content. * * @class bb.lib.pagelet.dashboard * @type class * @extends bb.lib.pagelet */ // Public {{{1 expor...
FredRooks/ose-bb
lib/pagelet/dashboard.js
JavaScript
gpl-3.0
2,656
var express = require('express'), router = express.Router(), adminModel = require('../models/adminModel'), moment = require('moment'), helperFun = require('../lib/helperFunc'), md5 = require('md5'); router .get('',function (request,response){ adminModel.find({},{"__v" : 0, "password" : 0, "emailCode" : 0},fun...
adeeldev/courts
routers/adminRouter.js
JavaScript
gpl-3.0
2,766
Ember.Handlebars.helper('headTitle', function(title) { Ember.$('head').find('title').text(title); }, 'title');
therabble/yahara
app/helpers/head-title.js
JavaScript
gpl-3.0
112
/** * JSONDB - JSON Database Manager * * Manage JSON files as databases with JSONDB Query Language (JQL) * * This content is released under the GPL License (GPL-3.0) * * Copyright (c) 2016, Centers Technologies * * @package JSONDB * @author Nana Axel * @copyright Copyright (c) 2016, Centers Technolog...
na2axl/jsondb-js
src/Cache.js
JavaScript
gpl-3.0
1,980
// port.js class SingleData { constructor (port, order, type, value) { this.port = port this.order = order this.type = type this.value = value } } export let inputVariables = [] export let countVariables = [] // Add a new port export function Add (countInputPort) { countInputPort++ inputVaria...
cy92830/DataTypeGUI
src/scripts/port1.js
JavaScript
gpl-3.0
4,832
function createDownloadLink(data,filename,componentId){ let a = document.createElement('a'); a.href = 'data:' + data; a.download = filename; a.innerHTML = 'Export'; a.class = 'btn' let container = document.getElementById(componentId); container.appendChild(a);...
alvcarmona/efficiencycalculatorweb
effcalculator/frontend/assets/js/utils.js
JavaScript
gpl-3.0
678
/* * Copyright (C) 2015 Max Planck Institute for Psycholinguistics * * 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) any later versi...
TheLanguageArchive/ASV
metadata-browser-hybrid/src/main/java/nl/mpi/metadatabrowser/services/cmdi/impl/res/cmdi2html.js
JavaScript
gpl-3.0
1,134
/** Template Controllers @module Templates */ /** The execute contract template @class [template] elements_executeContract @constructor */ Template['elements_executeContract'].onCreated(function(){ var template = this; // Set Defaults TemplateVar.set('sending', false); // show execute part if its ...
EarthDollar/ed-meteor-dapp-wallet
app/client/templates/elements/executeContract.js
JavaScript
gpl-3.0
11,818