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
var Class = { create: function() { return function() { //vararg this.initialize.apply(this, arguments); } } }; Color = Class.create(); Color.prototype = { red: 0, green: 0, blue: 0, initialize: function(r,g,b) { this.red = r; this.green = g; this.blue = b; } } function bench(x) { ...
hazzik/nashorn
test/examples/apply_to_call_benchmark.js
JavaScript
gpl-2.0
674
// IT lang variables tinyMCE.addToLang('',{ bold_desc : 'Grassetto (Ctrl+B)', italic_desc : 'Corsivo (Ctrl+I)', underline_desc : 'Sottolineato (Ctrl+U)', striketrough_desc : 'Barrato', justifyleft_desc : 'Allinea a sinistra', justifycenter_desc : 'Allinea al centro', justifyright_desc : 'Allinea a destra', j...
pzingg/saugus_elgg
_tinymce/jscripts/tiny_mce/langs/it.js
JavaScript
gpl-2.0
1,801
"use strict"; var assert = require("assert"), Promise = require("promise"), _ = require("underscore"), configController = require('../controllers/configController.js'); describe('configController', function() { it('init should load the config file', function(done) { configController.init(function(err) { ...
bbondy/codefirefox
test/test-configController.js
JavaScript
gpl-2.0
1,051
(function ($) { Drupal.viewsSlideshow = Drupal.viewsSlideshow || {}; /** * Views Slideshow Controls */ Drupal.viewsSlideshowControls = Drupal.viewsSlideshowControls || {}; /** * Implement the play hook for controls. */ Drupal.viewsSlideshowControls.play = function (options) { // Route the co...
mikeusry/HolidayInnAthens
hotel_athens_ga/js/js_i0lWZY61n-2X7sezox7DfNdyQ2tsrQFGHT9wlJhktj8.js
JavaScript
gpl-2.0
51,563
/* * jQuery.liveFilter * * Copyright (c) 2009 Mike Merritt * * Forked by Lim Chee Aun (cheeaun.com) * */ (function($){ $.fn.liveFilter = function(inputEl, filterEl, options){ var defaults = { filterChildSelector: null, filter: function(el, val){ return $(el).text().toUpperCase().ind...
unicef/uPortal
sites/all/themes/uportal_backend_theme/scripts/plugins/jquery.liveFilter.js
JavaScript
gpl-2.0
1,210
http://jsfiddle.net/fusioncharts/38U6R/ http://jsfiddle.net/gh/get/jquery/1.9.1/sguha-work/fiddletest/tree/master/fiddles/Chart/Data-Labels/Configuring-x-axis-data-labels-display---wrap-mode_466/
sguha-work/fiddletest
fiddles/Chart/Data-Labels/Configuring-x-axis-data-labels-display---wrap-mode_466/url.js
JavaScript
gpl-2.0
195
var path = require('path'); var ndir = require('ndir'); var express = require('express'); var MongoStore = require('connect-mongo')(express); var ejs = require('ejs'); var routes = require('./routes'); var config = require('./config').config; var adminFilter = require('./filter/adminFilter'); var businessFilter...
victzero/wanzi
wanzi/app.js
JavaScript
gpl-2.0
2,518
var events = {}; function showEvent(e) { eid = e.getAttribute('data-event-id'); fid = e.getAttribute('data-frame-id'); var url = '?view=event&eid='+eid+'&fid='+fid; url += filterQuery; window.location.href = url; //video element is blocking video elements elsewhere in chrome possible interaction with mous...
Simpler1/ZoneMinder
web/skins/classic/views/js/timeline.js
JavaScript
gpl-2.0
6,613
// Catch Flames Custom Scripts jQuery(document).ready(function() { /* Waypoint */ if ( jQuery.isFunction( jQuery.fn.waypoint ) ) { var waypointheader = new Waypoint({ element: document.getElementById('page'), handler: function(direction) { if( direction == 'down' ) { jQuery('#header-top').addClass(...
ilke-zilci/newcomers-wp
wp-content/themes/catch-flames/js/catchflames-custom.js
JavaScript
gpl-2.0
1,623
// jshint ignore: start /* eslint-disable */ /** * WordPress dependencies */ const { __ } = wp.i18n; const { Component, createRef, useMemo, Fragment } = wp.element; const { ToggleControl, withSpokenMessages, } = wp.components; const { LEFT, RIGHT, UP, DOWN, BACKSPACE, ENTER, ESCAPE } = wp.keycodes; const { getRect...
semperfiwebdesign/all-in-one-seo-pack
src/components/inline.js
JavaScript
gpl-2.0
9,828
/* Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang("a11yhelp","tr",{title:"Erişilebilirlik Talimatları",contents:"Yardım içeriği. Bu pencereyi kapatmak için ESC tuşuna basın.",legend:[{name:"Genel",ite...
mJehanno/myLittleBlog
Back/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js
JavaScript
gpl-2.0
4,484
/** * Express configuration */ 'use strict'; import express from 'express'; import favicon from 'serve-favicon'; import morgan from 'morgan'; import compression from 'compression'; import bodyParser from 'body-parser'; import methodOverride from 'method-override'; import cookieParser from 'cookie-parser'; import er...
arkdelkaos/EECR
server/config/express.js
JavaScript
gpl-2.0
3,663
module.exports = async ({ client, configJS, Utils: { IsURL }, Constants: { Colors } }, msg, commandData) => { const handleQuit = () => { msg.reply({ embed: { color: Colors.RED, description: `You've exited the profile setup menu!`, }, }); }; if (msg.suffix === "setup") { let m = await msg.reply({...
GilbertGobbels/GAwesomeBot
Commands/PM/profile.js
JavaScript
gpl-2.0
6,231
// ============================================================================= // Module to configure an ExpressJS web server // ============================================================================= // Requires // { // "express": "4.13.3", // "cookie-parser": "1.4.0", // "morgan": "1.6.1", // "bo...
apycazo/nodes
modules/express-cfg.js
JavaScript
gpl-2.0
971
(function ($) { /** * Attaches double-click behavior to toggle full path of Krumo elements. */ Drupal.behaviors.devel = { attach: function (context, settings) { // Add hint to footnote $('.krumo-footnote .krumo-call').once().before('<img style="vertical-align: middle;" title="Click to expand. Dou...
tapclicks/tapanalytics
sites/default/files/js/js_-uAWVNNLs-CDqxUul18yVdZpeIHUZse1JmT6XcSAYNU.js
JavaScript
gpl-2.0
15,031
var gulp = require("gulp"), concat = require("gulp-concat"), karma = require("karma").server, mocha = require("gulp-mocha"), nodemon = require("gulp-nodemon"), notify = require("gulp-notify"), size = require("gulp-filesize"), sourcemaps = require("gulp-sourcemaps"), uglify = require("gulp-uglify"), typescript ...
litchi-io/litchi-awesome
gulpfile.js
JavaScript
gpl-2.0
2,767
var events = new Hash(); function showEvent( eid, fid, width, height ) { var url = '?view=event&eid='+eid+'&fid='+fid; url += filterQuery; createPopup( url, 'zmEvent', 'event', width, height ); } function createEventHtml( event, frame ) { var eventHtml = new Element( 'div' ); if ( event.Archived ...
eyezm/ZoneMinder
web/skins/classic/views/js/timeline.js
JavaScript
gpl-2.0
4,238
(function() { /* constructor */ function PhotoFloat() { this.albumCache = []; } /* public member functions */ PhotoFloat.prototype.album = function(subalbum, callback, error) { var cacheKey, ajaxOptions, self; if (typeof subalbum.photos !== "undefined" && subalbum.photos !== null) { callback(subalbum); ...
mperceau/PhotoFloat
web/js/010-libphotofloat.js
JavaScript
gpl-2.0
5,824
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ /* Geodesy representation conversion functions (c) Chris Veness 2002-2015 */ /* - www.movable-type.co.uk/scripts/latlong.html MIT Licence */ /* ...
celber/arrow
dist/vendor/geodesy/dms.js
JavaScript
gpl-2.0
10,670
;(function($){ $(document).ready( function(){ $('.fa_slider_simple').FeaturedArticles({ slide_selector : '.fa_slide', nav_prev : '.go-back', nav_next : '.go-forward', nav_elem : '.main-nav .fa-nav', effect : false, // events load : load, before : before, after : after, ...
vrxm/htdocs
wp-content/plugins/featured-articles-lite/themes/simple/starter.dev.js
JavaScript
gpl-2.0
4,040
var rcp_validating_discount = false; var rcp_validating_gateway = false; var rcp_validating_level = false; var rcp_processing = false; jQuery(document).ready(function($) { // Initial validation of subscription level and gateway options rcp_validate_form( true ); // Trigger gateway change event when ga...
CGCookie/Restrict-Content-Pro
includes/js/register.js
JavaScript
gpl-2.0
7,721
/* The main program of test panel */ requirejs.config({ paths : { "dualless" : ".." }, baseUrl : ".." }); require(["debug/view/component", "debug/view/information", "dualless/directives/winbutton" ], function app(component, information, winbutton){ var modul...
benlau/dualless
src/chrome/debug/app.js
JavaScript
gpl-2.0
824
(function($) { Drupal.wysiwyg.editor.init.ckeditor = function(settings) { window.CKEDITOR_BASEPATH = settings.global.editorBasePath + '/'; CKEDITOR.basePath = window.CKEDITOR_BASEPATH; // Drupal.wysiwyg.editor['initialized']['ckeditor'] = true; // Plugins must only be loaded once. Only the settings from the f...
ghigata/prowood
sites/default/files/js/js_kJRR2EPkdTyr2CIdeTvE1Z1h-ltSkNI_HTuwHAsTNDE.js
JavaScript
gpl-2.0
95,145
/* * Copyright (C) eZ Systems AS. All rights reserved. * For full copyright and license information view LICENSE file distributed with this source code. */ YUI.add('ez-dashboardview', function (Y) { "use strict"; /** * Provides the Dashboard View class * * @module ez-dashboardview */ ...
StephaneDiot/PlatformUIBundle-1
Resources/public/js/views/ez-dashboardview.js
JavaScript
gpl-2.0
1,838
window.addEvent("domready", function() { var carousel = new iCarousel("carousel_content", { idPrevious: "carousel_prev", idNext: "carousel_next", idToggle: "undefined", item: { klass: "carouselitem_right", size: 265 }, animation: { ...
thtinh/hb
templates/vxg_hb/js/carousel_impl.js
JavaScript
gpl-2.0
715
// closure to avoid namespace collision (function(){ //------- var html_form = '<div id="text_box-form">\ <p class="popup_submit_wrap"><span class="wpp_helper_box"><a onclick="open_win(\'http://www.youtube.com/watch?v=Y_7snOfYato&list=PLI8Gq0WzVWvJ60avoe8rMyfoV5qZr3Atm&index=10\')">Видео урок</a></span><input typ...
SergL/aboutttango
wp-content/plugins/wppage/js/box.js
JavaScript
gpl-2.0
4,002
/** * Lists the number of different characters */ /* global document: true, Node: true, window: true */ exports.version = '1.0'; exports.module = function(phantomas) { 'use strict'; //phantomas.setMetric('differentCharacters'); // @desc the number of different characters in the body @offenders phantom...
gmetais/YellowLabTools
lib/tools/phantomas/custom_modules/modules/charactersCount/charactersCount.js
JavaScript
gpl-2.0
2,928
/* ************************************************************** #Inicia as funções e plugins * ***************************************************************/ (function() { // Ativa o menu mobile app.menu(); // Ativa o slideshow, se presente na página. var slideshow = document.getElementById("slider"); ...
nelclassico/hapvidaplanos
wp-content/themes/hapvida/src/js/init.js
JavaScript
gpl-2.0
969
'use strict'; function solve(args) { var $number = +args[0]; var $significantBit = $number => (($number >> 3) & 1); console.log($significantBit($number)); } solve(['15']); solve(['1024']);
iDonev/JavaScript-Fundamentals
Lecture 5. Operators and Expressions/ThirdBit.js
JavaScript
gpl-2.0
199
http://jsfiddle.net/fusioncharts/EZbvy/ http://jsfiddle.net/gh/get/jquery/1.9.1/sguha-work/fiddletest/tree/master/fiddles/Gauge/Tick-Values/Customizing-tick-marks-value-visibility-and-position-in-bullet-chart_323/
sguha-work/fiddletest
fiddles/Gauge/Tick-Values/Customizing-tick-marks-value-visibility-and-position-in-bullet-chart_323/url.js
JavaScript
gpl-2.0
213
/*! * smooth-scroll v16.1.0 * Animate scrolling to anchor links * (c) 2019 Chris Ferdinandi * MIT License * http://github.com/cferdinandi/smooth-scroll */ (function (root, factory) { if (typeof define === 'function' && define.amd) { define([], (function () { return factory(root); ...
MattTavares/MattTavares.github.io
assets/js/plugins/SmoothScroll/SmoothScroll.js
JavaScript
gpl-2.0
23,210
{ "CMSMAIN.WARNINGSAVEPAGESBEFOREADDING" : "You have to save a page before adding children underneath it", "CMSMAIN.CANTADDCHILDREN" : "You can't add children to the selected node", "CMSMAIN.ERRORADDINGPAGE" : "Error adding page", "CMSMAIN.FILTEREDTREE" : "Filtered tree to only show changed pages", "CMSMAIN.ERRORF...
maent45/PersianFeast
cms/javascript/lang/src/en.js
JavaScript
gpl-2.0
2,305
var State = Backbone.State = function(options) { options || (options = {}); }; _.extend(State.prototype, Backbone.Events, { classes: [], before: null, on: null, after: null, events: {}, triggers: [], multistate: [], _isStateDescribedInSet: function( set, state ) { var ...
jonathanrevell/tokamak
backbone.states.js
JavaScript
gpl-2.0
2,952
'use strict'; module.exports = require('./EuCookies');
Dununan/reactjs-eu-cookies
build/index.js
JavaScript
gpl-2.0
55
/* Syntax highlighting with language autodetection. http://softwaremaniacs.org/soft/highlight/ */ var DEFAULT_LANGUAGES = ['python', 'ruby', 'perl', 'php', 'css', 'xml', 'html', 'django', 'javascript', 'java', 'cpp', 'sql', 'smalltalk']; var ALL_LANGUAGES = (DEFAULT_LANGUAGES.join(',') + ',' + ['1c', 'ada', 'elisp', '...
enzbang/diouzhtu
external_libraries/highlight/highlight.js
JavaScript
gpl-2.0
13,554
/** * FitVids 1.1 * * Copyright 2013, Chris Coyier - http://css-tricks.com + Dave Rupert - http://daverupert.com * Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/ * Released under the WTFPL license - http://sam.zoy.org/wtfpl/ */ !function(t){"use strict" t.fn....
sdsweb/note
assets/js/fitvids.js
JavaScript
gpl-2.0
2,034
import getNotes from './get-notes'; export const noteHasFilteredRead = ( noteState, noteId ) => noteState.filteredNoteReads.includes( noteId ); export default ( state, noteId ) => noteHasFilteredRead( getNotes( state ), noteId );
Automattic/wp-calypso
apps/notifications/src/panel/state/selectors/note-has-filtered-read.js
JavaScript
gpl-2.0
233
"use strict" var merge = require('merge'); var HttpError = require('http-errors'); var Path = require('path'); module.exports = BaseController.extend({ view: { file: '', partials: {}, params: {} }, before: function(next) { this.view.file = this.req.route; next(); ...
ehmPlankje/express-mvc-boilerplate
controller/_abstract/WebController.js
JavaScript
gpl-2.0
1,593
/* * This program is copyright © 2008-2012 Eric Bishop and is distributed under the terms of the GNU GPL * version 2.0 with a special clarification/exception that permits adapting the program to * configure proprietary "back end" software provided that all modifications to the web interface * itself remain cover...
ivyswen/m4530r
package/plugin-gargoyle-usb-storage/files/www/js/usb_storage.js
JavaScript
gpl-2.0
45,629
(function( $ ) { 'use strict'; /** * All of the code for your admin-facing JavaScript source * should reside in this file. * * This enables you to define handlers, for when the DOM is ready: * * $(function() { * * }); * * When the window is loaded: * * $( window ).load(function() { * * })...
BenRichter/wp-offline-saver
admin/js/offline-saver-admin.js
JavaScript
gpl-2.0
395
/* * Swiper 2.2 - Mobile Touch Slider * http://www.idangero.us/sliders/swiper/ * * Copyright 2012-2013, Vladimir Kharlampidi * The iDangero.us * http://www.idangero.us/ * * Licensed under GPL & MIT * * Updated on: September 15, 2013 */ var Swiper = function (selector, params) { /*============...
calebcauthon/twoshakesofhappy_www
wp-content/themes/salient/js/nectar-slider.js
JavaScript
gpl-2.0
143,574
//>>built define("dojox/grid/enhanced/nls/nb/EnhancedGrid",{singleSort:"Enkel sortering",nestedSort:"Nestet sortering",ascending:"Klikk for \u00e5 sortere stigende",descending:"Klikk for \u00e5 sortere synkende",sortingState:"${0} - ${1}",unsorted:"Ikke sorter denne kolonnen",indirectSelectionRadio:"Rad ${0}, enkeltval...
joshuacoddingyou/php
public/scripts/dojox/grid/enhanced/nls/nb/EnhancedGrid.js
JavaScript
gpl-2.0
462
(function($){ "use strict"; // wpb_el_type_position $('.wpb-element-edit-modal .ewf-position-box div').click(function(){ // e.preventDefault(); $(this).closest('.ewf-position-box').find('div').removeClass('active'); $(this).addClass('active'); console.log('execute para...
narendra-addweb/SwitchedOn
wp-content/themes/sapphire-wp/framework/composer/params/ewf-param-position/ewf-param-position.js
JavaScript
gpl-2.0
1,050
import React, { useContext, useEffect, Fragment } from "react" import { Typography } from "@material-ui/core" import EventsContext from "../context/EventsContext" import TitleContext from "../context/TitleContext" import Box from "@material-ui/core/Box" import Button from "@material-ui/core/Button" import FacebookIcon ...
enricobattocchi/closerintime
src/components/Sentence.js
JavaScript
gpl-2.0
6,042
/** * All Tax meta class * * JS used for the custom fields and other form items. * * Copyright 2012 Ohad Raz (admin@bainternet.info) * @since 1.0 */ var $ =jQuery.noConflict(); function update_repeater_fields(){ /** * Datepicker Field. * * @since 1.0 */ $('.at-date').each( function() { ...
FeGHeidelberg/wp_feg-heidelberg_de
wp-content/themes/churchope/backend/js/tax-meta-clss.js
JavaScript
gpl-2.0
8,497
/* Google HTML5 slides template Authors: Luke Mahé (code) Marcin Wichary (code and design) Dominic Mazzoni (browser compatibility) Charles Chen (ChromeVox support) URL: http://code.google.com/p/html5slides/ */ var PERMANENT_URL_PREFIX = 'https://magni.me/presentation-pugbo-php...
ilbonzo/presentation-pugbo-php54
js/slides.js
JavaScript
gpl-2.0
14,822
//>>built define("dojox/embed/flashVars",["dojo"],function(f){f.deprecated("dojox.embed.flashVars","Will be removed in 2.0","2.0");var e={serialize:function(g,b){var e=function(a){"string"==typeof a&&(a=a.replace(/;/g,"_sc_"),a=a.replace(/\./g,"_pr_"),a=a.replace(/\:/g,"_cl_"));return a},h=dojox.embed.flashVars.seriali...
joshuacoddingyou/php
public/scripts/dojox/embed/flashVars.js
JavaScript
gpl-2.0
621
showWord(["n. ","Boutik, magazen, kote yo vann. Nan ri sa a, gen anpil konmès." ])
georgejhunt/HaitiDictionary.activity
data/words/konm~es_k~om~es_.js
JavaScript
gpl-2.0
83
tinyMCE.addI18n("ru.len-slider",{ title : "Шорткод для вставки LenSlider" });
gritz99/SOAP
wp-content/plugins/len-slider/js/langs/ru.js
JavaScript
gpl-2.0
97
// $Id: ahah.js,v 1.1.2.1 2009/03/21 19:43:51 mfer Exp $ /** * Provides AJAX-like page updating via AHAH (Asynchronous HTML and HTTP). * * AHAH is a method of making a request via Javascript while viewing an HTML * page. The request returns a small chunk of HTML, which is then directly * injected into the ...
punithagk/mpm
profiles/uberdrupal/modules/jquery_update/replace/ahah.js
JavaScript
gpl-2.0
7,824
(function($){ if (typeof UxU.utils !== 'undefined') { $('.uxu-ticket-status-festival-length').html(UxU.utils.durationFromVisitors(info.tickets_sold)); } })(jQuery);
j0n/uxu-prototype
wp-content/plugins/uxu-tickets/js/uxu-tickets.js
JavaScript
gpl-2.0
173
'use strict'; const { expect } = require('chai'); const { getParsedSql } = require('./util'); describe('common table expressions', () => { it('should support single CTE', () => { const sql = ` WITH cte AS (SELECT 1) SELECT * FROM cte `.trim(); expect(getParsedSql(s...
godmodelabs/flora-sql-parser
test/ast2sql/cte.js
JavaScript
gpl-2.0
1,628
"use strict"; /*** * critical element webgl demo by Silke Rohn and Benedikt Klotz * Source is the Basis applikation. * Added and changed functionalities: * @Benedikt: Objects, Lighting, particle systems, shader, blending and face culling * @Silke: particle system, changes to particle systems (Elements) */ var webgl ...
Streamstormer/webGL-project
js/webgl.js
JavaScript
gpl-2.0
37,180
import React from "react"; import PropTypes from "prop-types"; import styled from "styled-components"; const StyledTag = styled.span` color: ${props => props.color}; background: ${props => props.bgcolor}; padding: ${props => props.padding}; margin: ${props => props.margin}; border-radius: 3px; border: ${pr...
pamfilos/data.cern.ch
ui/cap-react/src/components/partials/Tag.js
JavaScript
gpl-2.0
1,314
showWord(["n. ","1. Gwo dan dèyè nan macha mamifè yo ki adapte pou moulen manje. Moun gen douz dan molè, sis nan chak machwa (twa chak bò). 2. Molèt, pati posteryè nan janm yon moun, ant jenou ak cheviy. Lè li kouri, molè li fè l mal. 3. a. Nan domèn chimi li vle di ki gen relasyon ak mol (yon solisyon ki gen yon mol s...
georgejhunt/HaitiDictionary.activity
data/words/mol~e.js
JavaScript
gpl-2.0
372
/*! jQuery UI - v1.10.2 - 2013-03-14 * http://jqueryui.com * Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */ jQuery(function (e) { e.datepicker.regional.ms = {closeText: "Tutup", prevText: "&#x3C;Sebelum", nextText: "Selepas&#x3E;", currentText: "hari ini", monthNames: ["Januari", "Februa...
KsenZ/cirm
js/jqueryui/ui/minified/i18n/jquery.ui.datepicker-ms.min.js
JavaScript
gpl-2.0
884
/* global FullCalendar, FullCalendarLocales, FullCalendarInteraction */ var GLPIPlanning = { calendar: null, dom_id: "", all_resources: [], visible_res: [], drag_object: null, last_view: null, display: function(params) { // get passed options and merge it with default on...
smartcitiescommunity/Civikmind
js/planning.js
JavaScript
gpl-2.0
34,622
define(['jquery','config','base','ajax','checkInput','serializeJson'],function($,config,base,AjaxFunUtils){ var defaultAddr = ''; var init = function(){ getAddress(defaultAddr); }; //加载模板 var loadhtml = function(){ var telhtml = '<div id="addressbox" class="addressbox">'+ '<form id="addressform" method="po...
38695248/require-gulp
moblie/require/js/address.js
JavaScript
gpl-2.0
19,264
// ** I18N Calendar._DN = new Array ("Söndag", "Måndag", "Tisdag", "Onsdag", "Torsdag", "Fredag", "Lördag", "Söndag"); Calendar._MN = new Array ("Januari", "Februari", "Mars", "April", "Maj", "Juni", "Juli", "Augusti", "September", "Oktober", "November", "December"); // toolti...
Fightmander/Hydra
lib/calendar/lang/calendar-sw.js
JavaScript
gpl-2.0
1,143
{"filter":false,"title":"media-uploader.js","tooltip":"/wp-content/themes/openmind/inc/js/media-uploader.js","undoManager":{"mark":-1,"position":-1,"stack":[]},"ace":{"folds":[],"scrolltop":540,"scrollleft":0,"selection":{"start":{"row":12,"column":0},"end":{"row":12,"column":0},"isBackwards":false},"options":{"guessTa...
ashrafeme/drprize
.c9/metadata/workspace/wp-content/themes/openmind/inc/js/media-uploader.js
JavaScript
gpl-2.0
521
/* Malaysian initialisation for the jQuery UI date picker plugin. */ /* Written by Mohd Nawawi Mohamad Jamili (nawawi@ronggeng.net). */ jQuery(function ($) { $.datepicker.regional['ms'] = { closeText: 'Tutup', prevText: '&#x3c;Sebelum', nextText: 'Selepas&#x3e;', currentText: 'hari ini', monthNames: ['Januar...
parksandwildlife/parkstay
jomres/javascript/jquery-ui-cal-localisation/jquery.ui.datepicker-ms.js
JavaScript
gpl-2.0
932
/* * linksync commander -- Command line interface to LinkSync * Copyright (C) 2016 Andrew Duncan * * This package is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * found in the file LICENSE that should have accompanied this file. * * This program is...
lakesite/linksync-commander
lib/sync.js
JavaScript
gpl-2.0
3,119
describe('autocomplete', function () { beforeEach(function () { browser.get('/bonita/preview/page/no-app-selected/autocomplete/'); }); describe('simple list', function() { var input, p; beforeEach(function() { input = $('.test-simple input'); p = $('.test-simple p'); }); it('sh...
bonitasoft/bonita-ui-designer
tests/src/test/spec/pages/autoComplete.spec.js
JavaScript
gpl-2.0
2,839
// config/ptv.js module.exports.ptv = { devId: 'xxx', devSecret: 'xxx', };
vuongngo/catchup
config/ptv.js
JavaScript
gpl-2.0
78
/** * Created by kliu on 10/10/2015. */ var jsonschema = require("jsonschema"); var utils = {}; utils.validateJSON = function(schema, json){ var result = jsonschema.validate(json, schema); if(result.errors.length == 0){ return json; }else{ throw new Error("message not valid, " + result.e...
adleida/adx-nodejs
utils.js
JavaScript
gpl-2.0
1,027
/* global Ext, ViewStateManager, App */ Ext.define( 'App.ux.StatefulTabPanel', { extend: 'Ext.tab.Panel', alias: 'widget.statefultabpanel', initComponent: function() { this.iconCls = this.iconCls || this.itemId; this.on( 'afterrender', this.onAfterRender, this); this.callParent( arguments); }, ...
liancastellon/cellstore-admin
web/app/ux/StatefulTabPanel.js
JavaScript
gpl-2.0
1,141
$(function(){ $('.home .bxslider').bxSlider({ auto: true, mode: 'fade' }); /** * QUICK REFERENCE */ // check if the window bindings should be applied (only if the element is present) var $reference = $('.reference-wrap'); if($reference.length > 0){ // toggle the menu $('.reference-wrap h3').click(...
naka211/tellusavokater
html/js/scripts.js
JavaScript
gpl-2.0
3,481
var express = require('express'); var reload = require('reload'); var fs = require('fs'); var wss = new require('ws').Server({port: 3030}); var app = express(); var Chopper = require('./lib/Chopper'); app.set('port', process.env.PORT || 3000); app.set('view engine', 'ejs'); app.use(require('./routes/index')...
gjgjwmertens/LedBlinkJohhny5
exp_app.js
JavaScript
gpl-3.0
1,517
export { AbilityScoresViewModel } from './ability_scores'; export { ActionsToolbarViewModel } from './actions_toolbar'; export { ArmorViewModel } from './armor'; export { CharacterNameViewModel } from './character_name'; export { CharacterPortraitModel } from './character_portrait'; export { CharacterStatusLineViewMode...
adventurerscodex/adventurerscodex
src/charactersheet/viewmodels/character/index.js
JavaScript
gpl-3.0
1,218
var index = require('express').Router(); var Member = require('../models/Member'); var sitemap = require('../middlewares/sitemap'); var utils = require('../middlewares/utils'); index.get('/', function (req, res) { res.redirect('/article'); }); index.get('/lang', function (req, res) { var setLang; if (req.cookie...
hfut-xcsoft/xcsoft.hfut.edu.cn
routes/default.js
JavaScript
gpl-3.0
901
'use strict'; const Stack = require('./_Stack'); const baseIsEqual = require('./_baseIsEqual'); /** Used to compose bitmasks for comparison styles. */ const UNORDERED_COMPARE_FLAG = 1; const PARTIAL_COMPARE_FLAG = 2; /** * The base implementation of `_.isMatch` without support for iteratee shorthands. * * @priva...
rafa1231518/CommunityBot
lib/xml2js-req/xmlbuilder/lodash/_baseIsMatch.js
JavaScript
gpl-3.0
1,805
module.exports = publish var url = require('url') var semver = require('semver') var Stream = require('stream').Stream var assert = require('assert') var fixer = require('normalize-package-data').fixer var concat = require('concat-stream') var ssri = require('ssri') function escaped (name) { return name....
lyy289065406/expcodes
java/01-framework/dubbo-admin/incubator-dubbo-ops/dubbo-admin-frontend/node/node_modules/npm/node_modules/npm-registry-client/lib/publish.js
JavaScript
gpl-3.0
5,905
pref('devcache.debug', false); pref('devcache.enabled', true); pref('devcache.patterns', '');
essentialed/DevCache
defaults/preferences/prefs.js
JavaScript
gpl-3.0
97
/* UTILIZZO DEL MODULO: var mailer = require('percorso/per/questoFile.js'); mailer.inviaEmail(nome, cognome, emailDestinatario, oggetto, corpoInHtml); OPPURE mailer.inviaEmail(opzioniEmail); dove opzioniEmail è un oggetto JSON formato così: { from: '"Nome Visualizzato" <mail@example.com>', // mail del mittente ...
ecommerce-unicam/Sito-Tranquillo
server/utilities/mailer.js
JavaScript
gpl-3.0
4,054
/** * Class: Webgl * Description: Her goes description */ import {m, utils} from '../../js/main'; import * as THREE from './three.min.js' import dat from './dat.gui.min.js' import Detector from './Detector.js' // GLOBAL var EightBitMode = false; export default class Webgl { /** * @param {number} param this i...
GreatWorksCopenhagen/gw-xmascard
src/modules/webgl/webgl.js
JavaScript
gpl-3.0
10,063
"use strict"; var os = require("os"); var fs = require('fs'); var settings = require("../config.js").settings; exports.module = function() { this.onCommand_help = function(nick, command) { var chan = this.channel; fs.readFile('./package.json', 'utf-8', function(err, data) { if (!err) { chan.say(settings.gl...
bitspill/Modular-Node.js-IRC-Bot
modules/help.js
JavaScript
gpl-3.0
708
/* eslint-env node */ import { JSDOM } from 'jsdom'; const html = `<body> <div id="test_player" data-vimeo-id="2"></div> <div class="multiple"> <iframe class="two" src="https://player.vimeo.com/video/2"></iframe> <iframe class="one" src="https://player.vimeo.com/video/76979871"></iframe> </div> </body>`; globa...
Yunfeng/h5buk
public/assets/vendor/player.js/test/helpers/browser-env.js
JavaScript
gpl-3.0
485
Vue.component('snackbar', require('./components/material/snackbar.vue')); Vue.component('show-snackbar', require('./components/material/show-snackbar.vue'));
authv/authv
resources/assets/js/authv.js
JavaScript
gpl-3.0
159
function changeQueryStr(name, value) { var query = window.location.search.substring(1), newQuery = '?', notFound = true, vars = query.split('&'); for (var i = 0; i < vars.length; i++) { var pair = vars[i].split('='); if (pair == '' || pair[0] == 'page') continue; if (pair...
RomanOsadchuk/GoStory
general/static/general/js/list_filtering.js
JavaScript
gpl-3.0
1,490
import Route from '@ember/routing/route' import resetScroll from 'radio4000/mixins/reset-scroll' export default Route.extend(resetScroll, {})
internet4000/radio4000
app/channels/route.js
JavaScript
gpl-3.0
143
/* 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/dashboard/sourcepicturesizes/SourcesList.js
JavaScript
gpl-3.0
1,232
global.should = require('should'); global.Breadboard = require('../lib');
palra/breadboard
test/globalHooks.js
JavaScript
gpl-3.0
73
function PingPongPaddle(x, y, z, radius) { this.x = x; this.y = y; this.z = z; this.radius = radius; } PingPongPaddle.prototype = { rotation: new THREE.Vector3(0, 0, 0), init: function(scene) { var tableImage = THREE.ImageUtils.loadTexture('images/paddle_texture.jpg'); //var geo...
mryan23/PingPongServer
war/js/ping_pong_paddle.js
JavaScript
gpl-3.0
1,903
function InstrumentSelector(list) { this.instruments = list; this.currentInstrument; this.updateInstrumentView(); } InstrumentSelector.prototype.addInstrument = function (type, url, colorCode) { var l = this.instruments.push(new Instrument(type, url, colorCode)); this.createInstrumentView(l-1); } InstrumentSele...
mqtlam/cloud-composer
release/beta_0.3/include/InstrumentSelector.js
JavaScript
gpl-3.0
2,208
function glitch_frame(frame) { // bail out if we have no motion vectors let mvs = frame["mv"]; if ( !mvs ) return; // bail out if we have no forward motion vectors let fwd_mvs = mvs["forward"]; if ( !fwd_mvs ) return; // clear horizontal element of all motion vect...
JC-Morph/alghemy
lib/alghemy/scripts/mv_sink.js
JavaScript
gpl-3.0
805
/* | Copyright 2015 Pispidikis john | | Licensed under the GNU GENERAL PUBLIC LICENSE Version 3 | you may not use this file except in compliance with the License. | | | Unless required by applicable law or agreed to in writing, software | distributed under the License is distributed on an "AS IS" BASIS, | W...
pispidikisj/Topo3DcityDBPS
lib/OGCfunction.js
JavaScript
gpl-3.0
13,602
'use strict'; const {Application} = require('backbone.marionette'); const Geppetto = require('backbone.geppetto'); const debug = require( 'debug' )( 'dpac:app', '[Context]' ); const eventLog = require( 'debug' )( 'dpac:core.events', '\u2709' ); const app = module.exports = new Application(); const AppContext = Geppett...
d-pac/d-pac.client
src/scripts/core/App.js
JavaScript
gpl-3.0
957
jQuery(document).ready(function(jQuery){ jQuery('.smile-upload-media').click(function(e) { _wpPluploadSettings['defaults']['multipart_params']['admin_page']= 'customizer'; var button = jQuery(this); var id = 'smile_'+button.attr('id'); var uid = button.data('uid'); var rmv_btn = 'remove_'+button.attr('id');...
emergugue/emergugue_wp_theme
wp-content/plugins/convertplug/framework/lib/fields/media/media.js
JavaScript
gpl-3.0
5,553
// Copyright © 2016 Gary W. Hudson Esq. // Released under GNU GPL 3.0 var lzwh = (function() {var z={ Decode:function(p) {function f(){--h?k>>=1:(k=p.charCodeAt(q++)-32,h=15);return k&1}var h=1,q=0,k=0,e=[""],l=[],g=0,m=0,c="",d,a=0,n,b; do{m&&(e[g-1]=c.charAt(0));m=a;l.push(c);d=0;for(a=g++;d!=a;)f()?d=(d+a>...
GWHudson/lzwh
lzwhutf16-min.js
JavaScript
gpl-3.0
1,186
ManageIndexes = { GridPanel : function(config) { config.autoExpandColumn = 'columns'; config.viewConfig = { forceFit: true }; ManageIndexes.GridPanel.superclass.constructor.call(this, config); }, gridPanelStore : function(data) { var store = new Ext.data.SimpleStore( { fields : data.fields }); ...
manusis/dblite
app/js/dblite/manageindexes.js
JavaScript
gpl-3.0
11,797
'use strict'; var winston = require('winston'), loggerUtils = require('alien-node-winston-utils'); module.exports = { port : 3000, // TODO this isnt setup for nginx yet server : { // Ports on which to run node instances. Should be n-1 instances, where n is the number of cores. enabledPorts : [30...
SeanCannon/club540
config/production.js
JavaScript
gpl-3.0
2,188
'use strict'; const path = require('path'); const os = require('os'); const fs = require('fs-extra'); const fieHome = require('fie-home'); const debug = require('debug')('core-report'); const fieUser = require('fie-user'); const execSync = require('child_process').execSync; const spawn = require('cross-spawn'); const ...
fieteam/fie
packages/fie-report/lib/utils.js
JavaScript
gpl-3.0
4,841
module.exports = { 'extends': ['google', 'plugin:react/recommended'], 'parserOptions': { 'ecmaVersion': 6, 'sourceType': 'module', 'ecmaFeatures': { 'jsx': true } }, 'env': { 'browser': true, }, 'plugins': [ 'react' ] };
BadgerTek/mern-skeleton
.eslintrc.client.js
JavaScript
gpl-3.0
293
/** * Client. * @module client */ /** * View configuration. * @class ViewConfig */ function ViewConfig(resources) { this.playAnimations = true; this.resources = resources; } /** * Should we play animations? * @method setPlayAnimations */ ViewConfig.prototype.setPlayAnimations = function(value) { this.play...
limikael/netpoker
src/client/resources/ViewConfig.js
JavaScript
gpl-3.0
832
var com = com || {}; com.hiyoko = com.hiyoko || {}; com.hiyoko.component = com.hiyoko.component || {}; com.hiyoko.component.UlList = function($html){}; com.hiyoko.util.extend(com.hiyoko.component.ApplicationBase, com.hiyoko.component.UlList); com.hiyoko.component.UlList.prototype.renderDefaultLi = function($li, item)...
Shunshun94/shared
jquery/com/hiyoko/components/v1/UlList.js
JavaScript
gpl-3.0
2,032
Fox.define('language', [], function () { var Language = function (cache) { this.cache = cache || null; this.data = {}; }; _.extend(Language.prototype, { data: null, cache: null, url: 'I18n', has: function (name, category, scope) { if (scope ...
ilovefox8/zhcrm
client/src/language.js
JavaScript
gpl-3.0
3,025
/** * Copyright 2014 IBM Corp. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
lemio/w-esp
w-esp-node-red/nodes/94-mobile_actuator.js
JavaScript
gpl-3.0
2,532
function parseCategory(aCategory, aFunction) { if(document.location.host == '' || document.location.host == 'localhost' ) var url = 'test.html'; else var url = categoryGetURLPrivate(aCategory); $.ajax({ type: "GET", url: url, dataType:'html', success: function(responseText) { var aData...
titoBouzout/ODPy
lib/ODP/categoryParser.js
JavaScript
gpl-3.0
3,590
Ext.define('User', { extend: 'Ext.data.Model', fields: [ {name: 'name', type: 'string', convert: function(value,record) { return record.get('name')+' the barbarian'); } }, {name: 'age', type: 'int'}, {name: 'phone', type: 'string'}, {name: 'alive', type: 'boolean', defaultValue: true} ], });
veltzer/demos-javascript
src/extjs/examples/model/model_change.js
JavaScript
gpl-3.0
316
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const path = require("path"); const cordova_config_1 = require("../utils/cordova-config"); function LabAppView(req, res) { return res.sendFile('index.html', { root: path.join(__dirname, '..', '..', 'lab') }); } exports.LabAppVi...
Rob2B/Cherry-enseirb
app/node_modules/@ionic/cli-plugin-ionic1/dist/serve/lab.js
JavaScript
gpl-3.0
652