code stringlengths 2 1.05M |
|---|
/*
* 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.
*/
'... |
module.exports = require('./as-library');
require('./'); |
module.exports = [{"isId":true,"priority":100000.0012,"key":"itemContainer","style":{backgroundColor:"#8A0808",borderRadius:"15",opacity:"1",font:{fontSize:"18",fontFamily:"Arial",},}}]; |
/**
* @file name表
* @author mengke01(kekee000@gmail.com)
*/
define(
function (require) {
var table = require('./table');
var nameIdTbl = require('../enum/nameId');
var string = require('../util/string');
var platformTbl = require('../enum/platform');
var encodingTbl = req... |
'use strict';
const validator = require('validator');
const Settings = require('../../settings');
module.exports = function(schema) {
// Validations
schema.path('email').required(true, Settings.Admin.errors.email.required);
schema.path('email').validate(validator.isEmail, Settings.Admin.errors.email.invalid);
... |
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; };
/* Tabulator v4.4.2 (c) Oliver Folkerd */
var Ed... |
expect(() => {
function f(i) {
if (i) f(i - 1);
x;
}
f(3);
let x;
}).toThrow(ReferenceError);
|
var _ = require('../../../../../src/util')
var def = require('../../../../../src/directives/public/text')
describe('v-text', function () {
it('element', function () {
var dir = {
el: document.createElement('div')
}
_.extend(dir, def)
dir.bind()
dir.update('hi')
expect(dir.el.textConten... |
'use strict';
const User = require('../models/User'),
Paste = require('../models/Paste'),
mongoose = require('mongoose'),
hashing = require('../utils/hashing');
// the next 3 lines are mongoose configuration and should be extracted in a config file
const CONNECTION_URL = 'mongodb://localhost:27017/demo-db... |
(function(document, window, $) {
'use strict';
var Site = window.Site;
$(document).ready(function($) {
Site.run();
});
window.getExampleTreeview = function() {
return [{
text: 'Parent 1',
href: '#parent1',
tags: ['4'],
nodes: [{
text: 'Child 1',
href: '#chil... |
function Config() {
const name = 'threejs-editor';
const storage = {
'language': 'en',
'autosave': true,
'project/title': '',
'project/editable': false,
'project/vr': false,
'project/renderer/antialias': true,
'project/renderer/shadows': true,
'project/renderer/shadowType': 1, // PCF
'project/r... |
'use strict';
module.exports = {
type: 'error',
error: {
line: 2,
column: 1,
message: 'Unexpected end of file. The type at 1:7 should be followed by an alias name.',
},
};
|
/*!
* Table dialog plugin for Editor.md
*
* @file table-dialog.js
* @author pandao
* @version 1.2.0
* @updateTime 2015-03-08
* {@link https://github.com/pandao/editor.md}
* @license MIT
*/
(function() {
var factory = function (exports) {
var $ = jQuery... |
'use strict';
module.exports = function(grunt) {
require('load-grunt-tasks')(grunt, {
pattern: ['grunt-*', '!grunt-template-jasmine-requirejs']
});
require('time-grunt')(grunt);
grunt.initConfig({
root: {
app: 'app/assets',
test: 'jstest'
},
connect: {
server: {
op... |
/*!
* jQuery JavaScript Library v2.1.1
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2014-05-01T17:11Z
*/
(function( global, factory ) {
i... |
var selftest = require('../tool-testing/selftest.js');
var Sandbox = selftest.Sandbox;
var files = require('../fs/files.js');
var utils = require('../utils/utils.js');
var archinfo = require('../utils/archinfo.js');
var _ = require('underscore');
selftest.define("wipe all packages", function () {
var s = new Sandbox... |
/*!
iDevice.js v1.1.0
(c) Alexandre Dieulot
dieulot.fr/idevice/license
*/
var iDevice = (function() {
var canvasElement = document.createElement('canvas')
try {
var context = canvasElement.getContext('webgl')
var extension = context.getExtension('WEBGL_debug_renderer_info')
var gpu = context.getParamet... |
let OldValue = require('../old-value')
let Value = require('../value')
function regexp (name) {
return new RegExp(`(^|[\\s,(])(${name}($|[\\s),]))`, 'gi')
}
class Intrinsic extends Value {
regexp () {
if (!this.regexpCache) this.regexpCache = regexp(this.name)
return this.regexpCache
}
isStretch () {... |
"use strict";
var fs = require("fs");
var vm = require("vm");
var components = require("../../components");
var languagesCatalog = components.languages;
module.exports = {
/**
* Creates a new Prism instance with the given language loaded
*
* @param {string|string[]} languages
* @returns {Prism}
*/
creat... |
/**
* Module that contains factories for element types used by Emmet
* @param {Function} require
* @param {Underscore} _
*/
emmet.define('elements', function(require, _) {
var factories = {};
var reAttrs = /([\w\-:]+)\s*=\s*(['"])(.*?)\2/g;
var result = {
/**
* Create new element factory
* @param {Stri... |
import H from '../parts/Globals.js';
import '../parts/Utilities.js';
var fireEvent = H.fireEvent;
/**
* It provides methods for:
* - adding and handling DOM events and a drag event,
* - mapping a mouse move event to the distance between two following events.
* The units of the distance are specific to a transfo... |
exports.translations = {
commands: {
/*
* Tour Commands
*/
tourhelp: {'h': 'tour (formato), (segundos para iniciar u off), (minutos para el autodq u off), (máximo número de users u off), (elimination u roundrobin). Todos los argumentos son opcionales.'},
tourend: {'err': 'No hay ningún torneo en esta sala', ... |
/**
* @author mrdoob / http://mrdoob.com/
* @author zz85 / http://joshuakoo.com/
* @author yomboprime / https://yombo.org
*/
THREE.SVGLoader = function ( manager ) {
this.manager = ( manager !== undefined ) ? manager : THREE.DefaultLoadingManager;
};
THREE.SVGLoader.prototype = {
constructor: THREE.SVGLoader... |
var express = require('express');
var http = require('http');
var routes = require('./modules/routes.js');
var importer = require('./modules/importer.js');
var app = express();
app.configure(function () {
app.set('port', process.env.PORT || 3000);
app.set('views', __dirname + '/views');
app.set('view engine', ... |
var assert = require('assert')
var debug = require('debug')('ref')
exports = module.exports = require('bindings')('binding')
/**
* A `Buffer` that references the C NULL pointer. That is, its memory address
* points to 0. Its `length` is 0 because accessing any data from this buffer
* would cause a _segmentation f... |
import EPUBComponent from './views/EpubRendererIndex';
import ContentRendererModule from 'content_renderer_module';
class DocumentEPUBModule extends ContentRendererModule {
get rendererComponent() {
EPUBComponent.contentModule = this;
return EPUBComponent;
}
}
const documentEPUBModule = new DocumentEPUBMo... |
import dbg from 'debug';
const debug = dbg('slackin');
export default function log(slack, silent){
// keep track of elapsed time
let last;
out('fetching');
// attach events
slack.on('ready', () => out('ready'));
slack.on('retry', () => out('retrying'));
slack.on('fetch', () => {
last = new Date;
... |
const { quotient } = require("../lib");
describe("quotient", () => {
test("divides 1 / 2 to equal .5", () => {
expect(quotient(1, 2)).toBe(.5);
});
test("divides 12 / 4 to equal 3", () => {
expect(quotient(12, 4)).toBe(3);
});
});
|
/**
* @license Highcharts JS v7.1.2 (2019-06-04)
*
* Tilemap module
*
* (c) 2010-2019 Highsoft AS
*
* License: www.highcharts.com/license
*/
'use strict';
(function (factory) {
if (typeof module === 'object' && module.exports) {
factory['default'] = factory;
module.exports = factory;
} ... |
/*
* Metro 4 Components Library v4.2.37 build 718 (https://metroui.org.ua)
* Copyright 2019 Sergey Pimenov
* Licensed under MIT
*/
(function( factory ) {
if ( typeof define === 'function' && define.amd ) {
define([ 'jquery' ], factory );
} else {
factory( jQuery );
}
}(function( jQuery ... |
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ re... |
/*!
* jQuery JavaScript Library v2.0.3 -effects,-offset,-dimensions
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2013-07-07T17:08Z
*/
(function... |
/**
* @fileoverview Tests for strict rule.
* @author Nicholas C. Zakas
* @copyright 2013-2014 Nicholas C. Zakas. All rights reserved.
*/
"use strict";
//------------------------------------------------------------------------------
// Requirements
//----------------------------------------------------------------... |
'use strict';
var Message = require('../message');
var inherits = require('util').inherits;
var bitcore = require('bitcore-lib');
var $ = bitcore.util.preconditions;
var _ = bitcore.deps._;
/**
* @param {Block=} arg - An instance of a Block
* @param {Object} options
* @param {Function} options.Block - A block cons... |
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*
* Version: 5.0.14 (2019-08-19)
*/
!function(o){"use strict";var i=tin... |
// Generated by CoffeeScript 1.8.0
module.exports = function(tasks, callback) {
var next, result;
tasks = tasks.slice(0);
next = function(cb) {
var task;
if (tasks.length === 0) {
return cb();
}
task = tasks.shift();
return task(function() {
return next(cb);
});
};
result =... |
import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
import * as React from 'react';
import { isFragment } from 'react-is';
import PropTypes from 'prop-types';
import clsx from 'clsx';
import withStyles from '../s... |
/*
* Copyright (c) 2011, AllSeen Alliance. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS... |
var fs = require('q-io/fs');
/**
* @dgService writeFile
* @description
* Write the given contents to a file, ensuring the path to the file exists
*/
module.exports = function writeFile() {
return function(file, content) {
return fs.makeTree(fs.directory(file)).then(function() {
return fs.write(file, co... |
import {h, Component} from 'preact/preact';
import ContentTimeline from 'com/content-timeline/timeline';
export default class PageRootFeedNews extends Component {
render( props ) {
let {node, user, path, extra} = props;
return (
<ContentTimeline class="content-timeline-news" ty... |
var assert = require('assert');
var path = require('path');
var levelup = require('levelup');
var memdown = require('memdown');
var PeerRegistry = require('../lib/peer_registry');
var Query = require('calypso').Query;
var dbPath = path.join(__dirname, './.peers');
describe('Peer Registry', function() {
var db, opts... |
'use strict';
// Refs: https://github.com/nodejs/node/issues/5832
require('../common');
const url = require('url');
const assert = require('assert');
const fixtures = require('../common/fixtures');
const tests = require(
fixtures.path('wpt', 'url', 'resources', 'urltestdata.json')
);
let failed = 0;
let attempted =... |
/*
* Copyright (c) 2014 Vincent Petry <pvince81@owncloud.com>
*
* This file is licensed under the Affero General Public License version 3
* or later.
*
* See the COPYING-README file.
*
*/
describe('OCA.Sharing.Util tests', function() {
var oldFileListPrototype;
var fileList;
var testFiles;
function getIma... |
this.Triggers = (function() {
var triggers = [];
var initiated = false;
var requests = [];
var fire = function(actions) {
if (Meteor.userId()) {
console.log('already logged user - does nothing');
return;
}
actions.forEach(function(action) {
if (action.name === 'send-message') {
var roomId = visi... |
var fs = require('fs')
var test = require('tape')
var postcss = require('postcss')
var plugin = require('..')
function filename(name) { return 'test/' + name + '.css' }
function read(name) { return fs.readFileSync(name, 'utf8') }
function compareFixtures(t, name, msg, opts, postcssOpts) {
postcssOpts = postcssOpt... |
/* eslint-disable max-len */
/* eslint-disable prefer-destructuring */
/* eslint-disable camelcase */
/* eslint-disable no-undef */
const rollCombatDistance = ['pSDistance', 'mEDistance', 'repeating_armeDist:armedistance', 'repeating_armeDistVehicule:armedistance'];
rollCombatDistance.forEach((button) => {
on(`click... |
var Blueprint = require('../../lib/models/blueprint');
var Promise = require('../../lib/ext/promise');
var merge = require('lodash-node/compat/objects/merge');
var inflection = require('inflection');
module.exports = {
description: 'Generates a model and route.',
install: function(options) {
return t... |
/**
* Copyright 2014 Telerik AD
*
* 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 ... |
import { EventEmitter } from 'events';
import _ from 'underscore';
import s from 'underscore.string';
export const LoggerManager = new class extends EventEmitter {
constructor() {
super();
this.enabled = false;
this.loggers = {};
this.queue = [];
this.showPackage = false;
this.showFileAndLine = false;
... |
for (let i = 0;;) {
var i;
}
|
\u2163\u2161 = []
|
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S15.5.2.1_A1_T1;
* @section: 15.5.2.1;
* @assertion: When "String" is called as part of a new expression, it is a constructor: it initialises the newly created object and
* T... |
/* global wc_stripe_params */
Stripe.setPublishableKey( wc_stripe_params.key );
jQuery( function( $ ) {
'use strict';
/* Open and close for legacy class */
$( 'form.checkout, form#order_review' ).on( 'change', 'input[name="wc-stripe-payment-token"]', function() {
if ( 'new' === $( '.stripe-legacy-payment-fields ... |
// Copyright Joyent, Inc. and other Node contributors.
//
// 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 to use, copy, modi... |
const Server = require('template-ui/server')
const webpackConfig = require('./webpack.config')
const appsConfig = require('./apps.config')
Server({
webpackConfig,
appsConfig,
dirname: __dirname
}) |
description("Tests Geolocation error callback using the mock service.");
var mockMessage = "debug";
if (window.testRunner) {
testRunner.setGeolocationPermission(true);
testRunner.setMockGeolocationPositionUnavailableError(mockMessage);
} else
debug('This test can not be run without the testRunner');
var ... |
import { test } from '../qunit';
import { localeModule } from '../qunit-locale';
import moment from '../../moment';
localeModule('en-in');
test('parse', function (assert) {
var tests = 'January Jan_February Feb_March Mar_April Apr_May May_June Jun_July Jul_August Aug_September Sep_October Oct_November Nov_December... |
var common = require("./common")
, odbc = require("../")
, pool = new odbc.Pool()
, connectionString = common.connectionString
, connections = []
, connectCount = 10;
openConnectionsUsingPool(connections);
function openConnectionsUsingPool(connections) {
for (var x = 0; x <= connectCount; x++) {
(function (... |
module.exports = x => alert(x)
|
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var message_constants_1 = require("../../binary-protocol/src/message-constants");
/**
* This class represents a single remote procedure
* call made from the client to the server. It's main function
* is to encapsulate the logic around timeo... |
import * as i0 from '@angular/core';
import { forwardRef, EventEmitter, Component, ChangeDetectionStrategy, ViewEncapsulation, Output, ContentChild, Input, ContentChildren, NgModule } from '@angular/core';
import * as i1 from '@angular/common';
import { CommonModule } from '@angular/common';
import { Header, PrimeTempl... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S15.10.2.7_A3_T12;
* @section: 15.10.2.7;
* @assertion: The production QuantifierPrefix :: + evaluates by returning the two results 1 and \infty;
* @description: Execute /(b+... |
var express = require('express');
var path = require('path');
var favicon = require('serve-favicon');
var cors = require('cors');
var app = express();
// Allow CORS, you may want to configure this for your domains
app.use(cors());
require('./bootstrap/middleware')(app);
// Mail isn't needed. If you want it THERE BE... |
define(function (require, exports, module) {// https://www.npmjs.org/package/react-interpolate-component
'use strict';
var React = require('react');
var merge = require('./utils/merge');
var ValidComponentChildren = require('./utils/ValidComponentChildren');
var REGEXP = /\%\((.+?)\)s/;
var Interpolate = React.creat... |
export default function (searchString, position) {
position = position || 0;
return this.substr(position, searchString.length) === searchString;
}
|
(function() {
var _ = typeof require == 'function' ? require('..') : window._;
QUnit.module('Collections');
test('each', function(assert) {
_.each([1, 2, 3], function(num, i) {
assert.equal(num, i + 1, 'each iterators provide value and iteration count');
});
var answers = [];
_.each([1, 2... |
/* global diff_match_patch */
var TEXT_DIFF = 2;
var DEFAULT_MIN_LENGTH = 60;
var cachedDiffPatch = null;
var getDiffMatchPatch = function() {
/*jshint camelcase: false */
if (!cachedDiffPatch) {
var instance;
if (typeof diff_match_patch !== 'undefined') {
// already loaded, probably a browser
... |
// Generated by CoffeeScript 1.10.0
(function() {
var JSONStorage, KEY_FOR_EMPTY_STRING, LocalStorage, MetaKey, QUOTA_EXCEEDED_ERR, StorageEvent, _emptyDirectory, _escapeKey, _rm, createMap, events, fs, path, writeSync,
extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) ch... |
var Helpers = {
error: function() {
return Session.get('error');
},
toLowerCase: function(text) {
return text && text.toLowerCase();
},
toUpperCase: function(text) {
return text && text.toUpperCase();
},
firstChar: function(text) {
return text && text[0].toUpp... |
/*! jQuery UI - v1.10.4 - 2014-05-18
* http://jqueryui.com
* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */
jQuery(function(t){t.datepicker.regional["en-AU"]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","Ju... |
const BaseChecker = require('./../base-checker')
const ruleId = 'no-inline-assembly'
const meta = {
type: 'security',
docs: {
description: `Avoid to use inline assembly. It is acceptable only in rare cases.`,
category: 'Security Rules'
},
isDefault: false,
recommended: true,
defaultSetup: 'warn',... |
if (typeof print !== 'function') { print = console.log; }
function test() {
var tmp1 = [];
var tmp2 = [];
var i, n, buf;
var inp1, inp2;
print('build');
buf = new Uint8Array(1024);
for (i = 0; i < 1024; i++) {
buf[i] = Math.random() * 128; // restrict to ASCII
}
tmp1 = new... |
angular
.module('app', [
'ui.router'
])
.config(['$urlRouterProvider', '$stateProvider', '$locationProvider', function($urlRouterProvider, $stateProvider, $locationProvider) {
$locationProvider.html5Mode(true);// use the HTML5 History API -- removes the #
$urlRouterProvider.otherwise('/');
... |
import Mirage from 'ember-cli-mirage';
import Server from 'ember-cli-mirage/server';
import Model from 'ember-cli-mirage/orm/model';
import Serializer from 'ember-cli-mirage/serializer';
import {module, test} from 'qunit';
module('Integration | Serializers | Base | Full Request', {
beforeEach: function() {
this.... |
(function () {
var paste = (function (domGlobals) {
'use strict';
var Cell = function (initial) {
var value = initial;
var get = function () {
return value;
};
var set = function (v) {
value = v;
};
var clone = function () {
return Cell(get());
... |
// 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... |
'use strict';
/**
* @ngdoc directive
* @name ng.directive:ngClick
*
* @description
* The ngClick directive allows you to specify custom behavior when
* an element is clicked.
*
* @element ANY
* @param {expression} ngClick {@link guide/expression Expression} to evaluate upon
* click. (Event object is availabl... |
/**
* @depend ../sinon.js
* @depend stub.js
*/
/*jslint eqeqeq: false, onevar: false, nomen: false, plusplus: false*/
/*global module, require, sinon*/
/**
* Assertions matching the test spy retrieval interface.
*
* @author Christian Johansen (christian@cjohansen.no)
* @license BSD
*
* Copyright (c) 2010-2011 ... |
import type { NodePath } from "babel-traverse";
import { visitors } from "babel-traverse";
import ReplaceSupers from "babel-helper-replace-supers";
import optimiseCall from "babel-helper-optimise-call-expression";
import * as defineMap from "babel-helper-define-map";
import template from "babel-template";
import * as t... |
var struct_jmcpp_1_1_multi_unread_msg_count_changed_event =
[
[ "conId", "struct_jmcpp_1_1_multi_unread_msg_count_changed_event.html#ac314e5a2b50bc3c17fd9a9f76ef0eff6", null ],
[ "unreadMsgCount", "struct_jmcpp_1_1_multi_unread_msg_count_changed_event.html#af6ee70f5b5c66dfafdd34c99b56c0064", null ],
[ "last... |
/*
Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'sourcedialog', 'gu', {
toolbar: 'મૂળ કે પ્રાથમિક દસ્તાવેજ',
title: 'મૂળ કે પ્રાથમિક દસ્તાવેજ'
} );
|
import { Tinytest } from "./tinytest.js";
import {
ServerTestResultsSubscription,
ServerTestResultsCollection,
} from "./model.js";
const hasOwn = Object.prototype.hasOwnProperty;
export { Tinytest };
// Like Tinytest._runTests, but runs the tests on both the client and
// the server. Sets a 'server' flag on tes... |
import DS from 'ember-data';
const { attr, Model } = DS;
export default Model.extend({
title: attr('string'),
body: attr('string')
});
|
/* This Source Code Form is subject to the terms of the MIT license
* If a copy of the MIT license was not distributed with this file, you can
* obtain one at https://raw.github.com/mozilla/butter/master/LICENSE */
/* This widget allows you to create a tooltip by:
* a) Manually calling Tooltip.create( "Some mess... |
var _curry3 = require('./internal/_curry3');
/**
* Returns the result of "setting" the portion of the given data structure
* focused by the given lens to the result of applying the given function to
* the focused value.
*
* @func
* @memberOf R
* @since v0.16.0
* @category Object
* @typedefn Lens s a = Functo... |
/*! jQuery UI - v1.10.4 - 2014-05-18
* http://jqueryui.com
* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */
(function(t){t.effects.effect.shake=function(e,i){var s,n=t(this),a=["position","top","bottom","left","right","height","width"],o=t.effects.setMode(n,e.mode||"effect"),r=e.direction||"l... |
import{generateUtilityClass,generateUtilityClasses}from"@material-ui/unstyled";export function getFormHelperTextUtilityClasses(e){return generateUtilityClass("MuiFormHelperText",e)};var formHelperTextClasses=generateUtilityClasses("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focu... |
'use strict';
var path = require('path')
, util = require('util')
, EventEmitter = require('events').EventEmitter
, logger = require(path.join(__dirname, 'logger.js'))
, sampler = require(path.join(__dirname, 'sampler.js'))
, NAMES = require(path.join... |
/**
* @fileoverview Tests for max-nested-callbacks rule.
* @author Ian Christian Myers
* @copyright 2013 Ian Christian Myers. All rights reserved.
*/
"use strict";
//------------------------------------------------------------------------------
// Requirements
//---------------------------------------------------... |
/*
YUI 3.8.0pr2 (build 154)
Copyright 2012 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
*/
YUI.add('charts-legend', function (Y, NAME) {
/**
* Adds legend functionality to charts.
*
* @module charts
* @submodule charts-legend
*/
var DOCUMENT = Y.config.doc,
TOP =... |
// wrapped by build app
define("d3/src/selection/data", ["dojo","dijit","dojox"], function(dojo,dijit,dojox){
import "../arrays/map";
import "../arrays/set";
import "selection";
d3_selectionPrototype.data = function(value, key) {
var i = -1,
n = this.length,
group,
node;
// If no value is specif... |
var assert = require('assert');
var R = require('..');
describe('nthChar', function() {
it('returns the nth character of the given string', function() {
assert.strictEqual(R.nthChar(2, 'Ramda'), 'm');
});
it('accepts negative offsets', function() {
assert.strictEqual(R.nthChar(-2, 'Ramda'), 'd');
})... |
/**
* The `Matter.Svg` module contains methods for converting SVG images into an array of vector points.
*
* See [Demo.js](https://github.com/liabru/matter-js/blob/master/demo/js/Demo.js)
* and [DemoMobile.js](https://github.com/liabru/matter-js/blob/master/demo/js/DemoMobile.js) for usage examples.
*
* @class Svg
*/
... |
"use strict";import H from"../../Core/Globals.js";import HighContrastDarkTheme from"../../Extensions/Themes/HighContrastDark.js";H.theme=HighContrastDarkTheme.options,HighContrastDarkTheme.apply(); |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _extends2 = require('babel-runtime/helpers/extends');
var _extends3 = _interopRequireDefault(_extends2);
var _objectWithoutProperties2 = require('babel-runtime/helpers/objectWithoutProperties');
var _objectWithoutProperties3 = _inte... |
/**
* jQuery EasyUI 1.3.6
*
* Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved.
*
* Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt
* To use it on other terms please contact us at info@jeasyui.com
*
*/
(function($){
function _1(_2){
var _3=$.data(_2,"datebox");
var _4=... |
/*! =======================================================
VERSION 9.1.0
========================================================= */
"use strict";
function _typeof(obj) { return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj; }
/*! ===... |
/*!
* froala_editor v2.7.6 (https://www.froala.com/wysiwyg-editor)
* License https://froala.com/wysiwyg-editor/terms/
* Copyright 2014-2018 Froala Labs
*/
(function (factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['jquery'], factory)... |
/*! jQuery Fancytree Plugin - 2.28.0 - 2018-03-02T20:59:49Z
* https://github.com/mar10/fancytree
* Copyright (c) 2018 Martin Wendt; Licensed MIT
*/
/*! jQuery UI - v1.12.1 - 2017-02-23
* http://jqueryui.com
* Includes: widget.js, position.js, keycode.js, scroll-parent.js, unique-id.js, effect.js, effects/effect-bl... |
function createResult(ctx, next) {
return {
status: next.status,
context: ctx,
output: next.output,
completed: next.status == COMPLETED
};
}
export var COMPLETED = 'completed';
export var CANCELLED = 'cancelled';
export var REJECTED = 'rejected';
export var RUNNING = 'running';
export class Pipeli... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.