code stringlengths 2 1.05M |
|---|
import { ClientFunction } from 'testcafe';
import helper from '../test-helper';
const getTestVariableValue = ClientFunction(() => window.test);
fixture `Fixture`
.clientScripts({ content: 'window.test = true;' })
.after(() => {
helper.counter++;
helper.emitter.emit('tests-completed');
});
... |
// Place your application-specific JavaScript functions and classes for
// the admin panel here.
$(function() {
$("#quicksearch").searchField();
});
|
/*
Highcharts JS v7.0.3 (2019-02-06)
Indicator series type for Highstock
(c) 2010-2019 Daniel Studencki
License: www.highcharts.com/license
*/
(function(d){"object"===typeof module&&module.exports?(d["default"]=d,module.exports=d):"function"===typeof define&&define.amd?define(function(){return d}):d("undefined"... |
export { default } from 'ember-ckeditor/components/ember-ckeditor'; |
/*
Highcharts JS v7.1.3 (2019-08-14)
(c) 2009-2019 Highsoft AS
License: www.highcharts.com/license
*/
(function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/themes/avocado",["highcharts"],function(b){a(b);a.Highcharts=b;retu... |
export class ClickEvent {
constructor() {
this.enable = false;
this.mode = [];
}
load(data) {
if (data !== undefined) {
if (data.enable !== undefined) {
this.enable = data.enable;
}
if (data.mode !== undefined) {
thi... |
export{Angulartics2Mixpanel}from"./mixpanel"; |
import jQuery from "ember-views/system/jquery";
import run from "ember-metal/run_loop";
import EmberView from "ember-views/views/view";
var trim = jQuery.trim;
var originalLookup = Ember.lookup;
var lookup, App, view;
QUnit.module("test Ember.Handlebars.bootstrap", {
setup: function() {
Ember.lookup = lookup = ... |
/* global QUnit */
import { InterleavedBuffer } from '../../../../src/core/InterleavedBuffer.js';
import { DynamicDrawUsage } from '../../../../src/constants.js';
export default QUnit.module( 'Core', () => {
QUnit.module( 'InterleavedBuffer', () => {
function checkInstanceAgainstCopy( instance, copiedInstance, a... |
/*!
* time-stamp <https://github.com/jonschlinkert/time-stamp>
*
* Copyright (c) 2015-2018, Jon Schlinkert.
* Released under the MIT License.
*/
'use strict';
var dateRegex = /(?=(YYYY|YY|MM|DD|HH|mm|ss|ms))\1([:\/]*)/g;
var timespan = {
YYYY: ['getFullYear', 4],
YY: ['getFullYear', 2],
MM: ['getMonth', 2,... |
var searchData=
[
['type',['Type',['../enumcom_1_1thalmic_1_1myo_1_1_classifier_event_1_1_type.html',1,'com::thalmic::myo::ClassifierEvent']]]
];
|
/*
* 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... |
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
'... |
var parent = require('../../../actual/string/virtual/pad-start');
module.exports = parent;
|
Prism.languages.http={"request-line":{pattern:/^(POST|GET|PUT|DELETE|OPTIONS|PATCH|TRACE|CONNECT)\b\shttps?:\/\/\S+\sHTTP\/[0-9.]+/g,inside:{property:/^\b(POST|GET|PUT|DELETE|OPTIONS|PATCH|TRACE|CONNECT)\b/g,"attr-name":/:\w+/g}},"response-status":{pattern:/^HTTP\/1.[01] [0-9]+.*/g,inside:{property:/[0-9]+[A-Z\s-]+$/gi... |
version https://git-lfs.github.com/spec/v1
oid sha256:607455e5cbf203081b2874ef87502dbaf05d027677da4c769b2e103983d0b1d9
size 1971
|
'use strict'
var helper = require("../../helper");
var GarmentInventoryDocumentManager = require("../../../src/managers/inventory-garment/garment-inventory-document-manager");
var productDataUtil = require('../master/garment-product-data-util');
var storageDataUtil = require('../master/storage-data-util');
var uomDataU... |
export default function() {
return {
'/admin': ['wechat']
};
}
|
'use strict';
var app = angular.module('myApp.brand_users.directives', []);
app.directive('listBrandUsers', ['Referral', '$location', '$routeParams', function(Referral, $location, $routeParams) {
var link = function(scope,element,attrs) {
};
return {
link: link,
scope: {}
};
}]);
|
// api/policies/AuditPolicy.js
module.exports = require('sails-permissions/api/policies/AuditPolicy');
|
/* Copyright (c) 2015-2017 The Open Source Geospatial Foundation
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
... |
steal('can/util', 'can/observe', 'can/observe/compute', function(can) {
can.extend(can.Observe.List.prototype, {
filter : function(callback) {
// The filtered list
var filtered = new can.Observe.List();
var self = this;
// Creates the binder for a single element at a given index
var generator = functi... |
// Adapted from https://github.com/jonschlinkert/is-plain-object
export function isObjectLike(val) {
return val != null && typeof val === 'object';
}
function isObject(val) {
return isObjectLike(val) && Array.isArray(val) === false;
}
function isObjectObject(o) {
return isObject(o) === true
&& Object.protot... |
var reporter = require('nodeunit').reporters.default;
process.chdir(__dirname);
var run_tests = new Array();
var tests_available = {
'signals' : 'tests/signals.js',
'store': 'tests/store.js',
'recorder': 'tests/recorder.js'
};
var test_name;
// Check if any arguments were provided to the script
if(proce... |
//
// Open Weather Map
// core script for OpenLayers library
// http://openweathermap.org/wiki/API/OWM.OpenLayers.js
//
//
// Version 1.3.5
// 2012.11.21
// NEW tile server
//
// Version 1.3.4
// 2012.09.17
// NEW json API
// text weather conditions
//
// Version 1.3.2
// 2012.08.13
//
// Version 1.3.0.3
// 2012.08... |
/**
* @license
* v1.2.4
* MIT (https://github.com/pnp/pnpjs/blob/master/LICENSE)
* Copyright (c) 2018 Microsoft
* docs: https://pnp.github.io/pnpjs/
* source: https://github.com/pnp/pnpjs
* bugs: https://github.com/pnp/pnpjs/issues
*/
(function (global, factory) {
typeof exports === 'object' && typeof modul... |
import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
import * as React from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
import withStyles from '../styles/withStyles';
import capitalize from '../uti... |
const NodeUtils = {
elements: [ 'x', 'y', 'z', 'w' ],
addShortcuts: function () {
function applyShortcut( proxy, property, subProperty ) {
if ( subProperty ) {
return {
get: function () {
return this[ proxy ][ property ][ subProperty ];
},
set: function ( val ) {
this[ pr... |
exports.BattleFormats = {
pokemon: {
effectType: 'Banlist',
validateSet: function (set, format) {
var template = this.getTemplate(set.species);
var problems = [];
if (set.species === set.name) delete set.name;
if (template.gen > this.gen) {
problems.push(set.species + ' does not exist in gen ' + t... |
import page from 'page';
import User from '../models/user';
import Board from '../models/board';
import Ticket from '../models/ticket';
import request from '../utils/request';
/**
* NOTE We use a lot of Model.fromJS.toJS conversion here, this is so that we
* can be sure the data we resolve to is formatte... |
'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... |
/**
* @author alteredq / http://alteredqualia.com/
*
* parameters = {
* defines: { "label" : "value" },
* uniforms: { "parameter1": { type: "1f", value: 1.0 }, "parameter2": { type: "1i" value2: 2 } },
*
* fragmentShader: <string>,
* vertexShader: <string>,
*
* shading: THREE.SmoothShading,
*
* wirefr... |
import { get } from 'ember-metal/property_get';
import { set } from 'ember-metal/property_set';
QUnit.module('set');
test('should set arbitrary properties on an object', function() {
var obj = {
string: 'string',
number: 23,
boolTrue: true,
boolFalse: false,
nullValue: null,
undefinedValue: ... |
import basicClassCreator from '../utils/basicClassCreator';
export default basicClassCreator('mdl-layout-spacer');
|
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var Stack = function Stack() {
_classCallCheck(this, Stack);
};
exports.default =... |
/*!
* jQuery JavaScript Library v2.1.0 -ajax,-ajax/jsonp,-ajax/load,-ajax/parseJSON,-ajax/parseXML,-ajax/script,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-css,-css/addGetHookIf,-css/curCSS,-css/defaultDisplay,-css/hiddenVisibleSelectors,-css/support,-css/swap,-css/var/cssExpand,-css/var/getStyl... |
var _curry3 = require('./internal/_curry3');
var _isTransformer = require('./internal/_isTransformer');
var _reduce = require('./internal/_reduce');
var _stepCat = require('./internal/_stepCat');
/**
* Transforms the items of the list with the transducer and appends the
* transformed items to the accumulator using ... |
CKEDITOR.plugins.setLang("colorbutton","vi",{auto:"Tự động",bgColorTitle:"Màu nền",colors:{"000":"Đen",8E5:"Maroon","8B4513":"Saddle Brown","2F4F4F":"Dark Slate Gray","008080":"Teal","000080":"Navy","4B0082":"Indigo",696969:"Dark Gray",B22222:"Fire Brick",A52A2A:"Nâu",DAA520:"Golden Rod","006400":"Dark Green","40E0D0"... |
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'clipboard', 'ja', {
copy: 'コピー',
copyError: 'ブラウザーのセキュリティ設定によりエディタのコピー操作を自動で実行することができません。実行するには手動でキーボードの(Ctrl/Cmd+C)を使用してください。',
cut: '切り取り',
cutE... |
var requirejs = require( 'requirejs' ),
path = require( 'path' ),
fs = require( 'fs' );
module.exports = function( grunt ) {
var min = {}, config = grunt.config.get( 'global' ),
helpers = config.helpers;
grunt.registerTask( 'js:compile', function() {
var require = grunt.config.get( 'js' ).require,
global_c... |
// Copyright (c) 2005-2007 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
// (c) 2005-2007 Sammi Williams (http://www.oriontransfer.co.nz, sammi@oriontransfer.co.nz)
//
// script.aculo.us is freely distributable under the terms of an MIT-style license.
// For details, see the script.aculo.us web ... |
"use strict";
var exec = require( "child_process" ).exec;
module.exports = function( grunt ) {
grunt.registerTask( "version", "Commit a new version", function( version ) {
if ( !/\d\.\d+\.\d+(?:-pre)?/.test( version ) ) {
grunt.fatal( "Version must follow semver release format: " + version );
return;
}
... |
/**
* @license
* Copyright Google LLC 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
*/
// THIS CODE IS GENERATED - DO NOT MODIFY
// See angular/tools/gulp-tasks/cldr/extract.js
(function(global) {
global... |
// Copyright 2014 the V8 project authors. All rights reserved.
// AUTO-GENERATED BY tools/generate-runtime-tests.py, DO NOT MODIFY
// Flags: --allow-natives-syntax --harmony --harmony-proxies
var _x = 1.5;
var _y = 1.5;
%MathAtan2(_x, _y);
|
module.exports = {
description: 'single module, no imports or exports'
};
|
"use strict";
/**
* @license
* Copyright 2013 Palantir Technologies, Inc.
*
* 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
*
* Unle... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.render = render;
var _reactDom = require('react-dom');
var _reactDom2 = _interopRequireDefault(_reactDom);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
/**
* Helper method for ... |
'use strict';
const assert = require('./../../assert');
const common = require('./../../common');
let battle;
describe('Unburden', function () {
afterEach(function () {
battle.destroy();
});
it('should trigger when an item is consumed', function () {
battle = common.createBattle();
battle.setPlayer('p1', {... |
/*
*****************************************************************************
Copyright (c) Microsoft Corporation. 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.... |
if(SC.setupBodyClassNames){SC.setupBodyClassNames()}; |
'use strict';
var utils = require('./utils');
/**
* `Run` represents a single execution of a `Task`.
*
* @param {Number} `id` identifier of this run.
* @api public
*/
function Run(id) {
if (!(this instanceof Run)) {
return new Run(id);
}
this.runId = id;
this.date = {};
this.hr = {};
/**
* C... |
/*
* FCKeditor - The text editor for internet
* Copyright (C) 2003-2006 Frederico Caldeira Knabben
*
* Licensed under the terms of the GNU Lesser General Public License:
* http://www.opensource.org/licenses/lgpl-license.php
*
* For further information visit:
* http://www.fckeditor.net/
*
* "... |
//TODO: move arrow styles and button click code into configurable items, with defaults matching the existing code
/*!
* Timepicker Component for Twitter Bootstrap
*
* Copyright 2013 Joris de Wit
*
* Contributors https://github.com/jdewit/bootstrap-timepicker/graphs/contributors
*
* For the full copyright and ... |
function ip2long(IP) {
// discuss at: http://phpjs.org/functions/ip2long/
// original by: Waldo Malqui Silva
// improved by: Victor
// revised by: fearphage (http://http/my.opera.com/fearphage/)
// revised by: Theriault
// example 1: ip2long('192.0.34.166');
// returns 1: 3221234342
// example ... |
/*!
* Angular Material Design
* https://github.com/angular/material
* @license MIT
* v1.1.0-rc4-master-c81f9f1
*/
goog.provide('ng.material.components.slider');
goog.require('ng.material.core');
/**
* @ngdoc module
* @name material.components.slider
*/
angular.module('material.components.slider', [
... |
/* jshint node: true */
'use strict';
module.exports = {
name: 'ember-parse-adapter'
};
|
'use strict';
var hide = require('./_hide')
, redefine = require('./_redefine')
, fails = require('./_fails')
, defined = require('./_defined')
, wks = require('./_wks');
module.exports = function(KEY, length, exec){
var SYMBOL = wks(KEY)
, fns = exec(defined, SYMBOL, ''[KEY]... |
// <time> element
// http://www.whatwg.org/specs/web-apps/current-work/multipage/rendering.html#the-time-element-0
// by Addy Osmani
Modernizr.addTest('time', 'valueAsDate' in document.createElement('time'));
|
'use strict';
var deferred = require('../../../deferred')
, reject = deferred.reject;
module.exports = function (t) {
var x = {}, y = {}, z = {}, e = new Error("Error");
return {
"Empty": {
"": function (a, d) {
t.call([])(function (result) {
a.deep(result, []);
}, a.never).done(d, d);
},
... |
var fs = require('fs');
var path = require('path');
var chalk = require('chalk');
var parse = require('react-docgen').parse;
var chokidar = require('chokidar');
var paths = {
examples: path.join(__dirname, '../src', 'docs', 'examples'),
components: path.join(__dirname, '../src', 'components'),
output: path.join(... |
(function (Flow, FustyFlow, window) {
'use strict';
var fustyFlowFactory = function (opts) {
var flow = new Flow(opts);
if (flow.support) {
return flow;
}
return new FustyFlow(opts);
}
window.fustyFlowFactory = fustyFlowFactory;
})(window.Flow, window.FustyFlow, window);
|
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed ... |
module.exports = require('./lib/exif'); |
'use strict';
/* global VALID_CLASS: true,
INVALID_CLASS: true,
PRISTINE_CLASS: true,
DIRTY_CLASS: true,
UNTOUCHED_CLASS: true,
TOUCHED_CLASS: true,
*/
// Regex code is obtained from SO: https://stackoverflow.com/questions/3143070/javascript-regex-iso-datetime#answer-3143231
var ISO_DATE_REGEXP = /\d{4}-[01... |
fixture `page uses an unsupported protocol`
.page`mail://yourname@yourcompany.com`;
test('Test', () => {
});
|
/*
Language: Handlebars
Requires: xml.js
Author: Robin Ward <robin.ward@gmail.com>
Description: Matcher for Handlebars as well as EmberJS additions.
*/
function(hljs) {
function copy(mode, parent) {
var result = {};
for (var key in mode) {
if (key != 'contains') {
result[key] = mode[key];
... |
/**! Qoopido.demand 4.2.7-alpha.1 | https://github.com/dlueth/qoopido.demand | (c) 2018 Dirk Lueth */
!function(){"use strict";provide(["/demand/abstract/handler"],function(n){var t=/^application\/json/;function e(){}return e.prototype={validate:function(n){return t.test(n)},onPreRequest:function(n){var t=n.url.pathnam... |
// SmoothScroll v0.9.9
// Licensed under the terms of the MIT license.
// People involved
// - Balazs Galambosi: maintainer (CHANGELOG.txt)
// - Patrick Brunner (patrickb1991@gmail.com)
// - Michael Herf: ssc_pulse Algorithm
function ssc_init(){if(!document.body)return;var e=document.body;var t=document.documentEleme... |
import cheerio from "cheerio"
import fs from "fs"
import jade from "jade"
import path from "path"
function render(locals) {
const filename = path.resolve(__dirname, "../index.jade")
return jade.compile(fs.readFileSync(filename), { filename })(locals)
}
describe("metadata template", () => {
describe("without a p... |
'use strict';
var paths = require('./.yo-rc.json')['generator-gulp-angular'].props.paths;
// An example configuration file.
exports.config = {
// The address of a running selenium server.
//seleniumAddress: 'http://localhost:4444/wd/hub',
//seleniumServerJar: deprecated, this should be set on node_modules/protr... |
import PropTypes from "prop-types"
import React from "react"
import block from "bem-cn-lite"
import { connect } from "react-redux"
function LoadingSpinner({ fullscreen, isFetchingArtworks }) {
const b = block("auction-LoadingSpinner")
return (
<div className={b({ fullscreen })}>
{isFetchingArtworks && <... |
;(function() {
if (Jmol._debugCode)return;
|
/**
* Stores error information; delivered via [NgZone.onError] stream.
*/
export class NgZoneError {
constructor(error, stackTrace) {
this.error = error;
this.stackTrace = stackTrace;
}
}
export class NgZoneImpl {
constructor({ trace, onEnter, onLeave, setMicrotask, setMacrotask,... |
/*
* ------------------------------------------
* 列表模块基类实现文件
* @version 1.0
* @author genify(caijf@corp.netease.com)
* ------------------------------------------
*/
/** @module util/list/module */
NEJ.define([
'base/global',
'base/klass',
'base/util',
'base/event',
'base/element',
'ui/i... |
/*
YUI 3.18.1 (build f7e7bcb)
Copyright 2014 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add("series-areaspline",function(e,t){e.AreaSplineSeries=e.Base.create("areaSplineSeries",e.AreaSeries,[e.CurveUtil],{drawSeries:function(){this.drawAreaSpline()}},{ATTRS:... |
/* */
"format cjs";
!function(ENTRIES, FN){
function $for(iterable, entries){
if(!(this instanceof $for))return new $for(iterable, entries);
this[ITER] = getIterator(iterable);
this[ENTRIES] = !!entries;
}
createIterator($for, 'Wrapper', function(){
return this[ITER].next();
});
var $... |
version https://git-lfs.github.com/spec/v1
oid sha256:3e5745fe9c41cd07831a0bba9edfc3efa70c1cad5677285cd2ad9fe3ec1350bc
size 9238
|
declare var foo
|
module.exports={title:"Google Drive",hex:"4285F4",source:"https://developers.google.com/drive/web/branding",svg:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Google Drive icon</title><path d="M4.433 22.396l4-6.929H24l-4 6.929H4.433zm3.566-6.929l-3.998 6.929L0 15.467 7.785 1.98l3.999 6.9... |
Date.now();
|
// This gives you default context menu (cut, copy, paste)
// in all input fields and textareas across your app.
(function () {
'use strict';
var remote = require('remote');
var Menu = remote.require('menu');
var MenuItem = remote.require('menu-item');
var cut = new MenuItem({
label: "Cut"... |
var R = require('..');
var eq = require('./shared/eq');
describe('divide', function() {
it('divides two numbers', function() {
eq(R.divide(28, 7), 4);
});
it('is curried', function() {
var into28 = R.divide(28);
eq(into28(7), 4);
});
it('behaves right curried when passed `R.__` for its first a... |
RocketChat.settings.addGroup('WebRTC', function() {
this.add('WebRTC_Enable_Channel', false, {
type: 'boolean',
group: 'WebRTC',
'public': true
});
this.add('WebRTC_Enable_Private', true, {
type: 'boolean',
group: 'WebRTC',
'public': true
});
this.add('WebRTC_Enable_Direct', true, {
type: 'boolean',
... |
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... |
declare module "m"; |
/**
* @license
* Copyright Google LLC 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
*/
importScripts('angular/modules/playground/src/web_workers/worker-configure.js');
System.config({packages: {'angular/... |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = global || self, factory(global.sq = {}));
}(this, function (exports) { 'use strict';
var fp = typeof window !== "... |
'use strict'
module.exports = isRegistry
function isRegistry (req) {
if (req == null) return false
// modern metadata
if ('registry' in req) return req.registry
// legacy metadata
if (req.type === 'range' || req.type === 'version' || req.type === 'tag') return true
return false
}
|
import _extends from "@babel/runtime/helpers/esm/extends";
import React from 'react';
import SvgIcon from '../SvgIcon';
/**
* Private module reserved for @material-ui/x packages.
*/
export default function createSvgIcon(path, displayName) {
var Component = function Component(props, ref) {
return /*#__PURE__*/R... |
var data = {
labels: ['Bananas', 'Apples', 'Grapes'],
series: [20, 15, 40]
};
var options = {
labelInterpolationFnc: function(value) {
return value[0]
}
};
var responsiveOptions = [
['screen and (min-width: 640px)', {
chartPadding: 30,
labelOffset: 100,
labelDirection: 'explode',
labelIn... |
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "default", {
enumerable: true,
get: function () {
return _TablePagination.default;
}
});
var _TablePagination =... |
/**
* Copyright (c) 2013-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.
*
* Facebook,... |
var apply = require('./_apply'),
createCtor = require('./_createCtor'),
root = require('./_root');
/** Used to compose bitmasks for function metadata. */
var WRAP_BIND_FLAG = 1;
/**
* Creates a function that wraps `func` to invoke it with the `this` binding
* of `thisArg` and `partials` prepended t... |
var Checker = require('../../../lib/checker');
var assert = require('assert');
describe('rules/disallow-arrow-functions', function() {
var checker;
beforeEach(function() {
checker = new Checker();
checker.registerDefaultRules();
checker.configure({ disallowArrowFunctions: true, esnext:... |
/**
* @author Tony Parisi / http://www.tonyparisi.com/
*/
THREE.glTFLoader = function () {
this.meshesRequested = 0;
this.meshesLoaded = 0;
this.pendingMeshes = [];
this.animationsRequested = 0;
this.animationsLoaded = 0;
this.animations = [];
this.shadersRequested = 0;
this.shadersLoaded = 0;
... |
/**
* @fileoverview Config initialization wizard.
* @author Ilya Volodin
*/
"use strict";
//------------------------------------------------------------------------------
// Requirements
//------------------------------------------------------------------------------
const util = require("util"),
inquirer = r... |
// generate slug on insert
Categories.before.insert(function (userId, doc) {
// if no slug has been provided, generate one
var slug = !!doc.slug ? doc.slug : Telescope.utils.slugify(doc.name);
doc.slug = Telescope.utils.getUnusedSlug(Categories, slug);
});
// generate slug on edit
Categories.before.update(functi... |
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("specialchar","pl",{euro:"Znak euro",lsquo:"Cudzysłów pojedynczy otwierający",rsquo:"Cudzysłów pojedynczy zamykający",ldquo:"Cudzysłów apostrofowy otw... |
/**
* @ngdoc directive
* @name mdTabs
* @module material.components.tabs
*
* @restrict E
*
* @description
* The `<md-tabs>` directive serves as the container for 1..n `<md-tab>` child directives to produces a Tabs components.
* In turn, the nested `<md-tab>` directive is used to specify a tab label for the **h... |
(function() {
var count = "";
function pushCountDigit(digit) { return function(cm) {count += digit;} }
function popCount() { var i = parseInt(count); count = ""; return i || 1; }
function countTimes(func) {
if (typeof func == "string") func = CodeMirror.commands[func];
return function(cm) { for (var i =... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.