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 |
|---|---|---|---|---|---|
// jQuery TimePicker plugin - http://github.com/wvega/timepicker
//
// A jQuery plugin to enhance standard form input fields helping users to select
// (or type) times.
//
// Copyright (c) 2011 Willington Vega <wvega@wvega.com>
// Dual licensed under the MIT or GPL Version 2 licenses.
// Define a cross-browser window... | Jens-CoconutInc/love | sites/all/libraries/wvega-timepicker/jquery.timepicker.js | JavaScript | gpl-2.0 | 32,463 |
/*
* PLUGIN DATADIR
*
* Swedish language file.
*
* Author: Magnus Holm (holmen@brasse.se)
*/
theUILang.DataDir = "Spara till";
theUILang.DataDirMove = "Flytta filer";
theUILang.datadirDlgCaption = "Torrentdatakatalog";
theUILang.datadirDirNotFound = "DataDir insticksprogram: Felaktig katalog";
theUILang... | Rapiddot/ruTorrent | plugins/datadir/lang/sv.js | JavaScript | gpl-3.0 | 437 |
'use strict';
const createStructArrayType = require('../util/struct_array');
module.exports = createVertexArrayType;
/**
* A vertex array stores data for each vertex in a geometry. Elements are aligned to 4 byte
* boundaries for best performance in WebGL.
* @private
*/
function createVertexArrayType(members) {
... | geminy/aidear | oss/qt/qt-everywhere-opensource-src-5.9.0/qtlocation/src/3rdparty/mapbox-gl-native/src/3rd_party/mapbox-gl-shaders/js/data/vertex_array_type.js | JavaScript | gpl-3.0 | 411 |
var graphic = require('../../util/graphic');
var zrUtil = require('zrender/lib/core/util');
/**
* @param {module:echarts/model/Series} seriesModel
* @param {boolean} hasAnimation
* @inner
*/
function updateDataSelected(uid, seriesModel, hasAnimation, api) {
var data = seri... | mo-norant/FinHeartBel | website/node_modules/echarts/lib/chart/pie/PieView.js | JavaScript | gpl-3.0 | 13,040 |
/* @flow */
export {
allowedModules,
all,
get,
getByCategory,
getUnchecked,
isEnabled,
isRunning,
} from './modules';
export {
setEnabled,
} from './storage';
| mc10/Reddit-Enhancement-Suite | lib/core/modules/index.js | JavaScript | gpl-3.0 | 169 |
export default {
icon: {
class: 'fa fa-image',
content: ''
},
category: 'media',
drop: false,
drag: {}
};
| ABaldwinHunter/relax | lib/components/elements/image/settings.js | JavaScript | gpl-3.0 | 124 |
// META: title=Cookie Store API: Observing 'change' events in document when modifications API is called with blank arguments
// META: script=resources/cookie-test-helpers.js
'use strict';
cookie_test(async t => {
let eventPromise = observeNextCookieChangeEvent();
await cookieStore.set('', 'first-value');
const ... | UK992/servo | tests/wpt/web-platform-tests/cookie-store/change_eventhandler_for_no_name_and_no_value.tentative.https.window.js | JavaScript | mpl-2.0 | 1,540 |
'use strict';
(function (scope) {
/**
* WebSocket recognition init message
*
* @class InitResponseWSMessage
* @extends AbstractWSMessage
* @param {Object} [obj] Recognition WebSocket message
* @constructor
*/
function InitResponseWSMessage(obj) {
scope.AbstractWSMessa... | countshadow/MyScriptJS | src/output/generic/initResponseWSMessage.js | JavaScript | apache-2.0 | 663 |
/**
* Copyright (c) 2014, 2016, Oracle and/or its affiliates.
* The Universal Permissive License (UPL), Version 1.0
*/
"use strict";
define(["ojs/ojcore","jquery","ojs/ojcomponentcore","ojs/ojdvt-base","ojs/internal-deps/dvt/DvtLegend"],function(b,f,a,d,c){b.ya("oj.ojLegend",f.oj.dvtBaseComponent,{widgetEventPrefix:... | JDT2016-Hackathon/hr | src/main/resources/static/js/libs/oj/v2.0.1/min/ojlegend.js | JavaScript | apache-2.0 | 3,456 |
/*
* Copyright (c) 2016 Juniper Networks, Inc. All rights reserved.
*/
define([
'underscore',
'contrail-view',
'contrail-list-model',
], function (_, ContrailView, ContrailListModel) {
var bgpOptionsListView = ContrailView.extend({
el: $(contentContainer),
render: function () {
... | vishnuvv/contrail-web-controller | webroot/config/infra/globalconfig/ui/js/views/bgpOptionsListView.js | JavaScript | apache-2.0 | 2,684 |
/*
* Functions to make it easier to write prometheus consoles, such
* as graphs.
*
*/
PromConsole = {};
PromConsole.NumberFormatter = {};
PromConsole.NumberFormatter.prefixesBig = ["k", "M", "G", "T", "P", "E", "Z", "Y"];
PromConsole.NumberFormatter.prefixesBig1024 = ["ki", "Mi", "Gi", "Ti", "Pi", "Ei", "Zi", "Yi... | wu8685/prometheus | web/ui/static/js/prom_console.js | JavaScript | apache-2.0 | 20,943 |
import * as Preact from '#preact';
import {useCallback, useEffect, useImperativeHandle, useState} from '#preact';
import {forwardRef} from '#preact/compat';
import {Wrapper, useValueRef} from '#preact/component';
import {useRenderer} from '#preact/component/renderer';
import {useResourcesNotify} from '#preact/utils';
... | alanorozco/amphtml | extensions/amp-render/1.0/component.js | JavaScript | apache-2.0 | 2,617 |
/*
*
* 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"); y... | ravihansa3000/stratos | components/org.apache.stratos.manager.console/console/app.js | JavaScript | apache-2.0 | 2,055 |
/**
* The list view is a paginated table of all items in the list. It can show a
* variety of information about the individual items in columns.
*/
import React from 'react';
// import { findDOMNode } from 'react-dom'; // TODO re-implement focus when ready
import numeral from 'numeral';
import { connect } from 'rea... | linhanyang/keystone | admin/client/App/screens/List/index.js | JavaScript | mit | 15,530 |
// XXX come up with a serialization method which canonicalizes object key
// order, which would allow us to use objects as values for equals.
var stringify = function (value) {
if (value === undefined)
return 'undefined';
return EJSON.stringify(value);
};
var parse = function (serialized) {
if (serialized ===... | mjmasn/meteor | packages/reactive-dict/reactive-dict.js | JavaScript | mit | 6,657 |
/* global Notification */
module.exports = window.App = App
var EventEmitter = require('events').EventEmitter
var catNames = require('cat-names')
var createElement = require('virtual-dom/create-element')
var delegate = require('delegate-dom')
var diff = require('virtual-dom/diff')
var eos = require('end-of-stream')
... | webcoding/friends | app.js | JavaScript | mit | 9,226 |
version https://git-lfs.github.com/spec/v1
oid sha256:2fdeac197f4015494aba5b561471d4951b58752b231a5ee49467c5fb51bb531f
size 4822
| yogeshsaroya/new-cdnjs | ajax/libs/dojo/1.7.8/string.js.uncompressed.js | JavaScript | mit | 129 |
var fs = require('fs');
var jstransform = require('jstransform/simple');
var installed = false;
function install(options) {
if (installed) {
return;
}
options = options || {};
// Import everything in the transformer codepath before we add the import hook
jstransform.transform('', options);
require.... | viktorkh/elastickit_express | node_modules/node-jsx/index.js | JavaScript | mit | 913 |
// commit 02b91c5313ff37d74a58f71775170afd360f4a1f
// File generated at :: Wed Oct 31 2012 15:32:45 GMT-0700 (Pacific Daylight Time)
/*
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
rega... | OneMoreCheckin/mobile-app | phonegap/2.2.0/windows-phone-7/templates/standalone/www/cordova-2.2.0.js | JavaScript | mit | 205,469 |
/**
* @scope enchant.Action.prototype
*/
enchant.Action = enchant.Class.create(enchant.ActionEventTarget, {
/**
* @name enchant.Action
* @class
[lang:ja]
* アニメーションタイムラインを構成する, 実行したい処理を指定するためのクラス.
*
* タイムラインに追加されたアクションは順に実行される.
* アクションが開始・終了された時に actionstart, actionend イベントが発行され,... | Gunbard/enchant.js | dev/src/Action.js | JavaScript | mit | 4,133 |
import { expect } from 'chai';
import { ClientFunction } from 'testcafe';
fixture `GH-851`
.page `http://localhost:3000/fixtures/regression/gh-851/pages/index.html`;
const getEventStorage = ClientFunction(() => window.eventStorage);
test('Raise click for common parent', async t => {
var expectedEvents = ['bo... | AlexanderMoskovkin/testcafe | test/functional/fixtures/regression/gh-851/testcafe-fixtures/index.test.js | JavaScript | mit | 2,147 |
/****************************************************************************
Copyright (c) 2013 cocos2d-x.org
http://www.cocos2d-x.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 withou... | cnsuperx/Cocos2d-x-2.2.5 | samples/Javascript/Shared/tests/CocoStudioTest/ComponentsTest/ProjectileController.js | JavaScript | mit | 4,763 |
/* */
'use strict';
require('./_iter-define')(Number, 'Number', function(iterated) {
this._l = +iterated;
this._i = 0;
}, function() {
var i = this._i++,
done = !(i < this._l);
return {
done: done,
value: done ? undefined : i
};
});
| alexandre-spieser/AureliaAspNetCoreAuth | src/AureliaAspNetCoreAuth/wwwroot/jspm_packages/npm/core-js@2.1.0/modules/core.number.iterator.js | JavaScript | mit | 258 |
/**
* KBase widget to display table of BIOM data
*/
define (
[
'kbwidget',
'bootstrap',
'jquery',
'RGBColor',
'kbStandaloneGraph'
], function(
KBWidget,
bootstrap,
$,
RGBColor,
kbStandaloneGraph
) {
return KBWidget({
name: 'RankAbundancePlot',
version: '1.0.0',
... | briehl/narrative | kbase-extension/static/kbase/js/widgets/function_output/kbaseRankAbundancePlot.js | JavaScript | mit | 6,185 |
({
type: 'recycle-list',
attr: {
append: 'tree',
listData: [
{ type: 'A' },
{ type: 'A' }
],
switch: 'type',
alias: 'item'
},
children: [{
type: 'cell-slot',
attr: { append: 'tree', case: 'A' },
children: [{
type: 'div',
attr: {
'@isComponentRoot':... | new4/Vue4Fun | vue-2.5.16/test/weex/cases/recycle-list/components/stateful-v-model.vdom.js | JavaScript | mit | 741 |
module.exports={title:"Trusted Shops",slug:"trustedshops",get svg(){return'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Trusted Shops</title><path d="'+this.path+'"/></svg>'},path:"M15.187 14.332c-1.1 1.626-2.63 3.108-4.687 3.108-2.175 0-3.442-1.362-3.442-3.562 0-3.561 2.63-7.052 6.335-... | cdnjs/cdnjs | ajax/libs/simple-icons/5.24.0/trustedshops.min.js | JavaScript | mit | 822 |
/**
This controller supports all actions on a user's activity stream
@class UserActivityController
@extends Discourse.ObjectController
@namespace Discourse
@module Discourse
**/
Discourse.UserActivityController = Discourse.ObjectController.extend({
needs: ['composer'],
kickOffPrivateMessage: (function()... | jswatson0/connect2good-app | app/assets/javascripts/discourse/controllers/user_activity_controller.js | JavaScript | gpl-2.0 | 744 |
window.addEvent("load",function(){
(function() {
$$(".gkIsWrapper-gk_storebox").each(function(el){
var elID = el.getProperty("id");
var wrapper = document.id(elID);
var $G = $Gavick[elID];
var slides = [];
var links = [];
var imagesToLoad = [];
var lo... | ASirik/vostok | modules/mod_image_show_gk4/styles/gk_storebox/engine.js | JavaScript | gpl-2.0 | 8,211 |
/*global $: false, kanso: true*/
/**
* Module dependencies
*/
var utils = require('couchtypes/utils');
/*
* closestChild for jQuery
* Copyright 2011, Tobias Lindig
*
* Dual licensed under the MIT license and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.opensource.org... | butterfill/note-o-rama | server/nrama/packages/couchtypes/couchtypes/widgets.jquery.js | JavaScript | gpl-3.0 | 1,170 |
// Frame.prototype.this in non-strict-mode functions, with primitive values
function classOf(obj) {
return Object.prototype.toString.call(obj).match(/^\[object (.*)\]$/)[1];
}
var g = newGlobal('new-compartment');
var dbg = new Debugger(g);
var hits = 0;
dbg.onDebuggerStatement = function (frame) {
hits++;
... | sean93park/mozjs24 | js/src/jit-test/tests/debug/Frame-this-03.js | JavaScript | mpl-2.0 | 816 |
/*
* Copyright (c) 2015 Memorial Sloan-Kettering Cancer Center.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS
* FOR A PARTICULAR PURPOSE. The software and documentation provided hereunder
* is on an "... | j-hudecek/cbioportal | portal/src/main/webapp/js/src/study-view/view/StudyViewWindowEvents.js | JavaScript | agpl-3.0 | 6,704 |
var ApiService = require("services/ApiService");
Vue.directive("logout", function()
{
/**
* Logout the current user
*/
$(this.el).click(
function(event)
{
$(this.el).addClass("disabled");
ApiService.post("/rest/io/customer/logout")
.done(
... | DanKaschlaw/DanTheme | resources/js/src/app/directives/customer/logout.js | JavaScript | agpl-3.0 | 698 |
// Import Dependencies.
var gulp = require("gulp");
let shelljs = require('shelljs');
var del = require("del");
// Import Helpers.
var processShaders = require("../helpers/gulp-processShaders");
var uncommentShaders = require('../helpers/gulp-removeShaderComments');
var rmDir = require("../../NodeHelpers/rmDir... | Kesshi/Babylon.js | Tools/Gulp/tasks/gulpTasks-watchCore.js | JavaScript | apache-2.0 | 2,469 |
define([
"./ViewBase",
"dijit/_TemplatedMixin",
"./_VerticalScrollBarBase",
"dojo/text!./templates/SimpleColumnView.html",
"dojo/_base/declare",
"dojo/_base/event",
"dojo/_base/lang",
"dojo/_base/array",
"dojo/_base/sniff",
"dojo/_base/fx",
"dojo/_base/html",
"dojo/on",
"dojo/dom",
"dojo/dom-class",
"dojo/dom-... | denov/dojo-demo | src/main/webapp/js/dojox/calendar/SimpleColumnView.js | JavaScript | apache-2.0 | 50,357 |
/**
* 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... | galeksic/amphtml | test/functional/test-performance.js | JavaScript | apache-2.0 | 13,040 |
/**
* @file
* @author 赵晓强(longze_xq@163.com)
* @date 2014-7-28
*/
define([
'template',
'dialog',
'report/edit/main-model',
'report/edit/main-template',
'report/edit/ind-template',
'report/edit/dim-template',
'report/edit/drag-ind-dim/main-view',
... | lgscofield/bi-platform | designer/src/main/resources/public/silkroad/src/report/edit/main-view.js | JavaScript | apache-2.0 | 6,815 |
(function(angular) {
filter.$inject = [];
function filter() {
return function(value) {
return String(value).toUpperCase();
};
}
angular.module("MyApp.Filters")
.filter("myUpperCase", filter);
})(angular);
| training4developers/angular_11162015 | unit_testing/js/filters/my-upper-case.flt.js | JavaScript | apache-2.0 | 222 |
describe("chorus.models.GnipDataSource", function() {
beforeEach(function() {
this.model = backboneFixtures.gnipDataSource({id: 123});
this.attrs = {
name: "someName",
streamUrl: "someUrl",
username: "myusername",
password: "password"
};
})... | kevin-alpine/chorus-models-upgrade | spec/javascripts/models/gnip_data_source_spec.js | JavaScript | apache-2.0 | 2,622 |
(function() {
'use strict';
angular.module('iLayers')
.directive('metrics', Metrics);
Metrics.$inject = ['$timeout'];
function Metrics($timeout) {
return {
templateUrl: 'views/metrics.html',
restrict: 'E',
controller: function($scope) {
$scope.metrics = {
count: 0,... | CenturyLinkLabs/imagelayers-graph | app/scripts/directives/metrics.js | JavaScript | apache-2.0 | 2,791 |
/*
* Copyright (C) 2011-2020 Red Hat, Inc. (https://github.com/Commonjava/indy)
*
* 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
... | pkocandr/indy | addons/revisions/common/src/main/ui/layover/ui-addons/revisions/js/revisions.js | JavaScript | apache-2.0 | 4,606 |
// This file was procedurally generated from the following sources:
// - src/dstr-binding/ary-ptrn-elision.case
// - src/dstr-binding/default/cls-decl-async-gen-meth.template
/*---
description: Elision advances iterator (class expression method)
esid: sec-class-definitions-runtime-semantics-evaluation
features: [genera... | sebastienros/jint | Jint.Tests.Test262/test/language/statements/class/dstr-async-gen-meth-ary-ptrn-elision.js | JavaScript | bsd-2-clause | 2,615 |
({
appDir: "../",
baseUrl: "scripts/",
dir: "../../webapp-build",
//Comment out the optimize line if you want
//the code minified by UglifyJS
optimize: "none",
paths: {
"jquery": "require-jquery"
},
modules: [
//Optimize the require-jquery.js file by applying any mi... | papandreou/assetgraph | testdata/transforms/flattenRequireJs/jquery-require-sample/webapp/scripts/app.build.js | JavaScript | bsd-3-clause | 651 |
/*
* This is a basic func test for a Routing application.
*/
YUI({
useConsoleOutput: true,
useBrowserConsole: true,
logInclude: { TestRunner: true }
}).use('node', 'node-event-simulate', 'test', 'console', function (Y) {
var suite = new Y.Test.Suite("Routing: BasicRouting8");
suite.add(ne... | 1950195/mojito | tests/func/routing/testbasicrouting8.js | JavaScript | bsd-3-clause | 540 |
/*
* jQuery UI 1.7.2
*
* Copyright (c) 2009 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
*/
;jQuery.ui || (function($) {
var _remove = $.fn.remove,
isFF2 = $.browser.mozilla && (parseFloat($.browser.... | cherokee/pyscgi | static/js/jquery-ui-1.7.2.js | JavaScript | bsd-3-clause | 311,004 |
/**
* Copyright (c) 2015-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.
*
* @provides... | cpunion/react-native | website/core/HeaderLinks.js | JavaScript | bsd-3-clause | 1,682 |
/*───────────────────────────────────────────────────────────────────────────*\
│ Copyright (C) 2014 eBay Software Foundation │
│ │
│ Licensed under the Apache License, Version 2.0 (the "License"); │
... | martnga/post-node | shopup/node_modules/kraken-js/node_modules/confit/index.js | JavaScript | mit | 8,606 |
// Use the same environment-based configuration as in staging
module.exports = require('./datasources.staging.js');
| TribeMedia/loopback-example-react | server/datasources.production.js | JavaScript | mit | 116 |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.setFlags = exports.run = undefined;
var _slicedToArray2;
function _load_slicedToArray() {
return _slicedToArray2 = _interopRequireDefault(require('babel-runtime/helpers/slicedToArray'));
}
var _map;
function _load_map() {
re... | rafaeltomesouza/frontend-class1 | aula2/a9/linkedin/client/.gradle/yarn/node_modules/yarn/lib-legacy/cli/commands/licenses.js | JavaScript | mit | 7,065 |
'use strict';
var async = require('async');
var _ = require('lodash');
var db = require('../database');
var topics = require('../topics');
var user = require('../user');
var groups = require('../groups');
var notifications = require('../notifications');
var plugins = require('../plugins');
module.exports = function ... | sdonaghey03/hia-forum | src/posts/delete.js | JavaScript | mit | 8,572 |
define(function() { return "AHAH"; }); | scalableminds/amd-optimize | test/fixtures/core/fuz/ahah.js | JavaScript | mit | 38 |
/*
* Copyright 2014, Gregg Tavares.
* 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 condi... | looeee/three.js | manual/resources/canvas-wrapper.js | JavaScript | mit | 4,306 |
import Ember from 'ember';
export default Ember.Route.extend({
model: function () {
return this.loadGoogleMap();
}
});
| huafu/ember-google-map | tests/dummy/app/routes/application.js | JavaScript | mit | 128 |
/*
* Store which manages and persists setup wizard progress
*/
var AppDispatcher = require('../dispatcher/app-dispatcher'),
EventEmitter = require('events').EventEmitter,
JPSConstants = require('../constants/jetpack-start-constants'),
WPAjax = require('../utils/wp-ajax');
var CHANGE_EVENT = 'change';
var _st... | riddya85/rentail_upwrk | wp-content/plugins/mojo-marketplace-wp-plugin/tests/jetpack-start/client/stores/setup-progress-store.js | JavaScript | gpl-2.0 | 5,632 |
'use strict';
var extend = require('../lib/svgo/tools').extend,
stylingProps = require('./_collections').stylingProps,
regCleanupStyle = /(:|;)\s+/g;
/**
* Convert style in attributes.
*
* @example
* <g style="fill:#000; color: #fff;">
* ⬇
* <g fill="#000" color="#fff">
*
* @example
* <g ... | alienwizard/tmsab | wp-content/themes/yeopress/node_modules/svgo/plugins/convertStyleToAttrs.js | JavaScript | gpl-2.0 | 1,993 |
(function ($) {
vc_reloadTemplateList = function(data) {
$.ajax({
type: 'POST',
url: window.ajaxurl,
data: data
}).done(function (html) {
$('[data-vc-template=list]').html(html);
});
};
$(document).ready(function(){
$('[da... | jfbelisle/magexpress | wp-content/themes/magexpress/wpbakery/templatera/assets/js/templates.js | JavaScript | gpl-2.0 | 4,758 |
/* 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 { id } = require('sdk/self');
const { Services } = require('resource://gre/modules/Services.js... | Medeah/jpm | test/addon_runners/default-prefs/index.js | JavaScript | mpl-2.0 | 846 |
/**
*
* (c) 2010-2021 Kamil Kulig
*
* License: www.highcharts.com/license
*
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
*
* */
'use strict';
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPr... | sfu-ireceptor/gateway | public/js/highcharts/code/es-modules/Stock/Indicators/LinearRegressionIntercept/LinearRegressionIntercept.js | JavaScript | lgpl-3.0 | 3,374 |
/**
* Copyright 2019 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... | lannka/amphtml | extensions/amp-base-carousel/0.1/test-e2e/test-arrows-non-looping.js | JavaScript | apache-2.0 | 2,327 |
/****************************************************************************
Copyright (c) 2008-2010 Ricardo Quesada
Copyright (c) 2011-2012 cocos2d-x.org
Copyright (c) 2013-2014 Chukong Technologies Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of t... | rasterbrain/box2d-radialgravity-cocos2djs | frameworks/cocos2d-html5/cocos2d/particle/CCParticleSystem.js | JavaScript | apache-2.0 | 102,012 |
/*
* 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 ... | lato333/guacamole-client | guacamole/src/main/webapp/app/home/directives/guacRecentConnections.js | JavaScript | apache-2.0 | 7,849 |
/**
* Copyright 2018 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... | chaveznvg/amphtml | extensions/amp-pan-zoom/0.1/test/integration/test-amp-pan-zoom.js | JavaScript | apache-2.0 | 2,270 |
/**
* Copyright 2015 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 applic... | GoogleChrome/ioweb2015 | experiment/app/models/guitar.js | JavaScript | apache-2.0 | 6,030 |
import React, { Children } from 'react';
export default function coalesceNonElementChildren(children, coalesceNodes) {
var coalescedChildren = [];
var contiguousNonElements = [];
Children.forEach(children, (child) => {
if (!React.isValidElement(child)) {
contiguousNonElements.push(child);
retur... | RahulDesai92/PHR | node_modules/react-native-button/coalesceNonElementChildren.js | JavaScript | apache-2.0 | 740 |
(function(angular) {
'use strict';
angular.module('xpsui:services')
.factory('xpsui:FileUploadFactory', ['$http',
/**
* Factory method
*/
function($http) {
var idCounter = 0;
/**
* FileUploader constructor
* @param {$scope} $scope - scope to bind fileuploader to
* @param {File... | tomatell/engine | src/client/js/xpsui/services/file-upload-factory.js | JavaScript | bsd-2-clause | 2,021 |
import ImageLayer from '../../../../src/ol/layer/Image.js';
import Map from '../../../../src/ol/Map.js';
import Static from '../../../../src/ol/source/ImageStatic.js';
import View from '../../../../src/ol/View.js';
import {
get as getProjection,
transform,
transformExtent,
} from '../../../../src/ol/proj.js';
con... | adube/ol3 | test/rendering/cases/layer-image-extent-rotation/main.js | JavaScript | bsd-2-clause | 942 |
/*
YUI 3.8.0pr2 (build 154)
Copyright 2012 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('datatable-core', function (Y, NAME) {
/**
The core implementation of the `DataTable` and `DataTable.Base` Widgets.
@module datatable
@submodule datatable-core
@since 3... | SHMEDIALIMITED/tallest-tower | node_modules/grunt-contrib/node_modules/grunt-contrib-yuidoc/node_modules/yuidocjs/node_modules/yui/datatable-core/datatable-core.js | JavaScript | mit | 29,316 |
import React from 'react'
import { render } from 'react-dom'
import { createStore, applyMiddleware } from 'redux'
import { Provider } from 'react-redux'
import { createLogger } from 'redux-logger'
import thunk from 'redux-thunk'
import reducer from './reducers'
import { getAllProducts } from './actions'
import App from... | huxinmin/PracticeMakesPerfect | react/reactRedux/redux-master/examples/shopping-cart/src/index.js | JavaScript | mit | 660 |
/**
* Created by aleckim on 2016. 10. 26..
*/
window.clientConfig = {
admobIOSBannerAdUnit : 'ca-app-pub-',
admobIOSInterstitialAdUnit : 'ca-app-pub-',
admobAndroidBannerAdUnit : 'ca-app-pub-',
admobAndroidInterstitialAdUnit : 'ca-app-pub-',
googleSenderId : '',
gaIOSKey : '',
gaAndroidKey... | WizardFactory/TodayWeather | tw.ios/www/client.config.js | JavaScript | mit | 795 |
/*jslint stupid: true*/
var JSLINT,
path = require('path'),
nodelint = require('../lib/nodelint'),
fs = require('fs'),
con = console;
exports.setConsole = function (c) {
'use strict';
con = c;
};
function loadAndParseConfig(filePath) {
'use strict';
var config;
try {
confi... | luis-fuentes/ghostblog | node_modules/grunt-jslint/node_modules/jslint/lib/linter.js | JavaScript | mit | 3,627 |
function getQueryVariable(variable) {
var query = window.location.search.substring(1);
var vars = query.split("&");
for (var i = 0; i < vars.length; i++) {
var pair = vars[i].split("=");
if (pair[0] == variable) {
return unescape(pair[1]);
}
}
}
var activeTransport ... | wyxy2005/bluceNet | samples/SignalR.Hosting.Owin.Samples/Content/Scripts/signalr.samples.js | JavaScript | mit | 364 |
describe('eventDrop', function() {
var options;
beforeEach(function() {
options = {
defaultDate: '2014-06-11',
editable: true
};
affix('#cal');
});
afterEach(function() {
$('#cal').fullCalendar('destroy');
});
describe('when in month view', function() {
beforeEach(function() {
options.defaul... | vitiokss/fullcalendar | tests/automated/event-dnd.js | JavaScript | mit | 11,235 |
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, des... | seogi1004/cdnjs | ajax/libs/ice/3.7.1/es5/Glacier2.js | JavaScript | mit | 31,809 |
/* Copyright (c) 2006-2015 by OpenLayers Contributors (see authors.txt for
* full list of contributors). Published under the 2-clause BSD license.
* See license.txt in the OpenLayers distribution or repository for the
* full text of the license. */
/**
* @requires OpenLayers/Format/WMC.js
* @requires OpenLayers/F... | usgin/NGDSDataExplorer | static/lib/ol2-master/lib/OpenLayers/Format/WMC/v1.js | JavaScript | mit | 40,017 |
/*
* # Semantic - Dropdown
* http://github.com/jlukic/semantic-ui/
*
*
* Copyright 2013 Contributors
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/
;(function ( $, window, document, undefined ) {
$.fn.dropdown = function(parameters) {
var
$allModules = $(this),
$document... | 007slm/Semantic-UI | src/modules/dropdown.js | JavaScript | mit | 21,471 |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.createSourceFactory = createSourceFactory;
var _invariant = require("@react-dnd/invariant");
var _utils = require("./utils");
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new T... | cdnjs/cdnjs | ajax/libs/react-dnd/14.0.2/cjs/decorators/createSourceFactory.js | JavaScript | mit | 3,912 |
// Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modi... | teeple/pns_server | work/install/node-v0.10.25/test/simple/test-next-tick-starvation.js | JavaScript | gpl-2.0 | 1,601 |
// /////////////////////////////////////////////////////////////////////////////
$.fn.zato.data_table.TranslationEntry = new Class({
toString: function() {
var s = '<TranslationEntry id:{0} system1:{1} key1:{2} value1:{3} system2:{4} key2:{5} value2:{6}>';
return String.format(s, this.id ? this.id ... | ivaano/zato | code/zato-web-admin/src/zato/admin/static/js/kvdb/data_dict/translation-common.js | JavaScript | gpl-3.0 | 3,118 |
/**
* 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
* distribut... | kogotko/carburetor | static/js/horizon.quota.js | JavaScript | apache-2.0 | 18,073 |
(function() {
// A mapping of saving throw short names to their attribute names.
var saveNames = {
'fort': 'fortitude',
'ref': 'reflex',
'will': 'will'
};
/**
* Asynchronously gets the value of a character sheet attribute.
* @param {Character} character
* @param {string} attr
* @... | manveti/roll20-api-scripts | ItsATrap_theme_DnD3.5/1.0/TrapTheme.js | JavaScript | mit | 8,091 |
// Sound samples from Damscray - "Dancing Tiger",
// Creative Commons BY-NC-SA
function preload() {
soundFile = loadSound('../_files/Damscray_01', soundReady);
}
function setup() {
createCanvas(400, 200);
soundFormats('ogg', 'mp3');
}
function soundReady() {
soundFile.rate(1.75);
soundFile.loop();
text(... | mlarghydracept/p5.js | test/manual-test-examples/addons/p5.sound/loadSound_callback/sketch.js | JavaScript | lgpl-2.1 | 704 |
/*
*
* 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"); y... | sangjin3/webida-server | src/server/notify/ext/incubator-ripple/test/unit/client/xhr.js | JavaScript | apache-2.0 | 5,271 |
(function () {
'use strict';
var push = Array.prototype.push;
var noop = angular.noop;
/**
* @ngdoc overview
* @name horizon.dashboard.project.workflow.launch-instance
*
* @description
* Manage workflow of creating server.
*/
angular
.module('horizon.dashboard.project.workflow.launch-... | maestro-hybrid-cloud/horizon | openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/launch-instance-model.service.js | JavaScript | apache-2.0 | 16,738 |
/**
* @module ol/ImageState
*/
/**
* @enum {number}
*/
export default {
IDLE: 0,
LOADING: 1,
LOADED: 2,
ERROR: 3,
EMPTY: 4,
};
| geekdenz/ol3 | src/ol/ImageState.js | JavaScript | bsd-2-clause | 142 |
var get = Ember.get;
var set = Ember.set;
var attr = DS.attr;
var Person, env, store;
var run = Ember.run;
var all = Ember.RSVP.all;
var hash = Ember.RSVP.hash;
function assertClean(promise) {
return promise.then(async(function(record) {
equal(record.get('isDirty'), false, "The record is now clean");
return... | kappiah/data | packages/ember-data/tests/integration/adapter/record-persistence-test.js | JavaScript | mit | 8,161 |
version https://git-lfs.github.com/spec/v1
oid sha256:e70ed9f580c5b5df3acc935c2e10ea29f13bf27650fce03afb001e335a79e68a
size 3784
| yogeshsaroya/new-cdnjs | ajax/libs/dojo/1.8.9/nls/es/colors.js | JavaScript | mit | 129 |
import Ember from 'ember';
export default Ember.Route.extend({
model: function(){
return this.store.find('pairing');
}
});
| alicht/buddybuddy | public/tmp/tree_merger-tmp_dest_dir-tKqgVGSJ.tmp/routes/pairings/index.js | JavaScript | mit | 132 |
/**
* Swiper 4.1.5
* Most modern mobile touch slider and framework with hardware accelerated transitions
* http://www.idangero.us/swiper/
*
* Copyright 2014-2018 Vladimir Kharlampidi
*
* Released under the MIT License
*
* Released on: February 10, 2018
*/
(function (global, factory) {
typeof exports === 'ob... | seogi1004/cdnjs | ajax/libs/Swiper/4.1.5/js/swiper.js | JavaScript | mit | 240,025 |
import{Injectable}from"@angular/core";import{Subject}from"rxjs";import*as i0 from"@angular/core";class ConfirmationService{constructor(){this.requireConfirmationSource=new Subject,this.acceptConfirmationSource=new Subject,this.requireConfirmation$=this.requireConfirmationSource.asObservable(),this.accept=this.acceptCon... | cdnjs/cdnjs | ajax/libs/primeng/12.2.2/esm2015/api/confirmationservice.min.js | JavaScript | mit | 995 |
'use strict';
module.exports = function(app) {
var users = require('../../app/controllers/users.server.controller');
var groups = require('../../app/controllers/groups.server.controller');
// Groups Routes
app.route('/groups')
.get(groups.list)
.post(users.requiresLogin, groups.create);
app.route('/groups/:... | WAPMADRID/server | wapmadrid/app/routes/groups.server.routes.js | JavaScript | gpl-2.0 | 578 |
/**
* @file
* UX improvements for the facet edit form.
*/
(function ($) {
"use strict";
Drupal.behaviors.facetsEditForm = {
attach: function (context, settings) {
$('.facet-source-field-wrapper select').change(function () {
var default_name = $(this).find('option:selected').text();
... | namrata-addweb/d8demo | modules/facets/js/edit-facet.js | JavaScript | gpl-2.0 | 538 |
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'templates', 'uk', {
button: 'Шаблони',
emptyListMsg: '(Не знайдено жодного шаблону)',
insertOption: 'Замінити поточний вміст',
options: 'Опції шаб... | gmuro/dolibarr | htdocs/includes/ckeditor/ckeditor/_source/plugins/templates/lang/uk.js | JavaScript | gpl-3.0 | 613 |
/**
* plupload.js
*
* Copyright 2009, Moxiecode Systems AB
* Released under GPL License.
*
* License: http://www.plupload.com/license
* Contributing: http://www.plupload.com/contributing
*/
// JSLint defined globals
/*global window:false, escape:false */
/*!@@version@@*/
(function() {
var count = 0, runtime... | mrzen/trovebox | src/html/assets/javascripts/plupload.js | JavaScript | apache-2.0 | 44,354 |
/*
* Copyright 2012 Amadeus s.a.s.
* 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 i... | mlaval/ariatemplates | src/aria/utils/filters/DisplayXmlResponse.js | JavaScript | apache-2.0 | 3,085 |
/*
* 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 ma... | cripure/openpne3 | plugins/opOpenSocialPlugin/lib/vendor/Shindig/features/i18n/data/DateTimeConstants__es_PR.js | JavaScript | apache-2.0 | 2,435 |
// DO NOT EDIT! This test has been generated by /html/canvas/tools/gentest.py.
// OffscreenCanvas test in a worker:2d.fillStyle.parse.invalid.name-4
// Description:
// Note:
importScripts("/resources/testharness.js");
importScripts("/html/canvas/resources/canvas-tests.js");
var t = async_test("");
var t_pass = t.done... | nwjs/chromium.src | third_party/blink/web_tests/external/wpt/html/canvas/offscreen/fill-and-stroke-styles/2d.fillStyle.parse.invalid.name-4.worker.js | JavaScript | bsd-3-clause | 778 |
(async function(testRunner) {
var {page, session, dp} = await testRunner.startHTML(`
<div id='node' style='background-color: red; height: 100px'></div>
`, 'Tests that animation creation and start are reported over protocol.');
dp.Animation.enable();
session.evaluate(`node.animate([{ width: '100px' }, { wid... | scheib/chromium | third_party/blink/web_tests/http/tests/inspector-protocol/animation/animation-create-start.js | JavaScript | bsd-3-clause | 546 |
/*copyright: https://github.com/AndyGrom/loadOnDemand*/
/*global angular*/
(function () {
'use strict';
var regModules = ['ng','ngAnimate'];
var aModule = angular.module('loadOnDemand', ['ng']);
aModule.factory('scriptCache', ['$cacheFactory', function ($cacheFactory) {
return $cacheFacto... | justin-hayes/motech | ui/src/js/angular-loadOnDemand.js | JavaScript | bsd-3-clause | 17,697 |
// DO NOT EDIT! This test has been generated by /html/canvas/tools/gentest.py.
// OffscreenCanvas test in a worker:2d.text.draw.fill.maxWidth.fontface
// Description:fillText works on @font-face fonts
// Note:
importScripts("/resources/testharness.js");
importScripts("/html/canvas/resources/canvas-tests.js");
var t =... | scheib/chromium | third_party/blink/web_tests/external/wpt/html/canvas/offscreen/text/2d.text.draw.fill.maxWidth.fontface.worker.js | JavaScript | bsd-3-clause | 1,312 |
'use strict';
module.exports = function(client) {
var Pool = require('../../pool');
var inherits = require('inherits');
var _ = require('lodash');
// Inherit from the `Pool` constructor's prototype.
function Pool_SQLite3() {
this.client = client;
Pool.apply(this, arguments);
}
inherits(Pool_SQLite3, P... | wiredgms/contacts | server/node_modules/knex/lib/dialects/sqlite3/pool.js | JavaScript | mit | 615 |
import setBreakpoint from './setBreakpoint';
import getBreakpoint from './getBreakpoint';
export default { setBreakpoint, getBreakpoint };
| iamxiaoma/Framework7 | src/core/components/swiper/swiper-src/components/core/breakpoints/index.js | JavaScript | mit | 140 |