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'; angular.module(ApplicationConfiguration.applicationModuleName).controller('LeftNavController', function(Authentication, $mdSidenav, Menus, $log) { this.authentication = Authentication; this.isCollapsed = false; this.menu = Menus.getMenu('sidenav'); this.selected = ''; this.isSelected = functi...
rivetsystems/angular-mean-material-seed
public/modules/core/controllers/leftnav.client.controller.js
JavaScript
mit
1,053
/* coerces a value into a boolean */ 'use strict'; var value = require('useful-value'); module.exports = function boolean(val) { val = value.coerce(val); return !!val; };
super-useful/su-apiserver
lib/validators/boolean.js
JavaScript
mit
181
'use strict'; const common = require('../common'); const assert = require('assert'); const URLSearchParams = require('url').URLSearchParams; const { test, assert_equals, assert_true } = require('../common/wpt'); /* The following tests are copied from WPT. Modifications to them should be upstreamed first. Refs: ...
hoho/dosido
nodejs/test/parallel/test-whatwg-url-searchparams-set.js
JavaScript
mit
2,515
module.exports={A:{A:{"1":"B","16":"mB","129":"F A","130":"M D H"},B:{"1":"C E q L O I J K"},C:{"1":"0 1 2 3 4 5 6 8 9 jB AB G M D H F A B C E q L O I J P Q R S T U V W X Y Z a b c d f g h i j k l m n o p N r s t u v w x y z LB BB CB DB EB FB HB IB JB eB cB"},D:{"1":"0 1 2 3 4 5 6 8 9 G M D H F A B C E q L O I J P Q R ...
emccosky/emccosky.github.io
node_modules/caniuse-lite/data/features/dispatchevent.js
JavaScript
mit
974
version https://git-lfs.github.com/spec/v1 oid sha256:ba70bb48cb8b3fa4039462224a789adb71a3ff64f8c3c3da603a633299e783af size 2528
yogeshsaroya/new-cdnjs
ajax/libs/mathjax/2.5.1/jax/output/HTML-CSS/fonts/STIX/General/Bold/MathBold.js
JavaScript
mit
129
const replaceSpritePlaceholder = require('./replace-sprite-placeholder'); /** * @param {NormalModule|ExtractedModule} module * @param {Object<string, string>} replacements * @return {NormalModule|ExtractedModule} */ function replaceInModuleSource(module, replacements) { const source = module._source; if (type...
kisenka/svg-sprite-loader
lib/utils/replace-in-module-source.js
JavaScript
mit
635
'use strict'; // eslint-disable-line semi const request = require('supertest'); const {expect} = require('chai'); const db = require('APP/db'); const app = require('./start'); describe('/api/users', () => { before('Await database sync', () => db.didSync); afterEach('Clear the tables', () => db.truncate({ cascade...
jzheng16/personal-website
server/users.test.js
JavaScript
mit
1,217
'use strict'; var babelHelpers = require('./util/babelHelpers.js'); var React = require('react'), _ = require('./util/_'), cx = require('classnames'), dates = require('./util/dates'), localizers = require('./util/configuration').locale, CustomPropTypes = require('./util/propTypes'), Btn = requ...
rdjpalmer/react-widgets
lib/Decade.js
JavaScript
mit
3,354
import React from 'react'; import ActionButton from './ActionButton'; import renderer from 'react-test-renderer'; describe('floating action button', () => { it('renders initial view', () => { const component = renderer.create( <ActionButton />, ); let tree = component.toJSON(); expect(tree).t...
crosshj/nodeCents
client/components/ActionButton.test.js
JavaScript
mit
1,542
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Returns the nearest power of 2 to the given `value`. * * @function Phaser.Math.Pow2.GetNext * @since 3.0.0 * * @param {number} value...
photonstorm/phaser
src/math/pow2/GetPowerOfTwo.js
JavaScript
mit
562
var map, layer, districtLayer; var projectAPIKey = 'AIzaSyDdCELFax8-q-dUCHt9hn5Fbf_7ywY6yvA';// Personal Account // var citiesTableID = '1CU4KNOJYGWoCkUZWrxgvleGq-k6PFFUO6qfqTCid'; var citiesTableID = '1cKfYbbWs6JJujJPk-lJfdBLWVaRRSMxfXNx6K6_y'; var districtsTableID = '1BYUolX-kQGfeEckoXM...
DataKind-BLR/analytics
kpi/cm-demo-tool/js/visuals.js
JavaScript
mit
88,580
'use strict'; /** * Module dependencies. */ var mongoose = require('mongoose'), Schema = mongoose.Schema; /** * Tfile Schema */ var TfileSchema = new Schema({ name: { type: String, default: '', required: 'Please add a TestFile name', trim: true }, created: { type: Date, default: Date.now }, user...
kaseyalusi/tests
app/models/tfile.server.model.js
JavaScript
mit
557
'use strict'; // event // eventType - 'dragStart', 'drag', 'dragStop' // pos - absolute pos, // returnCallback var app = angular.module('utilsDrag', []); app.directive('utilsDrag', function ( ) { return { restrict: 'A', scope: { dragCallback: '&utilsDrag' }...
nangelova/utils-drag
utils-drag.js
JavaScript
mit
3,120
/* jshint node: true */ 'use strict'; var assign = require('object-assign'); module.exports = { name: 'ember-cli-cloudinary-images', config: function(environment, appConfig) { var CLOUDINARY = appConfig.CLOUDINARY || {}; return { CLOUDINARY: assign({ /** For future support */ API_K...
oriSomething/ember-cli-cloudinary-images
index.js
JavaScript
mit
1,098
/* Magic Mirror Test config default weather * * By rejas * MIT Licensed. */ let config = { units: "imperial", modules: [ { module: "weather", position: "bottom_bar", config: { type: "forecast", location: "Munich", mockData: '"#####WEATHERDATA#####"', weatherEndpoint: "/forecast/daily",...
Tyvonne/MagicMirror
tests/configs/modules/weather/forecastweather_units.js
JavaScript
mit
486
/** * Produces optimized XTemplates for chunks of tables to be * used in grids, trees and other table based widgets. */ Ext.define('Ext.view.TableChunker', { singleton: true, requires: ['Ext.XTemplate'], metaTableTpl: [ '{%if (this.openTableWrap)out.push(this.openTableWrap())%}', '<table ...
brunotavares/Ext.ux.Router
examples/ext/src/view/TableChunker.js
JavaScript
mit
5,033
/////////////// /// main.js // ///////////// jQuery(function () { var $ = jQuery; // happy coding! });
arsylum/meouz
ouz/haz/js/main.js
JavaScript
mit
106
import { collection } from 'ember-cli-page-object'; export default { scope: '.user__skills-list', emptyState: { scope: '[data-test-user-skills-list-empty-state]' }, skills: collection('[data-test-user-skills-list-item]') };
jderr-mx/code-corps-ember
tests/pages/components/user/skills-list.js
JavaScript
mit
241
/** @module utils/nodes */ /** * The default testnet node * * @type {string} */ let defaultTestnetNode = 'http://bob.nem.ninja:7778'; /** * The default mainnet node * * @type {string} */ let defaultMainnetNode = 'http://alice6.nem.ninja:7778'; /** * The default mijin node * * @type {string} */ let defaul...
AtrauraBlockchain/Landstead
src/app/utils/nodes.js
JavaScript
mit
3,382
/* Copyright (c) 2011 Cimaron Shanahan 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, publish, distribute...
DelvarWorld/glsl2js
ir/instruction.js
JavaScript
mit
5,157
/** @license MIT License (c) copyright B Cavalier & J Hann */ /** * wire/on plugin * wire plugin that provides an "on" facet to connect to dom events, * and includes support for delegation * * wire is part of the cujo.js family of libraries (http://cujojs.com/) * * Licensed under the MIT License at: * http://w...
cujojs/wire
on.js
JavaScript
mit
2,712
import { extend, colorRgbToHex, colorRgbToHsl, colorHslToHsb, colorHslToRgb, colorHsbToHsl, colorHexToRgb, nextTick, deleteProps, } from '../../shared/utils'; import Framework7Class from '../../shared/class'; import $ from '../../shared/dom7'; import { getDevice } from '../../shared/get-device'; impo...
framework7io/Framework7
src/core/components/color-picker/color-picker-class.js
JavaScript
mit
23,717
/* * * * (c) 2010-2019 Torstein Honsi * * License: www.highcharts.com/license * * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!! * * */ 'use strict'; /* globals Image, window */ /** * Reference to the global SVGElement class as a workaround for a name conflict * in the Highcharts ...
cdnjs/cdnjs
ajax/libs/highcharts/8.0.0/es-modules/parts/Globals.js
JavaScript
mit
2,700
/*!----------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.5.3(793ede49d53dba79d39e52205f16321278f5183c) * Released under the MIT license * https://github.com/Microsoft/vscode/blob/master/LICENSE.txt *-------------------------------------...
smurfpandey/mysqlweb
static/js/vs/base/common/worker/simpleWorker.nls.zh-cn.js
JavaScript
mit
1,521
/** * Spacelet Manager, 2013 Spaceify Inc. * SpaceletManager is a class for managing Spacelets and their processes. It launches spacelet processes, manages their quotas and access rights and terminates them when needed. * * @class SpaceletManager */ var fs = require("fs"); var fibrous = require("fibrous"); var Co...
citsym/PointerTest
spaceifyapplication/api/spaceletmanager.js
JavaScript
mit
5,915
import React, { Component } from 'react'; import {DataTable} from 'datatables.net-responsive-bs'; const settingsMock = { header: 'Test Header' }; describe('DataTables component', () => { class mock extends Component {} var comp = new mock(settingsMock); it('Should have props', () => { expect(comp....
NuCivic/react-dash
tests/datatable_spec.js
JavaScript
mit
373
var util = require('util'); var async = require('async'); var path = require('path'); var Router = require('../utils/router.js'); var sandboxHelper = require('../utils/sandbox.js'); // Private fields var modules, library, self, private = {}, shared = {}; private.loaded = false // Constructor function Server(cb, scop...
anshuman-singh-93/agrichain
src/core/server.js
JavaScript
mit
1,677
(function(global) { // simplified version of Object.assign for es3 function assign() { var result = {}; for (var i = 0, len = arguments.length; i < len; i++) { var arg = arguments[i]; for (var prop in arg) { result[prop] = arg[prop]; } ...
ceolter/angular-grid
grid-packages/ag-grid-docs/documentation/static/example-runner/charts-react-boilerplate/systemjs.config.js
JavaScript
mit
2,518
module.exports={title:'Discover',slug:'discover',svg:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Discover icon</title><path d="M12 0A12 12 0 1 0 12 24A12 12 0 1 0 12 0Z"/></svg>',get path(){return this.svg.match(/<path\s+d="([^"]*)/)[1];},source:'https://www.discovernetwork.com/en-us/...
cdnjs/cdnjs
ajax/libs/simple-icons/1.13.0/discover.js
JavaScript
mit
373
import Coordinator from '../models/coordinator'; export default { name: "setup coordinator", initialize: function() { let app = arguments[1] || arguments[0]; app.register("drag:coordinator",Coordinator); app.inject("component","coordinator","drag:coordinator"); } };
drourke/ember-drag-drop
app/initializers/coordinator-setup.js
JavaScript
mit
287
import { EventEmitter, Input, Output, Component, ViewContainerRef, ContentChildren, ElementRef, NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { TooltipModule } from 'primeng/tooltip'; import { PrimeTemplate, SharedModule } from 'primeng/api'; var __decorate = (this && this.__d...
cdnjs/cdnjs
ajax/libs/primeng/9.0.0-rc.4/fesm2015/primeng-tabview.js
JavaScript
mit
11,946
//>>built define({"dgrid/extensions/nls/columnHider":{popupTriggerLabel:"Show or hide columns",popupLabel:"Vis eller skjul kolonner",_localized:{}},"widgets/AttributeTable/nls/strings":{_widgetLabel:"Attributtabel",ok:"OK",cancel:"Annuller",unsupportQueryWarning:"Laget skal underst\u00f8tte, at foresp\u00f8rgsler blive...
pjdohertygis/MapSAROnline
Web Mapping Application/widgets/AttributeTable/nls/Widget_da.js
JavaScript
cc0-1.0
1,556
//>>built define({"widgets/Print/nls/strings":{_widgetLabel:"Print",title:"Map Title",format:"Format",layout:"Layout",settings:"Advanced",mapScaleExtent:"Map scale/extent",preserve:"Preserve",mapScale:"map scale",mapExtent:"map extent",forceScale:"Force scale",getCurrentScale:"current",mapMetadata:"Layout metadata",aut...
pjdohertygis/MapSAROnline
Web Mapping Application/widgets/Print/nls/Widget_ROOT.js
JavaScript
cc0-1.0
1,069
SimileAjax.History={maxHistoryLength:10,historyFile:"__history__.html",enabled:!1,_initialized:!1,_listeners:new SimileAjax.ListenerQueue,_actions:[],_baseIndex:0,_currentIndex:0,_plainDocumentTitle:document.title},SimileAjax.History.formatHistoryEntryTitle=function(i){return SimileAjax.History._plainDocumentTitle+" {"...
SteveSchafer-Innovent/innovent-pentaho-birt-plugin
js-lib/expanded/cdf/js/compressed/lib/simile/ajax/scripts/history.js
JavaScript
epl-1.0
4,359
/*-- Addition for remembering expanded state of pages --*/ function writeSessionCookie(cookieName, cookieValue) { document.cookie = escape(cookieName) + "=" + escape(cookieValue) + ";"; } function toggle_viewers() { if (document.add.visibility.value == 'private') { document.getElementById('viewe...
WBCE/WebsiteBaker_CommunityEdition
wbce/admin/pages/page_index.js
JavaScript
gpl-2.0
1,953
/* * Copyright (C) 2014 rafa * * 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 option) any later version. * * This program is distributed ...
jesuspablo/proyectoFinal2015
src/main/webapp/js/specific/nota/routes.js
JavaScript
gpl-2.0
3,915
var searchData= [ ['takeaction',['takeAction',['../classBasicStar.html#aadca2b88ce5766a1a6cd95accbb72bfb',1,'BasicStar::takeAction()'],['../classMovingStar.html#a273dfe02f9eab1148da09619e34480e9',1,'MovingStar::takeAction()']]], ['touches',['touches',['../classPlayer.html#ab6c3ad981fd782f3b59fe19d66bc15d8',1,'Playe...
lollek/JumpMan
doc/html/search/functions_74.js
JavaScript
gpl-2.0
329
var ZTMenu = function(boxTimer, xOffset, yOffset, smartBoxSuffix, smartBoxClose, isub, xduration, xtransition) { var smartBoxes = $(document.body).getElements('[id$=' + smartBoxSuffix + ']'); var closeElem = $(document.body).getElements('.' + smartBoxClose); var closeBoxes = function() { smartBoxes.setStyle('di...
cyberalpha/UbicoArte
templates/zt_xenia25/zt_menus/zt_megamenu/zt.megamenu.js
JavaScript
gpl-2.0
3,213
/*! jQuery UI - v1.9.0-rc.1 - 2012-08-24 * http://jqueryui.com * Includes: jquery.ui.datepicker-ta.js * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */ jQuery(function(a){a.datepicker.regional.ta={closeText:"மூடு",prevText:"முன்னையது",nextText:"அடுத்தது",currentText:"இன்று",monthNames:["தை","மா...
eauxnguyen/civicrm-starterkit-drops-7
profiles/civicrm_starterkit/modules/civicrm/packages/jquery/jquery-ui-1.9.0/development-bundle/ui/minified/i18n/jquery.ui.datepicker-ta.min.js
JavaScript
gpl-2.0
1,459
/* * */ Ext.define("core.cbf.model.CbfModel",{ extend:"Ext.data.Model", fields:[ {name:"id",type:"int",srotable:false}, {name:"cbfbm",type:"string",srotable:false}, {name:"cbflx",type:"char",srotable:false}, {name:"cbfmc",type:"string",srotable:false}, {name:"cbfxb",type:"char",srotabl...
argqzh/qzh
src/main/webapp/core/coreApp/cbf/model/CbfModel.js
JavaScript
gpl-2.0
1,034
/** * @file * Javascript for Goole Map widget of Geolocation field. */ (function ($) { var geocoder; Drupal.geolocation = Drupal.geolocation || {}; Drupal.geolocation.maps = Drupal.geolocation.maps || {}; Drupal.geolocation.markers = Drupal.geolocation.markers || {}; /** * Set the latitude and longitu...
tungcan1501/hdtv
sites/default/files/js/js_JIzlcM6aM0LMxxWAo8iNMOVxFXtNamiOTTx6GLKu6cc.js
JavaScript
gpl-2.0
11,459
require("../mapper").define("priority", "priority-view-model", { "id": "_id", name: "name", order: "order", colour: "colour" }); require("../mapper").define("priority-view-model", "priority", { "_id": "id", name: "name", order: "order", colour: "colour" });
shamim8888/Leaf
data/mapping/definitions/priority.js
JavaScript
gpl-2.0
266
function enter(pi) { pi.warp(926110401, 0); //next return(true); }
xstory61/server
scripts/portal/jnr12_in.js
JavaScript
gpl-2.0
74
var searchData= [ ['nullvalue',['nullValue',['../namespaceJson.html#a7d654b75c16a57007925868e38212b4ea7d9899633b4409bd3fc107e6737f8391',1,'Json']]], ['numberofcommentplacement',['numberOfCommentPlacement',['../namespaceJson.html#a4fc417c23905b2ae9e2c47d197a45351abcbd3eb00417335e094e4a03379659b5',1,'Json']]] ];
wgml/RouteFinder
doxygen/doc/html/search/enumvalues_4.js
JavaScript
gpl-2.0
316
;(function($){ var page_container, current_select = null; $(document).ready(function(){ page_container = $('#launch_suite_pages'); $('#funnel_select').change(function(){ if(parseInt($('#funnel_id').val()) > 0){ if($(this).val() != $('#funnel_id').val()){ ...
sarahkpeck/thought-leaders
wp-content/plugins/optimizePressPlugin/lib/js/launch_suite.js
JavaScript
gpl-2.0
10,754
define( "dojo/cldr/nls/zh-hk/gregorian", //begin v1.x content { "months-standAlone-narrow": [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" ], "quarters-format-wide": [ "第1季", "第2季", "第3季", "第4季" ], "eraAbbr": [ "西元前", "西元" ], "dateFo...
hariomkumarmth/champaranexpress
wp-content/plugins/dojo/dojo/cldr/nls/zh-hk/gregorian.js.uncompressed.js
JavaScript
gpl-2.0
1,602
/** * * * @author Josh Lobe * http://ultimatetinymcepro.com */ jQuery(document).ready(function($) { // Declare global variables // The New eXeLearning // var editor = top.tinymce.activeEditor; var editor = parent.tinymce.activeEditor; // / The New eXeLearning var lastQuery = null; var lastPos = null; va...
exelearning/iteexe
exe/webui/scripts/tinymce_4/js/tinymce/plugins/codemagic/includes/codemagic.js
JavaScript
gpl-2.0
15,364
require({cache:{ 'url:dijit/templates/CheckedMenuItem.html':"<tr class=\"dijitReset dijitMenuItem\" data-dojo-attach-point=\"focusNode\" role=\"menuitemcheckbox\" tabIndex=\"-1\">\n\t<td class=\"dijitReset dijitMenuItemIconCell\" role=\"presentation\">\n\t\t<img src=\"${_blankGif}\" alt=\"\" class=\"dijitMenuItemIcon ...
hariomkumarmth/champaranexpress
wp-content/plugins/dojo/dijit/CheckedMenuItem.js.uncompressed.js
JavaScript
gpl-2.0
2,146
import BasisDrawerCloseZone from './_drawer-close-zone.js'; import BasisDrawer from './_drawer.js'; import BasisHamburgerBtn from './_hamburger-btn.js'; import BasisNavbar from './_navbar.js'; import BasisPageEffect from './_page-effect.js'; document.addEventListener( 'DOMContentLoaded', () => { new BasisDrawe...
inc2734/basis
src/js/basis.js
JavaScript
gpl-2.0
519
FusionCharts.ready(function () { var salesChart = new FusionCharts({ type: 'bulb', renderAt: 'chart-container', id: 'myChart', width: '200', height: '200', dataFormat: 'json', dataSource: { "chart": { "caption": "Temperature status ...
sguha-work/fiddletest
backup/fiddles/Gauge/Real-time_Gauges/A_sample_real-time_bulb_gauge/demo.js
JavaScript
gpl-2.0
2,294
define( ({ showLayerLabels: "Εμφάνιση των ονομάτων των θεματικών επιπέδων στο widget για χωρο-χρονικά θεματικά επίπεδα." }) );
johnaagudelo/ofertaquequieres
visor-oferta/widgets/TimeSlider/setting/nls/el/strings.js
JavaScript
gpl-2.0
209
var nextTick = null; if (process) { if ('nextTick' in process) { nextTick = process.nextTick; if (typeof module !== 'undefined') { if ('exports' in module) module.exports = Array; } } } if (!nextTick) { // For support general browser, using setTimeout instead of process.nextTick nextTick = function(...
nagerenxiong/ChromeExtension
shangzheng/node_modules/node-array/lib/array.js
JavaScript
gpl-2.0
2,234
function defined (constant_name) { // http://kevin.vanzonneveld.net // + original by: Waldo Malqui Silva // + improved by: Kevin van Zonneveld (http://kevin.vanzonneveld.net) // + revised by: Brett Zamir (http://brett-zamir.me) // % note 1: Because this function can (albeit only temp...
thebillkidy/desple.com
wp-content/themes/capsule/ui/lib/phpjs/functions/misc/defined.js
JavaScript
gpl-2.0
960
/* https://github.com/crhallberg/autocomplete.js 0.16.3 */ (function autocomplete( $ ) { var cache = {}, element = false, options = { // default options ajaxDelay: 200, cache: true, hidingClass: 'hidden', highlight: true, loadingString: 'Loading...', maxResults: 20, m...
CARLI/vufind
themes/bootstrap3/js/lib/autocomplete.js
JavaScript
gpl-2.0
8,954
var http = require('http'); var querystring = require('querystring'); var multipart = require('multipart'); function writeResponse(res, data) { var total = 0; for (fruit in data) { total += Number(data[fruit]); } res.writeHead(200, "OK", { "Content-Type": "text/html", "Access-Control-Allow-Origin": "http://l...
JedrzMar/avr
ch33 - ajax/13 - xml.js
JavaScript
gpl-2.0
2,428
/** * Overscroll v1.6.3 * A jQuery Plugin that emulates the iPhone scrolling experience in a browser. * http://azoffdesign.com/overscroll * * Intended for use with the latest jQuery * http://code.jquery.com/jquery-latest.js * * Copyright 2012, Jonathan Azoff * Dual licensed under the MIT or GPL Version 2 li...
JoelPub/wordpress-amazon
works/lincoln/themes/default/js/lib/jquery.overscroll.js
JavaScript
gpl-2.0
24,796
// #ifndef jquery /* * Sizzle CSS Selector Engine * Copyright, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. * More information: http://sizzlejs.com/ */ (function(){ var chunker = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])...
alafon/ezpublish-community-built
ezpublish_legacy/extension/ezoe/design/standard/javascript/classes/dom/Sizzle.js
JavaScript
gpl-2.0
57,974
'use strict'; module.exports = function (grunt) { // Time how long tasks take. Can help when optimizing build times require('time-grunt')(grunt); // Automatically load required grunt tasks require('jit-grunt')(grunt, { lockfile: 'grunt-lock' }); // Configurable paths var config = ...
wizhippo/TagsBundle
Gruntfile.js
JavaScript
gpl-2.0
2,579
// +------------------------------------------------------------------+ // | ____ _ _ __ __ _ __ | // | / ___| |__ ___ ___| | __ | \/ | |/ / | // | | | | '_ \ / _ \/ __| |/ / | |\/| | ' / | // | | |___| | | | __...
sileht/check_mk
web/htdocs/js/mobile.js
JavaScript
gpl-2.0
1,933
(function($) { $.fn.extend({ stickyMojo: function(options) { // Exit if there are no elements to avoid errors: if (this.length === 0) { return this; } var settings = $.extend({ 'footerID': '', 'contentID': '', 'orientation': $(this).css('float'...
tittee/jarem
wp-content/themes/spalab/framework/js/public/stickyMojo.js
JavaScript
gpl-2.0
4,105
import { apiUrl } from '../../constants'; export default class DataService { /** @ngInject */ constructor($http, $q) { this.$http = $http; this.$q = $q; this.dataStore = { categories: [], providers: [], resources: [], services: [], stages: [], currentFilters: { ...
amyvbenson/asylumjourney-frontend
src/app/services/data.js
JavaScript
gpl-3.0
4,827
// Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // ...
gwq5210/litlib
thirdparty/sources/protobuf/js/debug_test.js
JavaScript
gpl-3.0
3,531
import classnames from 'classnames'; import PropTypes from 'prop-types'; import React from 'react'; class SidebarItem extends React.Component { static propTypes = { baseClassName: PropTypes.string, children: PropTypes.node, modifier: PropTypes.string, }; static defaultProps = { baseClassName: 's...
jfurrow/flood
client/src/javascript/components/sidebar/SidebarItem.js
JavaScript
gpl-3.0
606
/* * @package jsDAV * @subpackage DAV * @copyright Copyright(c) 2011 Ajax.org B.V. <info AT ajax DOT org> * @author Mike de Boer <info AT mikedeboer DOT nl> * @license http://github.com/mikedeboer/jsDAV/blob/master/LICENSE MIT License */ "use strict"; var jsDAV_Ftp_Node = require("./node").jsDAV_Ftp_Node; var j...
ashking/Cloud9
node_modules/jsDAV/lib/DAV/ftp/file.js
JavaScript
gpl-3.0
3,544
var path = require('path'); console.log(path.join(path.relative('.', __dirname),'include'));
geminy/aidear
oss/qt/qt-everywhere-opensource-src-5.9.0/qtlocation/src/3rdparty/mapbox-gl-native/src/3rd_party/protozero/include_dirs.js
JavaScript
gpl-3.0
93
WScript.Echo("** The end of copyright notices **"); function quote(arg) { arg = arg.replace(/"/g, '""'); return '"' + arg + '"'; } var app = WScript.Arguments(0); var args = []; for (var i = 1; i < WScript.Arguments.Count(); ++i) { args.push(quote(WScript.Arguments(i))); } var shell = new ActiveXObject("W...
kendo-labs/kendo-bootstrapper
tools/win/run-in-foreground.js
JavaScript
gpl-3.0
1,150
/** * Copyright © 2016 Magento. All rights reserved. * See COPYING.txt for license details. */ define([ 'Magento_Ui/js/form/components/fieldset', 'Magento_Catalog/js/components/visible-on-option/strategy' ], function (Fieldset, strategy) { 'use strict'; return Fieldset.extend(strategy).extend( ...
rajmahesh/magento2-master
vendor/magento/module-catalog/view/adminhtml/web/js/components/visible-on-option/fieldset.js
JavaScript
gpl-3.0
727
module.exports.parse = function ( arr, obj ) { obj = obj || {}; for ( var i = 0; i < arr.length; ++i ) { var val = arr[i]; var matches = val.match( /^-(\w+):("?)([^"]+)\2$/ ); if ( matches ) { obj[matches[1]] = matches[3]; } } return obj; };
beni55/Primrose
server/options.js
JavaScript
gpl-3.0
271
import filterReducer from "../filters"; describe("store/reducers/ui/filters", () => { it("should return the initial state", () => { const state = filterReducer(undefined, { type: "SOME_ACTION" }); expect(state).toEqual({ project: {} }); }); it("should set the project filter correctly", () => { const...
zdavis/manifold
client/src/store/reducers/ui/transitory/__tests__/filters-test.js
JavaScript
gpl-3.0
525
/* * Copyright (C) 2005-2013 University of Sydney * * Licensed under the GNU License, Version 3.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.gnu.org/licenses/gpl-3.0.txt * * Unless required by applicable law or agreed to in ...
thegooglecodearchive/heurist
import/bookmarklet/bookmarkletSource.js
JavaScript
gpl-3.0
1,719
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: http://codemirror.net/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) // A...
vsc55/endpointman
assets/js/addon/fullscreen.js
JavaScript
gpl-3.0
1,493
(function(){ var languageNav = $('.js-language-nav'); languageNav.on('click', function(){ languageNav.toggleClass('active'); }); //close opened stuff $(document).on('click', function(e) { if (!$(e.target).closest('.js-language-nav').length) { languageNav.removeClass(...
eeriks/velo.lv
velo/static/template/velo-2016/html/js/components/_components.language-nav.js
JavaScript
gpl-3.0
354
import {makeInstanceAction} from '#/main/app/store/actions' import {makeReducer} from '#/main/app/store/reducer' import {makeFormReducer} from '#/main/app/content/form/store/reducer' import {RESOURCE_LOAD} from '#/main/core/resource/store/actions' import {selectors as rssSelectors} from '#/plugin/rss/resources/rss-fe...
claroline/Distribution
plugin/rss/Resources/modules/resources/rss-feed/editor/store/reducer.js
JavaScript
gpl-3.0
858
/** GaiaEHR (Electronic Health Records) Copyright (C) 2013 Certun, 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. ...
gaiaehr/gaiaehr
app/store/patient/AmendmentRequests.js
JavaScript
gpl-3.0
829
var searchData= [ ['map',['Map',['../d7/db0/classMap.html',1,'']]], ['memorystream',['MemoryStream',['../dd/d97/classMemoryStream.html',1,'']]], ['message',['Message',['../d6/d28/classMessage.html',1,'']]], ['module',['module',['../d0/dd3/classmodule.html',1,'']]], ['mongocollection',['MongoCollection',['../d...
xushiwei/fibjs
docs/search/classes_a.js
JavaScript
gpl-3.0
675
if(!window.nabor) window.nabor={}; window.nabor.importFrom({ nZad:14, adres:'../zdn/matege2015p/', name:'matege2015p', prefix:'', });
DrMGC/chas-ege
zdn/matege2015p/matege2015p.js
JavaScript
gpl-3.0
139
cordova.define('cordova/plugin_list', function(require, exports, module) { module.exports = [ { "id": "cordova-plugin-console.console", "file": "plugins/cordova-plugin-console/www/console-via-logger.js", "pluginId": "cordova-plugin-console", "clobbers": [ "console" ...
chitranshi21/home_service_ionic
platforms/ios/www/cordova_plugins.js
JavaScript
gpl-3.0
3,247
/** * LayoutBase * A Mithril component Base class for Layouts, e.g. HorizontalLayout and * CircosLayout. */ import {Bounds} from '../../model/Bounds'; export class LayoutBase { // constructor() - prefer do not use in mithril components /** * mithril lifecycle callback * @param vnode */ oninit(vno...
ncgr/cmap-js
src/ui/layout/LayoutBase.js
JavaScript
gpl-3.0
758
var config = require('../config').assets, gulp = require('gulp'); gulp.task('assets', function() { gulp.src(config.src) .pipe(gulp.dest(config.dst)); });
arsgeografica/kinderstadt-registry
registry/static.in/gulp/tasks/assets.js
JavaScript
gpl-3.0
172
import BarButton from '../bar-button/bar-button'; import { useRef, useEffect } from 'react'; export default function ConnectionButton() { const buttonRef = useRef(); const isUserConnected = elementorAdminTopBarConfig.is_user_connected; useEffect( () => { if ( ! buttonRef.current || isUserConnected ) { return;...
pojome/elementor
modules/admin-top-bar/assets/js/components/connection-button/connection-button.js
JavaScript
gpl-3.0
996
/** * Run this using node_modules/gulp/bin/gulp.js !!! * mhm 8.6.2017 */ 'use strict'; import plugins from 'gulp-load-plugins'; //import rename from 'gulp-rename'; import yargs from 'yargs'; import gulp from 'gulp'; import rimraf from 'rimraf'; import yaml from 'js-yaml'; import fs from 'fs'; // Load all Gulp plu...
mhmli/helpers
playground/twigjs/gulpfile.babel.js
JavaScript
gpl-3.0
1,155
Ext.define('Redwood.view.ExecutionView', { extend: 'Ext.panel.Panel', alias: 'widget.executionview', overflowY: 'auto', bodyPadding: 5, dataRecord: null, dirty: false, loadingData: true, viewType: "Execution", noteChanged: false, tcDataRefreshed: false, initComponent: funct...
chenc4/RedwoodHQ
public/view/ExecutionView.js
JavaScript
gpl-3.0
84,657
var searchData= [ ['left',['left',['../struct__bst__node.html#ac33950f6c4a6e2bbe1674d0c7436b30f',1,'_bst_node']]] ];
Richard-Degenne/bst
doc/html/search/variables_3.js
JavaScript
gpl-3.0
119
/** * Template Name: Daily Shop * Version: 1.1 * Template Scripts * Author: MarkUps * Author URI: http://www.markups.io/ Custom JS 1. CARTBOX 2. TOOLTIP 3. PRODUCT VIEW SLIDER 4. POPULAR PRODUCT SLIDER (SLICK SLIDER) 5. FEATURED PRODUCT SLIDER (SLICK SLIDER) 6. LATEST PRODUCT SLIDER (S...
aquinotgr00/lc-app
public/js/d-shop/custom.js
JavaScript
gpl-3.0
10,027
// ** I18N // Calendar pt-BR language // Author: Fernando Dourado, <fernando.dourado@ig.com.br> // Encoding: any // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationalized world. Also pl...
projectestac/intraweb
intranet/javascript/jscalendar/lang/calendar-pt_BR.utf8.js
JavaScript
gpl-3.0
3,823
var searchData= [ ['wizard_2ec',['wizard.c',['../wizard_8c.html',1,'']]], ['wrapper_2ecpp',['wrapper.cpp',['../wrapper_8cpp.html',1,'']]], ['wxforms_2ec',['wxforms.c',['../wxforms_8c.html',1,'']]] ];
gregnietsky/dtsguiapp
doxygen/html/search/files_77.js
JavaScript
gpl-3.0
206
// in development // getsimple tree expansion // written for editpages, but can probably be expanded to support any // list of elements with depth data in proper parent child order // var treeprefix = 'tree-'; var treeparentclass = treeprefix + 'parent'; // class for expander handles ...
dgleba/getsimplecms1
admin/template/js/jquery-gstree.js
JavaScript
gpl-3.0
9,301
module.exports = function (str) { var bytes = []; for (var i = 0; i < str.length; i++) { var c = str.charCodeAt(i); if (c >= 0xd800 && c <= 0xdbff && i + 1 < str.length) { var cn = str.charCodeAt(i + 1); if (cn >= 0xdc00 && cn <= 0xdfff) { var pt = (c - 0x...
kura52/sushi-browser
resource/tui-editor/node_modules/utf8-bytes/index.js
JavaScript
gpl-3.0
1,061
/* Base.js, version 1.1a Copyright 2006-2010, Dean Edwards License: http://www.opensource.org/licenses/mit-license.php */ var Base = function() { // dummy }; Base.extend = function(_instance, _static) { // subclass "use strict"; var extend = Base.prototype.extend; // build the prototype Base._prototypin...
manuelsousa7/ipm-site
interface/clock/flipclock2.js
JavaScript
gpl-3.0
55,561
const _ = require('lodash') const handleText = (event, next, botfmk) => { if (event.platform !== 'botfmk' || event.type !== 'text') { return next() } // TODO DEBUG console.log('REPLIED', event.raw) const session = event.session const replied = event.raw if (_.isArray(replied)) { replied.forEac...
Okazari/mystery-bot
botpress-botbuilder/outgoing.js
JavaScript
gpl-3.0
447
import { isArray } from '@ember/array'; import { module, test } from 'qunit'; import RollingArray from 'nomad-ui/utils/classes/rolling-array'; module('Unit | Util | RollingArray', function() { test('has a maxLength property that gets set in the constructor', function(assert) { const array = RollingArray(10, 'a',...
dvusboy/nomad
ui/tests/unit/utils/rolling-array-test.js
JavaScript
mpl-2.0
3,086
initSidebarItems({"mod":[["big5","Big5 and HKSCS."]]});
susaing/doc.servo.org
encoding_index_tradchinese/sidebar-items.js
JavaScript
mpl-2.0
55
module.exports = { domain:"messages", locale_data:{ messages:{ "":{ domain:"messages", plural_forms:"nplurals=2; plural=(n!=1);", lang:"mk" }, "%(addonName)s %(startSpan)sby %(authorList)s%(endSpan)s":[ "" ], "Extension Metadata":[ "" ], Screenshots:[ "" ], "About this extensio...
jasonthomas/addons-frontend
src/locale/mk/amo.js
JavaScript
mpl-2.0
5,582
import { run } from '@ember/runloop'; import Helper from '@ember/component/helper'; export default Helper.extend({ disableInterval: false, compute(value, { interval }) { if (this.disableInterval) { return; } this.clearTimer(); if (interval) { /* * NOTE: intentionally a setTime...
hashicorp/vault
ui/app/helpers/-date-base.js
JavaScript
mpl-2.0
738
var cred = require('./cred'); module.exports = { 'db': { 'host': 'pub-redis-10769.us-east-1-2.4.ec2.garantiadata.com', 'port': 10769, 'auth': cred.auth } };
sinkingshriek/gotoline
config/env/production.js
JavaScript
mpl-2.0
173
// |jit-test| error: StopIteration // Returning {throw:} from an onPop handler when yielding works and // does closes the generator-iterator. load(libdir + "asserts.js"); var g = newGlobal(); var dbg = new Debugger; var gw = dbg.addDebuggee(g); dbg.onDebuggerStatement = function handleDebugger(frame) { frame.onPo...
cstipkovic/spidermonkey-research
js/src/jit-test/tests/debug/Frame-onPop-generators-01.js
JavaScript
mpl-2.0
590
var Quest = require('../quest'), Messages = require('../../../../../../network/messages'), Packets = require('../../../../../../network/packets'), Utils = require('../../../../../../util/utils'); module.exports = Introduction = Quest.extend({ init: function(player, data) { var self = this; ...
udeva/Kaetram
server/js/game/entity/character/player/quest/misc/introduction.js
JavaScript
mpl-2.0
4,001
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */ // @flow const { applyMiddleware, createStore, compose } = require("redux"); const { thunk } = require("../share...
jasonLaster/debugger.html
packages/devtools-reps/src/object-inspector/store.js
JavaScript
mpl-2.0
1,789
'use strict'; import TyphonLoggedEvents from './TyphonLoggedEvents.js'; const eventbus = new TyphonLoggedEvents(); eventbus.setEventbusName('mainEventbus'); /** * Exports an instance of `TyphonLoggedEvents` which adds asynchronous capabilities to `Backbone.Events` which is used * as a main eventbus. Note that an...
typhonjs-backbone/typhonjs-core-backbone-events-logged
src/mainEventbus.js
JavaScript
mpl-2.0
911
/** * Created by leow on 2/12/17. */ "use strict"; // Stdlib const util = require("util") // Constants const NON_FATAL_INCONSISTENT = "Inconsistent state - retry!" const FATAL_CONTENT = "Page does not exist!" const FATAL_UNKNOWN = "Unknown Error!" // Libs const cheerio = require('cheerio') const tableParser = req...
leowmjw/playground-es6
NATIVE_ES6_TAP/libs/recognize-page-type.js
JavaScript
agpl-3.0
4,125