code stringlengths 2 1.05M |
|---|
'use strict';
require('refill-node').init(undefined, require('gulp'));
|
/*!
* URI.js - Mutating URLs
* IPv6 Support
*
* Version: 1.11.2
*
* Author: Rodney Rehm
* Web: http://medialize.github.com/URI.js/
*
* Licensed under
* MIT License http://www.opensource.org/licenses/mit-license
* GPL v3 http://opensource.org/licenses/GPL-3.0
*
*/
(function (root, factory) {
// http... |
// Copyright 2008 The Closure Library Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless requ... |
/**
* @private
*/
IonicModule
.controller('$ionicScroll', [
'$scope',
'scrollViewOptions',
'$timeout',
'$window',
'$location',
'$document',
'$ionicScrollDelegate',
'$ionicHistory',
function($scope,
scrollViewOptions,
$timeout,
$window,
$location,
$document... |
/**
* ControlSelection.js
*
* Copyright, Moxiecode Systems AB
* Released under LGPL License.
*
* License: http://www.tinymce.com/license
* Contributing: http://www.tinymce.com/contributing
*/
/**
* This class handles control selection of elements. Controls are elements
* that can be resized and needs to be s... |
var fs = require('fs')
var http = require('http')
var toxy = require('..')
var fixtures = __dirname + '/../test/fixtures'
var opts = {
ssl: {
key: fs.readFileSync(fixtures + '/key.pem', 'utf8'),
cert: fs.readFileSync(fixtures + '/cert.pem', 'utf8')
}
}
var proxy = toxy(opts)
proxy
.forward('http://htt... |
Package.describe({
summary: "Reload safety belt for multi-server deployments",
version: '1.0.12'
});
Package.onUse(function (api) {
api.use("webapp", "server");
api.addFiles("reload-safety-belt.js", "server");
api.addAssets("safetybelt.js", "server");
});
Package.onTest(function (api) {
api.addAssets("saf... |
var hash = {
init: SHA256_init,
update: SHA256_write,
getBytes: SHA256_finalize
};
var nxtCrypto = function(curve25519, hash, converters) {
function simpleHash(message) {
hash.init();
hash.update(message);
return hash.getBytes();
}
function areByteArraysEqual(bytes1, bytes2) {
if (bytes1.length !== byt... |
'use strict';
var _ = require('lodash');
var debug = require('debug')('nock.common');
/**
* Normalizes the request options so that it always has `host` property.
*
* @param {Object} options - a parsed options object of the request
*/
var normalizeRequestOptions = function(options) {
options.proto = options.pro... |
(function ($) {
if (typeof dnn == 'undefined') window.dnn = {};
if (typeof dnn.searchSkinObject == 'undefined') {
dnn.searchSkinObject = function (options) {
var settings = {
delayTriggerAutoSearch: 100,
minCharRequiredTriggerAutoSearch: 2,
se... |
var searchData=
[
['decompose',['decompose',['../a00335.html#gac0e342656ba09a9bc97c57182ba73124',1,'glm']]],
['degrees',['degrees',['../a00373.html#ga8faec9e303538065911ba8b3caf7326b',1,'glm']]],
['derivedeuleranglex',['derivedEulerAngleX',['../a00319.html#ga994b8186b3b80d91cf90bc403164692f',1,'glm']]],
['deriv... |
/*
Language: C#
Author: Jason Diamond <jason@diamond.name>
Category: common
*/
function(hljs) {
var KEYWORDS = {
keyword:
// Normal keywords.
'abstract as base bool break byte case catch char checked const continue decimal dynamic ' +
'default delegate do double else enum event explicit extern ... |
var module = angular.module("example", ["angularGrid"]);
module.controller("exampleCtrl", function($scope, $http) {
var columnDefs = [
{headerName: "Gold", field: "gold", width: 100},
{headerName: "Silver", field: "silver", width: 100},
{headerName: "Bronze", field: "bronze", width: 100},... |
"use strict";
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = exports.styles = void 0;
var _extends2 = _int... |
/*!
* jQuery JavaScript Library v2.0.1 -css,-event-alias,-ajax,-ajax/script,-ajax/jsonp,-ajax/xhr,-effects,-offset,-dimensions,-deprecated
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
... |
var ometajs_ = require("../../ometajs").globals || global;
var StringBuffer = ometajs_.StringBuffer;
var objectThatDelegatesTo = ometajs_.objectThatDelegatesTo;
var isImmutable = ometajs_.isImmutable;
var digitValue = ometajs_.digitValue;
var isSequenceable = ometajs_.isSequenceable;
var escapeChar = ometajs_.esc... |
Template.resetPassword.helpers({
requirePasswordChange() {
let user = Meteor.user();
if (user) {
return user.requirePasswordChange;
}
},
requirePasswordChangeReason() {
let user = Meteor.user();
if (user) {
return user.requirePasswordChangeReason;
}
}
});
Template.resetPassword.events({
'focus .... |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("a11yhelp","ru",{title:"Accessibility Instructions",contents:"Help Contents. To close this dialog press ESC.",legend:[{name:"Основное",items:[{name... |
(function(g){g.touchyOptions={useDelegation:!1,longpress:{preventDefault:{start:!0,move:!0,end:!0},requiredTouches:1,msThresh:800,triggerStartPhase:!1,data:{startDate:null},proxyEvents:["TouchStart","TouchEnd"]},drag:{preventDefault:{start:!0,move:!0,end:!0},requiredTouches:1,msHoldThresh:100,data:{startPoint:null,star... |
(function($) {
"use strict"; // Start of use strict
// Smooth scrolling using jQuery easing
$('a[href*="#"]:not([href="#"])').click(function() {
if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') && location.hostname == this.hostname) {
var target = $(this.hash... |
;var a=1,b=2;
|
/**
* 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... |
( function ( $ ) {
'use strict';
var kedmanee = {
id: 'th-kedmanee',
name: 'Thai Kedmanee',
description: 'Thai Kedmanee Input Method',
date: '2012-10-25',
URL: 'http://github.com/wikimedia/jquery.ime',
author: 'Kevin K.S. Leung, <sprconan@gmail.com>',
license: 'GPLv3',
version: '1.0',
patterns: [
... |
'use strict';
var Showdown = require('showdown');
module.exports = function(Page) {
Page.createFakeData = function (faker) {
return Page.create({
name: faker.lorem.sentence(),
content: ' > ' + faker.lorem.paragraph()
});
};
var converter = new Showdown.converter();
Page.html = function(... |
// ==UserScript==
// @id iitc-plugin-highlight-outbound-link-counter@cathesaurus
// @name IITC plugin: highlight portals running low on outbound links
// @category Deleted
// @version 0.1.0.@@DATETIMEVERSION@@
// @namespace https://github.com/jonatkins/ingress-intel-total-conversion
/... |
/**
* @ngdoc directive
* @name cloud-layer
* @requires Attr2Options
* @description
* Requires: map directive
* Restrict To: Element
*
* @example
* Example:
*
* <map zoom="13" center="34.04924594193164, -118.24104309082031">
* <cloud-layer></cloud-layer>
* </map>
*/
/*jshint -W089*/
ngMap... |
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
import _extends from "@babel/runtime/helpers/esm/extends";
import * as React from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
import formControlState from '../FormControl/formControlState';
imp... |
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License.txt in the project root for license information.
define([
'./_Global'
], function profilerInit(_Global) {
"use strict";
return _Global.msWriteProfilerMark || function () { };
}); |
// Print out code language usage based on level session data
// Usage:
// mongo <address>:<port>/<database> <script file> -u <username> -p <password>
const scriptStartTime = new Date();
const today = new Date().toISOString().substr(0, 10);
const numDays = 30;
const dayIncrement = 1;
const startDate = new Date();
st... |
goog.require('ol.Map');
goog.require('ol.View');
goog.require('ol.format.GPX');
goog.require('ol.format.GeoJSON');
goog.require('ol.format.IGC');
goog.require('ol.format.KML');
goog.require('ol.format.TopoJSON');
goog.require('ol.interaction');
goog.require('ol.interaction.DragAndDrop');
goog.require('ol.layer.Tile');
... |
version https://git-lfs.github.com/spec/v1
oid sha256:849b7e5d81367a057145ed64e7749e808f4a946f9f83e1902454ba722305ae2c
size 834
|
/**
* @fileoverview Rule to enforce grouped require statements for Node.JS
* @author Raphael Pigulla
*/
//------------------------------------------------------------------------------
// Rule Definition
//------------------------------------------------------------------------------
module.exports = function(cont... |
import styled from 'styled-components';
const Wrapper = styled.li`
width: 100%;
padding: 1em 0;
position: relative;
`;
export default Wrapper;
|
module.exports={title:"Rider",slug:"rider",svg:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Rider icon</title><path d="M0 0v24h24V0zm7.031 3.113A4.063 4.063 0 0 1 9.72 4.14a3.23 3.23 0 0 1 .84 2.28A3.16 3.16 0 0 1 8.4 9.54l2.46 3.6H8.28L6.12 9.9H4.38v3.24H2.16V3.12c1.61-.004 3.281.009 ... |
// # Update Checking Service
//
// Makes a request to Ghost.org to check if there is a new version of Ghost available.
// The service is provided in return for users opting in to anonymous usage data collection
// Blog owners can opt-out of update checks by setting 'updateCheck: false' in their config.js
//
// The data... |
/* Copyright (c) 2006-2013 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/SingleFile.js
*/
/**
* @requires Ope... |
"use strict";
/**
* filesize
*
* @copyright 2017 Jason Mulligan <jason.mulligan@avoidwork.com>
* @license BSD-3-Clause
* @version 3.4.2
*/
(function (global) {
var b = /^(b|B)$/,
symbol = {
iec: {
bits: ["b", "Kib", "Mib", "Gib", "Tib", "Pib", "Eib", "Zib", "Yib"],
bytes: ["B", "KiB", "MiB", "GiB",... |
#pragma strict
@script ExecuteInEditMode
@script RequireComponent (Camera)
@script AddComponentMenu ("Image Effects/Camera/Depth of Field (deprecated)")
enum Dof34QualitySetting {
OnlyBackground = 1,
BackgroundAndForeground = 2,
}
enum DofResolution {
High = 2,
Medium = 3,
Low = 4,
}
enum DofBlurriness {
L... |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v9.0.3
* @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 <... |
"use strict";exports.__esModule=!0,exports.TYPES=void 0;const TYPES=!0;exports.TYPES=!0; |
describe('Foundation core', function() {
it('exists on the window', function() {
(window.Foundation).should.be.an('object');
});
it('is a jQuery prototype function', function() {
($.fn.foundation).should.to.be.a('function');
});
describe('rtl()', function() {
it('detects the text direction on th... |
module.exports={title:"Trove",slug:"trove",svg:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Trove icon</title><path d="M19.699 12.775v8.529c0 .55-.54.945-1.058.735l-4.911-1.946a.786.786 0 01-.488-.735V7.882c0-.435.352-.79.786-.79h4.722v-2.75H5.277v2.75h4.72a.79.79 0 01.788.79v11.476a.7... |
/*
YUI 3.17.0 (build ce55cc9)
Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('series-stacked', function (Y, NAME) {
/**
* Provides functionality for creating stacked series.
*
* @module charts
* @submodule series-stacked
*/
var Y_Lang = Y... |
/*
* Copyright 2015 brutusin.org
*
* Licensed under the Apache License, Version 2.0 (the "SuperLicense");
* 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... |
(function (factory) {
if (typeof module === "object" && typeof module.exports === "object") {
var v = factory(require, exports);
if (v !== undefined) module.exports = v;
}
else if (typeof define === "function" && define.amd) {
define(["require", "exports"], factory);
}
})(functio... |
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("d3-selection"), require("d3-dispatch"));
else if(typeof define === 'function' && define.amd)
define(["d3-selection", "d3-dispatch"], factory);
else if(typeof... |
"use strict";
var keys = Object.keys;
function assign(target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i];
var props = source == null ? [] : keys(source);
var p = void 0,
length = props.length;
for (p = 0; p < length; p++) {
var name = props[p];
target[... |
/**
* Copyright (c) 2015, Facebook, Inc. All rights reserved.
*
* Facebook, Inc. (“Facebook”) owns all right, title and interest, including
* all intellectual property and other proprietary rights, in and to the React
* Native CustomComponents software (the “Software”). Subject to your
* compliance with these t... |
var express = require('express');
var router = express.Router();
var util = require('util');
var constants = require('../util/constants');
var utils = require('../util/utils')
var specials = function (coverage) {
router.get('/constantsInPath/constant/value', function (req, res, next) {
coverage["ConstantsIn... |
/**
* Base Context Fixture
* (for a collection)
*/
module.exports = {
connections: {},
waterline: {
_collections: [],
_connections: {},
collections: {},
connections: {},
schema: {}
},
attributes: {},
adapter: {},
_attributes: {},
_schema: {}
};
|
import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let DeviceBatteryStd = (props) => (
<SvgIcon {...props}>
<path d="M15.67 4H14V2h-4v2H8.33C7.6 4 7 4.6 7 5.33v15.33C7 21.4 7.6 22 8.33 22h7.33c.74 0 1.34-.6 1.34-1.33V5.33C17 4.6 16.4 4 15.67 4z"/>
</SvgIcon>
);
D... |
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'smiley', 'fa', {
options: 'گزینههای خندانک',
title: 'گنجاندن خندانک',
toolbar: 'خندانک'
} );
|
(function () {
'use strict';
function isDefined(a) {
return !!a || a === 0 || a === false;
}
function isNumber(a) {
return typeof a === 'number';
}
function isSVG(target) {
return target instanceof SVGElement;
}
function isDOM(target) {
return target.nodeType || isSVG(target);
}
function lazy(init... |
'use strict';
if (!require('./is-implemented')()) {
Object.defineProperty(Number, 'MIN_SAFE_INTEGER', { value: require('./'),
configurable: false, enumerable: false, writable: false });
}
|
!function(){var a="undefined"!=typeof window&&window.numeral?window.numeral:require("../numeral");a.register("locale","fr",{delimiters:{thousands:" ",decimal:","},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(a){return 1===a?"er":"e"},currency:{symbol:"€"}})}(); |
/*
Highcharts JS v6.0.1 (2017-10-05)
Solid angular gauge module
(c) 2010-2017 Torstein Honsi
License: www.highcharts.com/license
*/
(function(l){"object"===typeof module&&module.exports?module.exports=l:l(Highcharts)})(function(l){(function(e){var l=e.pInt,u=e.pick,m=e.each,r=e.isNumber,w=e.wrap,v;w(e.Renderer.p... |
'use strict';
//This file contains the ES6 extensions to the core Promises/A+ API
var Promise = require('./core.js');
var asap = require('asap/raw');
module.exports = Promise;
/* Static Functions */
var TRUE = valuePromise(true);
var FALSE = valuePromise(false);
var NULL = valuePromise(null);
var UNDEFINED = value... |
(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... |
$(function () {
'use strict';
module('scrollspy plugin')
test('should be defined on jquery object', function () {
ok($(document.body).scrollspy, 'scrollspy method is defined')
})
module('scrollspy', {
setup: function () {
// Run all tests in noConflict mode -- it's the only way to ensure that... |
/**
* @fileoverview Tests for complexity rule.
* @author Patrick Brosset
*/
"use strict";
//------------------------------------------------------------------------------
// Requirements
//------------------------------------------------------------------------------
var rule = require("../../../lib/rules/complex... |
"use strict";
exports.__esModule = true;
// istanbul ignore next
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj["default"] = obj;... |
(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... |
/*global $:false, _:false, Morris:false, __report:false, __history:false, __options: false */
/*jshint browser:true*/
$(function(){
"use strict";
// bootstrap popover
$('[rel=popover]').popover();
// @todo put client side templates into a JST
var fileGraphTemplate = _.template(
'<div class="threshold-<... |
(function(Prism) {
Prism.languages.crystal = Prism.languages.extend('ruby', {
keyword: [
/\b(?:abstract|alias|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|rescue|return|require|select|self|sizeof|... |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
;(function (root, factory) {
var objectTypes = {
'boolean': false,
'function': true,
'object': true,
'number': false,
'string': false,
'undefined': false
};
... |
/*
* /MathJax/localization/pl/HTML-CSS.js
*
* Copyright (c) 2009-2015 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
*
* http://www.apache.org/licen... |
"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return _RadioGroup.default}}),Object.defineProperty(exports,"useRadioGroup",{enumerable:!0,get:func... |
/**
* @providesModule BoundingDimensions
*/
'use strict';
var PooledClass = require('PooledClass');
var twoArgumentPooler = PooledClass.twoArgumentPooler;
/**
* PooledClass representing the bounding rectangle of a region.
*
* @param {number} width Width of bounding rectangle.
* @param {number} height Height o... |
// enable runtime transpilation to use ES6/7 in node
var fs = require('fs');
var babelrc = fs.readFileSync('./.babelrc');
var config;
try {
config = JSON.parse(babelrc);
} catch (err) {
console.error('==> ERROR: Error parsing your .babelrc.');
console.error(err);
}
require('babel-core/register')(config);... |
'use strict'
/* A simple π estimation function using a Monte Carlo method
* For 0 to `points`, take 2 random numbers < 1, square and add them to
* find the area under that point in a 1x1 square. If that area is <= 1
* then it's *within* a quarter-circle, otherwise it's outside.
* Take the number of points <= 1 and... |
1 = 2 |
"use strict";
var Test = function Test() {
babelHelpers.classCallCheck(this, Test);
}; |
(function() {
var view;
module("Backbone.View", {
setup: function() {
$('#qunit-fixture').append(
'<div id="testElement"><h1>Test</h1></div>'
);
view = new Backbone.View({
id : 'test-view',
className : 'test-view',
other : 'non-special-option'
... |
/*
* /MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFiveSym/Regular/All.js
*
* Copyright (c) 2009-2016 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
*
* ... |
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"));
else if (typeof define == "function" && define.amd) // AMD
define(["../../lib/codemirror"], mod);
else // Plain browser env
mod(CodeMirror);
})(function(CodeMirror) {
"use ... |
function array_intersect_uassoc (arr1) {
// http://kevin.vanzonneveld.net
// + original by: Brett Zamir (http://brett-zamir.me)
// * example 1: $array1 = {a: 'green', b: 'brown', c: 'blue', 0: 'red'}
// * example 1: $array2 = {a: 'GREEN', B: 'brown', 0: 'yellow', 1: 'red'}
// * example 1: array_... |
!function(e){jQuery.extend(!0,window,{Slick:{Formatters:{PercentComplete:function(e,n,r,t,o){return null==r||""===r?"-":r<50?"<span style='color:red;font-weight:bold;'>"+r+"%</span>":"<span style='color:green'>"+r+"%</span>"},PercentCompleteBar:function(e,n,r,t,o){if(null==r||""===r)return"";return"<span class='percent... |
/*
* jQuery Pines Notify (pnotify) Plugin 1.2.0
*
* http://pinesframework.org/pnotify/
* Copyright (c) 2009-2012 Hunter Perrin
*
* Triple license under the GPL, LGPL, and MPL:
* http://www.gnu.org/licenses/gpl.html
* http://www.gnu.org/licenses/lgpl.html
* http://www.mozilla.org/MPL/MPL-1.1.html
*/
(fu... |
var aes = require('./aes')
var Transform = require('./cipherBase')
var inherits = require('inherits')
var modes = require('./modes')
var StreamCipher = require('./streamCipher')
var AuthCipher = require('./authCipher')
var ebtk = require('./EVP_BytesToKey')
inherits(Decipher, Transform)
function Decipher (mode, key, i... |
/*
* signal-test.js: Tests for spin restarts in forever.
*
* (C) 2010 Charlie Robbins & the Contributors
* MIT LICENCE
*
*/
var assert = require('assert'),
path = require('path'),
vows = require('vows'),
fmonitor = require('../../lib');
vows.describe('forever-monitor/monitor/signal').addBatch({
"W... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = getImplicitRoleForArea;
var _jsxAstUtils = require('jsx-ast-utils');
/**
* Returns the implicit role for an area tag.
*/
function getImplicitRoleForArea(attributes) {
if ((0, _jsxAstUtils.getProp)(attributes, 'href')... |
'use strict';/*!
* This is a `i18n` language object.
*
* Chinese (Traditional)
*
* @author
* Jalios (Twitter: @Jalios)
* Sascha Greuel (Twitter: @SoftCreatR)
*
* @see core/i18n.js
*/
(function (exports) {
if (exports.zh === undefined) {
exports.zh = {
"mejs.plural-form": 0,
// "mejs.install-fl... |
/**
* Lo-Dash 2.4.1 (Custom Build) <http://lodash.com/>
* Build: `lodash modularize exports="node" -o ./compat/`
* Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
* Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE>
* Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investiga... |
var
http = require('http'),
https = require('https'),
util = require('util')
;
//----------------------------------------------------------------------------------------
function KeepAliveAgent(options)
{
options = options || {};
http.Agent.call(this, options);
// Keys are host:port names, values are lists of... |
/**
* angular-strap
* @version v2.1.5 - 2014-12-23
* @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.tab").run(["$templateCache",function(a){a.put("tab/tab.tp... |
/*!
* Qoopido.js library v3.6.3, 2015-4-24
* https://github.com/dlueth/qoopido.js
* (c) 2015 Dirk Lueth
* Dual licensed under MIT and GPL
*/
!function(e){window.qoopido.register("polyfill/document/queryselectorall",e)}(function(e,t,r,s,l,o){"use strict";return o.querySelectorAll||(o.querySelectorAll=function(e){var t,r... |
/**
* core-js 0.9.16
* https://github.com/zloirock/core-js
* License: http://rock.mit-license.org
* © 2015 Denis Pushkarev
*/
!function(undefined){
'use strict';
var __e = null, __g = null;
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/*****... |
"use strict";
var f = require('util').format
, Long = require('bson').Long
, setProperty = require('./utils').setProperty
, getProperty = require('./utils').getProperty
, getSingleProperty = require('./utils').getSingleProperty;
// Incrementing request id
var _requestId = 0;
// Wire command operation ids
var... |
/*
YUI 3.17.1 (build 0eb5a52)
Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('series-area-stacked', function (Y, NAME) {
/**
* Provides functionality for creating a stacked area series.
*
* @module charts
* @submodule series-area-stacked
... |
/*!
* Bootstrap-select v1.6.5 (http://silviomoreto.github.io/bootstrap-select)
*
* Copyright 2013-2015 bootstrap-select
* Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
*/
!function(a){a.fn.selectpicker.defaults={noneSelectedText:"Нічого не вибрано",noneResultsText:"Збігі... |
'use strict';
/* eslint-disable camelcase */
module.exports = {
natural: {
//false = linestring and Polygon
wood: true,
scrub: true,
heath: true,
moor: true,
grassland: true,
fell: true,
bare_rock: true,
scree: true,
shingle: true,
sand: true,
mud: true,
water: true... |
const express = require('express');
const fs = require('fs');
const glob = require('glob');
const port = 8101;
var publicDir = 'build/local/';
if (process.argv.length > 2) {
publicDir = process.argv[2];
}
IndexPage = function(req, res) {
function scriptList() {
let script_meta = getAllScripts();... |
var Hyponym = require("./");
module.exports = function Either(TypeA, TypeB) {
var name = 'Either('+TypeA.name()+','+TypeB.name()+')';
return Hyponym({
name: name,
validate: function(val) {
return TypeA.validate(val) || TypeB.validate(val);
},
serialize: function(val) {
return TypeA.validate(val)
?... |
'use strict';
var requirejs = require('requirejs');
requirejs.config({
baseUrl: __dirname + '/../../source/js'
});
exports['API string builder'] = {
setUp: function (callback) {
var that = this;
requirejs(['libs/api'],
function (api) {
that.api = api;
callback();
});
},
tearDown: function (callba... |
/**
* @author Maxime Haineault (max@centdessin.com)
* @version 0.4
* @desc JavaScript cookie manipulation class
*
*/
(function(w){
w.Cookie = {
/** Get a cookie's value
*
* @param integer key The token used to create the cookie
* @return void
*/
get: function(key) {
// Still not sure th... |
module.exports = function(fs, pwd)
{
return function(path, key)
{
return new Promise(
function(resolve)
{
var version = "";
var local = path.split("/").map(
function(part)
{
var pos = ... |
module.exports = {
parse: answers => ({
...answers,
bar: answers.foo + 'bar'
}),
prompts: [
{
type: 'text',
name: 'foo',
message: 'foo'
}
]
}
|
/* jshint esversion: 6 */
(function() {
if (!('WebSocket' in window)) return;
var proto = (location.protocol === "https:") ? "wss://" : "ws://";
function connect() {
var ws = new WebSocket(proto + location.host + "/.gostatic.hotreload");
ws.onmessage = function(e) {
localStorage.hotreloaddebug &... |
var Merger = require('../../src/utils/merger');
describe('Merger', function() {
var merger;
describe('Basic functionality', function() {
var result;
beforeEach(function(done) {
merger = Merger((merged) => {
result = merged;
done();
});
merger.add(1);
merger.add(2)... |
'use strict';
module.exports = Output
var readline = require('readline')
function Output(disableTTY) {
this._inUpdate = false
this._tty = !disableTTY && process.stdout.isTTY
}
Output.prototype.log = function () {
this.endUpdate()
console.log.apply(null, arguments)
}
Output.prototype.update = functio... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.