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 |
|---|---|---|---|---|---|
/*****************************************
svidget.start.js
The library entry point.
Initializes svidget as a standalone browser module, or an AMD or Node/CommonJS module as needed.
******************************************/
// return the svidget root instance
// note: svidget requires root to define window-like ... | sunfun/svidget | src/svidget.start.js | JavaScript | mit | 705 |
var searchData=
[
['updateprop',['UpdateProp',['../class_prop_unlimiter_1_1_manager_1_1_prop_unlimiter_manager.html#aef9c520f1816458d45b9f30a10e3ecf0',1,'PropUnlimiter::Manager::PropUnlimiterManager']]]
];
| tony56a/prop-unlimiter | docs/search/functions_5.js | JavaScript | mit | 208 |
import { shallow, mount } from 'enzyme'
import { compClass, compData, compSelector } from '../../mock/select'
import Select from '../../../src/Select'
import { gridClassName } from '../../testUtils'
describe('Select Spec', () => {
const {dataList1, dataList2} = compData,
_defaultSingleWrapper = mount(
<Se... | Lobos/react-ui | test/components/Form/SelectSpec.js | JavaScript | mit | 6,497 |
import { ensureLogin } from '../utils/HelpUtil';
import { waitInSeconds } from '../utils/WaitUtil';
import ClientHistoryRequest from '../utils/ClientHistoryRequest';
import * as mock from '../mock';
export default (auth, client, regionSettings, account) => {
describe('Should Load Region Settings after Login', functi... | ele828/ringcentral-js-integration-commons | src/integration-test/spec-modules/regionSetting.js | JavaScript | mit | 1,218 |
'use strict';
var angular = require('angular');
module.exports = angular.module('app.Main.directives', []);
| Ibanheiz/mean-seed | front/js/modules/main/directives/_index.js | JavaScript | mit | 111 |
var ldap = require('ldapjs');
var username = 'abuil';
var password= 'G33kEnforcer22';
var client = ldap.createClient({
url: 'ldap://dmprod01.ad.txwesleyan.edu:636'
});
console.log('hi');
var dn = "txwesleyan\\" + username;
client.bind(username, password, function(err) {
if (err){
console.log('Cannot... | asantebuil/room-reservation | src/www/login.js | JavaScript | mit | 406 |
import * as React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path d="M12 6c-2.45 0-4.71.2-7.29.64C4.24 8.42 4 10.22 4 12c0 1.78.24 3.58.71 5.36 2.58.44 4.84.64 7.29.64s4.71-.2 7.29-.64c.47-1.78.71-3.58.71-5.36 0-1.78-.24-3.58-.71-5.36C16.71 6.2 14.... | callemall/material-ui | packages/material-ui-icons/src/PanoramaWideAngleTwoTone.js | JavaScript | mit | 835 |
'use strict';
var isNaN = require('es5-ext/number/is-nan');
module.exports = require('./_eq')(function (a, b) {
if (a == b) return true; //jslint: ignore
return (isNaN(a) && isNaN(b));
});
| egovernment/eregistrations-demo | node_modules/observable-value/eq-sloppy.js | JavaScript | mit | 193 |
{
var res = renderClass$1(staticClass, dynamic);
return res === "" ? res : ' class="' + escape(res) + '"';
}
| stas-vilchik/bdd-ml | data/11493.js | JavaScript | mit | 113 |
'use strict';
var assign = require('object-assign')
var Region = require('region-align')
var hasTouch = require('has-touch')
var once = require('./utils/once')
var Helper = function(config){
this.config = config
}
var EVENTS = {
move: hasTouch? 'touchmove': 'mousemove',
up : hasTouch? 'touchend': 'mou... | gitoneman/react-soc | node_modules/react-datagrid/node_modules/drag-helper/index.js | JavaScript | mit | 4,685 |
import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fill="none" d="M0 0h24v24H0z" /><path d="M19.97 19.2c.18.96-.55 1.8-1.47 1.8H14v-3l1-4H9c-1.65 0-3-1.35-3-3V3h6v6h5c1.1 0 2 .9 2 2l-2 7h1.44c.73 0 1.39.49 1.53 1.2zM5 12V3H3v9c0 2.76 2.24... | Kagami/material-ui | packages/material-ui-icons/src/AirlineSeatLegroomReduced.js | JavaScript | mit | 407 |
"use strict";
var __read = (this && this.__read) || function (o, n) {
var m = typeof Symbol === "function" && o[Symbol.iterator];
if (!m) return o;
var i = m.call(o), r, ar = [], e;
try {
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
}
catch (error) { e = { ... | sbthegreat/turskain.github.io | honkin-8/calc/mechanics/gen3.js | JavaScript | mit | 10,494 |
/**
* sprintf implementation. Get pretty indented monospace strings.
* @param {String} str - the string to parse
* @param {...*} args - arguments, used in order, or referenced by n$
* @returns {String}
* @example
* // Type casting...
* sprintf('%s', 10); // '10'
* sprintf('%s', 'abc'); // 'abc'
*
* // Escape ... | wolfiex/VisACC | revamp/node_modules/tiny-sprintf/dist/sprintf.js | JavaScript | mit | 2,358 |
/*! Select2 4.0.1 | https://github.com/select2/select2/blob/master/LICENSE.md */
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var a=jQuery.fn.select2.amd;return a.define("select2/i18n/vi",[],function(){return{inputTooLong:function(a){var b=a.input.length-a.maximum,c="Vui lòng nhập ít hơn "... | rossriley/bolt | app/view/js/locale/select2/vi.min.js | JavaScript | mit | 799 |
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
* @format
*/
'use strict';
/**
* An id used for the root of the graph, corresponding to the "Query" type.
* Conceptually, r... | apalm/relay | packages/react-relay/classic/store/RelayStoreConstants.js | JavaScript | mit | 475 |
var gridOptions = {
columnDefs: [
// group cell renderer needed for expand / collapse icons
{ field: 'name', cellRenderer: 'agGroupCellRenderer' },
{ field: 'account' },
{ field: 'calls' },
{ field: 'minutes', valueFormatter: "x.toLocaleString() + 'm'" }
],
defaultCol... | ceolter/angular-grid | grid-packages/ag-grid-docs/documentation/src/pages/master-detail-grids/examples/lazy-load-rows/main.js | JavaScript | mit | 1,466 |
/*
---
script: Hash.Extras.js
name: Hash.Extras
description: Extends the Hash Type to include getFromPath which allows a path notation to child elements.
license: MIT-style license
authors:
- Aaron Newton
requires:
- /Hash
- /Object.Extras
provides: [Hash.Extras]
...
*/
Hash.implement({
getFromPath: fu... | nktpro/MooTouch | framework/js/mootools/more1.3wip/Types/Hash.Extras.js | JavaScript | mit | 529 |
module.exports={A:{A:{"1":"B","2":"M D H F mB","289":"A"},B:{"1":"C E q L O I J K"},C:{"1":"1 2 3 4 6 9 LB BB CB DB EB FB HB IB JB","2":"5 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 eB cB","194":"8 Z a b c d f g h i j k l m n o p N r s t u v","1025":"0 w x y z"},D:{"1":"0 1 2 3 4 6 9 g h i j k l m n o p N r ... | emccosky/emccosky.github.io | node_modules/caniuse-lite/data/features/css-touch-action.js | JavaScript | mit | 994 |
"use strict";
var messages = require("./../messages");
var snippetUtils = require("./../snippet").utils;
var utils = require("./utils.js");
var fail = require("./../utils").utils.fail;
var connect = require("connect");
var http = require("http");
var https = require("https");
va... | fernandosouza/fernandosouza.github.io | node_modules/grunt-browser-sync/node_modules/browser-sync/lib/server/index.js | JavaScript | mit | 3,250 |
import MonthView from './MonthView'
import TimePicker from './TimePicker'
import TimeInput from './TimeInput'
import TransitionView from './TransitionView'
import MultiMonthView from './MultiMonthView'
import HistoryView from './HistoryView'
import YearView from './YearView'
import DecadeView from './DecadeView'
im... | unmeshpro/easyPost | static/node_modules/react-date-picker/src/index.js | JavaScript | mit | 1,022 |
import PropTypes from "prop-types";
import { connect } from "react-redux";
import ReactPullToRefresh from "react-pull-to-refresh";
const ApollosPullToRefreshWithoutData = ({ handleRefresh, children }) => (
<div>
<div className="ptr-fake-background" />
<ReactPullToRefresh
onRefresh={handleRefresh}
... | NewSpring/apollos-core | imports/components/@enhancers/pull-to-refresh/index.js | JavaScript | mit | 1,273 |
'use strict';
module.exports.definition = {
set: function (v) {
this.setProperty('marker-end', v);
},
get: function () {
return this.getPropertyValue('marker-end');
},
enumerable: true
};
| stevebering/siteValidationCrawler | src/node_modules/jsdom/node_modules/cssstyle/lib/properties/markerEnd.js | JavaScript | mit | 225 |
module.exports = (function() {
'use strict';
class StaticAssetInitializer {
exec(app, callback) {
app.loadStaticAssets('static');
callback(null);
}
}
return StaticAssetInitializer;
})();
| IrregularShed/nodal | src/initializers/static_asset_initializer.js | JavaScript | mit | 221 |
$(document).ready(function () {
function showPageElement(what) {
var obj = typeof what == 'object' ? what : document.getElementById(what);
obj.style.visibility = 'visible';
return false;
}
/* var SC_dialog = document.getElementsByClassName('SC_dialog'); */
var prefListSC = {
... | qcnitw/qcnitw | Apply/assets/js/formIndividualSubmit.js | JavaScript | mit | 14,731 |
"use strict";
var _interopRequire = function (obj) { return obj && obj.__esModule ? obj["default"] : obj; };
var React = _interopRequire(require("react"));
var domUtils = _interopRequire(require("./utils/domUtils"));
var EventListener = _interopRequire(require("./utils/EventListener"));
/**
* Checks whether a nod... | gitoneman/react-home | node_modules/react-bootstrap/lib/DropdownStateMixin.js | JavaScript | mit | 2,081 |
require('dotenv').load();
var express = require('express')
var bodyParser = require('body-parser')
var cookieParser = require('cookie-parser')
var session = require('express-session')
var passport = require('passport')
var pgSession = require('connect-pg-simple')(session)
var webpack = require('webpack')
var webpackM... | nthitz/playlist_archive_site | app/index.js | JavaScript | mit | 1,815 |
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2022 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
/**
* The Game Post-Step Event.
*
* This event is dispatched after the Scene Manager has updated.
* Hook into it from plugins or systems th... | photonstorm/phaser | src/core/events/POST_STEP_EVENT.js | JavaScript | mit | 747 |
var expect = require("chai").expect;
var sinon = require("sinon");
var ReadlineStub = require("../../helpers/readline");
var Separator = require("../../../lib/objects/separator");
var Inquirer = require("../../../lib/inquirer");
describe("Separator constructor", function() {
it("should set a default", function() {... | kaelzhang/node-asks | test/specs/objects/separator.js | JavaScript | mit | 1,196 |
module.exports = function isDefined(value) {
return typeof value !== 'undefined';
}; | mwardle/funkit | src/internal/_isDefined.js | JavaScript | mit | 88 |
export const START_BIN = '1010';
export const END_BIN = '11101';
export const BINARIES = [
'00110', '10001', '01001', '11000', '00101',
'10100', '01100', '00011', '10010', '01010',
];
| lindell/JsBarcode | src/barcodes/ITF/constants.js | JavaScript | mit | 187 |
var Q = Quintus() // Create a new engine instance
.include("Sprites, Scenes, Input, 2D, Touch, UI") // Load any needed modules
.setup() // Add a canvas element onto the page
.controls() // Add in default controls (keyboard, buttons)
... | gortok/gortok.github.io | src/js/game.js | JavaScript | mit | 460 |
this.primereact = this.primereact || {};
this.primereact.contextmenu = (function (exports, React, core) {
'use strict';
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
function _... | cdnjs/cdnjs | ajax/libs/primereact/7.0.0-rc.2/contextmenu/contextmenu.js | JavaScript | mit | 21,685 |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = exports.styles = void 0;
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
var _objectWithoutPropert... | cdnjs/cdnjs | ajax/libs/material-ui/4.9.4/CardMedia/CardMedia.js | JavaScript | mit | 3,791 |
import { EventEmitter, ElementRef, Renderer2, NgZone, ChangeDetectorRef, Input, ContentChildren, ViewChild, Output, Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
import { animation, style, animate, trigger, transition, useAnimation } from '@angular/animations';
import { CommonModule } from '@angu... | cdnjs/cdnjs | ajax/libs/primeng/9.0.5/fesm2015/primeng-dialog.js | JavaScript | mit | 23,397 |
module.exports={title:'KaiOS',slug:'kaios',svg:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>KaiOS icon</title><path d="M4.47 0a2.81 2.81 0 0 0-2.84 2.78v18.43A2.8 2.8 0 0 0 4.47 24a2.8 2.8 0 0 0 2.85-2.78V2.78A2.83 2.83 0 0 0 4.47 0zm9.4 8.54a2.8 2.8 0 0 0-3.89-.66 2.68 2.68 0 0 0-.68 ... | cdnjs/cdnjs | ajax/libs/simple-icons/1.13.0/kaios.js | JavaScript | mit | 683 |
"use strict";
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj ... | cdnjs/cdnjs | ajax/libs/primereact/6.0.1/components/dialog/Dialog.js | JavaScript | mit | 21,282 |
$(document).ready(() => {
$('[data-toggle="tooltip"]').tooltip()
loadInitialProduct()
document.getElementById('id_product').onchange = () => {
updateVersionSelectFromProduct()
// note: don't pass drawChart as callback to avoid calling it twice
// b/c update_version_select... triggers .onchange()
... | kiwitcms/Kiwi | tcms/telemetry/static/telemetry/js/testing/execution-trends.js | JavaScript | gpl-2.0 | 4,340 |
/*
* MooTools Extension script to support custom extensions to mootools
*/
var zmMooToolsVersion = '1.2.1';
/*
* Firstly, lets check that mootools has been included and thus is present
*/
if ( typeof(MooTools) == "undefined" )
{
alert( "MooTools not found! Please download from\nhttp://mootools.net and install ... | schumi-chu/zm_nvr | web/js/mootools.ext.js | JavaScript | gpl-2.0 | 6,408 |
/* twk-fc.js
* False Colour customisation object for the LUTCalc Web App.
* 10th April 2015
*
* LUTCalc generates 1D and 3D Lookup Tables (LUTs) for video cameras that shoot log gammas,
* principally the Sony CineAlta line.
*
* By Ben Turley, http://turley.tv
* First License: GPLv2
* Github: https://github.com/cameram... | cameramanben/LUTCalc-For-Mac | web/twk-fc.js | JavaScript | gpl-2.0 | 12,022 |
$(document).ready(function(){
// ---------------------------------------------------------
// Tabs
// ---------------------------------------------------------
$(".tabs").each(function(){
$(this).find(".tab").hide();
$(this).find(".tab-menu li:first a").addClass("active").show();
$(this).... | repeater/Synergy | wp-content/themes/cloudtheme/js/custom.js | JavaScript | gpl-2.0 | 2,178 |
/*
*************************************************
SEBASTIAN NITU
baseDemo Bootstrapping
Created by Sebastian Nitu
http://www.sebnitu.com
*************************************************
*/
/*-------------------------------------------
Save Global Variables
------------------------------------... | xxf1995/alphaV | wp-content/themes/skt-kraft-pro/testimonialsrotator/js/bootstrap.js | JavaScript | gpl-2.0 | 1,358 |
/**
* @author Alejandro Galue <agalue@opennms.org>
* @copyright 2014 The OpenNMS Group, Inc.
*/
/**
* @ngdoc object
* @name RequisitionService
* @module onms-requisitions
* @param {Object} svc an OpenNMS service JSON object
* @constructor
*/
const RequisitionService = function RequisitionService(svc) {
'use strict';... | jeffgdotorg/opennms | core/web-assets/src/main/assets/js/apps/onms-requisitions/lib/scripts/model/RequisitionService.js | JavaScript | gpl-2.0 | 671 |
var group__vref__hal =
[
[ "vref_user_config_t", "group__vref__hal.html#structvref__user__config__t", [
[ "trimValue", "group__vref__hal.html#ad674cca85257d45e5a45d85aa8db73fd", null ],
[ "regulatorEnable", "group__vref__hal.html#a869b311e70fa48b2f5a72711052eb4c5", null ],
[ "bufferMode", "group__... | wrh2/sputnik | Vendor Firmware/Kinetis SDK v.1.3.0 API Reference Manual/group__vref__hal.js | JavaScript | gpl-2.0 | 2,148 |
var questions = [];
var answer_one = [];
var answer_two = [];
var answer_three = [];
var answer_four = [];
var correct_answer = [];
var real_answer = [];
// $(document).ready(function(){
// console.log('removing <span>\'s');
// $('span... | audiblePi/fccTest | ASSETS/elements/element7r/element7r-script.js | JavaScript | gpl-2.0 | 3,984 |
/**
* @author Òscar Casajuana a.k.a. elboletaire <elboletaire at underave dot net>
* @link https://github.com/elboletaire/password-strength-meter
*/
// eslint-disable-next-line
;(function($) {
'use strict';
var Password = function ($object, options) {
var defaults = {
shortPass: 'The password is too s... | WBCE/WBCE_CMS | wbce/include/password-strength-meter/src/password.js | JavaScript | gpl-2.0 | 7,225 |
var searchData=
[
['zoom',['zoom',['../class_marble_1_1_marble_widget.html#a85bcacf2c894b20706adee56ff0bda3d',1,'Marble::MarbleWidget']]],
['zoomchanged',['zoomChanged',['../class_marble_1_1_marble_navigator.html#a2835bbe09bb2bf724a2dc193131f4d8e',1,'Marble::MarbleNavigator::zoomChanged()'],['../class_marble_1_1_ma... | AeroQuad/AeroQuadCommunicator | Documentation/html/search/functions_15.js | JavaScript | gpl-2.0 | 2,109 |
jQuery(document).ready(function($) {
if ( ! window.console ) {
window.console = {
log : function(str) {
// alert(str);
}
};
}
var xhr = [];
$('.wc-bookings-booking-form')
.on('change', 'input, select', function() {
var index = $('.wc-bookings-booking-form').index(this);
if ( xhr[index] ) {... | snappermorgan/radaralley | wp-content/plugins/woocommerce-bookings/assets/js/booking-form.js | JavaScript | gpl-2.0 | 2,394 |
(function($) {
"use strict";
jQuery(document).ready(function($){
// Color Picker
$('.wp-color-picker').each(function(){
$(this).wpColorPicker();
});
// Page Header Fold
function page_header_metabox() {
var page_header = $('#page-header select').val();
$('#vnt... | jfbelisle/magexpress | wp-content/themes/magexpress/framework/theme-options/assets/js/jquery.dashboard.js | JavaScript | gpl-2.0 | 8,960 |
class Count{
constructor(){
}
ride(x, y){
return x * y
}
divide(x, y){
return x / y;
}
}
export default Count;
| highmind/Study | webpack/src/count.js | JavaScript | gpl-2.0 | 136 |
/**
* Policy mappings (ACL)
*
* Policies are simply Express middleware functions which run **before** your controllers.
* You can apply one or more policies to a given controller, or protect just one of its actions.
*
* Any policy file (e.g. `authenticated.js`) can be dropped into the `/policies` folder,
* at wh... | Kern0/42GC | config/policies.js | JavaScript | gpl-2.0 | 708 |
/******************************************************************************
*
* Copyright (C) 2012-2014 Tavendo GmbH.
*
* Licensed under the Apache 2.0 license
* http://www.apache.org/licenses/LICENSE-2.0.html
*
******************************************************************************/
/*
Require... | paulfryer/Wamplash | Wamplash.Server/demo/gauges/Gauges_files/demo.js | JavaScript | gpl-2.0 | 5,298 |
( function( M, $ ) {
var
OverlayManager = M.require( 'OverlayManager' ),
EventEmitter = M.require( 'eventemitter' ),
fakeRouter, overlayManager;
QUnit.module( 'MobileFrontend OverlayManager', {
setup: function() {
this.createFakeOverlay = function( options ) {
var fakeOverlay = new EventEmitter();
... | takamoriaiko/mediawiki | extensions/MobileFrontend/tests/javascripts/common/test_OverlayManager.js | JavaScript | gpl-2.0 | 5,177 |
'use strict';
var gulp = require('gulp');
var browserSync = require('browser-sync').create();
var size = require('gulp-size');
var uglify = require('gulp-uglify');
var concat = require('gulp-concat');
var minifyCSS = require('gulp-clean-css');
var sourcemaps = require('gulp-sourcemaps');
var header = require('gulp-hea... | ngVenezuela/ngvenezuela.github.io | gulpfile.js | JavaScript | gpl-2.0 | 2,846 |
var group__cmp__hal =
[
[ "cmp_comparator_config_t", "group__cmp__hal.html#structcmp__comparator__config__t", [
[ "hystersisMode", "group__cmp__hal.html#a1cdcb1c537764e0a1565fae5aa94611c", null ],
[ "pinoutEnable", "group__cmp__hal.html#a336d16314a11e1755c5ff6c61d1bb2d8", null ],
[ "pinoutUnfilter... | wrh2/ECE411 | Vendor Firmware/Kinetis SDK v.1.3.0 API Reference Manual/group__cmp__hal.js | JavaScript | gpl-2.0 | 7,582 |
/**
* This file is part of the Tracy (http://tracy.nette.org)
*/
(function(){
var $ = Tracy.Query.factory;
var Panel = Tracy.DebugPanel = function(id) {
this.id = 'tracy-debug-panel-' + id;
this.elem = $('#' + this.id);
};
Panel.PEEK = 'tracy-mode-peek';
Panel.FLOAT = 'tracy-mode-float';
Panel.WINDOW = ... | erick2014/versionPress | wp-content/plugins/versionpress/vendor/tracy/tracy/src/Tracy/templates/bar.js | JavaScript | gpl-2.0 | 8,209 |
/*
==================================================
Contains reader functions for use in multiple files.
Allows for compact reading of save files in code files.
==================================================
*/
function readData(data){
if(abbreviated===false){
readAncientLevels(data);
readAncients(da... | DobruJ01/clicker-lister | common/datareader.js | JavaScript | gpl-2.0 | 10,485 |
// Multibox
window.addEvent('domready', function(){
var initMultiBox = new multiBox({
mbClass: '.mb',
container: $(document.body),
descClassName: 'multiBoxDesc',
useOverlay: true,
maxSize: {w:800, h:600},
addRollover: true
});
});
// Message si l'on a pas JS
window.addEvent('domready', function () {
var... | ENG-SYSTEMS/Kob-Eye | Skins/BlogSJ/Js/functions.js | JavaScript | gpl-2.0 | 1,220 |
/*
* Copyright (C) 2016 Emweb bv, Herent, Belgium.
*
* See the LICENSE file for terms of use.
*/
/* Note: this is at the same time valid JavaScript and C++. */
WT_DECLARE_WT_MEMBER
(3, JavaScriptConstructor, "ScrollVisibility",
function(APP) {
var self = this, WT = APP.WT;
function isVisible(w) {
if ... | kdeforche/wt | src/js/ScrollVisibility.js | JavaScript | gpl-2.0 | 8,055 |
var searchData=
[
['k1_5fip3',['k1_ip3',['../macros_8h.html#aa91aed0f61638110cd29fe36ed9116a9',1,'macros.h']]],
['k2_5fip3',['k2_ip3',['../macros_8h.html#a2cd436264558bf36794d44c9833d2eab',1,'macros.h']]],
['k3_5fip3',['k3_ip3',['../macros_8h.html#a0b420c8bce946679178dbaced0760782',1,'macros.h']]],
['k4_5fip3',... | BlueFern/VSMC-CC-LC | doc/html/search/defines_4.js | JavaScript | gpl-2.0 | 500 |
var exports = function exports(element, fn) {
var window = this
var document = window.document
var isIE
var requestFrame
var attachEvent = document.attachEvent
if (typeof navigator !== 'undefined') {
isIE = navigator.userAgent.match(/Trident/) || navigator.userAgent.match(/Edge/)
}
requestFrame = ... | Jorginho211/TFG | web/node_modules/element-resize-event/index.js | JavaScript | gpl-3.0 | 2,462 |
/**
* @author: Eric
* @portal: Juliet PQ Jump Quest portals
* @func: Remastered Romeo and Juliet PQ Combination Portal Warping
*/
var portal = 0;
var notify;
function enter(pi) {
try {
var em = pi.getEventManager("Juliet");
if (em != null && em.getProperty("stage6_" + (((pi.getMapId() % 10) | 0) - 1) + "_" +... | swordiemen/Mushy | scripts/portal/jnr5_rp.js | JavaScript | gpl-3.0 | 3,231 |
// Copyright © 2014, 2015, 2016 Springer Nature
//
// This file is part of boomcatch.
//
// Boomcatch 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) a... | springernature/boomcatch | test/mappers/unmapped.js | JavaScript | gpl-3.0 | 5,199 |
/*
This file was modified from or inspired by Apache Cordova.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Ap... | polyvi/openxface-ios | project/engine/xface/js/lib/common/extension/accelerometer.js | JavaScript | gpl-3.0 | 7,169 |
/* GCompris - click_on_letter.js
*
* Copyright (C) 2014 Holger Kaelberer
*
* Authors:
* Pascal Georges <pascal.georges1@free.fr> (GTK+ version)
* Bruno Coudoin <bruno.coudoin@gcompris.net> (GTK+ Mostly full rewrite)
* Holger Kaelberer <holger.k@elberer.de> (Qt Quick port)
*
* This program is free sof... | rahulyadav170923/GCompris-qt | src/activities/click_on_letter/click_on_letter.js | JavaScript | gpl-3.0 | 6,419 |
'use strict';
const os = require('os');
const fs = require('fs');
const path = require('path');
const crypto = require('crypto');
const winston = require('winston');
const file = require('./file');
const plugins = require('./plugins');
const meta = require('./meta');
const image = module.exports;
function requireSh... | NodeBB/NodeBB | src/image.js | JavaScript | gpl-3.0 | 4,716 |
import React, { Component, PropTypes } from 'react'
import {
Editor,
EditorState,
ContentBlock,
ContentState,
RichUtils,
convertFromHTML,
convertToRaw,
convertFromRaw,
genKey
} from 'draft-js'
import { OrderedMap } from 'immutable'
import Toolbar, {
toolbarEditorProps,
decorator,
getBlockAlignm... | igr-santos/hub-client | app/scripts/RebooEditor/index.js | JavaScript | gpl-3.0 | 6,345 |
/**
* API store.
* Manages api integration in redux env.
*/
import {REQUEST_SEND, RESPONSE_RECEIVE, actions} from '#/main/app/api/store/actions'
// export store module
export {
// public actions
REQUEST_SEND,
RESPONSE_RECEIVE,
// action creators
actions
}
| claroline/Distribution | main/app/Resources/modules/api/store/index.js | JavaScript | gpl-3.0 | 271 |
/*
* Copyright (C) 2009 GeoNetwork
*
* This file is part of GeoNetwork
*
* GeoNetwork 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 ve... | OpenWIS/openwis | openwis-metadataportal/openwis-portal/src/main/webapp/scripts/map/Format/XLSLUS.js | JavaScript | gpl-3.0 | 5,858 |
import { Meteor } from 'meteor/meteor'
import { startSubscription } from 'meteor-redux-middlewares'
import { Nodes } from '/imports/api/collections'
export const NODES_SUBSCRIPTION_READY = 'NODES_SUBSCRIPTION_READY'
export const NODES_SUBSCRIPTION_CHANGED = 'NODES_SUBSCRIPTION_CHANGED'
export const NODES_SUB = 'nodes'... | topogram/topogram | imports/client/actions/nodes.js | JavaScript | gpl-3.0 | 509 |
OpenCart 1.5.5.1 = 02cb1b81010b99328bba7b060863be83
| gohdan/DFC | known_files/hashes/catalog/view/javascript/jquery/ui/minified/jquery.ui.core.min.js | JavaScript | gpl-3.0 | 52 |
var test = require("test");
test.setup();
var net = require('net');
var url = require('url');
describe("url", () => {
var parseTests = {
'//some_path': {
'href': '//some_path/',
'slashes': true,
'hostname': 'some_path',
'pathname': '/',
'path': '... | ngot/fibjs | test/url_test.js | JavaScript | gpl-3.0 | 25,145 |
/* vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2 cc=80; */
/**
* @package omeka
* @subpackage neatline
* @copyright 2012 Rector and Board of Visitors, University of Virginia
* @license http://www.apache.org/licenses/LICENSE-2.0.html
*/
Neatline.module('Editor.Record', function(Record) {
... | dgriffin-dh/Omeka_Tutorial | plugins/Neatline/views/shared/javascripts/app/editor/record/record.init.js | JavaScript | gpl-3.0 | 419 |
/*
Copyright (c) 2012, Yahoo! Inc. All rights reserved.
Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
*/
/*global esprima, escodegen, window */
(function (isNode) {
"use strict";
var SYNTAX,
nodeType,
ESP = isNode ? require('esprima') : esprima,... | oro8oro/devi | public/bower_components/js-sequence-diagrams-svgjs/node_modules/qunit/node_modules/istanbul/lib/instrumenter.js | JavaScript | gpl-3.0 | 39,958 |
var searchData=
[
['framehandler',['FrameHandler',['../classec_1_1Loop.html#aaa0d9bf951a410663fc354e5be062229',1,'ec::Loop']]]
];
| napoleonOu/MQAA-Client | doc/html/search/typedefs_1.js | JavaScript | gpl-3.0 | 132 |
'use strict';
const {ZwaveDevice} = require('homey-zwavedriver');
class FibaroRollerShutter3Device extends ZwaveDevice {
onNodeInit() {
this.registerCapability('dim', 'SWITCH_MULTILEVEL');
this.registerCapability('measure_power', 'METER');
this.registerCapability('meter_power', 'METER');
this.regi... | caseda/com.fibaro | drivers/FGR-223/device.js | JavaScript | gpl-3.0 | 605 |
var searchData=
[
['program_5fcmd',['PROGRAM_CMD',['../class_wicom_1_1_reasoner_1_1_racer_connector.html#a6e6ebbf06f0c48eb1c727d55fb06d506',1,'Wicom::Reasoner::RacerConnector']]],
['program_5fparams',['PROGRAM_PARAMS',['../class_wicom_1_1_reasoner_1_1_racer_connector.html#a87201138fa60d4c626aabcd7b7616adb',1,'Wicom... | germanbraun/crowd-orm | docs/doxygen/html/search/variables_5.js | JavaScript | gpl-3.0 | 354 |
/**
* Created by MikeRiy on 17/1/3.
*/
function handler(obj, method)
{
return function()
{
return method.apply(obj, arguments);
}
}
var appNotice = (function()
{
var noticMap = {}
var obj = {};
obj.add = function(type, method)
{
if(!noticMap[type])
{
n... | mikestrange/shell | html/js/mogame/src/soy/event/event.js | JavaScript | gpl-3.0 | 1,817 |
// 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.... | kushti/mpt | js/src/views/Status/util/index.js | JavaScript | gpl-3.0 | 1,072 |
/*----------------------------------------------------------------------------------------------------------
::“Copyright 2013 Clayton Burnett”
::This program is distributed under the terms of the GNU General Public License
-----------------------------------------------------------------------------------------------... | staticPenumbra/RadiusEngine | COREBUILD/Audio.js | JavaScript | gpl-3.0 | 4,549 |
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2017 Yuri Kuznetsov, Taras Machyshyn, Oleksiy Avramenko
* Website: http://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it... | PanuWeb/espocrm | client/src/views/user/record/edit.js | JavaScript | gpl-3.0 | 7,514 |
import React from 'react';
import { render } from 'react-dom';
import './style.css';
import App from './components/App.jsx';
import registerServiceWorker from './registerServiceWorker';
render(<App />, document.getElementById('root'));
registerServiceWorker();
| codeforgso/goodtogogso | client/src/index.js | JavaScript | gpl-3.0 | 262 |
var should = require('should'),
needle = require('./../'),
http = require('http'),
sinon = require('sinon'),
stream = require('stream'),
fs = require('fs'),
port = 11111,
server;
describe('with output option', function() {
var server, handler, file = '/tmp/foobar.out';
functi... | PaintQuest/paintquest | src/deepstream/node_modules/deepstream.io/node_modules/needle/test/output_spec.js | JavaScript | gpl-3.0 | 7,585 |
//custom config options
module.exports = function(config, dirs, appData) {
//require a module from core
//var extend = require(dirs.rootModules + 'extend');
/********************
Styles
*********************/
//change sourcemaps root
// config.styles.sourceMapsRoot = '/src/';
//enable sourcemaps... | wooqash/WWCH | Task1/frs.config.js | JavaScript | gpl-3.0 | 8,165 |
/**
* Monkey-patch the Express router, to allow for route reversal.
* There really is no excuse for having to hard-code URLs into views!
*/
const ExpressRouter = require('express').Router;
const path = require('path');
function Router (app) {
if (!(this instanceof Router))
return new Router(app);
... | mozilla/openbadges-badges | lib/router.js | JavaScript | mpl-2.0 | 2,454 |
'use strict';
module.exports = {
options: {
mangle: false
}
};
| Appverse/generator-appverse-html5 | generators/app/templates/config/uglify.js | JavaScript | mpl-2.0 | 83 |
module.exports = { domain:"messages",
locale_data:{ messages:{ "":{ domain:"messages",
plural_forms:"nplurals=1; plural=0;",
lang:"ja" },
"%(addonName)s %(startSpan)sby %(authorList)s%(endSpan)s":[ "%(addonName)s %(startSpan)s(作者: %(authorList)s)%(endSpan)s" ],
"Extension Metadata":[ "拡張機能... | jasonthomas/addons-frontend | src/locale/ja/amo.js | JavaScript | mpl-2.0 | 6,394 |
'use strict';
// Dedicated worker
if (typeof postMessage === 'function') {
onmessage = event => {
switch(event.data.type) {
case 'ready':
navigator.idle.query().then(
() => postMessage({ enabled: true }),
error => postMessage ({ enabled: false }));
break;
}
};
... | peterjoel/servo | tests/wpt/web-platform-tests/feature-policy/resources/feature-policy-idle-detection-worker.js | JavaScript | mpl-2.0 | 322 |
import * as ActionTypes from '../actions/identity';
export function identity(state = {
isAuthenticated: false,
name: null,
email: null
}, action) {
switch(action.type) {
case ActionTypes.COMPLETE_LOGIN:
return {
isAuthenticated: action.isAuthenticated,
name: action.name,
email... | canonical-ols/my.ubuntu.com | src/common/reducers/identity.js | JavaScript | agpl-3.0 | 383 |
import PropTypes from 'prop-types';
import { Component } from 'react';
import { AutoSizer } from 'react-virtualized';
import BaseChart from './BaseChart';
class OneVariableBinomialChart extends Component {
static propTypes = {
probabilities: PropTypes.arrayOf(
PropTypes.shape({
x: PropTypes.number... | Juko8/WoWAnalyzer | src/parser/ui/OneVariableBinomialChart.js | JavaScript | agpl-3.0 | 2,390 |
var LoginPage = require('../pages/login.page.js');
var FilesPage = require('../pages/files.page.js');
// ============================ SORT ================================================================= //
// =================================================================================================== //
desc... | lrytz/core | tests/acceptance/tests/files/sort_spec.js | JavaScript | agpl-3.0 | 1,499 |
/*
* Copyright (C) 2012 - present Instructure, Inc.
*
* This file is part of Canvas.
*
* Canvas is free software: you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License as published by the Free
* Software Foundation, version 3 of the License.
*
* Canvas is distribut... | djbender/canvas-lms | app/coffeescripts/calendar/CommonEvent.js | JavaScript | agpl-3.0 | 6,790 |
frappe.pages['report-template'].onload = function(wrapper) {
frappe.ui.make_app_page({
parent: wrapper,
title: 'Product Catalog',
single_column: true
});
$("<div id ='product_catlog' style='width:100%'><table style='width:100%'><tr><td valign='top' id='catlog_structure' style='width:50%;'></td>\
<td id='i... | rohitwaghchaure/New_Theme_Erp | erpnext/accounts/page/report_template/report_template.js | JavaScript | agpl-3.0 | 4,234 |
/*
* (c) Copyright Ascensio System SIA 2010-2015
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU ... | fluent93/DocumentServer | OfficeWeb/sdk/Excel/view/iscroll.js | JavaScript | agpl-3.0 | 52,626 |
var util = require( "util" );
var array = require( "@aureooms/js-array" );
test("3sum", function(){
console.log("3sum");
var iota = array.iota;
var n = 100;
var A = new Array(n);
var B = new Array(n);
var C = new Array(n);
iota(A, 0, n, -n/2);
iota(B, 0, n, -n/2);
iota(C, 0, n, -n/2);
var contains = f... | aureooms/js-algo | test/js/src/3sum.js | JavaScript | agpl-3.0 | 1,253 |
define([
'backbone'
], function (Backbone) {
var SpinnerModel = Backbone.Model.extend({
defaults: {
loading: true,
noContent: false
}
});
return SpinnerModel;
}); | chamilo/mobile | www/src/model/spinner.js | JavaScript | agpl-3.0 | 219 |
openerp.web.formats = function(openerp) {
var _t = openerp.web._t;
/**
* Intersperses ``separator`` in ``str`` at the positions indicated by
* ``indices``.
*
* ``indices`` is an array of relative offsets (from the previous insertion
* position, starting from the end of the string) at which to insert
* ``separat... | crmccreary/openerp_server | openerp/addons/web/static/src/js/formats.js | JavaScript | agpl-3.0 | 13,350 |
import Requirement from '../Requirement';
class EnchantsRequirement extends Requirement {
constructor(options = {}) {
super({
name: 'Gear has best enchants',
check: function () { // don't use arrow function or `this` won't be set properly
const numEnchantableSlots = Object.keys(this.enchantCh... | enragednuke/WoWAnalyzer | src/Parser/Core/Modules/Features/Checklist/Requirements/EnchantsRequirement.js | JavaScript | agpl-3.0 | 705 |
/*
* This file contains methods to manipulate easily Biological list Objects.
*
* @author Laurent Jourdren
*/
/*
* Creating methods
*/
/*
* Create a new Biological List.
* @return new Biological list object
*/
function createBiologicalList() {
var nividicNames = JavaImporter();
nividicNames.importPacka... | GenomicParisCentre/nividic | target/classes/javascript/biologicallist.js | JavaScript | lgpl-2.1 | 2,023 |
var searchData=
[
['birthdate',['Birthdate',['../interface_plex_byte_1_1_mo_cap_1_1_security_1_1_i_person.html#a4cb33b61b1369fadd6c47c15754e8b46',1,'PlexByte.MoCap.Security.IPerson.Birthdate()'],['../class_plex_byte_1_1_mo_cap_1_1_security_1_1_user.html#a91c0564f89d8eb7eb0e19cf9bbf6f195',1,'PlexByte.MoCap.Security.Us... | christiansax/MoCap | PlexByte.MoCap/PlexByte.MoCap.Security/Doc/html/search/properties_0.js | JavaScript | lgpl-3.0 | 342 |
var fs = require('fs'),
path = require('path'),
utils = require('./utils'),
_tags = require('./tags'),
_filters = require('./filters'),
parser = require('./parser'),
dateformatter = require('./dateformatter');
/**
* Swig version number as a string.
* @example
* if (swig.version === "1.0.0") { ... }
*
... | philid/samesame | node_modules/swig/lib/swig.js | JavaScript | lgpl-3.0 | 22,215 |