code stringlengths 2 1.05M |
|---|
/**
* @license
* v1.2.10-5
* MIT (https://github.com/pnp/pnpjs/blob/master/LICENSE)
* Copyright (c) 2019 Microsoft
* docs: https://pnp.github.io/pnpjs/
* source: https://github.com/pnp/pnpjs
* bugs: https://github.com/pnp/pnpjs/issues
*/
import { extend, objectDefinedNotNull, getAttrValueFromString, jsS, hOP, c... |
import React from 'react';
import MediaBox from '../src/MediaBox';
export default
<MediaBox src="assets/sample-1.jpg" caption="A demo media box1" width="650"/>;
|
Object.defineProperty(exports, "__esModule", { value: true });
var observable_1 = require("../../../data/observable");
var style_1 = require("../../styling/style");
exports.Style = style_1.Style;
exports.unsetValue = new Object();
var symbolPropertyMap = {};
var cssSymbolPropertyMap = {};
var inheritableProperties = ne... |
/**
* @license Highcharts JS v7.1.3 (2019-08-14)
*
* Dot plot series type for Highcharts
*
* (c) 2010-2019 Torstein Honsi
*
* License: www.highcharts.com/license
*/
'use strict';
(function (factory) {
if (typeof module === 'object' && module.exports) {
factory['default'] = factory;
module.ex... |
#!/usr/bin/env node
/*global require, global*/
var test = require('tape');
var Promise = require('bluebird');
var util = require('base-widget/spec/util');
var cli = require('../lib/cli');
var Slap = require('../lib/ui/Slap');
test("cli", function (t) {
Promise.using(cli({screen: util.screenFactory()}), function (s... |
import React, { Component } from 'react'
import { Dropdown } from 'semantic-ui-react'
const options = [
{ key: 'English', text: 'English', value: 'English' },
{ key: 'French', text: 'French', value: 'French' },
{ key: 'Spanish', text: 'Spanish', value: 'Spanish' },
{ key: 'German', text: 'German', value: 'Germ... |
import _curry2 from './internal/_curry2.js';
/**
* Divides the first parameter by the second and returns the remainder. Note
* that this function preserves the JavaScript-style behavior for modulo. For
* mathematical modulo see [`mathMod`](#mathMod).
*
* @func
* @memberOf R
* @since v0.1.1
* @category Math
*... |
angular.module('controller.settingctrl', [])
.controller('SettingCtrl', function($scope, $rootScope, Util, Purchase, $ionicHistory, $translate,
$ionicSideMenuDelegate, $ionicPopup, $location) {
var menuContent = null;
var strOkay = "OK";
var strCancel... |
// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
// MIT License. See license.txt
frappe.ui.form.Footer = Class.extend({
init: function(opts) {
var me = this;
$.extend(this, opts);
this.make();
this.make_assignments();
this.make_attachments();
this.make_tags();
this.make_comments(... |
define(
//begin v1.x content
{
"dateFormatItem-yM": "MM/yyyy GGGGG",
"dateFormatItem-yQ": "Q yyyy GGGGG",
"dayPeriods-format-wide-pm": "p.m.",
"eraNames": [
"eB"
],
"dateFormatItem-MMMEd": "E d MMM",
"dateFormatItem-hms": "h:mm:ss a",
"dateFormatItem-yQQQ": "QQQ y G",
"days-standAlone-wide": [
"Diumenge",
... |
module.exports=/[\u0300-\u036F\u0485\u0486\u064B-\u0655\u0670\u0951\u0952\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1DC0-\u1DE6\u1DFC-\u1DFF\u200C\u200D\u20D0-\u20F0\u302A-\u302D\u3099\u309A\uFE00-\uFE0F\uFE20-\uFE26]|\uD800\uDDFD|\uD834[\uDD67-\uDD69\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD]|\uDB40[\uDD00-\uDD... |
(function() {
var Tabs = function(element, options) {
this.element = element;
this.$element = $(element);
this.options = options;
this.metadata = this.$element.data('options');
};
Tabs.prototype = {
defaults: {
tabListClass: ".list__tabs", ... |
for (var i = 1; i <= 100; i++) {
if (i % 15 === 0) {
console.log('FizzBuzz');
} else if (i % 3 === 0) {
console.log('Fizz');
} else if (i % 5 === 0) {
console.log('Buzz');
} else {
console.log(i);
}
} |
(function() {
'use strict';
angular.module('formlyApp').factory('province', province);
function province() {
function getProvinces() {
return [{
"name": "Alberta",
"value": "alberta"
}, {
"name": "British Columbia",
... |
// Parser for TypeScript-style definition files
//
// Takes a TypeScript file as, for example, found in
// github.com/borisyankov/DefinitelyTyped , and spits out Tern type
// description JSON data.
var fs = require("fs");
// The TypeScript code is all there in the npm package, but it's not
// exporting anything as a ... |
var parent = require('../../actual/instance/replace-all');
module.exports = parent;
|
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var _pure = require('recompose/pure');
var _pure2 = _interopRequireDefault(_pure);
var _SvgIcon = require('../../SvgIcon');
var _SvgIcon2 = _interopRequireDe... |
/**
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
define([
'ko',
'underscore'
], function (ko, _) {
'use strict';
function iterator(callback, args, elem) {
callback = elem[callback];
if (_.isFunction(callback)) {
ret... |
if (typeof ColumnsPlugins === 'undefined') var ColumnsPlugins = {};
ColumnsPlugins.gotopage = {
init: function() {
var $this = this;
$this.$el.one('keyup', '.gotopage', function() {
$this.gotoPage(parseInt($(this).val()));
});
},
create: function() {
th... |
var fs = require('fs');
var spawn = require('child_process').spawn;
var path = require('path');
var Promise = require('bluebird');
module.exports = function(log) {
var install = function (project, options) {
options = options || {};
return new Promise(function(resolve, reject){
var bowerJson = JSON.s... |
// Base 64 encoding
const BASE_64_CHARS = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
const BASE_64_VALS = Object.create(null);
const getChar = val => BASE_64_CHARS.charAt(val);
const getVal = ch => ch === '=' ? -1 : BASE_64_VALS[ch];
for (let i = 0; i < BASE_64_CHARS.length; i++) {
BASE_6... |
var fs = require('fs')
var path = require('path')
var compiler = require('../lib/compiler')
var assert = require('assert')
var hash = require('hash-sum')
// test custom transform
compiler.applyConfig({
customCompilers: {
test: function (content, cb) {
content = content.replace('not ', '')
cb(null, co... |
var foo = function () {
var ref = babelHelpers.asyncToGenerator(function* () {
var wat = yield bar();
});
return function foo() {
return ref.apply(this, arguments);
};
}();
|
'use strict';
const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');
if (!common.enoughTestMem)
common.skip('Insufficient memory for TLS benchmark test');
// Because the TLS benchmarks use hardcoded ports, this should be in sequential
// rather than parallel to make sure it d... |
import isBrowser from 'src/lib/isBrowser'
describe('isBrowser', () => {
it('should return true in a browser', () => {
// tests are run in a browser, this should be true
isBrowser.should.be.true()
})
it('should return false when there is no document', () => {
require('imports?document=>undefined!src/... |
/* *
*
* (c) 2009-2020 Torstein Honsi
*
* License: www.highcharts.com/license
*
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
*
* */
'use strict';
import H from '../parts/Globals.js';
/**
* Containing the position of a box that should be avoided by labels.
*
* @interface Highc... |
// References:
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/
// https://gist.github.com/1579671
// http://updates.html5rocks.com/2012/05/requestAnimationFrame-API-now-with-sub-millisecond-precision
// https://gist.github.com/timhall/4078614
// https://github.com/Financial-Times/polyfill-servic... |
/**
* Filter to keep request sequence.
*/
var logger = require('pomelo-logger').getLogger('pomelo', __filename);
var taskManager = require('../../common/manager/taskManager');
module.exports = function() {
return new Filter();
};
var Filter = function() {
};
/**
* request serialization after filter
*/
Filter.p... |
var SCRATCH_UUID = 'a495ff20c5b14b44b5121370f02d74de';
var SCRATCH_ONE = 'a495ff21c5b14b44b5121370f02d74de';
function ScratchOne() {
}
ScratchOne.prototype.readOne = function(callback) {
this.readDataCharacteristic(SCRATCH_UUID, SCRATCH_ONE, callback);
};
ScratchOne.prototype.writeOne = function(data, callback) {
... |
var FRAME_RATE = 50;
var MY_RADIUS = 10;
var MAX_SPEED = 10;
var walkerManagers = [];
function Walker(x, y, radius, index) {
this.x = x;
this.y = y;
this.radius = radius;
this.index = index;
}
Walker.prototype.update = function(time) {
this.x += (sin(this.index + time) + map(noise(time, this.index), 0, 1, -... |
import{__decorate,__metadata}from"tslib";import{ɵɵdefineInjectable,ɵɵinject,Injectable}from"@angular/core";import{Angulartics2}from"angulartics2";var facebookEventList=["ViewContent","Search","AddToCart","AddToWishlist","InitiateCheckout","AddPaymentInfo","Purchase","Lead","CompleteRegistration"],Angulartics2Facebook=f... |
/**
* uri validator
*
* @link http://formvalidation.io/validators/uri/
* @author https://twitter.com/formvalidation
* @copyright (c) 2013 - 2015 Nguyen Huu Phuoc
* @license http://formvalidation.io/license/
*/
(function($) {
FormValidation.I18n = $.extend(true, FormValidation.I18n || {}, {
... |
/*
* Manages the control palette loading and displaying
*/
+function ($) { "use strict";
var Base = $.oc.foundation.base,
BaseProto = Base.prototype
var ControlPalette = function() {
Base.call(this)
this.controlPaletteMarkup = null
this.popoverMarkup = null
this.cont... |
/*************************************************************
*
* MathJax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Main.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 t... |
import config from './config/environment'
import Ember from 'ember'
import loadInitializers from 'ember-load-initializers'
import Resolver from './resolver'
const {Application} = Ember
let App
Ember.MODEL_FACTORY_INJECTIONS = true
App = Application.extend({
modulePrefix: config.modulePrefix,
podModulePrefix: con... |
run_spec(__dirname, null, ["typescript"]);
run_spec(__dirname, { trailingComma: "all" }, ["typescript"]);
run_spec(__dirname, { trailingComma: "es5" }, ["typescript"]);
|
var qs = require('querystring');
var url = require('url');
var Entities = require('html-entities').AllHtmlEntities;
var FORMATS = require('./formats');
var VIDEO_URL = 'https://www.youtube.com/watch?v=';
/**
* Parses a string representation of amount of milliseconds.
*
* @param {String} time
* @retu... |
module.exports={title:"Google Earth",slug:"googleearth",svg:'<svg role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title>Google Earth icon</title><path d="M12 0c-1.326 0-2.597.22-3.787.613 4.94-1.243 8.575 1.72 11.096 5.606 1.725 2.695 2.813 2.83 4.207 2.412A11.956 11.956 0 0012 0zM7.658 2.156c-1.644.... |
require("should");
var PurchaseRequest = require('../../data-util/purchasing/purchase-request-data-util');
var helper = require("../../helper");
var validate = require("dl-models").validator.purchasing.purchaseRequest;
var PurchaseRequestManager = require("../../../src/managers/purchasing/purchase-request-manager");
v... |
/**! Qoopido.demand 5.1.1 | https://github.com/dlueth/qoopido.demand | (c) 2018 Dirk Lueth */
!function(d){"use strict";provide(["/demand/function/iterate"],function(e){function t(e){var t,n,r=e.match(c);r&&(t=function(e){var t,n=d.getItem(e);if(n&&(t=n.match(s)))return Array.prototype.slice.call(t,1)}((n=r[1],"["+a+"]... |
var nwmatcher = require("nwmatcher");
function addNwmatcher(document) {
if (!document._nwmatcher) {
document._nwmatcher = nwmatcher({ document: document });
}
return document._nwmatcher;
}
exports.applyQuerySelector = function(doc, dom) {
doc.querySelector = function(selector) {
return addNwmatcher(th... |
(function ($) {
AjaxSolr.CalendarWidget = AjaxSolr.AbstractFacetWidget.extend({
afterRequest: function () {
var self = this;
$(this.target).datepicker('destroy').datepicker({
dateFormat: 'yy-mm-dd',
defaultDate: new Date(1987, 2, 1),
maxDate: $.datepicker.parseDate('yy-mm-dd', this.manager.... |
/*!
* migrate - Migration
* Copyright (c) 2010 TJ Holowaychuk <tj@vision-media.ca>
* MIT Licensed
*/
/**
* Expose `Migration`.
*/
module.exports = Migration;
function Migration(title, up, down) {
this.title = title;
this.up = up;
this.down = down;
} |
var utils = require('../utils');
var prism = new (require('../prism'));
class CodeOutput {
constructor() {
this.container = utils.strToEl(
'<div class="code-output">' +
'<pre><code></code></pre>' +
'</div>' +
'');
this._codeEl = this.container.querySelector('code');
}
async setSv... |
var five = require("../lib/johnny-five.js");
var board = new five.Board();
board.on("ready", function() {
var motors = new five.Motors([
{ controller: "EVS_EV3", pin: "BAM1" },
{ controller: "EVS_EV3", pin: "BBM1" },
]);
this.wait(2000, function() {
motors.rev();
this.wait(2000, function() {
... |
var Iconv = require("iconv").Iconv,
app = require("./app"),
Configurable = require("./configurable");
var iconv = new Iconv("UTF-8", "ASCII//TRANSLIT//IGNORE");
var wsReplacement = "-";
var overrides = {};
function getWhitespaceReplacement() {
// For future improvements
return "-";
}
var Namer = function... |
import { wrap as aesKw } from '../runtime/aeskw.js';
import * as ECDH from '../runtime/ecdhes.js';
import { encrypt as pbes2Kw } from '../runtime/pbes2kw.js';
import { encrypt as rsaEs } from '../runtime/rsaes.js';
import { encode as base64url } from '../runtime/base64url.js';
import generateCek, { bitLength as cekLeng... |
'use strict';
/**
* @ngdoc directive
* @name ng.directive:select
* @restrict E
*
* @description
* HTML элемент `SELECT` с поддержкой связывания данных.
*
* # `ngOptions`
*
* Необязательный атрибут `ngOptions` может использоваться для динамической генерации списка элементов
* `<option>` для элемента `<selec... |
// tquery.js - https://github.com/jeromeetienne/tquery - MIT License
|
'use strict';
const gulp = require('gulp');
const path = require('path');
const tools = require('urbanjs-tools');
tools.tasks.nsp.register(gulp, 'nsp', {
packageFile: path.join(__dirname, 'package.json')
});
|
define("d3/test/xhr/json-test", ["dojo","dijit","dojox"], function(dojo,dijit,dojox){
var vows = require("vows"),
load = require("../load"),
assert = require("../assert");
var suite = vows.describe("d3.json");
suite.addBatch({
"json": {
topic: load("xhr/json").expression("d3.json").document(),
"on ... |
function ctype_print(text) {
// discuss at: http://phpjs.org/functions/ctype_print/
// original by: Brett Zamir (http://brett-zamir.me)
// depends on: setlocale
// example 1: ctype_print('AbC!#12');
// returns 1: true
if (typeof text !== 'string') {
return false;
}
// BEGIN REDUNDANT
this.s... |
var Vec3 = require('../math/Vec3');
module.exports = Spring;
/**
* A spring, connecting two bodies.
*
* @class Spring
* @constructor
* @param {Body} bodyA
* @param {Body} bodyB
* @param {Object} [options]
* @param {number} [options.restLength] A number > 0. Default: 1
* @param {number} [options.stiffness] ... |
var parent = require('../../../stable/string/virtual/fontsize');
module.exports = parent;
|
version https://git-lfs.github.com/spec/v1
oid sha256:85c6e80fe290ea76de8396f8607df1301a71e2089a71a99fc90bfd9b7b159546
size 16638
|
/**
* https://github.com/mrdoob/eventdispatcher.js/
*/
THREE.EventDispatcher = function () {};
Object.assign( THREE.EventDispatcher.prototype, {
addEventListener: function ( type, listener ) {
if ( this._listeners === undefined ) this._listeners = {};
var listeners = this._listeners;
if ( l... |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'format', 'sl', {
label: 'Oblika',
panelTitle: 'Oblika',
tag_address: 'Napis',
tag_div: 'Navaden (DIV)',
tag_h1: 'Naslov 1',
tag_h2:... |
(function(window, undefined) {
window.tracking = window.tracking || {};
/**
* Inherit the prototype methods from one constructor into another.
*
* Usage:
* <pre>
* function ParentClass(a, b) { }
* ParentClass.prototype.foo = function(a) { }
*
* function ChildClass(a, b, c) {
* tracking... |
module.exports={A:{A:{"132":"K C G E A B YB"},B:{"2":"D w Z I M H"},C:{"2":"0 1 3 5 6 7 8 WB AB F J K C G E A B D w Z I M H N O P Q R S T U V W X Y y a b c d e f L h i j k l m n o p q r s t u v z x UB OB"},D:{"289":"0 1 3 5 6 7 8 F J K C G E A B D w Z I M H N O P Q R S T U V W X Y y a b c d e f L h i j k l m n o p q r ... |
// Github: https://github.com/shdwjk/Roll20API/blob/master/GroupInitiative/GroupInitiative.js
// By: The Aaron, Arcane Scriptomancer
// Contact: https://app.roll20.net/users/104025/the-aaron
var GroupInitiative = GroupInitiative || (function() {
'use strict';
var version = '0.9.18',
lastUpdat... |
var searchData=
[
['addcallcompletedcallback',['AddCallCompletedCallback',['../classv8_1_1_v8.html#a3f70d920e58ac54b56f06363b5130fa3',1,'v8::V8']]],
['addgcepiloguecallback',['AddGCEpilogueCallback',['../classv8_1_1_v8.html#a37aadf3536c772eb5bbf67fa7822679a',1,'v8::V8']]],
['addgcprologuecallback',['AddGCPrologue... |
// Copyright 2010 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... |
// Generated by CoffeeScript 1.3.3
(function() {
var Event, EventEmitter, EventEmitterEnhanced, EventSystem, balUtilFlow, balUtilTypes, debug,
__hasProp = {}.hasOwnProperty,
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ct... |
/*
YUI 3.17.2 (build 9c3c78e)
Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add("series-spline",function(e,t){e.SplineSeries=e.Base.create("splineSeries",e.LineSeries,[e.CurveUtil,e.Lines],{drawSeries:function(){this.drawSpline()}},{ATTRS:{type:{v... |
require('./harness').run();
var recvCount = 0;
var body = "hello world";
connection.addListener('ready', function () {
puts("connected to " + connection.serverProperties.product);
var q = connection.queue('node-default-exchange', function() {
q.bind("#"); // bind to queue
q.on('queueBindOk', function() ... |
// HTML5 entities map: { name -> utf16string }
//
'use strict';
/*eslint quotes:0*/
module.exports = require('entities/lib/maps/entities.json');
|
'use strict';
Object.defineProperty(exports, '__esModule', {
value: true
});
exports.default = void 0;
function _child_process() {
const data = require('child_process');
_child_process = function () {
return data;
};
return data;
}
function _stream() {
const data = require('stream');
_stream = f... |
(function (global) {
var babelHelpers = global.babelHelpers = {};
babelHelpers.inherits = function (subClass, superClass) {
if (typeof superClass !== "function" && superClass !== null) {
throw new TypeError("Super expression must either be null or a function, not " + typeof superClass);
}
subCla... |
'use strict';
exports.__esModule = true;
var _plugin = require('../plugin');
var _plugin2 = _interopRequireDefault(_plugin);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var targets = ['ie 5.5', 'ie 6', 'ie 7'];
exports.default = (0, _plugin2.default)(targets, ['... |
!function(e){"function"==typeof define&&define.amd?define(["../datepicker"],e):e(jQuery.datepicker)}(function(e){return e.regional.bs={closeText:"Zatvori",prevText:"<",nextText:">",currentText:"Danas",monthNames:["Januar","Februar","Mart","April","Maj","Juni","Juli","August","Septembar","Oktobar","Novembar","... |
describe('dropdown:', function() {
beforeEach(function() {
this.addMatchers({
// Place dropdown-specific matchers here...
});
var origFunc = $.fn.foundation;
spyOn($.fn, 'foundation').andCallFake(function() {
var result = origFunc.apply(this, arguments);
jasmine.Clock.tick(1000); //... |
/*!
* AngularJS Material Design
* https://github.com/angular/material
* @license MIT
* v1.1.5
*/
goog.provide('ngmaterial.components.tooltip');
goog.require('ngmaterial.components.panel');
goog.require('ngmaterial.core');
/**
* @ngdoc module
* @name material.components.tooltip
*/
MdTooltipDirective['$inject'] =... |
'use strict';
// See https://github.com/nodejs/node/issues/5927
const common = require('../common');
const assert = require('assert');
const spawn = require('child_process').spawn;
if (process.argv[2] === 'child') {
process.stdin.pipe(process.stdout);
return;
}
const child = spawn(process.execPath, [__filename, ... |
(function () {
'use strict';
function usersHelperService(localizationService) {
var userStates = [
{ "name": "All", "key": "All"} ,
{ "value": 0, "name": "Active", "key": "Active", "color": "success" },
{ "value": 1, "name": "Disabled", "key": "Disabled", "color": "... |
/* ========================================================================
* Bootstrap (plugin): validator.js v0.6.0
* ========================================================================
* The MIT License (MIT)
*
* Copyright (c) 2013 Spiceworks, Inc.
* Made by Cina Saffary (@1000hz) in the style of Bootstra... |
import { Matrix3 } from '../../math/Matrix3.js';
import { Plane } from '../../math/Plane.js';
function WebGLClipping( properties ) {
const scope = this;
let globalState = null,
numGlobalPlanes = 0,
localClippingEnabled = false,
renderingShadows = false;
const plane = new Plane(),
viewNormalMatrix = new M... |
var knwl = new Knwl();
var demo = {};
demo.resultBoxes = {};
demo.input = null;
demo.resultsDiv = null;
demo.setup = function() {
var resultsDiv = document.getElementById('results');
demo.resultsDiv = resultsDiv;
for (var el in demo.resultBoxes) {
if (demo.resultsDiv.contains(demo.resultBoxes[el])) {
demo.resu... |
module.exports = function(old, cfg) {
var data = cfg;
if (data.clock) {
data.clock.showTenths = data.pref.clockTenths;
data.clock.showBar = data.pref.clockBar;
}
if (data.correspondence)
data.correspondence.showBar = data.pref.clockBar;
if (data.game.variant.key === 'horde')
data.pref.show... |
/*!
* froala_editor v2.7.2 (https://www.froala.com/wysiwyg-editor)
* License https://froala.com/wysiwyg-editor/terms/
* Copyright 2014-2017 Froala Labs
*/
(function (factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['jquery'], factory)... |
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
(function() {
var mode = CodeMirror.getMode({indentUnit: 2}, "soy");
function MT(name) {test.mode(name, mode, Array.prototype.slice.call(arguments, 1));}
// Test of small keywords and w... |
console.warn("warn -",`Imports like "const facebook = require('simple-icons/icons/facebook');" have been deprecated in v6.0.0 and will no longer work from v7.0.0, use "const { siFacebook } = require('simple-icons/icons');" instead`),module.exports={title:"Facebook",slug:"facebook",get svg(){return'<svg role="img" viewB... |
var en = {};
module["exports"] = en;
en.title = "English";
en.separator = " & ";
en.address = {
"city_prefix": [
"North",
"East",
"West",
"South",
"New",
"Lake",
"Port"
],
"city_suffix": [
"town",
"ton",
"land",
"ville",
"berg",
"burgh",
"borough",
"bury... |
'use strict';
var StripeResource = require('../StripeResource');
var stripeMethod = StripeResource.method;
module.exports = StripeResource.extend({
path: '3d_secure',
includeBasic: [
'create',
'retrieve',
],
});
|
// DATA_TEMPLATE: empty_table
oTest.fnStart( "aoColumns.bSortable" );
$(document).ready( function () {
/* Check the default */
var oTable = $('#example').dataTable( {
"bServerSide": true,
"sAjaxSource": "../../../examples/server_side/scripts/server_processing.php"
} );
var oSettings = oTable.fnSetting... |
var join = require('path').join,
assert = require('assert'),
mkdirp = require('mkdirp'),
lwip = require('../../'),
imgs = require('../imgs');
var tmpDir = join(__dirname, '../results'),
basename = 'contain',
current;
describe('lwip.contain', function() {
var image;
before(function(do... |
/*
* Copyright (c) 2014 Adobe Systems Incorporated. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights... |
var L = L || {};
L.states = {
"WA": {
"type": "FeatureCollection",
"features": [
{
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
... |
module.exports = { prefix: 'far', iconName: 'id-badge', icon: [384, 512, [], "f2c1", "M0 48v416c0 26.51 21.49 48 48 48h288c26.51 0 48-21.49 48-48V48c0-26.51-21.49-48-48-48H48C21.49 0 0 21.49 0 48zm336 32v378a6 6 0 0 1-6 6H54a6 6 0 0 1-6-6V80h288zm-144 80c38.66 0 70 31.34 70 70s-31.34 70-70 70-70-31.34-70-70 31.34-70 70... |
//! moment.js locale configuration
;(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined'
&& typeof require === 'function' ? factory(require('../moment')) :
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
factory(global.moment)
}(this, ... |
/* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/*************************************************************
*
* MathJax/jax/output/HTML-CSS/autoload/ms.js
*
* Implements the HTML-CSS output for <ms> elements.
*
* --------------------------------... |
'use strict'
const winston = require('winston')
module.exports = {
trailpack: {
disabled: [
'repl'
]
},
log: {
logger: new winston.Logger({
level: 'info',
exitOnError: false,
transports: [
new winston.transports.Console({
timestamp: true
}),
... |
/**
* Module dependencies.
*/
var express = require('../..');
var logger = require('morgan');
var vhost = require('vhost');
/*
edit /etc/hosts:
127.0.0.1 foo.example.com
127.0.0.1 bar.example.com
127.0.0.1 example.com
*/
// Main server app
var main = express();
main.use(logger('dev'));
main.g... |
/// <reference path="jquery-1.8.2.js" />
/// <reference name="MicrosoftAjax.js" />
/// <reference path="~/_layouts/15/init.js" />
/// <reference path="~/_layouts/15/SP.Core.js" />
/// <reference path="~/_layouts/15/SP.Runtime.js" />
/// <reference path="~/_layouts/15/SP.UI.Dialog.js" />
/// <reference path="~/_layouts... |
'use strict';
exports.__esModule = true;
var _keys = require('babel-runtime/core-js/object/keys');
var _keys2 = _interopRequireDefault(_keys);
var _typeof2 = require('babel-runtime/helpers/typeof');
var _typeof3 = _interopRequireDefault(_typeof2);
var _reduce2 = require('lodash/reduce');
var _reduce3 = _interopR... |
/*
* EJS Embedded JavaScript templates
* Copyright 2112 Matthew Eernisse (mde@fleegix.org)
*
* 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/L... |
/*jshint node:true*/
var ModelBlueprint = require('../model');
var testInfo = require('../../lib/utilities/test-info');
module.exports = {
description: 'Generates a model unit test.',
locals: function(options) {
var result = ModelBlueprint.locals.apply(this, arguments);
result.friendlyDescription = test... |
var assert = require('assert');
var R = require('..');
describe('divide', function() {
it('divides two numbers', function() {
assert.strictEqual(R.divide(28, 7), 4);
});
it('is curried', function() {
var into28 = R.divide(28);
assert.strictEqual(into28(7), 4);
});
it('behaves right curried wh... |
/****************************************************************************
Copyright (c) 2008-2010 Ricardo Quesada
Copyright (c) 2011-2012 cocos2d-x.org
Copyright (c) 2013-2014 Chukong Technologies Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of t... |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'toolbar', 'sv', {
toolbarCollapse: 'Dölj verktygsfält',
toolbarExpand: 'Visa verktygsfält',
toolbarGroups: {
document: 'Dokument',
clipboard: ... |
import path from 'path';
// Filters out non .js files. Prevents
// accidental inclusion of possible hidden files
export default function(name) {
return /(\.(js)$)/i.test(path.extname(name));
}; |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.