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 |
|---|---|---|---|---|---|
// NOCOMPILE
goog.require('ol.Map');
goog.require('ol.View');
goog.require('ol.control');
goog.require('ol.format.WKT');
goog.require('ol.layer.Tile');
goog.require('ol.layer.Vector');
goog.require('ol.source.OSM');
goog.require('ol.source.Vector');
var raster = new ol.layer.Tile({
source: new ol.source.OSM()
});
v... | LeoLombardi/tos-laimas-compass | tos-laimas-compass-win32-x64/resources/app/node_modules/openlayers/examples/export-pdf.js | JavaScript | mit | 2,941 |
module("instance");
test("constructor sets culture", function() {
var globalizeDe = Globalize("de");
equal( Globalize.parseFloat("5.3"), 5.3 );
equal( Globalize.parseFloat("5,3"), 53 );
equal( Globalize.parseFloat("5.3", "de"), 53 );
equal( Globalize.parseFloat("5,3", "de"), 5.3 );
equal( globalizeDe.parseFloat(... | okviz/ChartPlaceholder | node_modules/globalize/test/instance.js | JavaScript | mit | 487 |
Proj4js.defs["EPSG:3602"] = "+proj=tmerc +lat_0=35.83333333333334 +lon_0=-90.5 +k=0.999933333 +x_0=250000 +y_0=0 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs"; | pmauduit/georchestra | mapfishapp/src/main/webapp/lib/proj4js/lib/defs/EPSG3602.js | JavaScript | gpl-3.0 | 168 |
var assert = require('assert')
, drag = require('../index')
, jsdom
, document
//, window <-- implied global
try {
jsdom = require('jsdom')
} catch(e) {
}
var tests = [
test_is_initially_paused
, test_drains_on_mousedown
, test_pauses_on_mouseup
, test_emits_on_mousemove
]
start()
function setup() {
}
... | terrabakky/mynecraft | node_modules/voxel-walk/node_modules/voxel-engine/node_modules/interact/node_modules/drag-stream/test/index.js | JavaScript | unlicense | 3,161 |
/*
Copyright © 2001-2004 World Wide Web Consortium,
(Massachusetts Institute of Technology, European Research Consortium
for Informatics and Mathematics, Keio University). All
Rights Reserved. This work is distributed under the W3C® Software License [1] in the
hope that it will be useful, but WITHOUT ANY WARRANT... | jazdw/domino | test/w3c/level1/html/obsolete/HTMLTableElement11.js | JavaScript | bsd-2-clause | 2,933 |
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ return installedModu... | WUBOSS/weexScanQR | playground/android/app/src/main/assets/showcase/new-fashion/resource.js | JavaScript | mit | 8,180 |
YUI.add("lang/datatype-date-format_de-AT",function(e){e.Intl.add("datatype-date-format","de-AT",{a:["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],A:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],b:["J\u00e4n","Feb","M\u00e4r","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],B:["J\u00e4nn... | Badacadabra/Harmoneezer | node_modules/yuidocjs/node_modules/yui/datatype-date-format/lang/datatype-date-format_de-AT.js | JavaScript | mit | 540 |
/**
* Swiper 4.0.1
* Most modern mobile touch slider and framework with hardware accelerated transitions
* http://www.idangero.us/swiper/
*
* Copyright 2014-2017 Vladimir Kharlampidi
*
* Released under the MIT License
*
* Released on: October 11, 2017
*/
(function (global, factory) {
typeof exports === 'obj... | holtkamp/cdnjs | ajax/libs/Swiper/4.0.1/js/swiper.js | JavaScript | mit | 226,567 |
/**
* Copyright (c) Microsoft. 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 applicable law or ag... | AuxMon/azure-sdk-for-node | lib/util/fileTokenCache.js | JavaScript | apache-2.0 | 5,823 |
// Copyright 2009 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... | krosenvold/selenium-git-release-candidate | third_party/closure/goog/dom/dataset.js | JavaScript | apache-2.0 | 4,611 |
/*
react-datetime v2.10.3
https://github.com/YouCanBookMe/react-datetime
MIT: https://github.com/YouCanBookMe/react-datetime/raw/master/LICENSE
*/
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("React"), requi... | tholu/cdnjs | ajax/libs/react-datetime/2.10.3/react-datetime.js | JavaScript | mit | 117,549 |
var searchData=
[
['backupincumbentscope',['BackupIncumbentScope',['../classv8_1_1Context_1_1BackupIncumbentScope.html',1,'v8::Context']]],
['boolean',['Boolean',['../classv8_1_1Boolean.html',1,'v8']]],
['booleanobject',['BooleanObject',['../classv8_1_1BooleanObject.html',1,'v8']]]
];
| v8-dox/v8-dox.github.io | c57cd9b/html/search/classes_1.js | JavaScript | mit | 292 |
// A nutty little DHTML Color Picker
// By Martin Atkins aka Mart
var colpic_imgprefix = '/img';
// spawnPicker - create a picker window
function spawnPicker(dataobject, displayobject, des, altdisplay) {
var wname = 'colorpick_' + Unique.id(); // Unique.id() replaced dataobject.name;
var p = window.open('', ... | endlist/dw-free | htdocs/js/colorpicker.js | JavaScript | gpl-2.0 | 11,456 |
var gfieldmap = function( options ) {
var self = this;
self.options = options;
self.UI = jQuery( '#gaddon-setting-row-'+ self.options.fieldName );
self.init = function() {
self.bindEvents();
self.setupData();
self.setupRepeater();
};
self.bindEvents = function() {
self.UI.on( 'ch... | mgratch/metroinvestments | wp-content/plugins/gravityforms/includes/addon/js/gaddon_fieldmap.js | JavaScript | gpl-2.0 | 3,089 |
/**
* @module zrender/graphic/shape/Polyline
*/
define(function (require) {
var polyHelper = require('../helper/poly');
return require('../Path').extend({
type: 'polyline',
shape: {
points: null,
smooth: false,
smoothConstraint: null
},... | legu2009/JIRA-helper | zrender/graphic/shape/Polyline.js | JavaScript | lgpl-3.0 | 520 |
// Hirschberg's algorithm
// http://en.wikipedia.org/wiki/Hirschberg%27s_algorithm
/**
* @module zrender/core/arrayDiff
* @author Yi Shen
*/
define(function (require) {
function defaultCompareFunc(a, b) {
return a === b;
}
function createItem(cmd, idx, idx1) {
var res = {
/... | legu2009/JIRA-helper | zrender/core/arrayDiff.js | JavaScript | lgpl-3.0 | 6,522 |
/*************************************************************
*
* MathJax/jax/output/HTML-CSS/fonts/STIX-Web/Marks/Regular/Main.js
*
* Copyright (c) 2013-2018 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with th... | GerHobbelt/MathJax | unpacked/jax/output/HTML-CSS/fonts/STIX-Web/Marks/Regular/Main.js | JavaScript | apache-2.0 | 6,900 |
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ ret... | him2him2/cdnjs | ajax/libs/mint-ui/2.0.5/badge/index.js | JavaScript | mit | 4,802 |
this["wp"] = this["wp"] || {}; this["wp"]["deprecated"] =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
... | pcutler/stoneopen | wp-includes/js/dist/deprecated.js | JavaScript | gpl-2.0 | 7,036 |
!function(){var moduleFactory=function($){var module=this,exports=function(){$.moment.lang("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),... | kartach/netaktiv | media/foundry/3.1/scripts/moment/zh-tw.min.js | JavaScript | gpl-2.0 | 1,451 |
// close menu and/or tile if esc key is pressed
$(document).keyup(function(e) {
if (e.which == '27') {
if ($('.menu.open').length) {
mReset();
} else if (!$('body').hasClass('modal-open')) {
tReset();
}
};
}); | noosfero-apps/confjuvapp | wireframes/js/src/esc.js | JavaScript | agpl-3.0 | 232 |
/* globals Flux:false */
// The Dispatcher is a singleton.
const Dispatcher = new Flux.Dispatcher();
export default Dispatcher;
Dispatcher.register((event) => {
if (event.type === undefined) {
throw new Error(['Event with undefined type dispatched!', JSON.stringify(event)]);
}
console.log('Dispatched event'... | mythmon/kitsune | kitsune/sumo/static/sumo/js/Dispatcher.es6.js | JavaScript | bsd-3-clause | 351 |
/**
* @author: @AngularClass
*/
module.exports = function(config) {
var testWebpackConfig = require('./webpack.test.js');
config.set({
// base path that will be used to resolve all patterns (e.g. files, exclude)
basePath: '',
/*
* Frameworks to use
*
* available frameworks: https://... | hyzhak/ng2-safe-img | config/karma.conf.js | JavaScript | mit | 2,222 |
$(document).ready(function() {
module("Functions");
test("bind", function() {
var context = {name : 'moe'};
var func = function(arg) { return "name: " + (this.name || arg); };
var bound = _.bind(func, context);
equal(bound(), 'name: moe', 'can bind a function to a context');
bound = _(func).b... | krahman/underscore | test/functions.js | JavaScript | mit | 10,394 |
/**
* jq.scroller - rewritten by Carlos Ouro @ Badoo
* Supports iOS native touch scrolling and a much improved javascript scroller
*/
(function($) {
var HIDE_REFRESH_TIME = 75; // hide animation of pull2ref duration in ms
var cache = [];
var objId = function(obj) {
if(!obj.jqmScrollerId) obj.jqmScrolle... | mirshad/jQ.Mobi | plugins/jq.scroller.js | JavaScript | mit | 47,486 |
/**
* @overview datejs
* @version 1.0.0-rc3
* @author Gregory Wild-Smith <gregory@wild-smith.com>
* @copyright 2014 Gregory Wild-Smith
* @license MIT
* @homepage https://github.com/abritinthebay/datejs
*/
/*
2014 Gregory Wild-Smith
@license MIT
@homepage https://github.com/abritinthebay/datejs
2014 Gregory ... | krasnyuk/e-liquid-MS | wwwroot/assets/js/DateJS/build/production/date-hr-BA.min.js | JavaScript | mit | 56,600 |
// Copyright 2007 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... | AndrewBarton/WebParrot | transcoders/traceur/third_party/closure-library/closure/goog/ui/component.js | JavaScript | mit | 38,603 |
import Vue from 'vue'
describe('Global API: extend', () => {
it('should correctly merge options', () => {
const Test = Vue.extend({
name: 'test',
a: 1,
b: 2
})
expect(Test.options.a).toBe(1)
expect(Test.options.b).toBe(2)
expect(Test.super).toBe(Vue)
const t = new Test({
... | gebilaoxiong/vue | test/unit/features/global-api/extend.spec.js | JavaScript | mit | 2,767 |
"use strict";exports.__esModule=!0,exports.default=void 0;var _normalizeCssColor=_interopRequireDefault(require("normalize-css-color"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var processColor=function(e){if(null==e)return e;e=(0,_normalizeCssColor.default)(e);return null!=e?e=(e<<24|e>>... | cdnjs/cdnjs | ajax/libs/react-native-web/0.17.7/cjs/exports/processColor/index.min.js | JavaScript | mit | 414 |
// Generated by CoffeeScript 1.11.1
(function() {
var Adapter, HAML, UglifyJS, W, fs, path,
extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new... | liuyuanquan/starzone | src/node_modules/accord/lib/adapters/haml/0.6.x.js | JavaScript | gpl-3.0 | 1,636 |
OC.L10N.register(
"files_versions",
{
"Could not revert: %s" : "ไม่สามารถย้อนกลับ: %s",
"Versions" : "รุ่น",
"Failed to revert {file} to revision {timestamp}." : "{file} ล้มเหลวที่จะย้อนกลับ มีการแก้ไขเมื่อ {timestamp}",
"Restore" : "คืนค่า",
"More versions..." : "รุ่นอื่นๆ ...",
"No oth... | jbicha/server | apps/files_versions/l10n/th_TH.js | JavaScript | agpl-3.0 | 588 |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/**
* @path ch15/15.4/15.4.4/15.4.4.14/15.4.4.14-9-b-i-27.js
* @description Array.prototype.indexOf applied to Arguments object which implements its own property get method (number of arguments is greater than number of parameters)
*/
function testc... | Oceanswave/NiL.JS | Tests/tests/sputnik/ch15/15.4/15.4.4/15.4.4.14/15.4.4.14-9-b-i-27.js | JavaScript | bsd-3-clause | 678 |
/* @flow */
export default {}
| AprilArcus/flow | newtests/shadow/proto.js | JavaScript | bsd-3-clause | 31 |
class Page {
get body() { return browser.element('body'); }
open(path) {
browser.windowHandleSize({
width: 1280,
height: 800
});
browser.url(`http://localhost:3000/${ path }`);
this.body.waitForExist();
}
}
module.exports = Page;
| pitamar/Rocket.Chat | tests/pageobjects/Page.js | JavaScript | mit | 250 |
/*
Highcharts JS v6.0.5 (2018-01-31)
Vector plot series module
(c) 2010-2017 Torstein Honsi
License: www.highcharts.com/license
*/
(function(d){"object"===typeof module&&module.exports?module.exports=d:d(Highcharts)})(function(d){(function(c){var d=c.each,e=c.seriesType;e("vector","scatter",{lineWidth:2,marker:n... | extend1994/cdnjs | ajax/libs/highcharts/6.0.5/modules/vector.js | JavaScript | mit | 1,796 |
!function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],e):e(CodeMirror)}(function(e){"use strict";e.registerHelper("hint","anyword",function(r,t){for(var o=t&&t.word||/[\w$]+/,i=t&&t.range||500,n=r.getCursor... | maruilian11/cdnjs | ajax/libs/codemirror/5.25.2/addon/hint/anyword-hint.min.js | JavaScript | mit | 824 |
(function () {
angular.module('ui.grid').config(['$provide', function($provide) {
$provide.decorator('i18nService', ['$delegate', function($delegate) {
$delegate.add('es', {
aggregate: {
label: 'Artículos'
},
groupPanel: {
description: 'Arrastre un encabezado de ... | salarmehr/ng-grid | src/js/i18n/es.js | JavaScript | mit | 2,856 |
module.exports = require('../../es/instance/filter');
| ChromeDevTools/devtools-node-modules | third_party/node_modules/core-js/stable/instance/filter.js | JavaScript | apache-2.0 | 54 |
/*!
* Inferno v1.6.0
* (c) 2017 Dominic Gannaway'
* Released under the MIT License.
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(factory((global.Inferno = global.In... | seogi1004/cdnjs | ajax/libs/inferno/1.6.0/inferno.js | JavaScript | mit | 95,880 |
// -*- mode: js2; indent-tabs-mode: nil; js2-basic-offset: 4 -*-
const Gio = imports.gi.Gio;
const GLib = imports.gi.GLib;
const Lang = imports.lang;
const dbusIFace =
'<node> \
<interface name="org.Cinnamon.Slideshow"> \
<method name="begin" /> \
<method name="end" /> \
... | artourkin/Cinnamon | js/ui/slideshowManager.js | JavaScript | gpl-2.0 | 1,584 |
// Karma configuration
// Generated on Thu Jul 26 2012 14:35:23 GMT-0700 (PDT)
// base path, that will be used to resolve files and exclude
basePath = '';
frameworks = ['jasmine', 'requirejs'];
// list of files / patterns to load in the browser
files = [
'main.js',
// all the sources, tests
{pattern: '*.js',... | Morgul/karma | test/e2e/requirejs/karma.conf.js | JavaScript | mit | 1,175 |
/**
* Represents a read or write operation performed by a {@link Ext.data.proxy.Proxy Proxy}.
* Operation objects are used to enable communication between Stores and Proxies.
* Application developers should rarely need to interact with Operation objects directly.
*
* Several Operations can be batched together in a... | ybbkd2/publicweb | web/ext/packages/sencha-core/src/data/operation/Operation.js | JavaScript | gpl-2.0 | 15,362 |
"use strict";
var schedule;
var noAsyncScheduler = function() {
throw new Error("No async scheduler available\u000a\u000a See http://goo.gl/m3OTXk\u000a");
};
if (require("./util.js").isNode) {
var version = process.versions.node.split(".").map(Number);
schedule = (version[0] === 0 && version[1] > 10) ||... | vpistis/openshift-etherpad-lite | src/node_modules/npm/node_modules/request/node_modules/har-validator/node_modules/bluebird/js/main/schedule.js | JavaScript | apache-2.0 | 1,177 |
/*
Copyright (c) 2011, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://yuilibrary.com/license/
*/
YUI.add('help', function (Y) {
/**
* Shows the help text
* @module yuidoc
* @class Help
*/
/**
* The help text to display
* @private
* @property hel... | kPlusPlus/GameK | node_modules/yuidocjs/lib/help.js | JavaScript | mit | 3,482 |
// https://d3js.org/d3-voronoi/ Version 1.0.2. Copyright 2016 Mike Bostock.
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(factory((global.d3 = global.d3 || {})));
}(this, ... | CESNET/etlog | node_modules/d3v4/node_modules/d3-voronoi/build/d3-voronoi.js | JavaScript | bsd-3-clause | 24,389 |
var address = {};
module['exports'] = address;
address.street_root = require("./street_root");
address.street_name = require("./street_name");
address.city_prefix = require("./city_prefix");
address.city = require("./city");
address.state_abbr = require("./state_abbr");
address.region = require("./region");
address.sta... | together-web-pj/together-web-pj | node_modules/faker/lib/locales/en_au_ocker/address/index.js | JavaScript | gpl-3.0 | 551 |
var bundle = require('browserify')(),
fs = require('fs'),
request = require('request'),
uglify = require('uglify-js');
bundle.add('./simplewebrtc');
bundle.bundle({standalone: 'SimpleWebRTC'}, function (err, source) {
if (err) console.error(err);
fs.writeFileSync('simplewebrtc.bundle.js', source);
... | seekmas/client_relationship_management | web/SimpleWebRTC/build.js | JavaScript | mit | 656 |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v7.2.2
* @link http://www.ag-grid.com/
* @license MIT
*/
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c <... | maruilian11/cdnjs | ajax/libs/ag-grid/7.2.2/lib/dragAndDrop/dragService.js | JavaScript | mit | 11,828 |
// Twitter plugin for jQuery.fn.linkify() 1.0 - MIT/GPL Licensed
jQuery.extend(jQuery.fn.linkify.plugins,{twitterUser:{re:/(^|["'(]|<|\s)@([a-z0-9_-]+)((?:[:?]|\.+)?(?:\s|$)|>|[)"',])/gi,tmpl:'$1<a href="http://www.twitter.com/$2">@$2</a>$3'},twitterHashtag:{re:/(^|["'(]|<|\s)(#.+?)((?:[:?]|\.+)?(?:\s|$)|>|... | thebillkidy/desple.com | wp-content/themes/capsule/ui/lib/linkify/1.0/plugins/jquery.linkify-1.0-twitter-min.js | JavaScript | gpl-2.0 | 450 |
/**
* @license
* Copyright 2014 The Lovefield Project 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
... | yoshimaa/lovefield | lib/proc/logical_query_plan.js | JavaScript | apache-2.0 | 9,523 |
another = true; | akovalyov/RubyGarageTask | web/assets/js/steal/test/map/foo/another/another.js | JavaScript | mit | 15 |
/* =========================================================
* bootstrap-datetimepicker.js
* =========================================================
* Copyright 2012 Stefan Petre
*
* Improvements by Andrew Rowls
* Improvements by Sébastien Malot
* Improvements by Yun Lai
* Improvements by Kenneth Henderick
... | extend1994/cdnjs | ajax/libs/smalot-bootstrap-datetimepicker/2.4.0/js/bootstrap-datetimepicker.js | JavaScript | mit | 70,477 |
describe("module:ng.directive:ngHref", function() {
beforeEach(function() {
browser.get("./examples/example-example6/index-jquery.html");
});
it('should execute ng-click but not reload when href without value', function() {
element(by.id('link-1')).click();
expect(element(by.model('value')).getAttrib... | cjlyth/golang-resume | webapp/lib/angular/docs/ptore2e/example-example6/jquery_test.js | JavaScript | apache-2.0 | 2,373 |
export default /* glsl */`
#ifdef USE_METALNESSMAP
uniform sampler2D metalnessMap;
#endif
`;
| TristanVALCKE/three.js | src/renderers/shaders/ShaderChunk/metalnessmap_pars_fragment.glsl.js | JavaScript | mit | 96 |
/* global describe, it */
var assert = require('assert');
var dotCase = require('./');
describe('dot case', function () {
it('should dot case a single word', function () {
assert.equal(dotCase('test'), 'test');
assert.equal(dotCase('TEST'), 'test');
});
it('should dot case regular sentence cased stri... | gdi2290/dot-case | test.js | JavaScript | mit | 827 |
/*
* grunt-contrib-livereload
* http://gruntjs.com/
*
* Copyright (c) 2012 Author, contributors
* Licensed under the MIT license.
*/
'use strict';
var utils = require('../lib/utils');
var server;
module.exports = function (grunt) {
grunt.registerTask('livereload', 'Inform the browser some files have changed',... | zohaibmir/Empower | wp-content/themes/empower/node_modules/grunt-contrib-livereload/tasks/livereload.js | JavaScript | gpl-2.0 | 1,188 |
/**
* This file contains information about the options that the Parser carries
* around with it while parsing. Data is held in an `Options` object, and when
* recursing, a new `Options` object can be created with the `.with*` and
* `.reset` functions.
*/
/**
* This is the main options class. It contains the styl... | cyanlime/platform | webapp/non_npm_dependencies/katex/src/Options.js | JavaScript | agpl-3.0 | 4,911 |
var searchData=
[
['offset',['offset',['../structoperations__research_1_1SubstitutionMap_1_1Offset.html#a7da08ad197d676c587f9aa8a988470e1',1,'operations_research::SubstitutionMap::Offset']]]
];
| simonlynen/or-tools | documentation/reference_manual/or-tools/examples/cpp/search/variables_6f.js | JavaScript | apache-2.0 | 196 |
// Copyright 2015 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.
/** @const {number} */
var APP_WINDOW_WIDTH = 735;
/** @const {number} */
var APP_WINDOW_HEIGHT = 530;
chrome.webstoreWidgetPrivate.onShowWidget.addList... | Chilledheart/chromium | components/chrome_apps/webstore_widget/app/background.js | JavaScript | bsd-3-clause | 935 |
/*************************************************************
*
* MathJax/fonts/HTML-CSS/TeX/png/Main/Italic/LatinExtendedA.js
*
* Defines the image size data needed for the HTML-CSS OutputJax
* to display mathematics using fallback images when the fonts
* are not availble to the client browser.
*
* ---... | AndrewSyktyvkar/Math | wysivig/MathJax/fonts/HTML-CSS/TeX/png/Main/Italic/unpacked/LatinExtendedA.js | JavaScript | bsd-3-clause | 1,446 |
function foo(b) {
var x = b ? null: false;
var z;
while(b) {
if (x == null) { z = ""; break; }
var y:number = x; // error: boolean !~> number
}
var w:number = z; // 2 errors: ?string !~> number
}
function bar(b) {
var x = b ? null: false;
if (x == null) return;
switch ("... | prettier/prettier | tests/format/flow-repo/break/break.js | JavaScript | mit | 1,482 |
/**
* Copyright (c) 2008-2011 The Open Planning Project
*
* Published under the GPL license.
* See https://github.com/opengeo/gxp/raw/master/license.txt for the full text
* of the license.
*/
/**
* @requires plugins/Tool.js
* @requires widgets/PlaybackToolbar.js
* @requires widgets/PlaybackOptionsPanel.js
*... | nieuwegeingeo/heron | ux/gxp/git/src/script/plugins/Playback.js | JavaScript | gpl-3.0 | 9,086 |
module.exports = function( grunt ) {
grunt.initConfig({
lint: {
files: [ "grunt.js", "lib/*.js" ]
}
});
grunt.registerTask( "default", "lint" );
};
| J22pineda/myscheduler-web | temp/node_modules/web-component-tester/node_modules/wct-local/node_modules/launchpad/node_modules/browserstack/grunt.js | JavaScript | bsd-3-clause | 155 |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v5.0.1
* @link http://www.ag-grid.com/
* @license MIT
*/
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : ... | maruilian11/cdnjs | ajax/libs/ag-grid/5.0.1/lib/rowControllers/inMemory/inMemoryRowModel.js | JavaScript | mit | 22,396 |
/**
* Bulgarian translation
* @author Stamo Petkov <stamo.petkov@gmail.com>
* @author Nikolay Petkov <office@cmstory.com>
* @version 2018-02-18
*/
(function(root, factory) {
if (typeof define === 'function' && define.amd) {
define(['elfinder'], factory);
} else if (typeof exports !== 'undefined') {
module.ex... | gingerjiang/easycms | src/main/webapp/elFinder/js/i18n/elfinder.bg.js | JavaScript | lgpl-3.0 | 37,284 |
/* http://keith-wood.name/datepick.html
Norwegian localisation for jQuery Datepicker.
Written by Naimdjon Takhirov (naimdjon@gmail.com). */
(function($) {
'use strict';
$.datepick.regionalOptions.no = {
monthNames: ['Januar','Februar','Mars','April','Mai','Juni',
'Juli','August','September','Oktober','Novem... | dandahle/Catalyst-AppVetting | public/javascripts/jquery_datepicker/js/jquery.datepick-no.js | JavaScript | bsd-3-clause | 1,292 |
/*
TimelineJS - ver. 2.30.1 - 2014-04-07
Copyright (c) 2012-2013 Northwestern University
a project of the Northwestern University Knight Lab, originally created by Zach Wise
https://github.com/NUKnightLab/TimelineJS
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.... | wayne-lewis/baiducdnstatic | libs/timelinejs/2.30.1/js/locale/zh-cn.js | JavaScript | mit | 1,625 |
/*!
* Fine Uploader
*
* Copyright 2015, Widen Enterprises, Inc. info@fineuploader.com
*
* Version: 5.8.0-beta1
*
* Homepage: http://fineuploader.com
*
* Repository: git://github.com/FineUploader/fine-uploader.git
*
* Licensed only under the Widen Commercial License (http://fineuploader.com/licensing).
*/
(function(g... | dlueth/cdnjs | ajax/libs/file-uploader/5.8.0-beta1/azure.fine-uploader/azure.fine-uploader.js | JavaScript | mit | 426,498 |
// knockout-sortable 0.8.3 | (c) 2013 Ryan Niemeyer | http://www.opensource.org/licenses/mit-license
;(function(factory) {
if (typeof define === "function" && define.amd) {
// AMD anonymous module
define(["knockout", "jquery", "jquery.ui.sortable"], factory);
} else {
// No module loade... | WebReflection/cdnjs | ajax/libs/knockout-sortable/0.8.3/knockout-sortable.js | JavaScript | mit | 14,763 |
(function (root, factory) {
if (typeof exports === 'object') {
module.exports = factory(root);
} else if (typeof define === 'function' && define.amd) {
define('colors', [], function () {
return factory(root);
});
} else {
root.Colors = factory(root);
}
}(this, function(window, undefined) {
"use strict"
... | rlugojr/cdnjs | ajax/libs/tinyColorPicker/1.0.4/colors.js | JavaScript | mit | 13,925 |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v4.0.6
* @link http://www.ag-grid.com/
* @license MIT
*/
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : ... | tonytomov/cdnjs | ajax/libs/ag-grid/4.0.6/lib/templateService.js | JavaScript | mit | 3,730 |
// phantomjs: --local-url-access=yes
var assert = require("../../assert");
var p = require("webpage").create();
var url = "file:///nonexistent";
var rsErrorCalled = false;
p.onResourceError = function (error) {
rsErrorCalled = true;
assert.strictEqual(error.url, url);
assert.strictEqual(error.errorCode, ... | you21979/phantomjs | test/module/webpage/local-urls-enabled.js | JavaScript | bsd-3-clause | 501 |
/*!
* UI development toolkit for HTML5 (OpenUI5)
* (c) Copyright 2009-2016 SAP SE or an SAP affiliate company.
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
*/
sap.ui.define([],function(){"use strict";return{aggregations:{content:{domRef:":sap-domref"}}};},false);
| and1985129/digitalofficemobile | www/lib/ui5/sap/ui/layout/VerticalLayout.designtime.js | JavaScript | apache-2.0 | 291 |
'use strict';
const imagesFolderPath = `markup/${tars.config.fs.staticFolderName}/${tars.config.fs.imagesFolderName}`;
/**
* Watcher for images in assets dir of components
*/
module.exports = () => {
return tars.packages.chokidar.watch(
`${imagesFolderPath}/content/**/*.*`,
Object.assign(tars.op... | logics-layout/flufoods | tars/watchers/move/content-img.js | JavaScript | mit | 573 |
loadIonicon('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M223.7 346.3c-3.1-3.1-8.2-3.1-11.3 0-3.1 3.1-3.1 8.2 0 11.3L264 408H160c-49.2 0-57-42.3-57-88V159.6c32.1-3.5 57-30.6 57-63.6 0-35.3-28.7-64-64-64S32 60.7 32 96c0 32.3 23.9 59 55 63.4V320c0 14.3 0 40.9 9 63 11 27.2 33.3 41 64 41h104l-49.... | jdh8/cdnjs | ajax/libs/ionicons/4.0.0-5/ionicons/svg/ios-git-compare.js | JavaScript | mit | 955 |
"use strict";
exports.__esModule = true;
exports.default = function (_ref) {
var t = _ref.types;
function isValidDefine(path) {
if (!path.isExpressionStatement()) return;
var expr = path.get("expression");
if (!expr.isCallExpression()) return false;
if (!expr.get("callee").isIdentifier({ name: "... | wodertian/wodertian | web/node_modules/babel-plugin-transform-es2015-modules-umd/lib/index.js | JavaScript | mit | 5,050 |
var render = function (theme, data, meta, require) {
//print(caramel.build(data));
theme('1-column-fluid', {
title: data.title,
navigation: [
{
partial: 'navigation',
context: data.navigation
}
],
body: [
{
... | liurl3/Product-is | modules/jaggery-apps/portal/themes/portal/renderers/dashboard.js | JavaScript | apache-2.0 | 457 |
// Copyright 2007 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... | pombredanne/camlistore | vendor/embed/closure/lib/closure/goog/structs/simplepool.js | JavaScript | apache-2.0 | 5,820 |
/**
* 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 appli... | ston380/material-design-lite | test/unit/tabs.js | JavaScript | apache-2.0 | 3,235 |
var kadiraAppIdProperty = {
propertyName: 'kadiraAppId',
propertyGroup: 'kadira',
propertySchema: {
type: String,
optional: true,
autoform: {
group: 'kadira'
}
}
}
addToSettingsSchema.push(kadiraAppIdProperty);
var kadiraAppSecretProperty = {
propertyName: 'kadiraAppSecret',
propertyG... | bardsmith/CraftSpotter | packages/telescope-kadira/lib/kadira-settings.js | JavaScript | mit | 515 |
// SelectiveSaveMixin adds a saveOnly method to a DS.Model.
//
// saveOnly provides a way to save one or more properties of a model while
// preserving outstanding changes to other properties.
var SelectiveSaveMixin = Ember.Mixin.create({
saveOnly: function () {
if (arguments.length === 0) {
ret... | jaswilli/ember-selective-save | lib/selective-save.js | JavaScript | mit | 3,903 |
'use strict';
var _ = require('lodash');
var $ = (global && global.$) || require('jquery');
var d3 = (global && global.d3) || require('d3');
var shiroTrie = require('shiro-trie');
var Storages = require('js-storage');
var language = require('../language')();
var sandbox = require('../sandbox')();
var profile = requi... | casey21/cgm-remote-monitor | lib/client/index.js | JavaScript | agpl-3.0 | 41,008 |
// Generated by CoffeeScript 1.3.3
var __slice = [].slice;
(function() {
var Adapter;
Element.addMethods({
addTip: function(element, content, title, options) {
return new Opentip(element, content, title, options);
}
});
Adapter = (function() {
function Adapter() {}
Adapter.prototype.nam... | dada0423/cdnjs | ajax/libs/opentip/2.1.0/lib/adapter.prototype.js | JavaScript | mit | 5,382 |
(function () {
'use strict';
var website = openerp.website;
website.contentMenu = {};
website.add_template_file('/website/static/src/xml/website.contentMenu.xml');
var _t = openerp._t;
website.EditorBarContent = openerp.Widget.extend({
start: function() {
var self = this;
... | mycodeday/crm-platform | website/static/src/js/website.contentMenu.js | JavaScript | gpl-3.0 | 9,083 |
/**
* angular-strap
* @version v2.3.5 - 2015-10-29
* @link http://mgcrea.github.io/angular-strap
* @author Olivier Louvignes <olivier@mg-crea.com> (https://github.com/mgcrea)
* @license MIT License, http://www.opensource.org/licenses/MIT
*/
'use strict';angular.module('mgcrea.ngStrap.modal').run(['$templateCache'... | leocherubini/laravel_commerce | resources/bower_components/angular-strap/dist/modules/modal.tpl.min.js | JavaScript | mit | 880 |
var curry = require('curry')
/*
group: get the cb's of several functions.
*/
function findErr (funx){
for(var i in funx){
if(funx[i].arguments[0])
return funx[i].arguments[0]
}
}
exports.group = function (done){
var c = 0, i = 0, funx = [], args = [], called = 0, error = null
if(!done)
done ... | wenjoy/homePage | node_modules/node-captcha/node_modules/canvas/node_modules/should/node_modules/vinyl-source-stream2/node_modules/vinyl/node_modules/event-stream/node_modules/asynct/node_modules/ctrlflow/ctrlflow.js | JavaScript | mit | 3,487 |
"use strict";
module.exports = function(
Promise, INTERNAL, tryConvertToPromise, apiRejection) {
var isArray = require("./util.js").isArray;
var raceLater = function (promise) {
return promise.then(function(array) {
return race(array, promise);
});
};
function race(promises, parent) {
var mayb... | habibillah/powerline-mobile | www/lib_not_for_build/bluebird/src/race.js | JavaScript | agpl-3.0 | 1,244 |
var fs = require('fs'),
page = new WebPage(),
file = fs.absolute('test/index.html');
page.onConsoleMessage = function(msg) {
console.log(msg);
if (/^Tests completed in/.test(msg)) {
phantom.exit(page.evaluate(function () {
if (window.QUnit && QUnit.config && QUnit.config.stats) {
... | SesamTV/ChromecastCordovaExample | www/sesamcast/bower_components/hogan/test/phantom-js-loader.js | JavaScript | mit | 596 |
//this might was already extended by ES5 shim feature
(function($){
"use strict";
var webshims = window.webshims;
if(webshims.defineProperties){return;}
var defineProperty = 'defineProperty';
var has = Object.prototype.hasOwnProperty;
var descProps = ['configurable', 'enumerable', 'writable'];
var extendUndefin... | xavieraijon/rickyverona | wp-content/themes/rickyverona/js/shims/combos/10.js | JavaScript | gpl-2.0 | 106,129 |
function TRBL(name, imp) {
this.name = TRBL.extractMain(name);
this.sides = {
'top': null,
'right': null,
'bottom': null,
'left': null
};
this.imp = imp ? 4 : 0;
}
TRBL.props = {
'margin': 1,
'margin-top': 1,
'margin-right': 1,
'margin-bottom': 1,
'ma... | hirata-motoi/ClinicMatch | wp-content/themes/peco_theme/node_modules/grunt-csso/node_modules/csso/src/trbl.js | JavaScript | gpl-2.0 | 4,535 |
(function($){
var webshims = window.webshims;
setTimeout(function(){
webshims.isReady('geolocation', true);
});
var domWrite = function(){
setTimeout(function(){
throw('document.write is overwritten by geolocation shim. This method is incompatible with this plugin');
}, 1);
},
id = 0
;
var geoOpt... | dwoodard/MediaCloud | public/bower/webshim/js-webshim/dev/shims/geolocation.js | JavaScript | mit | 5,008 |
(function() {
var _ = typeof require == 'function' ? require('..') : window._;
QUnit.module('Functions');
QUnit.config.asyncRetries = 3;
QUnit.test('bind', function(assert) {
var context = {name: 'moe'};
var func = function(arg) { return 'name: ' + (this.name || arg); };
var bound = _.bind(func, c... | McKabue/CSS3HTML5AzurePortalDesign | wwwroot/lib/lodash/vendor/underscore/test/functions.js | JavaScript | gpl-3.0 | 27,053 |
"use strict";
const conversions = require("webidl-conversions");
const utils = require("./utils.js");
const HTMLElement = require("./HTMLElement.js");
const impl = utils.implSymbol;
function HTMLDataElement() {
throw new TypeError("Illegal constructor");
}
HTMLDataElement.prototype = Object.create(HTMLElement.inter... | rootulp/exercism | typescript/space-age/node_modules/jsdom/lib/jsdom/living/generated/HTMLDataElement.js | JavaScript | mit | 2,475 |
// For questions about the Telugu hyphenation patterns
// ask Santhosh Thottingal (santhosh dot thottingal at gmail dot com)
Hyphenator.languages.te={
'leftmin' : 2,
'rightmin' : 2,
'shortestPattern' : 1,
'longestPattern' : 3,
'specialChars' : 'ఆఅఇఈఉఊఋఎఏఐఒఔకగఖఘఙచఛజఝఞటఠడఢణతథదధనపఫబభమయరలవశషసహళఱిీాుూృెేొాోైౌ్ఃం',
'patterns... | AMoo-Miki/cdnjs | ajax/libs/Hyphenator/1.0.2/patterns/te.js | JavaScript | mit | 815 |
/*
* /MathJax/jax/output/SVG/fonts/TeX/Main/Bold/CombDiactForSymbols.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 of the License at
*
* ... | matias-pierobon/sid-server | web/dist/fonts/Main/Bold/CombDiactForSymbols.js | JavaScript | gpl-3.0 | 1,221 |
YUI.add('imageloader', function(Y) {
/**
* The image loader is a framework to dynamically load images
* according to certain triggers, enabling faster load times
* and a more responsive UI.
*
* @module imageloader
* @requires node
*/
/**
* A group for images. A group can have one time limit and a series of... | bootcdn/cdnjs | ajax/libs/yui/3.0.0beta1m3/imageloader/imageloader.js | JavaScript | mit | 16,384 |
/*!
* Qoopido.js library v3.2.3, 2014-0-13
* https://github.com/dlueth/qoopido.js
* (c) 2014 Dirk Lueth
* Dual licensed under MIT and GPL
*/
!function(e){window.qoopido.register("jquery/function/prefetch",e,["../../base","jquery"])}(function(e,r,n,t,i){"use strict";var u=e.jquery||i.jQuery,f=u("head"),o=[];return u.pr... | x112358/cdnjs | ajax/libs/qoopido.js/3.2.3/jquery/function/prefetch.js | JavaScript | mit | 592 |
require('../modules/es6.object.to-string');
require('../modules/web.dom.iterable');
require('../modules/es6.weak-map');
require('../modules/es7.weak-map.of');
require('../modules/es7.weak-map.from');
module.exports = require('../modules/_core').WeakMap;
| hellokidder/js-studying | 微信小程序/wxtest/node_modules/core-js/library/fn/weak-map.js | JavaScript | mit | 254 |
/*
* logger.js: Core logger object used by winston.
*
* (C) 2010 Charlie Robbins
* MIT LICENCE
*
*/
var events = require('events'),
util = require('util'),
async = require('async'),
config = require('./config'),
common = require('./common'),
exception = require('./exception'),
Stream = re... | ristorantino/aditions | webroot/ws_adition/node_modules/winston/lib/winston/logger.js | JavaScript | mit | 17,773 |
module.exports = function(config) {
config.set({
frameworks: ['jasmine'],
// files to load
files: [
'*.js'
],
autoWatch: true,
logLevel: config.LOG_INFO,
logColors: true,
browsers: ['Chrome'],
reporters: ['dots'],
plugins: [
'karma-jasmine',
'karma-chrome... | travisperson/karma | test/e2e/syntax-error/karma.conf.ignore.js | JavaScript | mit | 379 |