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 |
|---|---|---|---|---|---|
import{LineLinkedShadow}from"./LineLinkedShadow";import{Color}from"./Color";export class LineLinked{constructor(){this.blink=!1,this.color=new Color,this.consent=!1,this.distance=100,this.enable=!1,this.opacity=1,this.shadow=new LineLinkedShadow,this.width=1}load(o){void 0!==o&&(void 0!==o.blink&&(this.blink=o.blink),v... | cdnjs/cdnjs | ajax/libs/tsparticles/1.12.9/Classes/Options/Particles/LineLinked.min.js | JavaScript | mit | 663 |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.isPrivate = exports.isChild = exports.isParent = exports.isModule = exports.isView = exports.isElement = exports.isCollection = exports.isAddon = exports.isType = exports.isMeta = exports.TYPES = undefined;
var _startsWith2 = requi... | jessicaappelbaum/cljs-update | node_modules/semantic-ui-react/dist/commonjs/lib/META.js | JavaScript | epl-1.0 | 3,230 |
/*******************************************************************************
* @license
* Copyright (c) 2012 VMware, Inc. All Rights Reserved.
* THIS FILE IS PROVIDED UNDER THE TERMS OF THE ECLIPSE PUBLIC LICENSE
* ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE
* CONSTITUTES RECIPIENTS ACCEP... | sirspock/scripted_token | server/jsdepend/parser.js | JavaScript | epl-1.0 | 1,801 |
import mock$data from '../core.js';
import $data from 'jaydata/core';
import { EntityContextTests } from './T1.js';
import { T3 } from './T3.js';
// T4_CrossProviderTests();
EntityContextTests({ name: 'oData', oDataServiceHost: "http://localhost:9000/odata", serviceUrl: 'http://localhost:9000/odata', dbCreation: $d... | Malyngo/jaydata | test/unit-tests/T2.js | JavaScript | gpl-2.0 | 2,046 |
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/SyntaxHighlighter
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
*
* @version
* 3.0.83 (July 02 2010)
*
* @copyright
* Copyright (C) 2004-2010 Alex Gorbatchev.
*
* @lic... | beck24/KnownSyntaxHighlight | vendor/syntaxhighlighter/scripts/shBrushErlang.js | JavaScript | gpl-2.0 | 1,714 |
require("source-map-support").install();
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
... | wmkcc/uiams | build/server.js | JavaScript | gpl-2.0 | 50,686 |
/**
* @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'a11yhelp', 'pl', {
title: 'Instrukcje dotyczące dostępności',
contents: 'Zawartość pomocy. Wciśnij ESC, aby zamknąć to okno.',
le... | SeeyaSia/www | web/libraries/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js | JavaScript | gpl-2.0 | 5,500 |
/**
* Copyright 2014 Red Hat, Inc.
*
* This software is licensed to you under the GNU General Public
* License as published by the Free Software Foundation; either version
* 2 of the License (GPLv2) or (at your option) any later version.
* There is NO WARRANTY for this software, express or implied,
* including t... | ShimShtein/katello | engines/bastion_katello/test/activation-keys/details/activation-key-add-subscriptions.controller.test.js | JavaScript | gpl-2.0 | 20,341 |
/*! jQuery UI - v1.10.3 - 2013-09-10
* http://jqueryui.com
* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
jQuery(function(e){e.datepicker.regional.es={closeText:"Cerrar",prevText:"<Ant",nextText:"Sig>",currentText:"Hoy",monthNames:["Enero","Febrero","Marzo","Abril","Mayo","Junio",... | eblipsky/NOW-web | laravel/public/jquery/development-bundle/ui/minified/i18n/jquery.ui.datepicker-es.min.js | JavaScript | gpl-2.0 | 813 |
(function() {
var button_name = 'simple_tooltips'; //set button name
tinymce.create('tinymce.plugins.'+button_name, {
init : function(ed, url) {
ed.addButton(button_name, {
title : 'Add a Tooltip', //set button label
image : url+'/icon.png', //set icon filename (20 X 20px). put icon in same fold... | lonewolf/rot | wp-content/plugins/simple-tooltips/editor_plugin.js | JavaScript | gpl-2.0 | 1,143 |
jQuery(document).ready(function() {
tinymce.create('tinymce.plugins.yasr_plugin', {
init : function(ed, url) {
// Register command for when button is clicked
ed.addCommand('yasr_insert_shortcode', function() {
jQuery('#yasr-tinypopup-form').dialog({
... | ProyectosUNED/ProifedBlog | wp-content/plugins/yet-another-stars-rating/js/addButton_tinymcs.js | JavaScript | gpl-2.0 | 1,639 |
'user strict';
module.exports = {
Server : require('./server')
}; | vincent-tr/mylife-home-studio | lib/web/index.js | JavaScript | gpl-3.0 | 68 |
;(function() {
'use strict';
sigma.utils.pkg('sigma.canvas.edgehovers');
/**
* This hover renderer will display the edge with a different color or size.
* It will also display the label with a background.
*
* @param {object} edge The edge object.
* @param {object} ... | mv15/graph-visualization | src/plugins/sigma.renderers.linkurious/canvas/sigma.canvas.edgehovers.curvedArrow.js | JavaScript | gpl-3.0 | 4,619 |
var gri__interleaved__short__to__complex_8h =
[
[ "gri_interleaved_short_to_complex", "gri__interleaved__short__to__complex_8h.html#af1c7c784fed964841bd252bb8575fb61", null ]
]; | aviralchandra/Sandhi | build/gr36/docs/doxygen/html/gri__interleaved__short__to__complex_8h.js | JavaScript | gpl-3.0 | 181 |
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'codemirror', 'ms', {
toolbar: 'Sumber'
});
| zilgrg/opencart | upload/admin/view/journal2/lib/ckeditor/plugins/codemirror/lang/ms.js | JavaScript | gpl-3.0 | 216 |
.pragma library
.import QtQuick 2.4 as JSQtQuick
function foo(url)
{
}
| geminy/aidear | oss/qt/qt-everywhere-opensource-src-5.9.0/qtdeclarative/tests/auto/qml/qmllint/data/QTBUG-45916.js | JavaScript | gpl-3.0 | 72 |
/*
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 | plugins/pencilblue/controllers/article.js | JavaScript | gpl-3.0 | 1,926 |
export default class HelpBlockDirective {
constructor ($parse, $compile) {
this.scope = {}
this.$compile = $compile
this.$parse = $parse
this.restrict = 'E'
this.replace = true
this.require = '^ngModel'
this.showErrors = true
this.controller = () => {
}
this.controllerAs = 'hc'... | ClaroBot/Distribution | main/core/Resources/modules/form/HelpBlock/HelpBlockDirective.js | JavaScript | gpl-3.0 | 1,660 |
module.exports = {
path: 'analytic',
getComponent(nextState, callback) {
callback(null, require('../../component/options_analytic'));
}
}
| jerrybendy/firekylin | www/static/src/admin/page/options/analytic.js | JavaScript | gpl-3.0 | 148 |
define([],function(){
"use strict";
var utils = {};
utils.makeUntypedArrayCopy = function(array){
var newArray = new Array(array.length);
for (var i = 0, li = array.length; i < li; i++){
if (typeof array[i] === "object" && array[i] != null)
newArray[i] = this.m... | Belthazor2008/googulator | public_html/js/CopyUtils.js | JavaScript | gpl-3.0 | 818 |
require.def('Carousel', function () {
return function Carousel(service) {
this.service = service;
this.someType = 'Carousel';
};
});
require.def('app', ['Carousel'], function () {
});
| tfe/cloud9 | support/ace/support/requirejs/tests/priority/priorityWithDeps/script/req/app.js | JavaScript | gpl-3.0 | 214 |
/* BasicUpdate-spec.js
*
* copyright (c) 2010-2022, Christian Mayer and the CometVisu contributers.
*
* 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... | ChristianMayer/CometVisu | source/test/karma/ui/structure/common/BasicUpdate-spec.js | JavaScript | gpl-3.0 | 3,303 |
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
// @flow
declare var describe: (name: string, func: () => void) => void;
declare var test: (desc: string, func: ... | jbhoosreddy/debugger.html | src/reducers/tests/quick-open.spec.js | JavaScript | mpl-2.0 | 2,452 |
/**
* Mailvelope - secure email with OpenPGP encryption for Webmail
* Copyright (C) 2015 Mailvelope GmbH
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License version 3
* as published by the Free Software Foundation.
*
* This progr... | mommel/mailvelope | common/lib/controller/privateKey.controller.js | JavaScript | agpl-3.0 | 8,385 |
/* global angular */
(function () {
'use strict';
angular.module('cloudbrain.home')
.controller('HomeCtrl', ['$scope','$http','$interval','$log','apiService', 'API_URL', '$state',
function ($scope , $http , $interval , $log , apiService , dataService, API_URL, $state) {
$scope.model = {
deviceIds: ... | octopicorn/cloudbrain | cloudbrain/frontend/home/home.controller.js | JavaScript | agpl-3.0 | 1,930 |
// Copyright (c) 2018, Frappe Technologies Pvt. Ltd. and contributors
// For license information, please see license.txt
frappe.ui.form.on('Blanket Order', {
onload: function(frm) {
frm.trigger('set_tc_name_filter');
},
setup: function(frm) {
frm.add_fetch("customer", "customer_name", "customer_name");
frm.a... | gsnbng/erpnext | erpnext/manufacturing/doctype/blanket_order/blanket_order.js | JavaScript | agpl-3.0 | 2,307 |
/**
* @file common/js/xe.min.js
* @author NHN (developers@xpressengine.com)
* @brief XE Common JavaScript
**/
(function(a){function b(){return function(){var g=this;a.isArray(this._plugins)&&(this._plugins=[]);this._messages?this._messages={}:this._binded_fn={};a.each(this,function(c,b){if(!a.isFunction(b)||!/^A... | zzamtiger/xe | common/js/xe.min.js | JavaScript | lgpl-2.1 | 30,691 |
/**
* Plain console sink
* Useful when we follow js console standard.
*/
// if node.js : use amdefine (add it with npm)
if (typeof define !== 'function') { var define = require('amdefine')(module); }
define([
'./utils',
'./enricher_console_affinity'
],
function(utils, ConsoleAffinityEnricher) {
'use strict';
... | Offirmo/html_tests | tosort/2021/logator/lib/sink_plain_console.js | JavaScript | unlicense | 825 |
/***************************************************************************************
Require modules
**************************************************************************************/
var exec = require('child_process').exec;
var fs = require('fs');
var ts = require('tail-stream');
var chalk = require('ch... | AdrianHome/AdrianSmartAssistant | index.js | JavaScript | apache-2.0 | 12,768 |
console.log("XXXXXXXXXXXXXXXxWidget seems to have loaded");
function hello() {
return "Hello world";
}
function init() {
console.log("XXXXXXXXXXXXXXXxInitializing");
Ozone.eventing.clientInitialize({
name: 'hello',
fn: hello
});
}
| ozoneplatform/owf-framework | web-app/js-doh/Ozone/kernel/tests/widget1.js | JavaScript | apache-2.0 | 261 |
import { ChartInternal } from './core';
import { isValue, isDefined, diffDomain, notEmpty } from './util';
ChartInternal.prototype.getYDomainMin = function (targets) {
var $$ = this, config = $$.config,
ids = $$.mapToIds(targets), ys = $$.getValuesAsIdKeyed(targets),
j, k, baseId, idsInGroup, id, h... | DavidS/community_management | web_libraries/c3-0.7.15/src/domain.js | JavaScript | apache-2.0 | 11,232 |
angular.module('data')
.service('iterationService', ['url', '$http', '$q', 'filterFilter', 'todoService', 'filterFilter',
'todolistService', 'iterationDataService', 'dataProxy', 'storyService', 'bugService',
function (url, $http, $q, filterFilter, todoService, filterFilter... | idear1203/onboard | frontend/kernel/src/main/resources/static/js/ng-modules/data/iteration-service.js | JavaScript | apache-2.0 | 5,170 |
//// [w1.js]
define(["require", "exports"], function(require, exports) {
});
//// [exporter.js]
define(["require", "exports"], function(require, exports) {
});
//// [consumer.js]
define(["require", "exports"], function(require, exports) {
function w() {
return { name: 'value' };
}
e... | hippich/typescript | tests/baselines/reference/exportImportNonInstantiatedModule2.js | JavaScript | apache-2.0 | 569 |
'use strict';
// Load modules
// Declare internals
const internals = {};
exports = module.exports = function (options) {
return {
protocol: 'oauth2',
useParamsAuth: true,
auth: 'https://www.dropbox.com/1/oauth2/authorize',
token: 'https://api.dropbox.com/1/oauth2/token',
... | logsearch/logsearch-for-cloudfoundry | src/kibana-cf_authentication/node_modules/bell/lib/providers/dropbox.js | JavaScript | apache-2.0 | 521 |
define( [
'dojo/_base/declare',
'dojo/_base/lang',
'./RequestWorker'
],
function( declare, lang, RequestWorker ) {
var dlog = function(){ console.log.apply(console, arguments); };
return declare( null,
/**
* @lends JBrowse.Store.BigWig.Window.prototype
*/
{
... | wurmlab/afra | www/JBrowse/Store/SeqFeature/BigWig/Window.js | JavaScript | apache-2.0 | 2,617 |
/// Copyright (c) 2009 Microsoft Corporation
///
/// 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 and
/// ... | hnafar/IronJS | Src/Tests/ietestcenter/chapter15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-181.js | JavaScript | apache-2.0 | 2,182 |
'use strict';
var express = require('express');
var router = express.Router();
require('./local/passport');
router.use('/local', require('./local'));
module.exports = router;
| malixsys/AppDirectBlog | server/auth/index.js | JavaScript | apache-2.0 | 179 |
/*
* Copyright (c) 2013 Adobe Systems Incorporated. All rights reserved.
*
* 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... | Jw00/WATT | libs/brackets-server/lib/domains/DomainManager.js | JavaScript | apache-2.0 | 13,746 |
var gSelectedIndex = -1;
var gSelectedID = -1;
var gMatches = new Array();
var gLastText = "";
var ROW_COUNT = 20;
var gInitialized = false;
var DEFAULT_TEXT = "search developer docs";
var HAS_SEARCH_PAGE = false;
function set_row_selected(row, selected)
{
var c1 = row.cells[0];
// var c2 = row.cells[1];
if... | kwf2030/doclava | src/main/resources/assets/templates/assets/search_autocomplete.js | JavaScript | apache-2.0 | 8,967 |
// @flow
import { _SET_APP_STATE_LISTENER, APP_STATE_CHANGED } from './actionTypes';
/**
* Sets the listener to be used with React Native's AppState API.
*
* @param {Function} listener - Function to be set as the change event listener.
* @protected
* @returns {{
* type: _SET_APP_STATE_LISTENER,
* liste... | jitsi/jitsi-meet | react/features/mobile/background/actions.js | JavaScript | apache-2.0 | 981 |
// Copyright 2014 Samsung Electronics Co., Ltd.
//
// 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 la... | LeeHayun/jerryscript | tests/jerry-test-suite/15/15.08/15.08.02/15.08.02.06/15.08.02.06-006.js | JavaScript | apache-2.0 | 647 |
/**
* @license
* Copyright 2020 The FOAM Authors. All Rights Reserved.
* http://www.apache.org/licenses/LICENSE-2.0
*/
foam.CLASS({
package: 'foam.nanos.session',
name: 'LocalSetting',
properties: [
{
name: 'id',
class: 'String'
},
{
name: 'value',
class: 'String'
}
... | jacksonic/vjlofvhjfgm | src/foam/nanos/session/LocalSetting.js | JavaScript | apache-2.0 | 325 |
/**
* 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... | radicalbit/ambari | ambari-web/app/data/configs/services/zookeeper_properties.js | JavaScript | apache-2.0 | 1,804 |
'use strict';
exports.SpriteSpeed = {
VERY_SLOW: 2,
SLOW: 3,
LITTLE_SLOW: 4,
NORMAL: 5,
LITTLE_FAST: 6,
FAST: 8,
VERY_FAST: 12,
};
exports.SpriteSize = {
VERY_SMALL: 0.5,
SMALL: 0.75,
NORMAL: 1,
LARGE: 1.5,
VERY_LARGE: 2
};
exports.Direction = {
NONE: 0,
NORTH: 1,
EAST: 2,
SOUTH: 4,
... | rvarshney/code-dot-org | apps/src/studio/constants.js | JavaScript | apache-2.0 | 13,739 |
/*
* Copyright 2014 Space Dynamics Laboratory - Utah State University Research Foundation.
*
* 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... | tyler-travis/openstorefront | client/openstorefront/app/scripts/controllers/admin/application_management/system.js | JavaScript | apache-2.0 | 17,477 |
var AWS = require('../core');
var EventEmitter = require('events').EventEmitter;
require('../http');
/**
* @api private
*/
AWS.XHRClient = AWS.util.inherit({
handleRequest: function handleRequest(httpRequest, httpOptions, callback, errCallback) {
var self = this;
var endpoint = httpRequest.endpoint;
va... | justinrains/dukestrivia | src/node_modules/aws-sdk/lib/http/xhr.js | JavaScript | apache-2.0 | 3,943 |
// Note: Captcha is verified client-side
$.register({
rule: {
host: /^(www\.)?boxcash\.net$/,
path: /^\/\w+$/,
},
ready: function () {
'use strict';
// JSON.parse() is not used because their JSON is malformed
var m = $.searchScripts(/\'\/ajax_link\.php\',\{key:'(\w+)',url:'(\d+)',t:'(\d+)',r:... | tosunkaya/adsbypasser | src/sites/link/boxcash.net.js | JavaScript | bsd-2-clause | 986 |
/*
* Copyright 2012-present, Polis Technology Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights for non-commercial use can be found in the PATENTS file
* in the sam... | filiperibeiro77/polisClientAdmin | src/components/framework/colors.js | JavaScript | bsd-3-clause | 384 |
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* The examp... | mrspeaker/react-native | Examples/UIExplorer/js/AsyncStorageExample.js | JavaScript | bsd-3-clause | 3,614 |
/**
* 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.
*/
'use strict';
module.exports = require.requireActual('base62');
| cpojer/fbjs | packages/fbjs/src/crypto/__mocks__/base62.js | JavaScript | bsd-3-clause | 249 |
/*
* Copyright 2012-present, Polis Technology Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights for non-commercial use can be found in the PATENTS file
* in the sam... | filiperibeiro77/polisClientAdmin | src/components/conversation-admin/summary-group.js | JavaScript | bsd-3-clause | 2,960 |
// ==========================================================================
// Project: SproutCore - JavaScript Application Framework
// Copyright: ©2006-2011 Strobe Inc. and contributors.
// Portions ©2008-2011 Apple Inc. All rights reserved.
// License: Licensed under MIT license (see license.js)
// ... | darkrsw/safe | tests/clone_detector_tests/sproutcore/frameworks/core_foundation/tests/system/render_context/element.js | JavaScript | bsd-3-clause | 1,397 |
/*
* Copyright (C) 2008 Apple 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:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditio... | highweb-project/highweb-webcl-html5spec | third_party/WebKit/Source/devtools/front_end/ui_lazy/DataGrid.js | JavaScript | bsd-3-clause | 61,392 |
function Processor(options) {
options = options || {};
this.processor = {};
this.persistent = options.persist;
}
Processor.prototype.setStrategy = function(stringProcessor) {
this.processor = stringProcessor;
};
Processor.prototype.init = function(ctx) {
this.processor.init(ctx);
};
Processor.prototype.pro... | jordansmith42/ember-widgets-addon | node_modules/ember-cli-qunit/node_modules/broccoli-jshint/node_modules/broccoli-persistent-filter/lib/processor.js | JavaScript | mit | 473 |
YUI.add('datatable-datasource', function (Y, NAME) {
/**
* Plugs DataTable with DataSource integration.
*
* @module datatable
* @submodule datatable-datasource
*/
/**
* Adds DataSource integration to DataTable.
* @class Plugin.DataTableDataSource
* @extends Plugin.Base
*/
function DataTableDataSource() {
... | marclundgren/marclundgren.github.io | node-checkpoints/build/datatable-datasource/datatable-datasource.js | JavaScript | mit | 5,257 |
"use strict";
/*global alert: true, ODSA */
(function ($) {
function randomGraphGen(graph, numberOfNodes, numberOfEdges) {
var one, two;
var nodes =[];
//var g = jsav.ds.graph({width: 600, height: 400, directed: true});
for(var i = 0; i < numberOfNodes; i++) {
graph.addNode(i);
console.log("node ... | hosamshahin/OpenDSA | AV/graphUtils.js | JavaScript | mit | 1,004 |
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
//>>group: exclude
define([
"require",
"./widgets/loader",
"./events/navigate",
"./navigation/path",
"./navigation/history",
"./navigation/navigator",
"./navigation/method",
"./transitions/handlers",
"./transitions/visuals",
"./jquery.mobile.navig... | ericsteele/retrospec.js | test/input/projects/jquery-mobile/rev-1.4.0.x-143bdae/js/jquery.mobile.js | JavaScript | mit | 1,616 |
/*! algoliasearch 3.32.1 | © 2014, 2015 Algolia SAS | github.com/algolia/algoliasearch-client-js */
(function(f){var g;if(typeof window!=='undefined'){g=window}else if(typeof self!=='undefined'){g=self}g.ALGOLIA_MIGRATION_LAYER=f()})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o... | sufuf3/cdnjs | ajax/libs/algoliasearch/3.32.1/algoliasearch.angular.js | JavaScript | mit | 211,935 |
define(['baseTestSetup', 'angular'], function(baseTestSetup, angular) {
'use strict';
describe('trackr.administration.employees.listController', function() {
var ListController, scope, state;
baseTestSetup();
beforeEach(inject(function($controller, $rootScope) {
scope = $root... | agilemobiledev/trackr-frontend | test/modules/trackr/administration/employees/listControllerSpec.js | JavaScript | mit | 916 |
module.exports = [
[/require.include\(\) is deprecated and will be removed soon/],
[/require.include\(\) is deprecated and will be removed soon/]
];
| webpack/webpack | test/cases/parsing/typeof/warnings.js | JavaScript | mit | 151 |
var chai = require('chai')
var chaiString = require('chai-string')
var chaiAsPromised = require('chai-as-promised')
exports.config = {
specs: [__dirname + '/specs/stale.spec.js'],
capabilities: [{
browserName: 'phantomjs'
}],
mochaOpts: {
compilers: ['js:babel/register'],
timeou... | sebastiendavid/webdriverio | test/fixtures/stale.wdio.conf.js | JavaScript | mit | 526 |
var fs = require('fs');
if (process.argv.length !== 4) {
console.log("USAGE: node convert.js infile outfile");
process.exit(1);
}
var inFile = process.argv[2],
outFile = process.argv[3];
var inData = fs.readFileSync(inFile, 'utf8');
var lines = inData.split("\n");
var out = "create_collection('us_cities'... | JerrySievert/mongolike | data/convert.js | JavaScript | mit | 712 |
/*globals describe, before, beforeEach, it*/
var testUtils = require('./testUtils'),
should = require('should'),
sinon = require('sinon'),
when = require('when'),
path = require('path'),
_ = require('underscore'),
// Stuff we are testing
Ghost = require('../../ghost');
describe("Ghost API"... | od3n/ghost-on-heroku | core/test/unit/ghost_spec.js | JavaScript | mit | 6,073 |
'use strict';
var React = require('react');
var PureRenderMixin = require('react-addons-pure-render-mixin');
var SvgIcon = require('../../svg-icon');
var ToggleStar = React.createClass({
displayName: 'ToggleStar',
mixins: [PureRenderMixin],
render: function render() {
return React.createElement(
Svg... | dominikgar/flask-search-engine | node_modules/material-ui/lib/svg-icons/toggle/star.js | JavaScript | mit | 522 |
var Marionette = require('backbone.marionette');
// TODO: move to a dedicated component
var mapping = {
'ar': 'AE',
'be': 'BY',
'bg': 'BG',
'ca': 'ES',
'cs': 'CZ',
'da': 'DK',
'de': 'DE',
'el': 'GR',
'en': 'GB',
'es': 'ES',
'et': 'EE',
'fi': 'FI',
'fr': 'FR',
'ga': 'IE',
'hi': 'IN',
'hr... | Nedeas/openl10n | client/src/project/views/language-item-view.js | JavaScript | mit | 1,265 |
var files =
[
[ "MyoKit.h", "_myo_kit_8h_source.html", null ],
[ "TLMAccelerometerEvent.h", "_t_l_m_accelerometer_event_8h_source.html", null ],
[ "TLMAngle.h", "_t_l_m_angle_8h_source.html", null ],
[ "TLMArmSyncEvent.h", "_t_l_m_arm_sync_event_8h_source.html", null ],
[ "TLMArmUnsyncEvent.h", "_t_... | omarmjhd/archer | ios/Myo-iOS-SDK-0.5.2/docs/files.js | JavaScript | mit | 1,124 |
var window = self;
var Global = self;
importScripts("/javascripts/lodash.js", "/javascripts/aether.js");
try {
//Detect very modern javascript support.
(0,eval("'use strict'; let test = WeakMap && (class Test { *gen(a=7) { yield yield * () => true ; } });"));
console.log("Modern javascript detected, aw yeah!");... | jeremiahyan/codecombat | app/assets/javascripts/workers/aether_worker.js | JavaScript | mit | 3,968 |
/**
* ag-grid-community - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v19.1.2
* @link http://www.ag-grid.com/
* @license MIT
*/
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extend... | sufuf3/cdnjs | ajax/libs/ag-grid/19.1.2/lib/rowModels/cache/rowNodeCache.js | JavaScript | mit | 12,672 |
/*! airbrake-js v1.6.4 */
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory((function webpackLoadOptionalExternalModule() { try { return require("os"); } catch(e) {} }()), require("cross-fetch"));
else if(typeof define ... | extend1994/cdnjs | ajax/libs/airbrake-js/1.6.4/client.js | JavaScript | mit | 89,299 |
/**
* @license Highcharts JS v7.1.3 (2019-08-14)
*
* Sonification module
*
* (c) 2012-2019 Øystein Moseng
*
* License: www.highcharts.com/license
*/
'use strict';
(function (factory) {
if (typeof module === 'object' && module.exports) {
factory['default'] = factory;
module.exports = factory;... | cdnjs/cdnjs | ajax/libs/highcharts/7.1.3/modules/sonification.src.js | JavaScript | mit | 131,540 |
'use strict';
var loMod = angular.module('loApp.services', []).value('version', '0.1');
/*
FileReader service, taken from:
http://odetocode.com/blogs/scott/archive/2013/07/03/building-a-filereader-service-for-angularjs-the-service.aspx
*/
loMod.factory('FileReader', function($q) {
var onLoad = function(reader,... | ljshj/liveoak | console/src/main/resources/app/js/services.js | JavaScript | epl-1.0 | 20,221 |
(function ($) {
/**
* Attaches double-click behavior to toggle full path of Krumo elements.
*/
Drupal.behaviors.devel = {
attach: function (context, settings) {
// Add hint to footnote
$('.krumo-footnote .krumo-call').before('<img style="vertical-align: middle;" title="Click to expand. Double-click to sho... | ulearn/eidold | sites/default/files/advagg_js/js__3mpbjAkdOcIuSUZ_9LyCr_KTwM94J1pqJyL1Uxh1FqQ__XWprcViJmNYCdT5sTaW5I_7dbZSizWt8RP6cEJyzFAM__EBWH9cFDDFRncXGTPlGiSfnXM5oTMZR11Ss_cNF_Z5I.js | JavaScript | gpl-2.0 | 32,833 |
Type.registerNamespace("Sys.Extended.UI.HtmlEditor.ToolbarButtons");Sys.Extended.UI.HtmlEditor.ToolbarButtons.StrikeThrough=function(n){Sys.Extended.UI.HtmlEditor.ToolbarButtons.StrikeThrough.initializeBase(this,[n])};Sys.Extended.UI.HtmlEditor.ToolbarButtons.StrikeThrough.prototype={callMethod:function(){if(!Sys.Exte... | donghang11/Support-Page | packages/AjaxControlToolkit.StaticResources.15.1.3.0/Content/Scripts/AjaxControlToolkit/Release/HtmlEditor.ToolbarButtons.StrikeThrough.js | JavaScript | gpl-2.0 | 838 |
/**
* @license AngularJS v1.5.1-build.4606+sha.b8b5b88
* (c) 2010-2016 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, angular, undefined) {'use strict';
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Any commits to this file should be reviewed with securi... | ByteCodeTeam/BitAsean-Wallet | www/lib/thirdparty/angular-sanitize.js | JavaScript | gpl-3.0 | 25,678 |
const crypto = require('crypto')
const BN = require('bn.js')
const error = require('../constants.js').ERROR
const fees = require('ethereum-common')
module.exports = function (opts) {
var sha256 = crypto.createHash('SHA256')
var data = opts.data
var results = {}
var gasCost = fees.sha256Gas.v
results.gasUsed... | jpentland/BitBadge | node_modules/grunt-embark/node_modules/embark-framework/node_modules/ethersim/node_modules/ethereumjs-vm/lib/precompiled/02-sha256.js | JavaScript | gpl-3.0 | 852 |
var util = require("util");
var assert = require("assert");
var tools = require("../tools");
var base = Object;
module.exports = (function(target){
util.inherits(target, base);
target.prototype.categories = [];
target.prototype.onToken = function(token){
this.parser.unexpected(token);
};//onToken
target.p... | RubenEngels123/nodejs-website | node_modules/php/lib/php/ContextBase.js | JavaScript | gpl-3.0 | 947 |
/*
Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'about', 'pt', {
copy: 'Direitos de Autor © $1. Todos os direitos reservados.',
dlgTitle: 'Sobre o CKEditor',
help: 'Doar $1 para ajudar.',
m... | igor-borisov/valamis | learn-portlet/src/main/webapp/js2.0/vendor/ckeditor/plugins/about/lang/pt.js | JavaScript | gpl-3.0 | 476 |
/**
* Copyright © 2016 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
/**
* Most likely it's depracated classes.
* Not used anywhere among pages.
*/
VarienForm = Class.create();
VarienForm.prototype = {
initialize: function(formId, firstFieldFocus){
this.form = $(formId... | rajmahesh/magento2-master | vendor/magento/magento2-base/lib/web/varien/form.js | JavaScript | gpl-3.0 | 13,470 |
// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
// License: GNU General Public License v3. See license.txt
frappe.provide("erpnext.company");
frappe.ui.form.on("Company", {
setup: function(frm) {
erpnext.company.setup_queries(frm);
frm.set_query("hra_component", function(){
return {
... | ESS-LLP/erpnext-medical | erpnext/setup/doctype/company/company.js | JavaScript | gpl-3.0 | 7,846 |
/* ***** BEGIN LICENSE BLOCK *****
* Version: GPL 3.0
*
* The contents of this file are subject to the General Public License
* 3.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.gnu.org/licenses/gpl.html
*
* Software dist... | o5carmartinezm/exchangecalendar | interfaces/exchangeAccountManager/mivExchangeAccountManager.js | JavaScript | gpl-3.0 | 5,997 |
import Mixin from '@ember/object/mixin';
import minimizeModel from 'consul-ui/utils/minimizeModel';
export default Mixin.create({
// TODO: what about update and create?
respondForQueryRecord: function(respond, query) {
return this._super(function(cb) {
return respond((headers, body) => {
body.Ro... | hashicorp/consul | ui/packages/consul-ui/app/mixins/role/as-many.js | JavaScript | mpl-2.0 | 1,008 |
odoo.define('mail/static/src/components/drop_zone/drop_zone.js', function (require) {
'use strict';
const useShouldUpdateBasedOnProps = require('mail/static/src/component_hooks/use_should_update_based_on_props/use_should_update_based_on_props.js');
const { Component, useState } = owl;
class DropZone extends Componen... | rven/odoo | addons/mail/static/src/components/drop_zone/drop_zone.js | JavaScript | agpl-3.0 | 3,888 |
/*
* eyeos - The Open Source Cloud's Web Desktop
* Version 2.0
* Copyright (C) 2007 - 2010 eyeos Team
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as publ... | cloudspaces/eyeos-u1db | eyeos/extern/js/eyeos/ui/tabs/GroupAdd.js | JavaScript | agpl-3.0 | 10,327 |
// override saveSheet on jQuery.sheet for tiki specific export
menuRight = $(
($("#sheetTools").html() + "")
.replace(/sheetInstance/g, "$.sheet.instance[" + $.sheet.I() + "]")
);
menuRight.find(".qt-picker").attr("instance", $.sheet.I());
var jST = $.sheet.tikiSheet;
$.sheet = $.extend({
makeSmall: function() {... | oregional/tiki | lib/sheet/grid.js | JavaScript | lgpl-2.1 | 9,937 |
define([
"./core",
"./common/runtime-bind",
"./common/validate/cldr",
"./common/validate/default-locale",
"./common/validate/parameter-presence",
"./common/validate/parameter-type/currency",
"./common/validate/parameter-type/number",
"./common/validate/parameter-type/plain-object",
"./currency/code-properties"... | has191210/bdademo | src/main/resources/public/bower_components/globalize/src/currency.js | JavaScript | unlicense | 4,316 |
import $ from 'jquery';
import PublicationModel from '../../../../scripts/manager/models/PublicationModel';
import GeospatialView from '../../../../scripts/manager/views/GeospatialView';
describe('GeospatialView', function() {
var testView, testModel;
beforeEach(function() {
$('body').append('<div i... | ayan-usgs/PubsWarehouse_UI | assets/tests/js/manager/views/GeospatialViewSpec.js | JavaScript | unlicense | 2,406 |
({
insertEntity: "Vložiť symbol"
})
| sulistionoadi/belajar-springmvc-dojo | training-web/src/main/webapp/js/dojotoolkit/dojox/editor/plugins/nls/sk/InsertEntity.js | JavaScript | apache-2.0 | 40 |
//>>built
define(
"dojox/grid/enhanced/nls/ru/Pagination", //begin v1.x content
({
"descTemplate": "${2} - ${3} из ${1} ${0}",
"firstTip": "Первая страница",
"lastTip": "Последняя страница",
"nextTip": "Следующая страница",
"prevTip": "Предыдущая страница",
"itemTitle": "элементов",
"singularItemTitle": "элемент... | cfxram/grails-dojo | web-app/js/dojo/1.7.2/dojox/grid/enhanced/nls/ru/Pagination.js | JavaScript | apache-2.0 | 956 |
/*!
* ${copyright}
*/
// Provides default renderer for control sap.ui.commons.FileUploader
sap.ui.define(['jquery.sap.global', 'sap/ui/core/Renderer', 'sap/ui/unified/FileUploaderRenderer'],
function(jQuery, Renderer, FileUploaderRenderer1) {
"use strict";
var FileUploaderRenderer = Renderer.extend(FileUploader... | SQCLabs/openui5 | src/sap.ui.commons/src/sap/ui/commons/FileUploaderRenderer.js | JavaScript | apache-2.0 | 389 |
var assert = require('assert'),
error = require('../../../lib/error/index'),
math = require('../../../index'),
bignumber = math.bignumber;
describe('diag', function() {
it('should return a diagonal matrix on the default diagonal', function() {
assert.deepEqual(math.diag([1,2,3]), [[1,0,0],[0,2,0],[0... | DenisGorbachev/mathjs | test/function/matrix/diag.test.js | JavaScript | apache-2.0 | 5,772 |
/*
* Copyright 2018-present Facebook, 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... | SeleniumHQ/buck | src/com/facebook/buck/httpserver/resources/static/test_websocket.js | JavaScript | apache-2.0 | 1,953 |
'use strict';
/**
* @ngdoc function
* @name openshiftConsole.controller:ProjectsController
* @description
* # ProjectsController
* Controller of the openshiftConsole
*/
angular.module('openshiftConsole')
.controller('ProjectsController', function ($scope, $route, $timeout, $filter, $location, DataService, Auth... | asiainfoLDP/datafactory | assets/app/scripts/controllers/projects.js | JavaScript | apache-2.0 | 2,609 |
import Color from 'color';
import patternReg from './patternReg';
export default function (colorOrBrush) {
/*eslint eqeqeq:0*/
if (colorOrBrush === 'none' || colorOrBrush == null) {
return null;
}
try {
let matched = colorOrBrush.match(patternReg);
// brush
if (matched)... | MisterZhouZhou/ReactNativeLearing | node_modules/react-native-svg/lib/extract/extractBrush.js | JavaScript | apache-2.0 | 666 |
// Copyright 2012 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... | sunu/oppia-test-2 | templates/dev/head/js/controllers/feedback.js | JavaScript | apache-2.0 | 1,597 |
'use strict';
var assert = require('assert');
var _ = {
isNumber: require('lodash/isNumber'),
filter: require('lodash/filter'),
map: require('lodash/map'),
find: require('lodash/find'),
};
var Separator = require('./separator');
var Choice = require('./choice');
/**
* Choices collection
* Collection of multi... | GoogleCloudPlatform/prometheus-engine | third_party/prometheus_ui/base/web/ui/react-app/node_modules/inquirer/lib/objects/choices.js | JavaScript | apache-2.0 | 3,015 |
define("dijit/TitlePane", ["dojo", "dijit", "text!dijit/templates/TitlePane.html", "dojo/fx", "dijit/_Templated", "dijit/layout/ContentPane", "dijit/_CssStateMixin"], function(dojo, dijit) {
dojo.declare(
"dijit.TitlePane",
[dijit.layout.ContentPane, dijit._Templated, dijit._CssStateMixin],
{
// summary:
// A pan... | sulistionoadi/belajar-springmvc-dojo | training-web/src/main/webapp/js/dojotoolkit/dijit/TitlePane.js | JavaScript | apache-2.0 | 7,023 |
define(function(require) {
'use strict';
var Utility = require('common/utility');
var Tooltipable = require('foreground/view/behavior/tooltipable');
var TimeLabelAreaTemplate = require('text!template/streamControlBar/timeLabelArea.html');
var TimeLabelArea = Marionette.LayoutView.extend({
id: 'timeLabe... | trsouz/StreamusChromeExtension | src/js/foreground/view/streamControlBar/timeLabelAreaView.js | JavaScript | apache-2.0 | 4,059 |
/*
* A JavaScript implementation of the RSA Data Security, Inc. MD5 Message
* Digest Algorithm, as defined in RFC 1321.
* Version 2.1 Copyright (C) Paul Johnston 1999 - 2002.
* Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet
* Distributed under the BSD License
* See http://pajhome.org.uk/crypt/md5 f... | 3203317/h9n | web/lib/md5.js | JavaScript | artistic-2.0 | 8,697 |
// Copyright (C) 2017 Apple Inc. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-function-definitions-runtime-semantics-evaluation
description: Function declaration completion value is empty.
info: |
FunctionDeclaration : function BindingIdentifier ( Forma... | sebastienros/jint | Jint.Tests.Test262/test/language/statements/function/cptn-decl.js | JavaScript | bsd-2-clause | 501 |
// This file was procedurally generated from the following sources:
// - src/dstr-binding/obj-ptrn-id-init-throws.case
// - src/dstr-binding/error/async-gen-meth.template
/*---
description: Error thrown when evaluating the initializer (async generator method)
esid: sec-asyncgenerator-definitions-propertydefinitionevalu... | sebastienros/jint | Jint.Tests.Test262/test/language/expressions/object/dstr-async-gen-meth-obj-ptrn-id-init-throws.js | JavaScript | bsd-2-clause | 1,477 |