code
stringlengths
2
1.05M
var path = require('path') , fs = require('fs') , existsSync = fs.existsSync || path.existsSync; // <=0.6 exports.resolve = function(p, exts) { if (existsSync(p)) { return p; } if (!exts) { exts = Object.keys(require.extensions).map(function(ext) { return ext; }); } else if ('string' == typeof exts) ...
(function($, undefined) { /** * Unobtrusive scripting adapter for jQuery * * Requires jQuery 1.6.0 or later. * https://github.com/rails/jquery-ujs * Uploading file using rails.js * ============================= * * By default, browsers do not allow files to be uploaded via AJAX. As a result, if the...
/* global define, module, require */ 'use strict'; (function(factory, root) { if (typeof define === 'function' && define.amd) { define(['jquery'], factory); // AMD } else if (typeof exports === 'object') { module.exports = factory(require('jquery')); // Node } else { factory(root.$...
/** * @author alteredq / http://alteredqualia.com/ * */ THREE.ShaderTerrain = { /* ------------------------------------------------------------------------- // Dynamic terrain shader // - Blinn-Phong // - height + normal + diffuse1 + diffuse2 + specular + detail maps // - point and directional lights (use ...
/** * Module dependencies. */ var finalhandler = require('finalhandler'); var flatten = require('./utils').flatten; var mixin = require('utils-merge'); var Router = require('./router'); var methods = require('methods'); var middleware = require('./middleware/init'); var query = require('./middleware/query'...
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.vl = f()}})(fu...
/* global AFRAME, assert, suite, test, THREE */ var helpers = require('../../helpers'); var registerPrimitive = require('extras/primitives/primitives').registerPrimitive; var primitives = require('extras/primitives/primitives').primitives; var primitiveId = 0; function primitiveFactory (definition, cb) { var el; ...
/* This file is part of Ext JS 4 Copyright (c) 2011 Sencha Inc Contact: http://www.sencha.com/contact GNU General Public License Usage This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in the p...
/** * @author alteredq / http://alteredqualia.com/ * @author mrdoob / http://mrdoob.com/ */ THREE.Math = { DEG2RAD: Math.PI / 180, RAD2DEG: 180 / Math.PI, generateUUID: function () { // http://www.broofa.com/Tools/Math.uuid.htm var chars = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'....
// Github: https://github.com/shdwjk/Roll20API/blob/master/Bump/Bump.js // By: The Aaron, Arcane Scriptomancer // Contact: https://app.roll20.net/users/104025/the-aaron var globalconfig = globalconfig || undefined; var Bump = Bump || (function() { 'use strict'; var version = '0.2.10', lastUpd...
YUI.add('exec-command', function (Y, NAME) { /** * Plugin for the frame module to handle execCommands for Editor * @class Plugin.ExecCommand * @extends Base * @constructor * @module editor * @submodule exec-command */ var ExecCommand = function() { ExecComman...
YUI.add('createlink-base', function (Y, NAME) { /** * Adds prompt style link creation. Adds an override for the * <a href="Plugin.ExecCommand.html#method_COMMANDS.createlink">createlink execCommand</a>. * @class Plugin.CreateLinkBase * @static * @submodule createlink-base * @module e...
/* Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'bidi', 'sv', { ltr: 'Text riktning från vänster till höger', rtl: 'Text riktning från höger till vänster' });
/// 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 /// ...
/*! * json-schema-faker library v0.4.5 * http://json-schema-faker.js.org * @preserve * * Copyright (c) 2014-2016 Alvaro Cabrera & Tomasz Ducin * Released under the MIT license * * Date: 2017-10-15 21:00:53.301Z */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? mo...
"use strict"; var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; var ts = require("typescript"); var Lint = requi...
/* http://keith-wood.name/calendars.html Khmer initialisation for calendars datepicker for jQuery. Written by Sovichet Tep (sovichet.tep@gmail.com). */ (function($) { 'use strict'; $.calendarsPicker.regionalOptions.km = { renderer: $.calendarsPicker.defaultRenderer, prevText: 'ថយ​ក្រោយ', prevStatu...
"use strict"; var helpers = require("../../helpers/helpers"); exports["America/Santo_Domingo"] = { "1933" : helpers.makeTestYear("America/Santo_Domingo", [ ["1933-04-01T16:39:59+00:00", "11:59:59", "SDMT", 280], ["1933-04-01T16:40:00+00:00", "11:40:00", "EST", 300] ]), "1966" : helpers.makeTestYear("America/S...
!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof module&&"object"==typeof module.exports?e(require("jquery")):e(jQuery)}(function(e){e.timeago.settings.strings={prefixAgo:null,prefixFromNow:null,suffixAgo:"",suffixFromNow:"",seconds:"1dk",minute:"1dk",minutes:"%ddk",hour:"1s",hou...
/*! * Inferno.Mobx v3.1.2 * (c) 2017 Dominic Gannaway' * Released under the MIT License. */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('inferno-component'), require('inferno-create-class'), require('hoist-non-inferno-statics'), require('i...
/* * WYMeditor : what you see is What You Mean web-based editor * Copyright (c) 2005 - 2012 Jean-Francois Hovinne, http://www.wymeditor.org/ * Dual licensed under the MIT (MIT-license.txt) * and GPL (GPL-license.txt) licenses. * * For further information visit: * http://www.wymeditor.org/ * * File Name:...
import "scale"; d3.scale.quantize = function() { return d3_scale_quantize(0, 1, [0, 1]); }; function d3_scale_quantize(x0, x1, range) { var kx, i; function scale(x) { return range[Math.max(0, Math.min(i, Math.floor(kx * (x - x0))))]; } function rescale() { kx = range.length / (x1 - x0); i = ra...
/* TODO a bot that responds to outgoing webhooks for a team */
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("react-dom")); else if(typeof define === 'function' && define.amd) define(["react", "react-dom"], factory); else if(typeof exports === 'obje...
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import { StringWrapper, isPresent } from '../src/facade/lang'; import { ContentType } from './enums'; import { Header...
/* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */ /* vim: set ts=2 et sw=2 tw=80: */ /************************************************************* * * MathJax/localization/de/HelpDialog.js * * Copyright (c) 2013 The MathJax Consortium * * Licensed under the Apache License, Version 2.0 ...
"use strict"; describe("keyboard shortcuts: init vanilla plugin (with nationalMode=false) to test keyboard shortcuts", function() { beforeEach(function() { intlSetup(); input = $("<input>"); input.intlTelInput({ nationalMode: false }); }); describe("when dropdown is closed", function () {...
"use strict"; module.exports = function (t, a) { a(typeof t, "number"); };
/** * System configuration for Angular samples * Adjust as necessary for your application needs. */ (function (global) { System.config({ paths: { // paths serve as alias 'npm:': 'node_modules/' }, // map tells the System loader where to look for things map: { // our app is within ...
import $ from 'jquery' import {queryByHook} from '../util' export default class { constructor (opts) { const elements = { resourceItem: queryByHook('resource-item', opts.el) } // Resource details links elements.resourceItem.each((index, item) => { if ($('table tr', item).length) { ...
/* Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang("a11yhelp","et",{title:"Accessibility Instructions",contents:"Abi sisu. Selle dialoogi sulgemiseks vajuta ESC klahvi.",legend:[{name:"Üldine",items:[...
/* Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'save', 'en-au', { toolbar: 'Save' } );
exports.WEEKDAY_OFFSET = { 'sunday': 0, 'sun': 0, 'monday': 1, 'mon': 1, 'tuesday': 2, 'tue':2, 'wednesday': 3, 'wed': 3, 'thursday': 4, 'thur': 4, 'thu': 4, 'friday': 5, 'fri': 5, 'saturday': 6, 'sat': 6 }; exports.MONTH_OFFSET = { 'janu...
'use strict'; var assign = require('lodash/object/assign'); // JoinClause // ------- // The "JoinClause" is an object holding any necessary info about a join, // including the type, and any associated tables & columns being joined. function JoinClause(table, type) { this.table = table; this.joinType = type; th...
module.exports={title:"DevExpress",slug:"devexpress",svg:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>DevExpress</title><path d="M1.4 0h21.2c.8 0 1.4.6 1.4 1.4v1.1c0 .8-.6 1-.9 1C11.7 4.9 4.2 9.7 0 14.1V1.4C0 .6.6 0 1.4 0zm.022 19.567L1.7 19.2C5.3 14.6 12.4 8.3 24 6.3v16.3c0 .8-.6 1.4-...
async function* g() { for await (let x of y) { f(x); } }
// Runs a function many times without the function call overhead function benchmark(fn, times, name){ fn = fn.toString(); var s = fn.indexOf('{')+1, e = fn.lastIndexOf('}'); fn = fn.substring(s,e); return benchmarkString(fn, times, name); } function benchmarkString(fn, times, name) { var fn = new Function("...
/** * @author mrdoob / http://mrdoob.com/ */ THREE.TextureLoader = function ( manager ) { this.manager = ( manager !== undefined ) ? manager : THREE.DefaultLoadingManager; }; THREE.TextureLoader.prototype = { constructor: THREE.TextureLoader, load: function ( url, onLoad, onProgress, onError ) { var textu...
'use strict'; /*! * mocha * Copyright(c) 2011 TJ Holowaychuk <tj@vision-media.ca> * MIT Licensed */ /** * Module dependencies. */ var escapeRe = require('escape-string-regexp'); var path = require('path'); var reporters = require('./reporters'); var utils = require('./utils'); /** * Expose `Mocha`. */ expo...
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import { Inject, Injectable, NgZone, OpaqueToken } from '@angular/core'; import { getDOM } from '../dom_adapter'; /**...
/* ***** BEGIN LICENSE BLOCK ***** * Distributed under the BSD license: * * Copyright (c) 2010, Ajax.org B.V. * 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 so...
<earth.america />
/** * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v5.1.0 * @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 : ...
define("pegasus",[],function(){function t(e,n,u){return u=new XMLHttpRequest,u.open("GET",e),e=[],t.timeout&&(u.timeout=t.timeout),u.ontimeout=function(t){n=t},u.onreadystatechange=u.then=function(t,o,a,i){if(t&&t.call&&(e=[,t,o]),n&&e[2]&&e[2](n,u),4==u.readyState&&(a=e[0|u.status/200])){try{i=JSON.parse(u.responseTex...
(function() { 'use strict'; function overlayHelper() { var numberOfOverlays = 0; function registerOverlay() { numberOfOverlays++; return numberOfOverlays; } function unregisterOverlay() { numberOfOverlays--; return numberOfOverlays; } fu...
/** * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v6.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 : ...
'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; function getDecimals(n) { n = n + ''; var i = n.indexOf('.'); return (i == -1) ? 0 : n.length - i - 1; } function getVF(n, opt_pre...
/** * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v5.0.0 * @link http://www.ag-grid.com/ * @license MIT */ var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() {...
var x=String; var create=function() {return {isColorSupported:false,reset:x,bold:x,dim:x,italic:x,underline:x,inverse:x,hidden:x,strikethrough:x,black:x,red:x,green:x,yellow:x,blue:x,magenta:x,cyan:x,white:x,gray:x,bgBlack:x,bgRed:x,bgGreen:x,bgYellow:x,bgBlue:x,bgMagenta:x,bgCyan:x,bgWhite:x}}; module.exports=create()...
/*! * Vue.js v2.2.6 * (c) 2014-2017 Evan You * Released under the MIT License. */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global.Vue = factory()); }(this, (function ()...
// ServerBase // ------- // All of the "when.js" promise components needed in this module. var when = require('when'); var nodefn = require('when/node/function'); var sequence = require('when/sequence'); var _ = require('underscore'); var Pool = require('../pool').Pool; var ClientBase = re...
/** * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v5.0.0-alpha.0 * @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 ? t...
/*! * Fine Uploader * * Copyright 2015, Widen Enterprises, Inc. info@fineuploader.com * * Version: 5.5.1 * * Homepage: http://fineuploader.com * * Repository: git://github.com/FineUploader/fine-uploader.git * * Licensed only under the Widen Commercial License (http://fineuploader.com/licensing). */ /*globals window,...
/*! * # Semantic UI 2.2.11 - Visibility * http://github.com/semantic-org/semantic-ui/ * * * Released under the MIT license * http://opensource.org/licenses/MIT * */ ;(function ($, window, document, undefined) { "use strict"; window = (typeof window != 'undefined' && window.Math == Math) ? window : (typeo...
/*! * sweetalert2 v3.2.1 * (c) 2016 Tristan Edwards <tristan.edwards@me.com> (http://tristanedwards.me) * Released under the MIT License. */ 'use strict'; var swalPrefix = 'swal2-'; var prefix = function(items) { var result = {}; for (var i in items) { result[items[i]] = swalPrefix + items[i]; } retur...
module.exports={title:"Chevrolet",slug:"chevrolet",svg:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Chevrolet</title><path d="M23.905 9.784H15.92V8.246a.157.157 0 00-.157-.158H8.238a.157.157 0 00-.157.158v1.538H2.358c-.087 0-.193.07-.237.158L.02 14.058c-.045.088-.011.157.077.157H8.08v1...
/*! * inferno-compat v1.0.0-beta39 * (c) 2016 Dominic Gannaway * Released under the MIT License. */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('./inferno-component'), require('./inferno')) : typeof define === 'function' && define.amd ? d...
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
/* http://keith-wood.name/countdown.html Countdown for jQuery v1.5.1. Written by Keith Wood (kbwood{at}iinet.com.au) January 2008. Dual licensed under the GPL (http://dev.jquery.com/browser/trunk/jquery/GPL-LICENSE.txt) and MIT (http://dev.jquery.com/browser/trunk/jquery/MIT-LICENSE.txt) licenses. Plea...
import createMuiTheme from"./createMuiTheme";var defaultTheme=createMuiTheme();export default defaultTheme;
// Copyright 2014 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. // Module "mojo/public/js/threading" // // Note: This file is for documentation purposes only. The code here is not // actually executed. The real module ...
/*! * inferno-component v0.5.20 * (c) 2016 Dominic Gannaway * Released under the MPL-2.0 License. */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global.InfernoComponent = ...
(function() { var exports = {}; var popmotion = ((function() { var exports = {}; var __small$_12 = (function() { var exports = {}; exports = { defaultProps: { unit: 'px' } }; return exports; })(); var __small$_38 = (function() { var exports = {}; /* Utility functions */ "use strict"; var protectedP...
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; var _createClass = function () { function defineP...
angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": { "0": "f.m.", "1": "e.m." }, "DAY": { "0": "s\u00f...
/*! * u.js - Version 0.6.4 - IE 9 fix * Fix for the missing classList in IE 9 * Author: Steve Ottoz <so@dev.so> * Build date: 2015-05-14 * Copyright (c) 2015 Steve Ottoz * Released under the MIT license */ !function(u,a,b){"use strict";b.body.classList||(u.fn.hasClass=function(a){return new RegExp("(^| )"+a+"( |...
import { BoundingBox } from './BoundingBox'; import { CollisionJumpTable } from './CollisionJumpTable'; import { ConvexPolygon } from './ConvexPolygon'; import { Edge } from './Edge'; import { Vector, Projection } from '../Algebra'; import { Physics } from '../Physics'; import { Color } from '../Drawing/Color'; import ...
"use strict" const crypto = require('crypto') , moduleRequire = require('eslint-module-utils/module-require').default , hashObject = require('eslint-module-utils/hash').hashObject const cache = new Map() // must match ESLint default options or we'll miss the cache every time const parserOptions = { loc: tr...
/*! Lazy Load XT v1.0.4 2014-05-30 * http://ressio.github.io/lazy-load-xt * (C) 2014 RESS.io * Licensed under MIT */ (function ($, window, document) { var options = $.lazyLoadXT, matchMedia = window.matchMedia; options.selector += ',picture'; function parsePicture($el) { var srcAttr = ...
var fs = require('fs'), x; var src = fs.readFileSync(__dirname + '/x.txt', 'utf8'); console.log(src);
'use strict'; module.exports = { name: require('./package').name, };
// we need to deopt `test` if it's reassigned as we can't be certain of it's // state, ie. it could have been rebound or dereferenced function test(exit) { if (exit) { return this.x; } return test(true); } test = test.bind({ x: "yay" }); console.log(test());
/* * Copyright 2012 The Closure Compiler Authors. * * 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...
var FMLang = { name : "Filemanager", rename : "重命名", copy : "复制", cut : "剪切", paste : "粘帖", remove : "删除", download : "下载", selectFile : "选中", unzipFile : "解压", new_folder : "新建目录", new_file : "新建文件", upload_file : "上传文件", uplo...
/** * o------------------------------------------------------------------------------o * | This file is part of the RGraph package - you can learn more at: | * | | * | http://www.rgr...
/** * @class Ext.direct.RemotingProvider * * The {@link Ext.direct.RemotingProvider RemotingProvider} exposes access to * server side methods on the client (a remote procedure call (RPC) type of * connection where the client can initiate a procedure on the server). * * This allows for code to be organized in a f...
'use strict'; const path = require('path'); const os = require('os'); const fs = require('graceful-fs'); const makeDir = require('make-dir'); const xdgBasedir = require('xdg-basedir'); const writeFileAtomic = require('write-file-atomic'); const dotProp = require('dot-prop'); const uniqueString = require('unique-string'...
/** * angular-strap * @version v2.0.0-beta.2 - 2014-01-10 * @link http://mgcrea.github.io/angular-strap * @author Olivier Louvignes <olivier@mg-crea.com> * @license MIT License, http://www.opensource.org/licenses/MIT */ 'use strict'; angular.module('mgcrea.ngStrap.aside', ['mgcrea.ngStrap.modal']).run([ '$templ...
var hooks = require('./hooks') , should = require('should') , assert = require('assert') , _ = require('underscore'); // TODO Add in test for making sure all pres get called if pre is defined directly on an instance. // TODO Test for calling `done` twice or `next` twice in the same function counts only once modu...
define("dojo/cldr/nls/persian", { root: //begin v1.x content { "days-standAlone-short": [ "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" ], "months-format-narrow": [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" ], "quarters-standAlone-narrow": [ "1", "2"...
"use strict"; module.exports = function (t, a) { var foo = "raz", bar = "dwa"; // eslint-disable-next-line func-names var fn = function marko (a, b) { return this + a + b + foo + bar; }; var result, o = {}; fn.prototype = o; fn.foo = "raz"; result = t.call(fn); a(result.length, fn.length, "Length"); a(...
/*! * Qoopido.js library v3.3.1, 2014-5-24 * https://github.com/dlueth/qoopido.js * (c) 2014 Dirk Lueth * Dual licensed under MIT and GPL */ !function(o){window.qoopido.register("support/css/rgba",o,["../../support"])}(function(o,r,t,s,e,a){"use strict";var c=o.support;return c.addTest("/css/rgba",function(o){var r=c....
var Part = require('./part').Part; function PartBuilder (builders) { this.builders = builders; } PartBuilder.prototype.build = function build(part, params) { var path_part; for (var i = 0; i < this.builders.length; i++) { path_part = this.builders[i](part, params); if (path_part) { return path_p...
// angular-formly version 6.11.5 built with ♥ by Astrism <astrisms@gmail.com>, Kent C. Dodds <kent@doddsfamily.us> (ó ì_í)=óò=(ì_í ò) (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("angular"), require("api-ch...
define( [ "./core", "./core/access", "./css" ], function( jQuery, access ) { // Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods jQuery.each( { Height: "height", Width: "width" }, function( name, type ) { jQuery.each( { padding: "inner" + name, content: type, "": "outer" + name }, ...
/** * @license AngularJS v1.3.10 * (c) 2010-2014 Google, Inc. http://angularjs.org * License: MIT */ (function(window, document, undefined) {'use strict'; /** * @description * * This object provides a utility for producing rich Error messages within * Angular. It can be called as follows: * * var exampleMinE...
/*! * jQuery UI Effects Blind 1.12.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */ //>>label: Blind Effect //>>group: Effects //>>description: Blinds the element. //>>docs: http://api.jqueryui.com/blind-effect/ //>>d...
/*! * Qoopido.js library v3.5.7, 2014-10-14 * https://github.com/dlueth/qoopido.js * (c) 2014 Dirk Lueth * Dual licensed under MIT and GPL */ !function(t){window.qoopido.register("polyfill/string/ucfirst",t)}(function(){"use strict";return String.prototype.ucfirst||(String.prototype.ucfirst=function(){var t=this;return...
var dirname = require('path').dirname; var pathJoin = require('path').join; var exists = require('fs').existsSync; var semver = require('semver'); /** * Resolves a peer dependency * * @param {Object} deps A hash-map of all known peer-dependencies. * @param {Module} baseMod The middleware module from where ...
'use strict' const cli = require('heroku-cli-util') const co = require('co') const debug = require('../lib/debug') const clusterConfig = require('../lib/shared').clusterConfig const isPrivate = require('../lib/shared').isPrivate const deprecated = require('../lib/shared').deprecated const withCluster = require('../li...
import { expect } from 'chai' import packageNamespace from '../../src/util/packageName' describe('util', () => { describe('packageName', () => { it('non-private module', () => { const expected = packageNamespace('react') const result = 'react' expect(expected).to.deep.eq...
$(document).ready(function() { $.extend($.fn.dataTableExt.oSort, { "date-euro-pre": function( a ) { var x; if ($.trim(a) !== '' && $.trim(a) !== 'Never') { var frDatea = $.trim(a).split(' '); var frTimea = frDatea[1].split(':'); var frDatea2 = frDatea[0].split('/'); x = (frDatea2[2] + frDatea2...
'use strict' const fs = require('fs') const mkdirp = require('mkdirp') const formatter = require('../formatter') exports.createOutput = (results, options) => { var output = { pages: results.pages, customData: {}, allData: {} } var customData = results.customData.fileTypes for (let key in customData) { let ...
module.exports = 11;
import _ from 'lodash'; /** * @function respondWithResult * @description Function that returns response with data * @param {Object} res - Express Framework Response Object * @param {Number=} statusCode - Response status code */ function respondWithResult(res, statusCode) { statusCode = statusCode || 200; retu...
/* jshint node: true */ var sqlite3 = require('sqlite3'), dbPathPrefix = process.argv[2] || '.', db = new sqlite3.Database(dbPathPrefix + '/weewx.sdb'); console.log('prefix: ' + dbPathPrefix); exports.queryData = function(from, to, datum, callback) { if(typeof(callback)!=='functio...
(function() { 'use strict'; angular .module('app.commons') .factory('commonsDataService', commonsDataService); commonsDataService.$inject = [ 'authToken', 'userInfoServiceApi', 'exception' ]; function commonsDataService( authToken, userInfoServiceApi, exception ) { var service = { a...
//var ms = require("../ms.js"); module.exports = function air( sId, sIdm1, sIdm2, bbox, symbolSet, icn, _STD2525 ) { //Air if (symbolSet == "01") { sId["110000"] = [icn["AR.I.MILITARY"]]; sId["110100"] = [icn["AR.I.FIXED-WING DSymbol"]]; sId["110101"] = [icn["AR.I.MEDICAL EVACUATION"]]; ...
/* global Puzzle:false */ 'use strict'; class MousePuzzle extends Puzzle { constructor (id, game) { super(id, game); this.subpuzzles = [false, false, false, false]; } onActivate () { document.querySelector(`.puzzles .puzzle.${this.name} .subpuzzle.sub0`).addEventListener('mouseenter', () => { ...
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { Link } from 'react-router'; import { Row, Col } from 'react-bootstrap'; import moment from 'moment'; import RatesTable from '../RatesTable/RatesTable'; import HomeOptions from '../HomeOptions/H...