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';
var syntax = require('estraverse').Syntax;
var locationOf = require('./location');
function EsNode (path, currentNode, parentNode, espathToValue, jsCode, tokens) {
if (path) {
this.espath = path.join('/');
this.parentEspath = path.slice(0, path.length - 1).join('/');
this.cur... | sekineh/ldxIterationAnalyzer | node_modules/power-assert/node_modules/power-assert-formatter/lib/esnode.js | JavaScript | gpl-2.0 | 1,389 |
;(function($) {
jQuery.fn.smoothSlider=function(args){
var defaults={
sliderWidth :900,
sliderHeight :320,
navArr :0,
img_align :'left'
}
options=jQuery.extend({},defaults,args);
this.smoothSliderSize=function(){
var wrapWidth=this.width();
var slideri=this.find('.smooth_slideri');
... | jesusr/jaenando | wp-content/plugins/smooth-slider/js/smooth.js | JavaScript | gpl-2.0 | 1,811 |
define(['underscore'], function(_) {
/**
* Take in an array of affiliations, and figure out which should be
* selected
*
* @param {array} affs
*/
const selectAffiliation = function(affs) {
// check if there are more than 1, if not just select that one
if (affs.length > 1) {
// check if ... | adsabs/bumblebee | src/js/widgets/author_affiliation_tool/models/authorAffiliation.js | JavaScript | gpl-2.0 | 1,739 |
/**
* @file 自动播放插件
* @import widget/slider/slider.js
*/
(function( gmu, $ ) {
$.extend( true, gmu.Slider, {
options: {
/**
* @property {Boolean} [autoPlay=true] 是否开启自动播放
* @namespace options
* @for Slider
* @uses Slider.autoplay
... | elppac/moment | demo/style/js/gmu/widget/slider/$autoplay.js | JavaScript | gpl-2.0 | 2,222 |
/*
* 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-copycontentplugin', function (Y) {
"use strict";
/**
* Provides the Copy Content plugin.
*
* @module ez-copycontentplugin
... | flovntp/BikeTutorialWebsite | vendor/ezsystems/platform-ui-bundle/Resources/public/js/views/services/plugins/ez-copycontentplugin.js | JavaScript | gpl-2.0 | 5,783 |
/**
* Created with JetBrains PhpStorm.
* User: christian.manalansan
* Date: 10/10/12
* Time: 3:48 PM
* To change this template use File | Settings | File Templates.
*/
(function ($) {
$(document).ready(function() {
var resizeTimer;
function checkTogglePosition() {
if ($(window).... | studio666/idm | sites/all/themes/datagov/js/communities-hub-resize.js | JavaScript | gpl-2.0 | 763 |
/* JCE Editor - 2.3.3.2 | 13 July 2013 | http://www.joomlacontenteditor.net | Copyright (C) 2006 - 2013 Ryan Demmer. All rights reserved | GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html */
(function($){$.support.canvas=false;var isMobile={Android:function(){return navigator.userAgent.match(/Andr... | ms08-067/niemtinmoi | components/com_jce/editor/libraries/js/tips.js | JavaScript | gpl-2.0 | 8,076 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
if(Drupal.jsEnabled)
{
$(document).ready(function() {
$("#edit-project-release-files-addmf").css('display', 'block'); //display only if js is actived
$("#edit-project-release-files-addmf").clic... | Openroadvietnam/openroad | sites/all/modules/custom/isa_release_multiple_files/js/isa_release_multiple_files_dynamic_newfiles.js | JavaScript | gpl-2.0 | 750 |
const initialState = {
clickCentring: false,
clickCentringPoints: [],
measureDistance: false,
distancePoints: [],
lines: [],
width: 659,
height: 493,
motorSteps: {
focusStep: 0.1,
phiStep: 90,
phiyStep: 0.1,
phizStep: 0.1,
sampxStep: 0.1,
sampyStep: 0.1,
kappaStep: 0.1,
k... | mguijarr/mxcube3 | mxcube3/ui/reducers/sampleview.js | JavaScript | gpl-2.0 | 3,926 |
'use strict';
var Curry = require("../../lib/js/curry.js");
function f0(x) {
var tmp;
if (x > 3) {
tmp = (function (x) {
return x + 1 | 0;
});
} else {
throw {
RE_EXN_ID: "Not_found",
Error: new Error()
};
}
return tmp(3);
}
function f1(x) {
throw {
... | bloomberg/ocamlscript | jscomp/test/arity_infer.js | JavaScript | gpl-2.0 | 1,073 |
http://jsfiddle.net/fusioncharts/eqq4h/ | sguha-work/fiddletest | backup/fiddles/Gauge/Macros/Using_macros_in_annotations_for_dynamic_positioning/url.js | JavaScript | gpl-2.0 | 39 |
'use strict';
describe('Service: callInterceptor', function () {
// load the service's module
beforeEach(module('agentUiApp'));
// instantiate service
var callInterceptor;
beforeEach(inject(function (_callInterceptor_) {
callInterceptor = _callInterceptor_;
}));
it('should do something', function ... | waleedsamy/CallCenterAgentApp | test/spec/services/callinterceptor.js | JavaScript | gpl-2.0 | 378 |
Template.herokitapp.rendered = function() {
if(!this._rendered) {
this._rendered = true;
console.log('-- HEROKITAPP TEMPLATE - onLoad --');
console.log('METEOR FINISHED - STARTING ANGULARJS APP');
Herokit.init.initNgApp();
}
}
| herokit/herokit-todoapp-demo-full | client/herokitapp.js | JavaScript | gpl-2.0 | 259 |
tinyMCEPopup.requireLangPack();
var AnchorDialog = {
init : function(ed) {
var action, elm, f = document.forms[0];
this.editor = ed;
elm = ed.dom.getParent(ed.selection.getNode(), 'A');
v = ed.dom.getAttrib(elm, 'name');
if (v) {... | liberator44/kindle-publish | extension/ezoe/design/standard/javascript/themes/advanced/js/anchor.js | JavaScript | gpl-2.0 | 1,183 |
//
// Stub out `require` in rhino
//
function require(arg) {
return less[arg.split('/')[1]];
};
// ecma-5.js
//
// -- kriskowal Kris Kowal Copyright (C) 2009-2010 MIT License
// -- tlrobinson Tom Robinson
// dantman Daniel Friesen
//
// Array
//
if (!Array.isArray) {
Array.isArray = function(obj) {
r... | JoelPub/wordpress-amazon | works/lincoln/lib-carve/js/less-rhino-1.2.1.js | JavaScript | gpl-2.0 | 100,856 |
jQuery(document).ready(function($){
//Map handler
$( '#map-handler a' ).click( function() {
$( '#map iframe' ).slideToggle( 400, function() {
if( $( '#map iframe' ).is( ':visible' ) ) {
$( '#map-handler a' ).text( l10n_handler.map_close );
} else {
... | naaatasha/pr-bny-projekt | wp-content/themes/kidshop/theme/assets/js/unminified/shortcodes.js | JavaScript | gpl-2.0 | 2,557 |
import React from 'react';
import { Route } from 'react-router-dom';
import { links } from './config';
export default () => (
<div>
{links.map(({ path, component }) => (
<Route exact key={path} path={`/${path}`} component={component} />
))}
</div>
);
| jlsherrill/katello | webpack/containers/Application/Routes.js | JavaScript | gpl-2.0 | 270 |
/**
* JavaScript behaviors for the front-end display of dquarkss.
*/
(function ($) {
Drupal.behaviors.dquarks = Drupal.behaviors.dquarks || {};
Drupal.behaviors.dquarks.attach = function(context) {
// Calendar datepicker behavior.
Drupal.dquarks.datepicker(context);
};
Drupal.dquarks = Drupal.dqu... | UTCTL/Data-Modules | sites/all/modules/dquarks/js/dquarks.js | JavaScript | gpl-2.0 | 3,049 |
// Public interface:
// bool moveNext()
// Summary: Advances the enumerator to the next item in the collection
// Returns: True if there is another item in the list or false if the enumeration is done.
// void reset()
// Summary: Returns this enumerator to the beginning of the collection.
// bool isDone()
// Summary... | SamGraber/Robo-Rumble | domain/Common/arrayEnumerator.js | JavaScript | gpl-2.0 | 1,275 |
import './mithrilQuerySetup';
import {CMAP} from '../../src/ui/CMAP';
import {assert} from 'chai';
describe('CMAP class', function () {
it('constructor works', function () {
let cmap = new CMAP();
assert(cmap);
});
});
| ncgr/cmap-js | test/ui/cmap.test.js | JavaScript | gpl-3.0 | 232 |
/* ************************************************************************
qooxdoo - the new era of web development
http://qooxdoo.org
Copyright:
2006 STZ-IDA, Germany, http://www.stz-ida.de
2007 Visionet GmbH, http://www.visionet.de
License:
LGPL: http://www.gnu.org/licenses/lgpl.html
... | 09zwcbupt/undergrad_thesis | ext/poxdesk/qx/framework/source/class/qx/ui/table/rowrenderer/Default.js | JavaScript | gpl-3.0 | 6,849 |
/*
Copyright (C) 2014 PencilBlue, LLC
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is... | bitcot/bitcot | include/dao/dao.js | JavaScript | gpl-3.0 | 27,067 |
$(document).on("click", "#removeNotification", function (e) {
var $div = $(this).closest('.notifications-list');
var id = $(this).attr('value');
var url = $(this).attr('url');
var urlf = url + id;
//SMGPA for publishing and .. for local run
$.post("/SMGPA/"+urlf, functi... | emiliovaldigle/SMGPA | SMGPA/SMGPA/obj/Release/Package/PackageTmp/Scripts/notification.js | JavaScript | gpl-3.0 | 434 |
Ext.BLANK_IMAGE_URL = Env.url + '/scripts/ext/resources/images/default/s.gif';
OpenLayers.DOTS_PER_INCH = 90.71;
OpenLayers.ProxyHost = Env.url + '/proxy?url=';
OpenLayers.ImgPath = Env.url + '/scripts/openlayers/img/'
OpenLayers.IMAGE_RELOAD_ATTEMPTS = 3;
// Define a constant with the base url to the MapFish web serv... | OpenWIS/openwis | openwis-metadataportal/openwis-portal/src/main/webapp/scripts/ol_settings.js | JavaScript | gpl-3.0 | 1,390 |
UZCampusWebMapApp.directive('formAddPointOfInterest', function($ionicLoading) {
return {
restrict : 'A',
scope: true,
controller : function($scope) {
$scope.submit = function(data) {
console.log("Submit form add point of interest",data);
if($scope.addPOIform.$valid) {
$scop... | IAAA-Lab/UNIZAR-BuildingsApp | src/main/webapp/www/js/directives/formAddPOI.js | JavaScript | gpl-3.0 | 670 |
/**
* @package omeka
* @subpackage neatline
* @copyright 2014 Rector and Board of Visitors, University of Virginia
* @license http://www.apache.org/licenses/LICENSE-2.0.html
*/
Neatline = new Marionette.Application();
| elotroalex/devlib | plugins/Neatline/views/shared/javascripts/src/app.init.js | JavaScript | gpl-3.0 | 236 |
/**
* Copyright © 2016 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
define(function (require) {
'use strict';
var renderer = require('../template/renderer');
renderer.addAttribute('repeat', renderer.handlers.wrapAttribute);
renderer.addAttribute('outerfasteach', {
... | rajmahesh/magento2-master | vendor/magento/module-ui/view/base/web/js/lib/knockout/bindings/bootstrap.js | JavaScript | gpl-3.0 | 1,453 |
import cloneDeep from 'lodash/cloneDeep'
import merge from 'lodash/merge'
import zipObject from 'lodash/zipObject'
import set from 'lodash/set'
import {ITEM_CREATE} from './../../quiz/editor/actions'
import {SCORE_FIXED} from './../../quiz/enums'
import {makeActionCreator, makeId} from './../../utils/utils'
import {tex... | stefk/Distribution | plugin/exo/Resources/modules/items/choice/editor.js | JavaScript | gpl-3.0 | 6,380 |
import {ClientStore} from 'relax-framework';
import RevisionsCollection from '../collections/revisions';
import revisionActions from '../actions/revision';
class RevisionsStore extends ClientStore {
constructor () {
super();
}
init () {
if (this.isClient()) {
}
}
createCollection () {
retu... | rento19962/relax | lib/client/stores/revisions.js | JavaScript | gpl-3.0 | 394 |
'use strict'
const async = require('async')
const BPromise = require('bluebird')
const EventEmitter = require('events').EventEmitter
const isError = require('lodash.iserror')
const isEmpty = require('lodash.isempty')
const isString = require('lodash.isstring')
const isPlainObject = require('lodash.isplainobject')
co... | jcapiznon/reekoh-node | lib/plugins/storage.js | JavaScript | gpl-3.0 | 4,542 |
var HOST_URI = 'https://cnodejs.org/api/v1';
var GET_TOPICS = '/topics';
var GET_TOPIC_BY_ID = '/topic/';
function obj2uri (obj) {
return Object.keys(obj).map(function (k) {
return encodeURIComponent(k) + '=' + encodeURIComponent(obj[k]);
}).join('&');
}
module.exports = {
// 获取内容页数据
getTopic... | gouyuwang/private | wxapp/wxParse/utils/api.js | JavaScript | gpl-3.0 | 437 |
/*
*
* @licstart The following is the entire license notice for the
* JavaScript code in this page.
*
* Copyright (c) 2012-2013 RockStor, Inc. <http://rockstor.com>
* This file is part of RockStor.
*
* RockStor is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Pub... | nkhare/rockstor-core | src/rockstor/storageadmin/static/storageadmin/js/router.js | JavaScript | gpl-3.0 | 29,002 |
console.log("CKRIPT1"),console.log("SCRIPT2"); | begasanna/begasanna.github.io | js/build_home/app/js/ext/script.main.min.js | JavaScript | gpl-3.0 | 46 |
require(["reactjs", "components/chatui"], function(React, ChatUI) {
React.render(React.createElement(ChatUI, null), document.querySelector(".content"))
}); | JeonghanSeock/ASP | go-chat-master/static/build/js/application.js | JavaScript | gpl-3.0 | 157 |
/**
* @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'language', 'zh', {
button: '設定語言',
remove: '移除語言'
} );
| vanpouckesven/cosnics | src/Chamilo/Libraries/Resources/Javascript/HtmlEditor/Ckeditor/src/plugins/language/lang/zh.js | JavaScript | gpl-3.0 | 273 |
UMI.CMS 15 = de0e46f6e57cdf2066c14106296a8890
| gohdan/DFC | known_files/hashes/sys-temp/updates/core/js/cms/wysiwyg/tinymce4/plugins/table/plugin.min.js | JavaScript | gpl-3.0 | 46 |
'use strict';
var BOARD_DEFINITIONS = [
{
name: "CC3D",
identifier: "CC3D",
vcp: true
}, {
name: "ChebuzzF3",
identifier: "CHF3",
vcp: false
}, {
name: "CJMCU",
identifier: "CJM1",
vcp: false
}, {
name: "EUSTM32F103RB",
... | skaman82/cleanflight-configurator | js/boards.js | JavaScript | gpl-3.0 | 1,529 |
describe('utils.any', function() {
var contexto_x2 = {
multiplicar: function(item) {
return item * 2;
}
};
var contexto_x3 = {
multiplicar: function(item) {
return item * 3;
}
};
var iterator = function(item) {
return this.multiplicar(item) < 3;
};
v... | MTEySS/taller-web | 09_js_funcional/soluciones/01_functions/test/spec/utils_anySpec.js | JavaScript | gpl-3.0 | 2,245 |
/*
This file is part of Ext JS 4.2
Copyright (c) 2011-2013 Sencha Inc
Contact: http://www.sencha.com/contact
GNU General Public License Usage
This file may be used under the terms of the GNU General Public License version 3.0 as
published by the Free Software Foundation and appearing in the file LICENSE included in... | CCAFS/CCAFS-Climate | libs/ext-4.2.2/packages/ext-theme-base/sass/example/shortcuts.js | JavaScript | gpl-3.0 | 22,464 |
/*
* VITacademics
* Copyright (C) 2014-2015 Aneesh Neelam <neelam.aneesh@gmail.com>
*
* This file is part of VITacademics.
*
* VITacademics 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... | princebansal/VITacademics | routes/api.js | JavaScript | gpl-3.0 | 5,483 |
// |reftest| skip-if(!this.hasOwnProperty("SIMD"))
/*
* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/licenses/publicdomain/
*/
delete Object.prototype.__proto__;
var Int32x4 = SIMD.Int32x4;
var ar = Int32x4.array(1);
var array = new ar([Int32x4(1, 2, 3, 4)]);
if (typeof reportComp... | Yukarumya/Yukarum-Redfoxes | js/src/tests/ecma_7/SIMD/bug1023145.js | JavaScript | mpl-2.0 | 371 |
// DO NOT EDIT! This test has been generated by tools/gentest.py.
// OffscreenCanvas test in a worker:2d.path.lineTo.ensuresubpath.1
// Description:If there is no subpath, the point is added and nothing is drawn
// Note:
importScripts("/resources/testharness.js");
importScripts("/2dcontext/resources/canvas-tests.js");... | larsbergstrom/servo | tests/wpt/web-platform-tests/offscreen-canvas/path-objects/2d.path.lineTo.ensuresubpath.1.worker.js | JavaScript | mpl-2.0 | 777 |
// DO NOT EDIT! This test has been generated by tools/gentest.py.
// OffscreenCanvas test in a worker:2d.line.defaults
// Description:
// Note:
importScripts("/resources/testharness.js");
importScripts("/2dcontext/resources/canvas-tests.js");
var t = async_test("");
t.step(function() {
var offscreenCanvas = new Offs... | saneyuki/servo | tests/wpt/web-platform-tests/offscreen-canvas/line-styles/2d.line.defaults.worker.js | JavaScript | mpl-2.0 | 643 |
var page = require('page');
var model = require('./model')();
var attachFastClick = require('fastclick');
var UA = require('./ua');
var analytics = require('./analytics');
var fastclick;
window.urlHistory = [];
module.exports = function (app) {
// Track history for session restoration
page(function (ctx, next) {
... | vazquez/webmaker-android | lib/router.js | JavaScript | mpl-2.0 | 2,329 |
import { expect } from 'chai';
import { resolve } from '../../../lib/index';
describe('resolving loops: ordered-ordered', function () {
it('should not throw error if detected loop on itself', function () {
var decl = [{ block: 'A' }],
deps = [{
entity: { block: 'A' },
... | bem-contrib/bem-deps | spec/resolve/loops/ordered-ordered.spec.js | JavaScript | mpl-2.0 | 13,226 |
/* 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/. */
'use strict';
const { registerSuite } = intern.getInterface('object');
const FunctionalHelpers = require('./lib/h... | shane-tomlinson/fxa-content-server | tests/functional/pp.js | JavaScript | mpl-2.0 | 1,952 |
/* 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/. */
var BUGNUMBER = 392378;
var summary = '15.5.4.11 - String.prototype.replace';
var rex, f, a, i;
reportCompare(
... | cstipkovic/spidermonkey-research | js/src/tests/ecma_3/String/15.5.4.11.js | JavaScript | mpl-2.0 | 9,053 |
OC.L10N.register(
"files",
{
"Storage invalid" : "Storage invalid",
"Unknown error" : "Unknown error",
"Files" : "Files",
"All files" : "All files",
"File could not be found" : "File could not be found",
"Home" : "Home",
"Close" : "Close",
"Favorites" : "Favourites",
"Could n... | jbicha/server | apps/files/l10n/en_GB.js | JavaScript | agpl-3.0 | 9,457 |
/*
* Copyright (c) 2014
*
* This file is licensed under the Affero General Public License version 3
* or later.
*
* See the COPYING-README file.
*
*/
/* global protractor, module, element, by, browser */
(function() {
var Page = function() {
};
Page.prototype.moveMouseTo = function(locator) {
var ele = ... | lrytz/core | tests/acceptance/tests/helper/page.js | JavaScript | agpl-3.0 | 2,535 |
$(document).ready(function() {
$("a#copy-code").on('click', function (e) {
e.preventDefault();
}).each(function () {
$(this).zclip({
path: 'http://www.steamdev.com/zclip/js/ZeroClipboard.swf',
copy: $("#submission-code").text(),
afterCopy: function() {
alert("The submission code was succ... | hanumakanthvvn/exercism.io | frontend/app/js/clipboardcopy.js | JavaScript | agpl-3.0 | 735 |
/*
* Copyright (C) 2019 - 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 | packages/canvas-rce/src/rce/plugins/shared/Upload/ComputerPanel.js | JavaScript | agpl-3.0 | 7,948 |
function formatColumn(column, type, format, alignNumbers, combine, modelFootnotes, html = true) {
/**
* Prepares the columns of a table to the required format
* @param column
* @param type column type - string, number, pvalue, integer, ...
* @param format decimal format, p-value format
* @p... | FransMeerhoff/jasp-desktop | Desktop/html/js/utils.js | JavaScript | agpl-3.0 | 22,755 |
/* ************************************************************************
qooxdoo - the new era of web development
http://qooxdoo.org
Copyright:
2008 1&1 Internet AG, Germany, http://www.1und1.de
License:
LGPL: http://www.gnu.org/licenses/lgpl.html
EPL: http://www.eclipse.org/org/docume... | FireWalkerX/eyeOS-FOSS-V.2.0 | devtools/qooxdoo-sdk/framework/source/class/qx/util/Template.js | JavaScript | agpl-3.0 | 3,318 |
/* eslint-disable import/prefer-default-export */
/*
* Used by both Source- and TargetMergeOptions to guess the merge column
* Strategy:
* - if a column named 'identifier' exists, select it (this is what makes most sense to Flow)
* - else, pick the first key column,
* - otherwise return null
*/
export function g... | akvo/akvo-dash | client/src/components/transformation/merge/utils.js | JavaScript | agpl-3.0 | 1,194 |
angular.module('plunker', [])
.factory('plunkGenerator', function ($document) {
return function (version, module, content) {
var form = angular.element('<form style="display: none;" method="post" action="http://plnkr.co/edit/?p=preview" target="_blank"></form>');
var addField = function (name, valu... | tdascoli/ng-placeholders | dist/assets/plunker.js | JavaScript | lgpl-3.0 | 2,086 |
/*!
* Ext JS Library 3.3.0
* Copyright(c) 2006-2010 Ext JS, Inc.
* licensing@extjs.com
* http://www.extjs.com/license
*/
/**
* @class Ext.tree.TreePanel
* @extends Ext.Panel
* <p>The TreePanel provides tree-structured UI representation of tree-structured data.</p>
* <p>{@link Ext.tree.TreeNode TreeNode}s added... | zigama/rapidsms-rwanda | apps/webapp/static/javascripts/extjs/pkgs/pkg-tree-debug.js | JavaScript | lgpl-3.0 | 156,269 |
'use strict';
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; };
module.exports = timerlog;
var options_storage = {};
var PRO... | AurelienLourot/mybeir.ut | thirdparty/timerlog-0.1.4/dist/index.es5.js | JavaScript | unlicense | 4,387 |
/*
Copyright 2018 Carmilla Mina Jankovic
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 writing,... | yxeri/roleTerminal | private/library/data/RoomData.js | JavaScript | apache-2.0 | 1,348 |
var request = require('supertest');
describe('Test API UP', function() {
describe('Index ', function() {
it('should response json', function (done) {
request(sails.hooks.http.app)
.get('/')
// .send({ name: 'test', password: 'test' })
.expect(200)
.expect('location','/mypag... | ferso/tenant | tests/config.spec.js | JavaScript | apache-2.0 | 350 |
/*
* File: app/view/Viewport.js
*
* This file was generated by Sencha Architect version 2.1.0.
* http://www.sencha.com/products/architect/
*
* This file requires use of the Ext JS 4.1.x library, under independent license.
* License of Sencha Architect does not include license for Ext JS 4.1.x. For more
* detail... | alex-sherwin/inlineanything | app/view/Viewport.js | JavaScript | apache-2.0 | 666 |
import("sqlbase.sqlobj");
import("sqlbase.sqlcommon");
/*
A table for tracking emails sent and clicked
*/
function run() {
sqlobj.createTable('email_tracking', {
id: 'INT NOT NULL '+sqlcommon.autoIncrementClause()+' PRIMARY KEY',
emailAddress: 'varchar(128)',
timeSent: sqlobj.getDateColspec("DEFAULT N... | whackpad/whackpad | etherpad/src/etherpad/db_migrations/m0068_create_emails_sent_table.js | JavaScript | apache-2.0 | 627 |
/* DreemGL is a collaboration between Teeming Society & Samsung Electronics, sponsored by Samsung and others.
Copyright 2015-2016 Teeming Society. 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 a... | dreemproject/dreemgl | classes/3d/circle.js | JavaScript | apache-2.0 | 1,295 |
define({
"commonWebmap": {
"selector": {
"lblWebMap": "Карта",
"lblLocation": "Местоположение",
"lblContent": "Содержание",
"lblPopup": "Всплывающая информация",
"lblControls": "Дополнения",
"lblOverview": "Обзорная карта",
"lblLegend": "Легенда",
"lblGeocoder": "По... | Esri/map-journal-storytelling-template-js | src/app/storymaps/common/_resources/nls/ru/webmap.js | JavaScript | apache-2.0 | 8,917 |
var a01661 =
[
[ "SeamDecPair", "a01661.html#a5294a4d0e0796a8ad92fa3bf63a3561a", null ],
[ "SeamPair", "a01661.html#ad968f53798533f756579c5cd1fc1a980", null ],
[ "SeamPile", "a01661.html#adaa99d84dea709fbf9c90de4c65e23f1", null ],
[ "SeamQueue", "a01661.html#ad75f559fa2ad0d090f83138d36e057cc", null ]
]; | stweil/tesseract-ocr.github.io | 4.0.0/a01661.js | JavaScript | apache-2.0 | 320 |
// 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 writing, software
// distributed ... | Sage-Bionetworks/SynapseWebClient | src/main/webapp/js/goog/ui/palette.js | JavaScript | apache-2.0 | 16,964 |
var data = require('./data.json');
data.pkgVer = require('../package.json').version;
module.exports = {
index: function(req, res){
res.render('index', data);
},
signup: require('./signup')
};
| meandavejustice/idea-town-splash | routes/index.js | JavaScript | apache-2.0 | 203 |
/**
* Component displaying the entity mapping inside a modal
* @module components/modals/entity-mapping-modal
* @property {Boolean} showEntityMappingModal - Flag toggling the modal view
* @property {Object} metric - primary metric Object
* @property {Function} onSubmit - closure ac... | apucher/pinot | thirdeye/thirdeye-frontend/app/pods/components/modals/entity-mapping-modal/component.js | JavaScript | apache-2.0 | 13,628 |
var searchData=
[
['data_5fnot_5ffound',['DATA_NOT_FOUND',['../namespace_royale_dot_net.html#a7c470186ff8f9b10c7383e4fde017288a113d2a552959871b7d7d5c29f9f2b774',1,'RoyaleDotNet.DATA_NOT_FOUND()'],['../namespaceroyale.html#a895d6f2339238d7f35b996906bd7d054a113d2a552959871b7d7d5c29f9f2b774',1,'royale::DATA_NOT_FOUND()'... | fmina/ros_picoflexx | lib/libroyale-0.9.5.32-LINUX-64Bit/doc/html/search/all_3.js | JavaScript | apache-2.0 | 3,711 |
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc);
switch (arguments.length) {
case 2: return decorators.reduceRight(function(o, d) { r... | aayushkapoor206/whatshot | node_modules/angular2/es6/prod/src/core/change_detection/parser/lexer.js | JavaScript | apache-2.0 | 14,433 |
import expect from "expect"
import Im from "immutable"
import curl from "core/curlify"
import win from "core/window"
describe("curlify", function() {
it("prints a curl statement with custom content-type", function() {
var req = {
url: "http://example.com",
method: "POST",
... | FINRAOS/herd | herd-build/herd-docs/herd-docs-swagger/src/swagger-ui-master/test/core/curlify.js | JavaScript | apache-2.0 | 7,073 |
/**
* @fileoverview Prevent passing of children as props
* @author Benjamin Stepp
*/
'use strict';
const docsUrl = require('../util/docsUrl');
// ------------------------------------------------------------------------------
// Helpers
// ---------------------------------------------------------------------------... | GoogleCloudPlatform/prometheus-engine | third_party/prometheus_ui/base/web/ui/react-app/node_modules/eslint-plugin-react/lib/rules/no-children-prop.js | JavaScript | apache-2.0 | 2,137 |
/* jshint camelcase: false */
/* jshint newcap: false */
/* global describe, before, it */
var should = require('should');
var sinon = require('sinon');
var cmdPoll = require('../../../../lib/services/azuredocdb/cmd-poll');
var azure = require('../helpers').azure;
var docDbClient = require('../../../../lib/services/az... | zhongyi-zhang/meta-azure-service-broker | test/unit/services/azuredocdb/poll-spec.js | JavaScript | apache-2.0 | 5,830 |
//// [ModuleWithExportedAndNonExportedImportAlias.ts]
module A {
export interface Point {
x: number;
y: number;
}
interface Point3d extends Point {
z: number;
}
}
module B {
export class Line {
constructor(public start: A.Point, public end: A.Point) { }
}
}
mo... | DickvdBrink/TypeScript | tests/baselines/reference/ModuleWithExportedAndNonExportedImportAlias.js | JavaScript | apache-2.0 | 1,516 |
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
'... | AuxMon/azure-sdk-for-node | lib/services/dataLake.Store/lib/filesystem/models/fileStatusProperties.js | JavaScript | apache-2.0 | 4,329 |
/**
* Copyright 2016 Google Inc.
*
* 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... | chihuahua/beautiful-audio-editor | src/js/original/ui/menu/item/undo-item.js | JavaScript | apache-2.0 | 2,281 |
var appLocale = {lc:{"ar":function(n){
if (n === 0) {
return 'zero';
}
if (n == 1) {
return 'one';
}
if (n == 2) {
return 'two';
}
if ((n % 100) >= 3 && (n % 100) <= 10 && n == Math.floor(n)) {
return 'few';
}
if ((n % 100) >= 11 && (n % 100) <= 99 && n == Math.floor(n)) {
return '... | cloud3edu/code-dot-org-old | dashboard/public/apps-package/js/nl_nl/maze_locale.js | JavaScript | apache-2.0 | 11,171 |
import {CarouselEvents} from '../../amp-base-carousel/0.1/carousel-events';
import {InlineGalleryEvents} from './inline-gallery-events';
import {createCustomEvent} from '#utils/event-helper';
import {dict} from '#core/types/object';
import {htmlFor} from '#core/dom/static-template';
import {isLayoutSizeDefined} from '#... | jridgewell/amphtml | extensions/amp-inline-gallery/0.1/amp-inline-gallery-thumbnails.js | JavaScript | apache-2.0 | 8,061 |
/* jshint
funcscope: true,
newcap: true,
nonew: true,
shadow: false,
unused: true,
maxlen: 90,
maxparams: 3,
maxstatements: 200
*/
'use strict';
require('../utils');
var NetSimEntity = require('./NetSimEntity');
var NetSimWire = require('./NetSimWire');
/**
* Client model of simulated network entity, which... | cloud3edu/code-dot-org-old | apps/src/netsim/NetSimNode.js | JavaScript | apache-2.0 | 3,767 |
/**
* Copyright 2015 The AMP HTML Authors. All Rights Reserved.
*
* 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 require... | mkhatib/amphtml | ads/google/adsense.js | JavaScript | apache-2.0 | 1,921 |
/*
* 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 Apache License, Version 2.0 (the
* "License"); you ... | shanti/olio | webapp/java/trunk/ws/apps/webapp/web/js/validateform.js | JavaScript | apache-2.0 | 9,123 |
/**
* Module dependencies.
*/
var http = require('http');
var comicvine = require(global.__base + 'server/comics/comicvine').init(global.__comicvine_key);
/**
* Module variables.
*/
var Volumes = comicvine.Volumes;
/**
* Module exports.
*/
exports.search = function(req, res) {
var vol = new Volumes();
... | endritbajo/comix | server/controllers/comic.js | JavaScript | apache-2.0 | 818 |
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
/... | AuxMon/azure-sdk-for-node | lib/services/eventHubManagement/lib/operations/index.js | JavaScript | apache-2.0 | 604 |
const constants = require('../../generators/generator-constants');
const TEST_DIR = constants.TEST_DIR;
const CLIENT_MAIN_SRC_DIR = constants.CLIENT_MAIN_SRC_DIR;
const CLIENT_TEST_SRC_DIR = constants.CLIENT_TEST_SRC_DIR;
const SERVER_MAIN_SRC_DIR = constants.SERVER_MAIN_SRC_DIR;
const SERVER_MAIN_RES_DIR = constants.... | siliconharborlabs/generator-jhipster | test/utils/expected-files.js | JavaScript | apache-2.0 | 28,004 |
// 日本語 japanese utf-8 lang variables
tinyMCE.addToLang('',{
theme_style_select : '-- スタイル --',
theme_code_desc : 'ソースを編集',
theme_code_title : 'HTML ソース編集',
theme_code_wordwrap : '右端で折り返す',
theme_sub_desc : '下付き',
theme_sup_desc : '上付き',
theme_hr_desc : '水平面線を挿入',
theme_removeformat_desc : 'フォーマットを取消す',
theme_custom1_... | WilliamGoossen/epsos-common-components.gnomonportal | webapps/ROOT/html/js/editor/tiny_mce/themes/advanced/langs/ja_utf-8.js | JavaScript | apache-2.0 | 2,882 |
/*!
* TouchSlide v1.1
* javascript触屏滑动特效插件,移动端滑动特效,触屏焦点图,触屏Tab切换,触屏多图切换等
* 详尽信息请看官网:http://www.SuperSlide2.com/TouchSlide/
*
* Copyright 2013 大话主席
*
* 请尊重原创,保留头部版权
* 在保留版权的前提下可应用于个人或商业用途
* 1.1 宽度自适应(修复安卓横屏时滑动范围不变的bug)
*/
var TouchSlide = function(a){
a = a||{};
var opts = {
slideCell:a.... | bgp1984/WeixinShop | Public/maoyan/js/TouchSlide.1.1.source.js | JavaScript | apache-2.0 | 12,913 |
/**
* Standard node types for conversation nodes
*/
module.exports.MAPTYPE = "1";
module.exports.QUESTIONTYPE = "2";
module.exports.ANSWERTYPE = "3";
module.exports.PROTYPE = "4";
module.exports.CONTYPE = "5";
module.exports.DECISIONTYPE = "6";
module.exports.CLAIMTYPE = "7";
module.exports.REFERENCETYPE = "8";
modu... | KnowledgeGarden/TQPortal | apps/conversation/conversationconstants.js | JavaScript | apache-2.0 | 445 |
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var prefix = 'fab';
var iconName = 'rocketchat';
var width = 448;
var height = 512;
var ligatures = [];
var unicode = 'f3e8';
var svgPathData = 'M448 256.2c0-87.2-99.6-153.3-219.8-153.3-18.8 0-37.3 1.6-55.3 4.8-11.1-10.5-24.2-20-38-27.4C61.2 4... | kopia/kopia | site/themes/docsy/assets/vendor/Font-Awesome/advanced-options/use-with-node-js/free-brands-svg-icons/faRocketchat.js | JavaScript | apache-2.0 | 1,465 |
var searchData=
[
['adddata',['addData',['../classModel.html#af422ec4a1428678240da4e751f942b9c',1,'Model']]],
['addshoptodatabase',['addShopToDatabase',['../classShopModel.html#a67653f592dcfd15e7c3e8a0262fb824b',1,'ShopModel']]],
['addusertodatabase',['addUserToDatabase',['../classUserAccessModel.html#a8b000dcb06... | fcole90/fisherman-locator | doxygen/html/search/functions_1.js | JavaScript | apache-2.0 | 370 |
module.exports = {
"version": "1.2.0",
"timeStamp": 1421238324.167,
"count": 2,
"id": 1768,
"file": "svgTextFx.psd",
"bounds": {
"top": 0,
"left": 0,
"bottom": 600,
"right": 800
},
"selection": [
1
],
"resolution": 72,
"globalLight": {
... | mcanthony/svgObjectModelGenerator | tests/data/svgTextFx-data.js | JavaScript | apache-2.0 | 13,028 |
/*
* Copyright 2014 Google Inc. All rights reserved.
*
* 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 applicabl... | google/shipshape | shipshape/contrib/phabricator/async.js | JavaScript | apache-2.0 | 2,696 |
// x_event_n4.js, part of X, a Cross-Browser.com Javascript Library
// Copyright (C) 2001,2002,2003,2004,2005 Michael Foster - Distributed under the terms of the GNU LGPL - OSI Certified
// File Rev: 2
function xAddEventListener(e,eventType,eventListener,useCapture) {
if(!(e=xGetElementById(e))) return;
eventType=... | Dashboard-X/RainbowPortal.2.0.r415.Repository | WebSites/Rainbow/aspnet_client/x/x_event_n4.js | JavaScript | apache-2.0 | 4,234 |
// Licensed to Cloudera, Inc. under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. Cloudera, Inc. licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use this f... | kawamon/hue | desktop/core/src/desktop/js/ko/components/assist/assistStorageEntry.js | JavaScript | apache-2.0 | 11,922 |
var elementtypes_8py =
[
[ "block_elements", "elementtypes_8py.html#a93bef01e769e000343dd44fd7f0c6857", null ],
[ "declarative_elements", "elementtypes_8py.html#a0f3fdba85272e773adbe3e184125310f", null ],
[ "empty_elements", "elementtypes_8py.html#ad5a29e22e6077343a8348bc3d1b13068", null ],
[ "inline_el... | bossvn/odfpy | doc/html/elementtypes_8py.js | JavaScript | apache-2.0 | 397 |
/*
* Web Experience Toolkit (WET) / Boîte à outils de l"expérience Web (BOEW)
* wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html
*/
/*
----- Ukrainian dictionary (il8n) ---
*/
( function( wb ) {
"use strict";
/* main index */
wb.i18nDict = {
"lang-code": "uk",
"lang-native... | gmyx/CSHealthCheck | GCDOCS Health Check/wet-boew/js/i18n/uk.js | JavaScript | apache-2.0 | 11,503 |
Input::
//// [/a/lib/lib.d.ts]
/// <reference no-default-lib="true"/>
interface Boolean {}
interface Function {}
interface CallableFunction {}
interface NewableFunction {}
interface IArguments {}
interface Number { toExponential: any; }
interface Object {}
interface RegExp {}
interface String { charAt: any; }
interfa... | RyanCavanaugh/TypeScript | tests/baselines/reference/tscWatch/programUpdates/should-reflect-change-in-config-file.js | JavaScript | apache-2.0 | 4,960 |
// Copyright 2018 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Flags: --allow-natives-syntax
function foo(p) { return p.finally(x => x); }
const a = Promise.resolve(1);
foo(a);
foo(a);
%OptimizeFunctionOnNextC... | fceller/arangodb | 3rdParty/V8/v7.1.302.28/test/mjsunit/compiler/promise-prototype-finally-custom-then-1.js | JavaScript | apache-2.0 | 472 |
/*
* Copyright (C) 2015 Actor LLC. <https://actor.im>
*/
import { ReduceStore } from 'flux/utils';
import Dispatcher from '../dispatcher/ActorAppDispatcher';
import { ActionTypes, AsyncActionStates, PreferencesTabTypes } from '../constants/ActorAppConstants';
import ActorClient from '../utils/ActorClient';
class P... | EaglesoftZJ/iGem_Web | src/stores/PreferencesStore.js | JavaScript | apache-2.0 | 2,166 |
jsio('import Class, bind, log');
var loggers = {}
var levels = exports.levels = {
DEBUG: 0,
LOG: 1,
INFO: 2,
WARN: 3,
ERROR: 4
};
var production = false;
exports.setProduction = function(prod) {
production = !!prod;
}
exports.getLogger = function(name) {
if (!(name in loggers)) {
lo... | pombredanne/moksha | moksha.wsgi/moksha/wsgi/widgets/api/amqp/static/jsio/logging.js | JavaScript | apache-2.0 | 1,188 |
///import core
///import plugins\inserthtml.js
///commands 日期,时间
///commandsName Date,Time
///commandsTitle 日期,时间
/**
* 插入日期
* @function
* @name baidu.editor.execCommand
* @param {String} cmdName date插入日期
* @author zhuwenxuan
*/
/**
* 插入时间
* @function
* @name baidu.editor.execCommand
*... | SpiderLoveFish/ZJCRM | CRM/ueditor1_2_5_1-utf8-net/_src/plugins/time.js | JavaScript | apache-2.0 | 965 |
/**
* Copyright 2014-2015 wildbits.github.io
*
* 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 a... | tmaret/lead | www/js/app/routers/Router.js | JavaScript | apache-2.0 | 12,817 |