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 |
|---|---|---|---|---|---|
/*!
* Jade - Compiler
* Copyright(c) 2010 TJ Holowaychuk <tj@vision-media.ca>
* MIT Licensed
*/
/**
* Module dependencies.
*/
var nodes = require('./nodes')
, filters = require('./filters')
, doctypes = require('./doctypes')
, selfClosing = require('./self-closing')
, utils = require('./utils');
// if... | f14c0/rb-sensor | sensor/node_modules/jade/lib/compiler.js | JavaScript | mit | 13,051 |
#!/usr/bin/env node
"use strict";
/* eslint-disable no-console */
const consoleReporter = require("./console-reporter");
const pathToSuites = require("./path-to-suites");
const benchmarks = require(".");
const fs = require("fs");
const path = require("path");
const toFileUrl = require("../lib/jsdom/utils").toFileUrl;
... | jeffcarp/jsdom | benchmark/runner.js | JavaScript | mit | 1,925 |
var express = require('express');
var router = express.Router();
var util = require('util');
var constants = require('../util/constants');
var utils = require('../util/utils')
var string = function (coverage) {
var base64String = "YSBzdHJpbmcgdGhhdCBnZXRzIGVuY29kZWQgd2l0aCBiYXNlNjQ=";
var base64UrlString = "YSB... | John-Hart/autorest | src/dev/TestServer/server/routes/string.js | JavaScript | mit | 4,088 |
/**
* Copyright © 2015 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
MageTest = TestCase('MageTest');
MageTest.prototype.setUp = function() {
/*:DOC += <button id="save"></button>*/
}; | FPLD/project0 | vendor/magento/magento2-base/dev/tests/js/JsTestDriver/testsuite/mage/mage-test.js | JavaScript | gpl-2.0 | 219 |
// Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and contributors
// For license information, please see license.txt
frappe.ui.form.on('Staffing Plan', {
setup: function(frm) {
frm.set_query("designation", "staffing_details", function() {
let designations = [];
$.each(frm.doc.staffing_details, function(in... | ovresko/erpnext | erpnext/hr/doctype/staffing_plan/staffing_plan.js | JavaScript | gpl-3.0 | 3,392 |
// |jit-test| error:TypeError
// Binary: cache/js-dbg-64-e8ee411dca70-linux
// Flags:
//
x = Proxy.create((function () {
return {
get: Object.create
}
})([]), "")
try {
(function () {
for each(l in [0]) {
print(x)
}
})()
} catch (e) {}
gc()
for each(let a in [0]) {
... | SlateScience/MozillaJS | js/src/jit-test/tests/auto-regress/bug592226.js | JavaScript | mpl-2.0 | 334 |
var common = require('./common');
var notifications = module.exports;
var transition = 600;
notifications.success = {};
notifications.success.open = function() {
var el = $('.notification-message-success');
return browser
.wait(function() {
return common.hasClass(el, 'active');
}... | CMLL/taiga-front | e2e/utils/notifications.js | JavaScript | agpl-3.0 | 2,005 |
YUI.add('cache-offline-tests', function(Y) {
// Set up the page
var ASSERT = Y.Assert,
ARRAYASSERT = Y.ArrayAssert,
tearDown = function() {
this.cache.flush();
};
var testClass = new Y.Test.Case({
name: "Class Tests",
... | co-ment/comt | src/cm/media/js/lib/yui/yui3-3.15.0/src/cache/tests/unit/assets/cache-offline.js | JavaScript | agpl-3.0 | 14,607 |
module("tinymce.UndoManager", {
setupModule: function() {
QUnit.stop();
tinymce.init({
selector: "textarea",
add_unload_trigger: false,
skin: false,
init_instance_callback: function(ed) {
window.editor = ed;
QUnit.start();
}
});
}
});
test('Initial states', function() {
expect(3);
ok... | Razzwan/tinymce | tests/tinymce/UndoManager.js | JavaScript | lgpl-2.1 | 8,737 |
/**
* Copyright (C) 2005-2016 Alfresco Software Limited.
*
* This file is part of Alfresco
*
* Alfresco is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at ... | davidcognite/Aikau | aikau/src/main/resources/alfresco/services/RatingsService.js | JavaScript | lgpl-3.0 | 4,189 |
/*
Copyright (c) 2004-2016, The JS Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
*/
//>>built
define("dojo/Evented",["./aspect","./on"],function(_1,on){"use strict";var _2=_1.after;function _3(){};_3.prototype=... | Caspar12/zh.sw | zh-site-manager-web-ui-admin/target/classes/static/js/dojo/dojo/Evented.js | JavaScript | apache-2.0 | 525 |
import {expect} from 'chai';
import {spec} from 'modules/outbrainBidAdapter.js';
import {config} from 'src/config.js';
import {server} from 'test/mocks/xhr';
import { createEidsArray } from 'modules/userId/eids.js';
describe('Outbrain Adapter', function () {
describe('Bid request and response', function () {
con... | prebid/Prebid.js | test/spec/modules/outbrainBidAdapter_spec.js | JavaScript | apache-2.0 | 16,823 |
// Copyright (C) 2014 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: 12.2.5
description: >
computed property names can be numbers
---*/
var object = {
[1.2]: 'A',
[1e55]: 'B',
[0.000001]: 'C',
[-0]: 'D',
[Infinity]: 'E',
[... | sebastienros/jint | Jint.Tests.Test262/test/language/computed-property-names/object/property/number-duplicates.js | JavaScript | bsd-2-clause | 1,167 |
/**
The MIT License
Copyright (c) 2010-2015 Google, Inc. http://angularjs.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
... | hafeild/alice | vendor/bundle/ruby/2.3.0/gems/sunspot_solr-2.3.0/solr/server/solr-webapp/webapp/libs/angular-cookies.js | JavaScript | bsd-3-clause | 7,159 |
/**
* @author sunag / http://www.sunag.com.br/
*/
import { FloatNode } from '../inputs/FloatNode.js';
import { NodeLib } from '../core/NodeLib.js';
function TimerNode( scale, scope, timeScale ) {
FloatNode.call( this );
this.scale = scale !== undefined ? scale : 1;
this.scope = scope || TimerNode.GLOBAL;
thi... | Michayal/michayal.github.io | node_modules/super-three/examples/js/nodes/utils/TimerNode.js | JavaScript | mit | 1,877 |
#!/usr/bin/env node
const path = require('path');
const fs = require('fs');
const GitHubApi = require('github');
const github = new GitHubApi();
/** CONFIGURATION: change these things if you want to tweak how the runs are made. */
/** Path to the local material2. By default based on the location of this script. */
... | Eddman/material2 | scripts/caretaking/write-presumbit-scheduler.js | JavaScript | mit | 2,562 |
/**
* @fileoverview Tests for no-caller rule.
* @author Nicholas C. Zakas
*/
"use strict";
//------------------------------------------------------------------------------
// Requirements
//------------------------------------------------------------------------------
const rule = require("../../../lib/rules/no-c... | onurtemizkan/eslint | tests/lib/rules/no-caller.js | JavaScript | mit | 1,085 |
import NotFound from './NotFound'
export default NotFound
| kulakowka/isomorphic-react | src/shared/components/NotFound/index.js | JavaScript | mit | 59 |
/**
* @author alteredq / http://alteredqualia.com/
*/
import {
Box3,
MathUtils,
MeshLambertMaterial,
Object3D,
TextureLoader,
UVMapping,
sRGBEncoding
} from "../../../build/three.module.js";
import { MD2Loader } from "../loaders/MD2Loader.js";
import { MorphBlendMesh } from "../misc/MorphBlendMesh.js";
var M... | easz/rt_geometry | playground/js/three.js-r115/examples/jsm/misc/MD2CharacterComplex.js | JavaScript | mit | 12,254 |
!function(t){t.LiquidDistortMaterial=function(){t.Material.apply(this,arguments)},t.LiquidDistortMaterial.prototype=Object.create(t.Material.prototype),t._extendWithGettersSetters(t.LiquidDistortMaterial.prototype,{constructor:t.LiquidDistortMaterial,init:function(){this.mainImage=[t.Assets.Shaders.Noise3D,"void mainIm... | sashberd/cdnjs | ajax/libs/Blotter/0.1.0/materials/liquidDistortMaterial.min.js | JavaScript | mit | 771 |
Object_shallowCopyFrom_(Array.prototype,{
asPath: function()
{
return this.join("/");
}
}); | ControllingTransmission/viz_projects | tron/libs/Crux/Array+Path.js | JavaScript | mit | 96 |
var api = {
pageVisited: function(info) {
Triggers.processRequest(info);
Meteor.call('livechat:pageVisited', visitor.getToken(), info);
}
};
window.addEventListener('message', function(msg) {
if (typeof msg.data === 'object' && msg.data.src !== undefined && msg.data.src === 'rocketchat') {
if (api[msg.data.f... | ut7/Rocket.Chat | packages/rocketchat-livechat/app/client/lib/hooks.js | JavaScript | mit | 579 |
var request = require('supertest');
var app = require('./index.js');
describe('Templating', function () {
it('should return the template', function (done) {
var html = '<!DOCTYPE html><head><html><title>Koa Templating</title></html><body><p>Hello!</p></body></head>';
request(app.listen())
.get('/')
... | LXJS/training-koa | 09-templating/test.js | JavaScript | mit | 410 |
"use strict";
var core_1 = require('@angular/core');
var NgTranscludeDirective = (function () {
function NgTranscludeDirective(_viewRef) {
this._viewRef = _viewRef;
this.viewRef = _viewRef;
}
Object.defineProperty(NgTranscludeDirective.prototype, "ngTransclude", {
get: function () {
... | IrmantasLiepis/logo-design | public/js/vendor/ng2-bootstrap/components/common.js | JavaScript | mit | 1,111 |
dojo.provide("dojo.tests.aspect");
var aspect = dojo.require("dojo.aspect");
doh.register("tests.aspect",
[
function before(t){
var order = [];
var obj = {
method: function(a){
order.push(a);
}
};
var signal = aspect.before(obj, "method", function(a){
order.push(a);
return [a+1];
... | vadivelan-k/dojo_rails | vendor/assets/javascripts/dojo/tests/aspect.js | JavaScript | mit | 3,096 |
/*
This file is part of Ext JS 4.2
Copyright (c) 2011-2013 Sencha Inc
Contact: http://www.sencha.com/contact
Commercial Usage
Licensees holding valid commercial licenses may use this file in accordance with the Commercial
Software License Agreement provided with the Software or, alternatively, in accordance with th... | ryancanulla/findMe | web/ext/packages/ext-theme-neptune/overrides/panel/Tool.js | JavaScript | mit | 705 |
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define([], factory);
else if(typeof exports === 'object')
exports["jsonld"] = factory();
else
root["jsonld... | extend1994/cdnjs | ajax/libs/jsonld/0.5.21/jsonld.js | JavaScript | mit | 548,443 |
/**
* Copyright (c) 2010 Alethia Inc,
* http://www.alethia-inc.com
* Developed by Travis Tidwell | travist at alethia-inc.com
*
* License: GPL version 3.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software")... | ecosleuth/m2 | sites/all/modules/mediafront/players/osmplayer/player/templates/shockplayer/jquery.media.template.shockplayer.js | JavaScript | gpl-2.0 | 10,425 |
/* JCE Editor - 2.5.11 | 26 October 2015 | http://www.joomlacontenteditor.net | Copyright (C) 2006 - 2015 Ryan Demmer. All rights reserved | GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html */
WFAggregator.add('dailymotion',{params:{width:480,height:270,autoPlay:false},props:{autoPlay:0,start:0},se... | Grifindorf/kolbaska | tmp/install_56365598666f8/components/com_jce/editor/extensions/aggregator/dailymotion/js/dailymotion.js | JavaScript | gpl-2.0 | 1,951 |
/**
* Yobi, Project Hosting SW
*
* Copyright 2014 NAVER Corp.
* http://yobi.io
*
* @author Jihan Kim
*
* 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/li... | ihoneymon/yobi | public/javascripts/common/yobi.CommentForm.js | JavaScript | apache-2.0 | 3,215 |
/*!
* Copyright 2014 Apereo Foundation (AF) Licensed under the
* Educational Community 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://opensource.org/licenses/ECL-2.0
*
* Unless required by applicab... | simong/Hilary | node_modules/oae-preview-processor/tests/test-previews.js | JavaScript | apache-2.0 | 136,462 |
// (C) Copyright 2015 Martin Dougiamas
//
// 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 agre... | mFat7i/ubuntuTest | www/core/lib/filepool.js | JavaScript | apache-2.0 | 124,809 |
/*
* Copyright (c) 2014 Juniper Networks, Inc. All rights reserved.
*/
var httpsOp = require('../../../common/httpsoptions.api');
var global = require('../../../common/global');
var mockData = require('./httpsoptions.api_mock');
var config = require('../../../../../config/config.global');
function initIdentityHttpsC... | nagakiran/contrail-web-core | src/serverroot/web/api/test/httpsoptions.api_test.js | JavaScript | apache-2.0 | 1,543 |
define(function () {
// Dutch
return {
errorLoading: function () {
return 'De resultaten konden niet worden geladen.';
},
inputTooLong: function (args) {
var overChars = args.input.length - args.maximum;
var message = 'Gelieve ' + overChars + ' karakters te verwijderen';
... | aholake/hiringviet | src/main/webapp/resources/vendors/select2/src/js/select2/i18n/nl.js | JavaScript | apache-2.0 | 1,130 |
!function (a) {
a.fn.datepicker.dates.uk = {
days: ["Неділя", "Понеділок", "Вівторок", "Середа", "Четвер", "П'ятниця", "Субота", "Неділя"],
daysShort: ["Нед", "Пнд", "Втр", "Срд", "Чтв", "Птн", "Суб", "Нед"],
daysMin: ["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб", "Нд"],
months: ["Cічень... | bauna/gwtbootstrap3-extras | src/main/resources/org/gwtbootstrap3/extras/datepicker/client/resource/js/locales.cache.1.4.0/bootstrap-datepicker.uk.min.js | JavaScript | apache-2.0 | 901 |
// This file was automatically generated. Do not modify.
'use strict';
goog.provide('Blockly.Msg.en');
goog.require('Blockly.Msg');
Blockly.Msg.ADD_COMMENT = "Add Comment";
Blockly.Msg.CHANGE_VALUE_TITLE = "Change value:";
Blockly.Msg.CHAT = "Chat with your collaborator by typing in this box!";
Blockly.Msg.COLLAPS... | drk123/buildafaq | third_party/msg/js/en.js | JavaScript | apache-2.0 | 27,949 |
/* The contents of this file are subject to the Netscape Public License
* Version 1.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.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS IS"
*... | frivoal/presto-testo | core/standards/scripts/jstest-futhark/es-regression/imported-netscape/ecma/Date/15.9.5.23-1.js | JavaScript | bsd-3-clause | 6,743 |
/**
* @ngdoc model
* @name BackOfficeTreeDisplay
* @function
*
* @description
* Represents a JS version of BackOfficeTreeDisplay object
*/
var BackOfficeTreeDisplay = function() {
var self = this;
self.routeId = '';
self.parentRouteId = '';
self.title = '';
self.icon = '';
self.routePath... | MindfireTechnology/Merchello | src/Merchello.Web.UI.Client/src/common/models/BackOfficeTreeDisplay.model.js | JavaScript | mit | 447 |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
'use strict';
module.exports = require('./src/dom/Drag');
| rickbeerendonk/react | packages/react-interactions/events/drag.js | JavaScript | mit | 261 |
/*
* 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.
*/
'... | balajikris/autorest | src/generator/AutoRest.NodeJS.Azure.Tests/Expected/AcceptanceTests/AzureParameterGrouping/models/parameterGroupingPostOptionalParameters.js | JavaScript | mit | 1,425 |
import Ember from 'ember-metal/core';
import {set} from 'ember-metal/property_set';
import run from 'ember-metal/run_loop';
import {observer as emberObserver} from 'ember-metal/mixin';
import {listenersFor} from 'ember-metal/events';
import ArrayProxy from 'ember-runtime/system/array_proxy';
import SortableMixin from '... | lsthornt/ember.js | packages/ember-runtime/tests/mixins/sortable_test.js | JavaScript | mit | 15,739 |
import "rxjs";
import "rxjs/operators";
const __globalThis = "undefined" !== typeof globalThis && globalThis;
const __window = "undefined" !== typeof window && window;
const __self = "undefined" !== typeof self && "undefined" !== typeof WorkerGlobalScope && self instanceof WorkerGlobalScope && self;
const __global... | wKoza/angular | integration/side-effects/snapshots/core/esm2015.js | JavaScript | mit | 938 |
import { typeOf } from '../../lib/type-of';
import EmberObject from '../../lib/system/object';
import { window } from '@ember/-internals/browser-environment';
import { moduleFor, AbstractTestCase } from 'internal-test-helpers';
moduleFor(
'Ember Type Checking',
class extends AbstractTestCase {
['@test Ember.ty... | bekzod/ember.js | packages/@ember/-internals/runtime/tests/core/type_of_test.js | JavaScript | mit | 2,305 |
// WebChat2.0 Copyright (C) 2006-2007, Chris Chabot <chabotc@xs4all.nl>
// Licenced under the GPLv2. For more info see http://www.chabotc.com
/****************************** chatEditor WYSIWYG input editor class ***********************************/
var chatEditorResizer = Class.create();
chatEditorResizer.prototype =... | tectronics/webchat2 | htdocs/js/chatEditor.js | JavaScript | gpl-2.0 | 13,222 |
define(function(require) {
'use strict';
var DialogContent = require('foreground/view/behavior/dialogContent');
var UpdateStreamusView = Marionette.LayoutView.extend({
template: _.template(chrome.i18n.getMessage('anUpdateIsAvailable')),
behaviors: {
DialogContent: {
behaviorClass: Dialog... | trsouz/StreamusChromeExtension | src/js/foreground/view/dialog/updateStreamusView.js | JavaScript | apache-2.0 | 383 |
(async function(testRunner) {
const {dp} = await testRunner.startHTML(`
<details>
<summary>
Summary
<div class="in-summary" style="display: grid;"></div>
</summary>
Details
<div class="in-details" style="display: grid;"></div>
</details>
<div class="outside" style="... | chromium/chromium | third_party/blink/web_tests/inspector-protocol/dom/dom-get-nodes-for-subtree-by-style-with-pierce-details.js | JavaScript | bsd-3-clause | 1,105 |
// This file provides a PermissionsHelper object which can be used by
// LayoutTests to handle permissions. The methods in the object
// return promises so can be used to write idiomatic, race-free code.
//
// The current available methods are:
// - setPermission: given a permission name (known by testRunner) and a sta... | scheib/chromium | third_party/blink/web_tests/http/tests/resources/permissions-helper.js | JavaScript | bsd-3-clause | 1,940 |
// Copyright 2014 The ChromeOS IME Authors. All Rights Reserved.
// limitations under the License.
// See the License for the specific language governing permissions and
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// distributed under the License is distributed on an "AS-IS" BASIS,
// Un... | guorendong/iridium-browser-ubuntu | third_party/google_input_tools/src/chrome/os/inputview/elements/content/altdataview.js | JavaScript | bsd-3-clause | 18,406 |
if (self.importScripts) {
importScripts('/fetch/resources/fetch-test-helpers.js');
importScripts('/fetch/resources/thorough-util.js');
}
var {BASE_URL, OTHER_BASE_URL} = get_thorough_test_options();
var TEST_TARGETS = [
// Test that default mode is no-cors in serviceworker-proxied tests.
onlyOnServiceWorkerPro... | scheib/chromium | third_party/blink/web_tests/http/tests/fetch/script-tests/thorough/nocors.js | JavaScript | bsd-3-clause | 3,249 |
function makeData() {
"use strict";
}
function run(svg, data, Plottable) {
"use strict";
d3.csv("/quicktests/overlaying/data/cities.csv").get(function(error, rows) {
data = rows;
var ds = new Plottable.Dataset(data);
var csRange = [];
for(var i = 0; i < 30; i++){
var c = "#" + Math.floor(Math.rand... | iobeam/plottable | quicktests/overlaying/tests/realistic/cities.js | JavaScript | mit | 1,075 |
/*!
* remark (http://getbootstrapadmin.com/remark)
* Copyright 2016 amazingsurge
* Licensed under the Themeforest Standard Licenses
*/
$.components.register("asRange", {
mode: "default",
defaults: {
tip: false,
scale: false
}
});
| oumarxy/BOPARK | web/global/js/components/asrange.js | JavaScript | mit | 248 |
const Channel = require('./Channel');
const Role = require('./Role');
const PermissionOverwrites = require('./PermissionOverwrites');
const EvaluatedPermissions = require('./EvaluatedPermissions');
const Constants = require('../util/Constants');
const Collection = require('../util/Collection');
/**
* Represents a gui... | mlue/discordbridge | node_modules/discord.js/src/structures/GuildChannel.js | JavaScript | mit | 9,528 |
// Eliminate FOIT (Flash of Invisible Text) caused by web fonts loading slowly
// using font events with Font Face Observer.
(function ($) {
"use strict";
Drupal.behaviors.atFFOI = {
attach: function (context) {
$('html').addClass('fa-loading');
var fontawesome = new FontFaceObserver('FontAwesom... | pnijjar/kwlug-drupal8-migration | web/themes/kwlug_theme/scripts/fontfaceobserver-check.js | JavaScript | gpl-2.0 | 732 |
var webpack4Babel6StepOverForOfClosure =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(ins... | ruturajv/debugger.html | test/mochitest/examples/sourcemapped/output/webpack4-babel6/step-over-for-of-closure.js | JavaScript | mpl-2.0 | 5,025 |
var classCqrs_1_1Akka_1_1Tests_1_1Unit_1_1Events_1_1Handlers_1_1HelloWorldRepliedToSendEndConversationCommandEventHandler_1_1Actor =
[
[ "Actor", "classCqrs_1_1Akka_1_1Tests_1_1Unit_1_1Events_1_1Handlers_1_1HelloWorldRepliedToSendEndConversationCommandEventHandler_1_1Actor_a10cd8c5ff7e2ee041ab26aad766b0857.html#a10... | cdmdotnet/CQRS | wiki/docs/4.2/html/classCqrs_1_1Akka_1_1Tests_1_1Unit_1_1Events_1_1Handlers_1_1HelloWorldRepliedToSendEndConversationCommandEventHandler_1_1Actor.js | JavaScript | lgpl-2.1 | 820 |
/*
AngularJS v1.3.9-local+sha.a3c3bf3
(c) 2010-2014 Google, Inc. http://angularjs.org
License: MIT
*/
(function(p,d,C){'use strict';function v(r,h,g){return{restrict:"ECA",terminal:!0,priority:400,transclude:"element",link:function(a,c,b,f,y){function z(){k&&(g.cancel(k),k=null);l&&(l.$destroy(),l=null);m&&(k=g.leav... | YXcloud/YX_SMW | static/script/lib/angularjs/angular-route.min.js | JavaScript | lgpl-3.0 | 4,543 |
var search = (function () {
var exports = {};
function narrow_or_search_for_term(search_string) {
var search_query_box = $("#search_query");
ui_util.change_tab_to('#home');
var operators = Filter.parse(search_string);
narrow.activate(operators, {trigger: 'search'});
// It's sort of annoying that ... | mahim97/zulip | static/js/search.js | JavaScript | apache-2.0 | 5,221 |
/*
* Metadata response has `zoomMin`/`zoomMax` properties, that currently (in most cases) are constant: `1`/`21`.
* But in fact, imagery for 'Aerial*' and (deprecated) 'Road' sets may be absent at high zoom levels,
* depending on location.
* This addon is intended to find and apply *real* maximum available zoom (fo... | 3ch01c/ingress-intel-total-conversion | plugins/external/Bing.addon.applyMaxNativeZoom.js | JavaScript | isc | 3,828 |
/**
* Perform a jQuery selector action on the table's TR elements (from the tbody) and
* return the resulting jQuery object.
* @param {string|node|jQuery} sSelector jQuery selector or node collection to act on
* @param {object} [oOpts] Optional parameters for modifying the rows to be included
* @param {string... | fabricateste/sisdoc | src/Modules/LayoutBundle/Resources/public/js/dataTable/media/src/api/api.methods.js | JavaScript | mit | 37,107 |
;
(function() {
window.require(["ace/mode/text"], function(m) {
if (typeof module == "object" && typeof exports == "object" && module) {
module.exports = m;
}
});
})();
... | NPellet/jsGraph | web/site/js/ace-builds/src/mode-text.js | JavaScript | mit | 330 |
/* @flow */
// These util functions are split into its own file because Rollup cannot drop
// makeMap() due to potential side effects, so these variables end up
// bloating the web builds.
import { makeMap } from 'shared/util'
export const isReservedTag = makeMap(
'template,script,style,element,content,slot,link,m... | new4/Vue4Fun | vue-2.5.16/src/platforms/weex/util/element.js | JavaScript | mit | 1,615 |
var progressInstance = (
<Progress>
<Progress now={65} label="Male" amStyle="success" key={1} />
<Progress now={15} label="Female" amStyle="warning" key={2} />
<Progress now={20} label="Other" amStyle="danger" key={3} />
</Progress>
);
React.render(progressInstance, mountNode);
| Node-X/amazeui-react | docs/progress/06-stacked.js | JavaScript | mit | 296 |
///import editor.js
///import core/browser.js
///import core/dom/dom.js
///import core/dom/dtd.js
///import core/dom/domUtils.js
///import core/dom/Range.js
/**
* @class UM.dom.Selection Selection类
*/
(function () {
function getBoundaryInformation( range, start ) {
var getIndex = domUtils.getNodeIndex... | touhou-gensokyo/umeditor-wrapper | wrapper/_src/core/Selection.js | JavaScript | mit | 12,649 |
app.controller('mainCtrl', function($scope) {
});
| FroeMic/CDTM-Backend-Workshop-WT2016 | solutions/server/server-13-register-user/server/static/app/controllers/mainCtrl.js | JavaScript | mit | 51 |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _filter2 = require('./internal/filter');
var _filter3 = _interopRequireDefault(_filter2);
var _eachOf = require('./eachOf');
var _eachOf2 = _interopRequireDefault(_eachOf);
var _awaitify = require('./internal/awaitify');
var _awai... | ChromeDevTools/devtools-node-modules | third_party/node_modules/karma-typescript/node_modules/async/select.js | JavaScript | apache-2.0 | 1,787 |
import PropTypes from 'prop-types';
import React from 'react';
import Icon from '../../Icon/Icon';
import TooltipEntity from '../decorators/TooltipEntity';
import { STRINGS } from '../../../config/wagtailConfig';
const LINK_ICON = <Icon name="link" />;
const BROKEN_LINK_ICON = <Icon name="warning" />;
const MAIL_IC... | torchbox/wagtail | client/src/components/Draftail/decorators/Link.js | JavaScript | bsd-3-clause | 1,709 |
/**
* @license
* Copyright The Closure Library Authors.
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @fileoverview A simple mock class for imitating HTML5 MessageEvents.
*/
goog.setTestOnly('goog.testing.messaging.MockMessageEvent');
goog.provide('goog.testing.messaging.MockMessageEvent');
goog.require('goog... | scheib/chromium | third_party/google-closure-library/closure/goog/testing/messaging/mockmessageevent.js | JavaScript | bsd-3-clause | 2,920 |
/* jshint -W084 */
angular.module('angular-login.mock', ['ngMockE2E'])
.factory('delayHTTP', function ($q, $timeout) {
return {
request: function (request) {
var delayedResponse = $q.defer();
$timeout(function () {
delayedResponse.resolve(request);
}, 700);
return delayedResponse.p... | colthreepv/angular-login-example | src/mockhttp.js | JavaScript | mit | 5,997 |
/*
* Copyright (C) 2015 Actor LLC. <https://actor.im>
*/
import { EventEmitter } from 'events';
import ActorClient from 'utils/ActorClient';
import DialogStore from 'stores/DialogStore'
import { register, waitFor } from 'dispatcher/ActorAppDispatcher';
import { ActionTypes, AsyncActionStates } from 'constants/Acto... | dsaved/africhat-platform-0.1 | actor-apps/app-web/src/app/stores/GroupStore.js | JavaScript | mit | 1,454 |
/* */
var $def = require('./$.def'),
$values = require('./$.object-to-array')(false);
$def($def.S, 'Object', {values: function values(it) {
return $values(it);
}});
| megadreams/Aurelia | sample_application/jspm_packages/npm/core-js@1.2.1/modules/es7.object.values.js | JavaScript | cc0-1.0 | 176 |
/*! LazyYT (lazy load Youtube videos plugin) - v0.3.4 - 2014-06-30
* Usage: <div class="lazyYT" data-youtube-id="laknj093n" ratio="16:9" data-parameters="rel=0">loading...</div>
* Copyright (c) 2014 Tyler Pearson; Licensed MIT */
;(function ($) {
'use strict';
function setUp($el) {
var width = $el.da... | andrewroth/discourse | plugins/lazyYT/assets/javascripts/lazyYT.js | JavaScript | gpl-2.0 | 2,394 |
/**
* Constructs a new label mark with default properties. Labels are not typically
* constructed directly, but by adding to a panel or an existing mark via
* {@link pv.Mark#add}.
*
* @class Represents a text label, allowing textual annotation of other marks or
* arbitrary text within the visualization. The chara... | songjio/j_asset_glpi_kr | plugins/mreporting/lib/protovis/src/mark/Label.js | JavaScript | gpl-2.0 | 4,934 |
var searchData=
[
['tan',['tan',['../a00151.html#gab3ae890c38b7d3aa4d5e00998fd296b2',1,'glm']]],
['tanh',['tanh',['../a00151.html#ga234e904a0075f88654a594b5f837711f',1,'glm']]],
['third',['third',['../a00162.html#ga3077c6311010a214b69ddc8214ec13b5',1,'glm']]],
['three_5fover_5ftwo_5fpi',['three_over_two_pi',['.... | sTorro/CViewGL | extern/glm-0.9.7.1/doc/api/search/functions_11.js | JavaScript | gpl-3.0 | 2,205 |
var namespacegui_1_1controls_1_1gauge =
[
[ "Gauge", "d3/d49/classgui_1_1controls_1_1gauge_1_1Gauge.html", "d3/d49/classgui_1_1controls_1_1gauge_1_1Gauge" ]
]; | ccgreen13/gui2py | doc/html/db/dbd/namespacegui_1_1controls_1_1gauge.js | JavaScript | lgpl-3.0 | 163 |
/*======================================================
************ Messages ************
======================================================*/
var Messages = function (container, params) {
var defaults = {
autoLayout: true,
newMessagesFirst: false,
scrollMessages: true,
scr... | kevinzhuwenyu/MUST_WAKE_UP | www/lib/framework7/src/js/framework7/messages.js | JavaScript | apache-2.0 | 8,905 |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/// Ecma International makes this code available under the terms and conditions set
/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
/// "Use Terms"). Any redistribution of this code must retain the above
/// copyrigh... | hippich/typescript | tests/Fidelity/test262/suite/ch13/13.2/13.2-21-s.js | JavaScript | apache-2.0 | 819 |
'use strict';
var video = document.querySelector('video');
var data = document.querySelector('p#data');
var start = Date.now(); // for browsers that don't support window.performance
function handleEvent(e) {
// e.timeStamp has different precision in Firefox v Chrome
var time;
if (window.performance) {
time ... | ptool/simpl | video/events/js/main.js | JavaScript | apache-2.0 | 1,765 |
/*
Highcharts JS v2.2.5 (2012-06-08)
(c) 2009-2011 Torstein H?nsi
License: www.highcharts.com/license
*/
(function (g, v) {
var o = g.each, s = g.extend, p = g.merge, w = g.map, j = g.pick, q = g.pInt, i = g.getOptions().plotOptions, k = g.seriesTypes, t = g.Series, m = function () {
}, r = g.Axis.prototy... | MahabalixOpen/yii-unchained | yii-unchained/testdrive/protected/extensions/yiiwheels/widgets/highcharts/assets/js/highcharts-more.js | JavaScript | bsd-2-clause | 11,676 |
// Copyright 2008 Google Inc. All Rights Reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions a... | dfdeshom/v8onpython | v8-src/test/mjsunit/extra-arguments.js | JavaScript | bsd-3-clause | 2,066 |
/** @license React v16.6.1
* react-dom-unstable-native-dependencies.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
'use strict';
(function (global, factory) {
t... | RickFrom1987/rickfrom1987.com | node_modules/react-dom/umd/react-dom-unstable-native-dependencies.development.js | JavaScript | mit | 62,059 |
/**!
* MixItUp v3.0.0
* A high-performance, dependency-free library for animated filtering, sorting and more
* Build 47693865-4fa6-4558-8a21-d91e4c4dd7c8
*
* @copyright Copyright 2014-2016 KunkaLabs Limited.
* @author KunkaLabs Limited.
* @link https://www.kunkalabs.com/mixitup/
*
* @license Commerci... | holtkamp/cdnjs | ajax/libs/mixitup/3.0.0/mixitup.js | JavaScript | mit | 339,848 |
// Karma configuration
// Generated on Sat Dec 14 2013 01:54:41 GMT+0100 (CET)
module.exports = function(config) {
'use strict';
config.set({
// base path, that will be used to resolve files and exclude
basePath: '..',
// frameworks to use
frameworks: ['jasmine'],
// list of files / pattern... | Kroid/ui-ace | test/karma.conf.js | JavaScript | mit | 2,070 |
function testEval(x, y) {
x = 5;
eval("arguments[0] += 10");
assertEq(x, 15);
}
for (var i = 0; i < 5; i++)
testEval(3);
function testEvalWithArguments(x, y) {
eval("arguments[0] += 10");
assertEq(arguments[y], 13);
}
for (var i = 0; i < 5; i++)
testEvalWithArguments(3, 0);
function testNestedEval(x, y... | JasonGross/mozjs | js/src/jit-test/tests/arguments/dynamicBindings.js | JavaScript | mpl-2.0 | 576 |
/*
* jQuery UI Tabs 1.8.2
*
* Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses.
*
* http://docs.jquery.com/UI/Tabs
*
* Depends:
* jquery.ui.core.js
* jquery.ui.widget.js
*/
(function($) {
var tabId... | safarijv/mwEmbed | resources/jquery.ui/jquery.ui.tabs.js | JavaScript | agpl-3.0 | 20,601 |
// Copyright 2008 The Closure Library 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 requ... | SevInf/IEDriver | third_party/closure/goog/ui/tablesorter.js | JavaScript | apache-2.0 | 9,109 |
/*************************************************************
*
* MathJax/localization/kn/kn.js
*
* Copyright (c) 2009-2017 The MathJax Consortium
*
* 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 ... | PipeBlack/PipeBlack.github.io | unpacked/localization/kn/kn.js | JavaScript | apache-2.0 | 3,331 |
(function (enyo, scope) {
/**
* {@link onyx.Toolbar} is a horizontal bar containing controls used to perform
* common UI actions.
*
* A toolbar customizes the styling of the controls it hosts, including buttons,
* icons, and inputs.
*
* ```
* {kind: 'onyx.Toolbar', components: [
* {kind: 'onyx.Button', cont... | mcanthony/onyx | source/Toolbar.js | JavaScript | apache-2.0 | 1,064 |
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This is an additional script used to separately count loads from
// prefetch_page2.html.
| ric2b/Vivaldi-browser | chromium/chrome/test/data/prerender/prefetch2.js | JavaScript | bsd-3-clause | 262 |
import ValidationEngine from 'ghost/mixins/validation-engine';
import NProgressSaveMixin from 'ghost/mixins/nprogress-save';
import SelectiveSaveMixin from 'ghost/mixins/selective-save';
var User = DS.Model.extend(NProgressSaveMixin, SelectiveSaveMixin, ValidationEngine, {
validationType: 'user',
uuid: DS.att... | dbanda/dalitsobanda.com | ghostgithub/core/client/models/user.js | JavaScript | mit | 3,566 |
/*
* Spanish translation
* @author Alex Vavilin <xand@xand.es>
* @version 2010-09-22
*/
(function($) {
if (elFinder && elFinder.prototype.options && elFinder.prototype.options.i18n)
elFinder.prototype.options.i18n.es = {
/* errors */
'Root directory does not exists' : 'El directorio raíz no ex... | elias63/e_institut | web/bundles/eiadministration/js/components/elfinder/js/i18n/elfinder.es.js | JavaScript | mit | 11,297 |
import isBlank from 'ember-metal/is_blank';
/**
A value is present if it not `isBlank`.
```javascript
Ember.isPresent(); // false
Ember.isPresent(null); // false
Ember.isPresent(undefined); // false
Ember.isPresent(''); // false
Ember.isPresent([]); ... | benstoltz/ember.js | packages/ember-metal/lib/is_present.js | JavaScript | mit | 834 |
URLs = new Mongo.Collection("urls");
if (typeof String.prototype.startsWith != 'function') {
String.prototype.startsWith = function (str){
return this.slice(0, str.length) == str;
};
} | AppMill/AppMillSLCLab3 | end/both/collections.js | JavaScript | mit | 192 |
jQuery(document).ready( function($) {
$('#tml-options-user-links tbody').wpList( {
addBefore: function( s ) {
var cls = $(s.target).attr('class').split(':'),
role = cls[1].split('-')[0];
s.what = role + '-link';
return s;
},
addAfter: function( xml, s ) {
var cls = $(s.target).attr('clas... | alogic/Vitamin-Vapor-Site | wp-content/plugins/theme-my-login/modules/custom-user-links/admin/js/custom-user-links-admin.js | JavaScript | gpl-2.0 | 929 |
/**
* @file
* Drupal Image plugin.
*
* This alters the existing CKEditor image2 widget plugin to:
* - require a data-entity-type and a data-entity-uuid attribute (which Drupal
* uses to track where images are being used)
* - use a Drupal-native dialog (that is in fact just an alterable Drupal form
* like an... | soovorov/d8intranet | drupal/core/modules/ckeditor/js/plugins/drupalimage/plugin.js | JavaScript | gpl-2.0 | 10,193 |
/* For reference read the Jasmine and Sinon docs
* Jasmine docs: http://pivotal.github.io/jasmine/
* Sinon docs: http://sinonjs.org/docs/
*/
/* global describe, beforeEach, afterEach, it, expect, sinon, spyOn, jasmine */
describe('win10-welcome.js', function() {
'use strict';
beforeEach(function() {
... | SujaySKumar/bedrock | tests/unit/spec/firefox/win10-welcome.js | JavaScript | mpl-2.0 | 7,846 |
/* */
(function(process) {
if (!document.createElement('canvas').getContext) {
(function() {
var m = Math;
var mr = m.round;
var ms = m.sin;
var mc = m.cos;
var abs = m.abs;
var sqrt = m.sqrt;
var Z = 10;
var Z2 = Z / 2;
function getContext() {
return... | IsmailM/sequenceserver | public/vendor/npm/webshim@1.15.8/src/shims/excanvas.js | JavaScript | agpl-3.0 | 22,520 |
var interfaceCqrs_1_1Services_1_1IServiceParameterResolver =
[
[ "ResolveName", "interfaceCqrs_1_1Services_1_1IServiceParameterResolver_a37c4b53616192e4e2f15ab4661ab99ae.html#a37c4b53616192e4e2f15ab4661ab99ae", null ],
[ "TryResolveType", "interfaceCqrs_1_1Services_1_1IServiceParameterResolver_a31c82a00b192b877... | Chinchilla-Software-Com/CQRS | wiki/docs/4.2/html/interfaceCqrs_1_1Services_1_1IServiceParameterResolver.js | JavaScript | lgpl-2.1 | 387 |
(function (root, factory) {
'use strict';
if (typeof define === 'function' && define.amd) {
define(['empower', 'assert'], factory);
} else if (typeof exports === 'object') {
factory(require('../lib/empower'), require('assert'));
} else {
factory(root.empower, root.assert);
}
... | purepennons/promises-book | node_modules/power-assert/node_modules/empower/test/not_espowered_case_test.js | JavaScript | mit | 3,537 |
define("mod_data/saveaspreset",["exports","core_form/modalform","core/notification","core/str","core/toast"],(function(_exports,_modalform,_notification,_str,_toast){function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}
/**
* Javascript module for saving a database as a preset.
*
*... | timhunt/moodle | mod/data/amd/build/saveaspreset.min.js | JavaScript | gpl-3.0 | 1,518 |
defineSuite([
'Core/loadArrayBuffer',
'Core/Request',
'Core/RequestErrorEvent',
'Core/RequestScheduler'
], function(
loadArrayBuffer,
Request,
RequestErrorEvent,
RequestScheduler) {
'use strict';
var fakeXHR;
beforeEach(func... | JuanMaSuarez/GeoJSON_Cesium | Specs/Core/loadArrayBufferSpec.js | JavaScript | apache-2.0 | 5,401 |