code stringlengths 2 1.05M |
|---|
const fs = require(`fs`)
const stringify = require(`json-stringify-safe`)
const fetchData = require(`../src/fetch`)
// Fetch data from our sample site and save it to disk.
const spaceId = `rocybtov1ozk`
const accessToken = `6f35edf0db39085e9b9c19bd92943e4519c77e72c852d961968665f1324bfc94`
fetchData({ spaceId, accessT... |
YUI.add('gallery-sortable-array', function(Y) {
function SortableArray () {
SortableArray.superclass.constructor.apply(this, arguments);
}
var $A = Y.Array;
// constants
var DATA_KEY = 'sortable-array-data',
EVT_ARRAY_CHANGE = 'arraychange',
DATA_ARRAY = 'dataArray';
SortableArray.NAME = "SortableArray";... |
module.exports = {
'/': {
backLink: '../intro/what-you-need'
},
'/index-change': {
backLink: '../intro/what-you-need'
},
'/index-appt-unavailable': {
backLink: '../intro/what-you-need'
},
'/passport-offices': {
fields: ['passport-damaged'],
backLink: './',
... |
import difference from 'lodash/difference';
import union from 'lodash/union';
import isPlainObject from 'lodash/isPlainObject';
import $$observable from 'symbol-observable';
export const ActionTypes = {
PERFORM_ACTION: 'PERFORM_ACTION',
RESET: 'RESET',
ROLLBACK: 'ROLLBACK',
COMMIT: 'COMMIT',
SWEEP: 'SWEEP',
... |
var group___xE5_x85_x8D_xE6_x89_x93_xE6_x89_xB0_xE7_xAE_xA1_xE7_x90_x86 =
[
[ "getNotDisturb", "group___xE5_x85_x8D_xE6_x89_x93_xE6_x89_xB0_xE7_xAE_xA1_xE7_x90_x86.html#ga91069d1a3933dba6ecdb9c15efedab8f", null ],
[ "setGlobalNotDisturb", "group___xE5_x85_x8D_xE6_x89_x93_xE6_x89_xB0_xE7_xAE_xA1_xE7_x90_x86.html... |
import shadowTypesSvg from 'ember-e3/utils/shadow/types/svg';
import { module, test } from 'qunit';
module('Unit | Utility | shadow/types/svg');
// Replace this with your real tests.
test('implements all the necessary methods', function(assert) {
// var result = shadowTypesSvg();
assert.ok(shadowTypesSvg.group &&... |
export default function normalizeKey(key) {
// Cast the key to a string, as that's all we can set as a key.
if (typeof key !== 'string') {
console.warn(`${key} used as a key, but it is not a string.`);
key = String(key);
}
return key;
}
|
/**
* @fileoverview Enforce event handler naming conventions in JSX
* @author Jake Marsh
*/
'use strict';
const docsUrl = require('../util/docsUrl');
// ------------------------------------------------------------------------------
// Rule Definition
// -------------------------------------------------------------... |
import './config';
|
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S15.8.2.6_A7;
* @section: 15.8.2.6;
* @assertion: The value of Math.ceil(x) is the same as the value of -Math.floor(-x);
* @description: Checking if Math.ceil(x) equals t... |
import { StyleSheet } from 'aphrodite/no-important';
import React, { PropTypes } from 'react';
import {
GlyphButton,
InlineGroup as Group,
InlineGroupSection as Section,
ResponsiveText,
} from '../../../elemental';
import theme from '../../../../theme';
import ListColumnsForm from './ListColumnsForm';
import ListD... |
/**
* @fileoverview Main CLI object.
* @author Nicholas C. Zakas
* @copyright 2014 Nicholas C. Zakas. All rights reserved.
* See LICENSE in root directory for full license.
*/
"use strict";
/*
* The CLI object should *not* call process.exit() directly. It should only return
* exit codes. This allows other prog... |
module.exports={title:"NGINX",slug:"nginx",svg:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>NGINX icon</title><path d="M12 0L1.605 6v12L12 24l10.395-6V6L12 0zm6 16.59c0 .705-.646 1.29-1.529 1.29-.631 0-1.351-.255-1.801-.81l-6-7.141v6.66c0 .721-.57 1.29-1.274 1.29H7.32c-.721 0-1.29-.6-1... |
import { h, Component } from 'preact/preact';
export default class CoreButton extends Component {
render(props,state) {
if ( !props.hasOwnProperty('tabIndex') )
props.tabIndex="0";
if ( props.hasOwnProperty('class') )
props.class += " core-button";
else
props.class = "core-button";
if ( props.ha... |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @emails react-core
*/
'use strict';
let PropTypes;
let React;
let ReactDOM;
let ReactFeatureFlags;
// TODO: Refactor this tes... |
define([
'dojo/_base/declare', 'dijit/_WidgetBase', 'dojo/on', 'dojo/dom-construct',
'dojo/dom-class', 'dijit/_TemplatedMixin', 'dijit/_WidgetsInTemplateMixin',
'dojo/text!./templates/GlobalSearch.html', './Button', 'dijit/registry', 'dojo/_base/lang',
'dojo/dom', 'dojo/topic', 'dijit/form/TextBox', 'dojo/keys'... |
import { Dispatcher } from 'flux';
export default new Dispatcher; |
'use strict';
/**
* Demo.
*/
var demo = (function (window) {
/**
* Enum of CSS selectors.
*/
var SELECTORS = {
pattern: '.pattern',
card: '.card',
cardImage: '.card__image',
cardClose: '.card__btn-close'
};
/**
* Enum of CSS classes.
*/
var CL... |
/**
* NodeJS configuration used for the Karma Server
*
* This code does three (3) things:
* 1 ) configures NodeJS Karma server with frameworks: Jasmine and RequireJS
* 2 ) auto-loads the jQuery, AngularJS, and AngularJS Mock libs
* 3 ) configures paths that should be included in the browser using <script> ta... |
/*!
* base-option <https://github.com/node-base/base-option>
*
* Copyright (c) 2015, Jon Schlinkert.
* Licensed under the MIT License.
*/
'use strict';
var utils = require('./utils');
module.exports = function(options) {
return function fn(app) {
if (!utils.isValid(app, 'base-option', '*')) return;
v... |
+function (global, $) {
'use strict';
var position = 0, zIndex = 0;
var SlidePanel = function(element, options) {
this.init(element, options);
};
SlidePanel.DEFAULTS = {
overlayClass: 'overlay',
bodyClass: 'body',
dirClass: 'left-panel',
wrapperClass: 'wrapper',
slideInClass: 'slide... |
/**
* @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... |
/*
* SyncTestCollection.js
* Schema Generated by API-Hero
* Add custom Schema Validators, Types and Methods below
*/
module.exports = function(SyncTestCollection) {
}; |
/*!
* ui-grid - v4.6.2 - 2018-07-09
* Copyright (c) 2018 ; License: MIT
*/
(function () {
angular.module('ui.grid').config(['$provide', function ($provide) {
$provide.decorator('i18nService', ['$delegate', function ($delegate) {
$delegate.add('he', {
aggregate: {
label: 'items'
... |
( function ( $ ) {
'use strict';
var satSarjomBaha = {
id: 'sat-sarjom-baha',
name: 'Sarjom Baha',
description: 'Phonetic Ol Chiki keyboard, Sarjom Baha for Santali language',
date: '2016-03-29',
author: 'Jnanaranjan Sahu',
license: 'GPLv3',
version: '1.01',
patterns: [
[ 'a', 'ᱟ' ],
[ 'b', 'ᱵ'... |
/* eslint max-len: 0 */
import React from 'react';
import { BootstrapTable, TableHeaderColumn } from 'react-bootstrap-table';
const products = [];
const qualityType = {
0: 'good',
1: 'bad',
2: 'unknown'
};
const inStockStatus = {
1: 'yes',
2: 'no'
};
function addProducts(quantity) {
const startId = prod... |
iD.presets.Field = function(id, field) {
field = _.clone(field);
field.id = id;
field.matchGeometry = function(geometry) {
return !field.geometry || field.geometry === geometry;
};
field.t = function(scope, options) {
return t('presets.fields.' + id + '.' + scope, options);
};... |
define(['./_setup', './isDataView', './constant', './_isBufferLike'], function (_setup, isDataView, constant, _isBufferLike) {
// Is a given value a typed array?
var typedArrayPattern = /\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;
function isTypedArray(obj) {
// `ArrayBuffer... |
Arguments_asArray = function(args)
{
return Array.prototype.slice.call(args);
} |
/*!
* Copyright (c) 2017 NAVER Corp.
* @egjs/infinitegrid project is licensed under the MIT license
*
* @egjs/infinitegrid JavaScript library
* https://github.com/naver/egjs-infinitegrid
*
* @version 3.3.2
*/
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && ... |
/*!
* remark (http://getbootstrapadmin.com/remark)
* Copyright 2016 amazingsurge
* Licensed under the Themeforest Standard Licenses
*/
(function(document, window, $) {
'use strict';
var Site = window.Site;
$(document).ready(function($) {
Site.extend({
run: function() {
$('#icon_change').as... |
/* global define */
(function() {
'use strict';
define(['lodash', 'helpers/pool-helpers', 'helpers/modal-helpers', 'helpers/error-helpers'], function(_, PoolHelpers, ModalHelpers, ErrorHelpers) {
// **PoolModifyController**
// Responsible for editing existing Pools.
var PoolModifyContro... |
'use strict';
/*globals eio*/
/**
* Minimum viable Engine.IO client. This function is stringified and added in
* our client-side library.
*
* @runat client
* @api private
*/
module.exports = function client() {
var onmessage = this.trigger('incoming::data')
, onerror = this.trigger('incoming::error')
,... |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'pastefromword', 'ms', {
confirmCleanup: 'The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?', /... |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'fakeobjects', 'nb', {
anchor: 'Anker',
flash: 'Flash-animasjon',
hiddenfield: 'Skjult felt',
iframe: 'IFrame',
unknown: 'Ukjent objek... |
define('summernote/module/Dialog', function () {
/**
* Dialog
*
* @class
*/
var Dialog = function () {
/**
* toggle button status
*
* @param {jQuery} $btn
* @param {Boolean} isEnable
*/
var toggleBtn = function ($btn, isEnable) {
$btn.toggleClass('disabled', !isE... |
(function(b){"object"==typeof exports&&"object"==typeof module?b(require("../../lib/codemirror")):"function"==typeof define&&define.amd?define(["../../lib/codemirror"],b):b(CodeMirror)})(function(b){function n(a){a.operation(function(){t(a)})}function p(a){a.state.markedSelection.length&&a.operation(function(){h(a)})}... |
'use strict';
describe('Loading layers-imageoverlay-example.html', function() {
var ptor, driver;
beforeEach(function() {
ptor = protractor.getInstance();
browser.get('layers-imageoverlay-example.html');
driver = ptor.driver;
});
it('should load the static image of the andes o... |
import { settings } from '../../settings';
import { slashCommands } from '../../utils';
settings.onload('SlackBridge_Enabled', (key, value) => {
if (value) {
slashCommands.add('slackbridge-import', null, {
description: 'Import_old_messages_from_slackbridge',
});
} else {
delete slashCommands.commands['slack... |
/*
* 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.
*/
'... |
/**
*
* @authors Your Name (you@example.org)
* @date 2015-10-19 22:11:01
* @version $Id$
*/
var xue = xue || {};
xue.video = xue.video || {};
xue.ajax = xue.ajax || {};
xue.win = xue.win || {};
xue.userinfo = xue.userinfo || {};
xue.dialog = xue.dialog || {}; |
'use strict';
var _get = function get(object, property, receiver) { if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { return get(parent, ... |
version https://git-lfs.github.com/spec/v1
oid sha256:027741c34c049de67647ce7956ad733dfcd96e8ee1ed7c1f3b07704243a513fa
size 5353
|
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @emails react-core
* @jest-environment node
*/
'use strict';
let PropTypes;
let RCTEventEmitter;
let React;
let ReactNative;
... |
CKEDITOR.plugins.setLang("liststyle","az",{bulletedTitle:"Markerlənmiş siyahının xüsusiyyətləri",circle:"Dəirəcik",decimal:"Rəqəm (1, 2, 3 və s.)",disc:"Disk",lowerAlpha:"Kiçik hərflər (a, b, c, d, e və s.)",lowerRoman:"Rum rəqəmləri (i, ii, iii, iv, v və s.)",none:"Yoxdur",notset:"\x3cseçilməmiş\x3e",numberedTitle:"Nö... |
import apply from './_apply.js';
import arrayMap from './_arrayMap.js';
import baseFlatten from './_baseFlatten.js';
import baseIteratee from './_baseIteratee.js';
import baseUnary from './_baseUnary.js';
import isArray from './isArray.js';
import isFlattenableIteratee from './_isFlattenableIteratee.js';
import rest fr... |
/*******************************************************************************
* KindEditor - WYSIWYG HTML Editor for Internet
* Copyright (C) 2006-2011 kindsoft.net
*
* @author Roddy <luolonghao@gmail.com>
* @site http://www.kindsoft.net/
* @licence http://www.kindsoft.net/license.php
************************... |
/**
* @license @product.name@ JS v@product.version@ (@product.date@)
* @module highcharts/highcharts-more
* @requires highcharts
*
* (c) 2009-2018 Torstein Honsi
*
* License: www.highcharts.com/license
*/
'use strict';
import '../parts-more/Pane.js';
import '../parts-more/RadialAxis.js';
import '../parts-more/A... |
/** Collection of callback functions for media querys. */
let listeners = {};
/**
* Bind functions to a matchMedia listener (subscriber).
*
* @param {string|number} query Media query to match or number for min-width.
* @param {function} yes Function to invoke when the media query matches.
* @param {function} ... |
version https://git-lfs.github.com/spec/v1
oid sha256:b7ac87305e7f4f8d7d959909e612a42afe4dc849814b2d4478cdefa971135bda
size 267
|
steal('can/util','can/util/string', function( can ){
// ## deparam.js
// `can.deparam`
// _Takes a string of name value pairs and returns a Object literal that represents those params._
var digitTest = /^\d+$/,
keyBreaker = /([^\[\]]+)|(\[\])/g,
paramTest = /([^?#]*)(#.*)?$/,
prep = function( str ) {
... |
var baseMerge = require('../internal/baseMerge'),
createAssigner = require('../internal/createAssigner');
/**
* Recursively merges own enumerable properties of the source object(s), that
* don't resolve to `undefined` into the destination object. Subsequent sources
* overwrite property assignments of prev... |
// Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
// MIT License. See license.txt
frappe.breadcrumbs = {
all: {},
preferred: {
"File": ""
},
set_doctype_module: function(doctype, module) {
localStorage["preferred_breadcrumbs:" + doctype] = module;
},
get_doctype_module: function(doctyp... |
/*
* FormData for XMLHttpRequest 2 - Polyfill for Web Worker
* (c) 2014 Rob Wu <rob@robwu.nl>
* License: MIT
* - append(name, value[, filename])
* - XMLHttpRequest.prototype.send(object FormData)
*
* Specification: http://www.w3.org/TR/XMLHttpRequest/#formdata
* http://www.w3.org/TR/XMLHttpReq... |
React.createElement(Component, babelHelpers.extends({
y: 2
}, x, {
z: true
}));
|
//TODO: handle reviver/dehydrate function like normal
//and handle indentation, like normal.
//if anyone needs this... please send pull request.
exports.stringify = function stringify (o) {
if(o && Buffer.isBuffer(o))
return JSON.stringify(':base64:' + o.toString('base64'))
if(o && o.toJSON)
o = o.toJSON... |
import Ember from 'ember';
import {request as ajax} from 'ic-ajax';
export default Ember.Controller.extend({
uploadButtonText: 'Import',
importErrors: '',
ghostPaths: Ember.inject.service('ghost-paths'),
notifications: Ember.inject.service(),
labsJSON: Ember.computed('model.labs', function () {
... |
define( 'amd/simple/index', function () {
return {
name: 'amd/simple/index'
};
} ); |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _borders = require('./borders');
var _borders2 = _interopRequireDefault(_borders);
var _columns = require('./columns');
var _columns2 = _interopRequireDefault(_columns);
var _margin = require('./margin');
var _margin2 = _interop... |
/**
* @fileoverview Rule to disallow use of unmodified expressions in loop conditions
* @author Toru Nagashima
*/
"use strict";
//------------------------------------------------------------------------------
// Requirements
//------------------------------------------------------------------------------
const Tr... |
version https://git-lfs.github.com/spec/v1
oid sha256:05d11d420e4aa7da5cc53dda71b1b0ff4b66d0e4385f679ca7742bc4e8597ff6
size 652
|
$(function(){
new CBPGridGallery( document.getElementById( 'grid-gallery' ) );
}); |
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define([], factory);
else {
var a = factory();
for(var i in a) (typeof exports === 'object' ? exports : roo... |
version https://git-lfs.github.com/spec/v1
oid sha256:09fbf48b200d33cd9868f842b8ced6b9ef2b9e894fc59e3901321bac34e06f52
size 2413
|
/*!
* Knockout JavaScript library v3.4.0
* (c) Steven Sanderson - http://knockoutjs.com/
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
*/
(function(){
var DEBUG=true;
(function(undefined){
// (0, eval)('this') is a robust way of getting a reference to the global object
// For details,... |
/**
* ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components
* @version v11.0.0
* @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 ... |
/*
* /MathJax/extensions/TeX/enclose.js
*
* Copyright (c) 2009-2013 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/license... |
/*************************************************************
*
* MathJax/jax/output/HTML-CSS/fonts/STIX/SizeFourSym/Regular/Main.js
*
* Copyright (c) 2009-2014 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with th... |
/**! Qoopido.demand 4.2.6-alpha.3 | https://github.com/dlueth/qoopido.demand | (c) 2018 Dirk Lueth */
!function(){"use strict";provide(["path","/demand/failure","/demand/handler/module","/demand/validator/isObject"],function(e,n,t,r){var o={};function u(){}return demand.on("postConfigure:"+e,function(e){o=r(e)?e:{}}),u... |
/*
* Konva JavaScript Framework v0.12.4
* http://konvajs.github.io/
* Licensed under the MIT or GPL Version 2 licenses.
* Date: Tue Apr 19 2016
*
* Original work Copyright (C) 2011 - 2013 by Eric Rowell (KineticJS)
* Modified work Copyright (C) 2014 - 2015 by Anton Lavrenov (Konva)
*
* @license
* Permission ... |
YUI.add("attribute-complex",function(e,t){var n=e.Attribute;n.Complex=function(){},n.Complex.prototype={_normAttrVals:n.prototype._normAttrVals,_getAttrInitVal:n.prototype._getAttrInitVal},e.AttributeComplex=n.Complex},"@VERSION@",{requires:["attribute-base"]});
|
'use strict';
const colors = require('./utils/colors');
const chalk = require('chalk');
const stringLength = require('string-length');
const readline = require('readline');
class Debugger {
constructor () {
this.enabled = true;
this.capturing = false;
this.capturedMessages = [];
}
enable () {
... |
/*!
* Connect - HTTPServer
* Copyright(c) 2010 Sencha Inc.
* Copyright(c) 2011 TJ Holowaychuk
* MIT Licensed
*/
/**
* Module dependencies.
*/
var http = require('http')
, utils = require('./utils')
, debug = require('debug')('connect:dispatcher');
// prototype
var app = module.exports = {};
// environm... |
/**
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'devtools', 'fi', {
title: 'Elementin tiedot',
dialogName: 'Dialogi-ikkunan nimi',
tabName: 'Välilehden nimi',
elementId: 'Eleme... |
var createCompounder = require('./_createCompounder'),
upperFirst = require('./upperFirst');
/**
* Converts `string` to
* [start case](https://en.wikipedia.org/wiki/Letter_case#Stylistic_or_specialised_usage).
*
* @static
* @memberOf _
* @since 3.1.0
* @category String
* @param {string} [string=... |
import { createTest, createVue, destroyVM } from '../util';
import Badge from 'packages/badge';
describe('Badge', () => {
let vm;
afterEach(() => {
destroyVM(vm);
});
it('value', () => {
vm = createTest(Badge, { value: 80 });
expect(vm.content).to.equal(80);
});
it('is fixed', () => {
vm ... |
'use strict';
var _ = require('../');
var type = 'ACTION_TYPE';
describe('isError()', function () {
it('returns true if action.error is strictly true', function () {
expect(_.isError({ type: type, error: true })).to.be['true'];
expect(_.isError({ type: type, error: 'true' })).to.be['false'];
expect(_.i... |
/*!
* Inspire Tree v1.12.1
* https://github.com/helion3/inspire-tree
*
* Copyright 2015 Helion3, and other contributors
* Licensed under MIT. https://github.com/helion3/inspire-tree/blob/master/LICENSE
*/
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module... |
(function(module) {
var webDB = {};
// Private function to configure the underlying database connection via the html5sql library:
function _config(isVerbose) {
var msg;
if (isVerbose) {
html5sql.logInfo = true;
html5sql.logErrors = true;
html5sql.putSelectResultsInArray = true;
ms... |
"use strict";
module.exports = function (t, a) {
var dt = new Date(2011, 2, 3, 3, 5, 5, 32);
a(t.call(dt, " %Y.%y.%m.%d.%H.%M.%S.%L "), " 2011.11.03.03.03.05.05.032 ");
};
|
function get_include_path() {
// http://kevin.vanzonneveld.net
// + original by: Brett Zamir (http://brett-zamir.me)
// * example 1: get_include_path();
// * returns 1: '/phpjs'
if (this.php_js && this.php_js.ini && this.php_js.ini.include_path && this.php_js.ini.include_path.local_value) {
ret... |
module.exports = function(config) {
require('./karma-dist-jasmine.conf.js')(config);
require('./sauce.es2015.conf')(config);
const files = config.files;
config.files = [];
for (let i = 0; i < files.length; i++) {
if (files[i] !== 'node_modules/core-js-bundle/index.js' || files[i] === 'build/test/main.js'... |
/**
*
* Hide the keyboard (iOS only)
*
* @see https://github.com/appium/appium/blob/master/docs/en/appium-bindings.md#hide-keyboard-ios-only
* @type appium
*
*/
module.exports = function hideDeviceKeyboard(keyName) {
var requestOptions = {
path: '/session/:sessionId/appium/device/hide_keyboard',
... |
describe("angular+jqlite", function() {
describe("api/index", function() {
beforeEach(function() {
browser().navigateTo("index-nocache.html#!/api/index");
});
});
describe("api/ng", function() {
beforeEach(function() {
browser().navigateTo("index-nocache.html#!/api/ng");
});
});
... |
var pipeP = require('./pipeP');
var reverse = require('./reverse');
/**
* Performs right-to-left composition of one or more Promise-returning
* functions. The rightmost function may have any arity; the remaining
* functions must be unary.
*
* @func
* @memberOf R
* @since v0.10.0
* @category Function
* @sig (... |
/*!
* Parsley.js
* Version 2.6.1 - built Tue, Jan 3rd 2017, 1:32 pm
* http://parsleyjs.org
* Guillaume Potier - <guillaume@wisembly.com>
* Marc-Andre Lafortune - <petroselinum@marc-andre.ca>
* MIT Licensed
*/
// The source code below is generated by babel as
// Parsley is written in ECMAScript 6
//
'use strict';
var ... |
/* */
"format cjs";
"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]; } } new... |
/*!
* Module requirements.
*/
var SchemaType = require('../schematype');
var CastError = SchemaType.CastError;
var utils = require('../utils');
/**
* Date SchemaType constructor.
*
* @param {String} key
* @param {Object} options
* @inherits SchemaType
* @api private
*/
function SchemaDate (... |
/* eslint-disable no-var */
var rimraf = require('rimraf');
var chalk = require('chalk');
var replace = require("replace");
var prompt = require("prompt");
var prompts = require('./setupPrompts');
var chalkSuccess = chalk.green;
var chalkProcessing = chalk.blue;
var chalkWarn = chalk.red;
/* eslint-disable no-console... |
/*
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'showblocks', 'mn', {
toolbar: 'Хавтангуудыг харуулах'
} );
|
import getWindowScroll from "./getWindowScroll.js";
import getWindow from "./getWindow.js";
import { isHTMLElement } from "./instanceOf.js";
import getHTMLElementScroll from "./getHTMLElementScroll.js";
export default function getNodeScroll(node) {
if (node === getWindow(node) || !isHTMLElement(node)) {
return ge... |
/*
Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.add("forms",{requires:"dialog,fakeobjects",lang:"af,ar,bg,bn,bs,ca,cs,cy,da,de,de-ch,el,en,en-au,en-ca,en-gb,eo,es,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,... |
/*! http://mths.be/punycode v1.3.0 by @mathias */
;(function(root) {
/** Detect free variables */
var freeExports = typeof exports == 'object' && exports &&
!exports.nodeType && exports;
var freeModule = typeof module == 'object' && module &&
!module.nodeType && module;
var freeGlobal = typeof global == 'objec... |
'use strict';
var fs = require('fs');
var info = [];
var reg = /^https?\:\/\/([^\/?#]+)(?:[\/?#]|$)/i;
var root = require('./config').url.host || '';
var m;
var extUrls = function(obj) {
for (var key in obj) {
if (obj.hasOwnProperty(key)) {
if (key == 'link') {
m = obj[key].match(reg);
if ... |
(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... |
/**
* Globalize v1.1.0-rc.8
*
* http://github.com/jquery/globalize
*
* Copyright 2010, 2014 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2016-01-18T20:38Z
*/
/*!
* Globalize v1.1.0-rc.8 2016-01-18T20:38Z Released under the MIT license
... |
var Vue = require('../../../../src/vue')
var _ = require('../../../../src/util')
var compiler = require('../../../../src/compiler')
describe('Partial', function () {
var el
beforeEach(function () {
el = document.createElement('div')
})
it('static', function (done) {
var vm = new Vue({
el: el,
... |
/**
* @license MIT
*/
(function(window, document, undefined) {'use strict';
/**
* Flow.js is a library providing multiple simultaneous, stable and
* resumable uploads via the HTML5 File API.
* @param [opts]
* @param {number} [opts.chunkSize]
* @param {bool} [opts.forceChunkSize]
* @par... |
/**
* API Bound Models for AngularJS
* @version v1.1.0 - 2014-09-23
* @link https://github.com/angular-platanus/restmod
* @author Ignacio Baixas <ignacio@platan.us>
* @license MIT License, http://www.opensource.org/licenses/MIT
*/
!function(a){"use strict";a.module("restmod").factory("AMSApi",["restmod","inflecto... |
CKEDITOR.plugins.setLang("colorbutton","ka",{auto:"ავტომატური",bgColorTitle:"ფონის ფერი",colors:{"000":"შავი",8E5:"მუქი შინდისფერი","8B4513":"ყავისფერი","2F4F4F":"მოლურჯო ნაცრისფერი","008080":"ჩამქრალი ლურჯი","000080":"მუქი ლურჯი","4B0082":"იასამნისფერი",696969:"მუქი ნაცრისფერი",B22222:"აგურისფერი",A52A2A:"მუქი ყავისფე... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.