code stringlengths 2 1.05M |
|---|
import { canUseDOM } from 'fbjs/lib/ExecutionEnvironment';
import createHistory from 'history/lib/createBrowserHistory';
import createMemoryHistory from 'history/lib/createMemoryHistory';
import useQueries from 'history/lib/useQueries';
const location = useQueries(canUseDOM ? createHistory : createMemoryHistory)();
e... |
/*
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.gi... |
var markdownlint = require('markdownlint');
module.exports = function(grunt) {
require('load-grunt-tasks')(grunt);
grunt.registerMultiTask('markdownlint', function task() {
var done = this.async();
markdownlint(
{ "files": this.filesSrc },
function callback(err, result)... |
// these utilities capture some of the relatively complex logic within d3-axis which
// determines the ticks and tick formatter based on various axis and scale
// properties: https://github.com/d3/d3-axis#axis_ticks
const identity = d => d;
const tryApply = (scale, fn, args, defaultVal) =>
scale[fn] ? scale[fn]... |
var Twitter = require('../lib/Twitter');
var twitterStreamClient = new Twitter.StreamClient(
'CONSUMER_KEY',
'CONSUMER_SECRET',
'TOKEN',
'TOKEN_SECRET'
);
twitterStreamClient.on('close', function() {
console.log('Connection closed.');
});
twitterStreamClient.on('end', function() {
console.log(... |
#!/usr/bin/env node
// simple command-line validation
var JaySchema = require('../lib/jayschema.js')
, fs = require('fs')
, path = require('path')
;
// support Node 0.6.x
var existsSync = fs.existsSync || path.existsSync;
var META_SCHEMA_PATH = path.join(__dirname, '..', 'lib', 'suites', 'draft-04',
'json-s... |
/*
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'contextmenu', 'ar', {
options: 'خصائص قائمة السياق'
});
|
/* @flow */
import { getAndRemoveAttr, addRawAttr } from 'compiler/helpers'
function hasConditionDirective (el: ASTElement): boolean {
for (const attr in el.attrsMap) {
if (/^v\-if|v\-else|v\-else\-if$/.test(attr)) {
return true
}
}
return false
}
function getPrevMatch (el: ASTElement): any {
i... |
type User = {
name?: string;
email?: string;
}
export default function demo (name, email): string {
const user: User = {
name: ("foo": string),
email: ("bar@example.com": string),
something (): User {
this.name = name;
return this;
},
other: function (): string {
const f... |
var Converter = require("../libs/core/Converter.js");
var assert = require("assert");
var fs = require("fs");
var file = __dirname + "/data/testData";
var trailCommaData = __dirname + "/data/trailingComma";
describe("CSV Converter", function () {
it("should create new instance of csv", function () {
var obj = new... |
(function (factory) {
if (typeof module === "object" && typeof module.exports === "object") {
var v = factory(require, exports);
if (v !== undefined) module.exports = v;
}
else if (typeof define === "function" && define.amd) {
define(["require", "exports", "@angular/core", "../../uti... |
/* ========================================================================
* xeditable.js
* Page/renders: forms-xeditable.html
* Plugins used: x-editable
* ======================================================================== */
'use strict';
(function (factory) {
if (typeof define === 'function' && defin... |
/* global angular */
'use strict';
angular.module('storm')
.config(['localStorageServiceProvider', function(localStorageServiceProvider) {
localStorageServiceProvider.setPrefix('Storm');
}]); |
var fs = require('fs');
var coffee = require('coffee-script');
var cjsx = require('coffee-react-transform');
var transformed = false;
function transform() {
if (transformed) {
return;
}
require.extensions['.coffee'] = require.extensions['.cjsx'] = function(module, filename) {
var sr... |
function TextCreator( totalSize ){
totalSize = totalSize || 100;
this.params = {
size: totalSize ,
type: "20pt GeoSans",
color: "rgba( 255 , 255 , 255 , 0.95 )",
crispness: 1,
margin: totalSize ... |
/* global location */
/* Centralized place to reference utilities since utils is exposed to the user. */
var debug = require('./debug');
var deepAssign = require('deep-assign');
var device = require('./device');
var objectAssign = require('object-assign');
var objectPool = require('./object-pool');
var warn = debug('... |
define(['angular', './controllers', 'moment', './expenses/employeeExpensesModule'], function(angular, controllers, moment) {
'use strict';
var employee = angular.module('trackr.employee', ['trackr.employee.expenses']);
employee.config(['$stateProvider', function($stateProvider) {
$stateProvider
... |
// This file is intentionally left empty. See .externs.js. |
(function () {
'use strict';
var module = angular.module('fim.base');
module.factory('i18n', function () {
var PKAnnouncementBlockPassed = true;
var messages = {
"recipient_unknown": "The recipient account is an unknown account, meaning it has never had an incoming or outgoing transaction. Please double check... |
/**
* Middleware dependencies
*
* This middleware depends on the following to be run first:
*
* - req.login() (passport)
* - determineProvider
*/
/**
* Module dependencies
*/
var Role = require('../models/Role')
var mailer = require('../boot/mailer').getMailer()
var settings = require('../boot/settings... |
import React, { PropTypes, Component } from 'react'
import { Link } from 'react-router'
export default class MenuListItem extends Component {
static propTypes = {
icon: PropTypes.string.isRequired,
isExternal: PropTypes.bool,
link: PropTypes.string.isRequired,
text: PropTypes.string.isRequired
};
... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: >
When "continue Identifier" is evaluated Identifier must be label in the
label set of an enclosing (but not crossing function boundaries)
IterationStatement
es5id... |
// This file has been autogenerated.
exports.setEnvironment = function() {
process.env['AZURE_TEST_LOCATION'] = 'West US';
process.env['AZURE_SUBSCRIPTION_ID'] = 'b4871d65-b439-4433-8702-08fa2cc15808';
};
exports.scopes = [[function (nock) {
var result =
nock('http://management.azure.com:443')
.get('/subscrip... |
YUI.add('series-line-stacked', function (Y, NAME) {
/**
* Provides functionality for creatiing a stacked line series.
*
* @module charts
* @submodule series-line-stacked
*/
/**
* StackedLineSeries creates line graphs in which the different series are stacked along a value axis
* to indicate their contribution t... |
.ɵɵelementStart(0, "div");\n // SOURCE: "/ng_if_simple.ts" <div *
…
.ɵɵtext(1);\n // SOURCE: "/ng_if_simple.ts" {{ name }}
…
// TODO: Work out how to fix the broken segment for the last item in a template
.ɵɵelem // SOURCE: "/ng_if_simple.ts" </div>'
…
.ɵɵtextInterpolate(ctx_r0.name);\n }\n}\n\n // SOURCE: "/ng_if_sim... |
Package.describe({
name: 'rocketchat:ui',
version: '0.1.0',
// Brief, one-line summary of the package.
summary: '',
// URL to the Git repository containing the source code for this package.
git: '',
// By default, Meteor will default to using README.md for documentation.
// To avoid submitting documentation, se... |
/*!
* OverlayScrollbars
* https://github.com/KingSora/OverlayScrollbars
*
* Version: 1.5.3
*
* Copyright KingSora.
* https://github.com/KingSora
*
* Released under the MIT license.
* Date: 07.11.2018
*/
(function (global, factory) {
if (typeof define === 'function' && define.amd)
define(function... |
version https://git-lfs.github.com/spec/v1
oid sha256:824191b014bfc0ab7e59b4c9eeeca852e6788c6a6c8120ef6c151e36e6f13d76
size 31258
|
!function(e,_){"object"==typeof exports&&"undefined"!=typeof module?module.exports=_(require("dayjs")):"function"==typeof define&&define.amd?define(["dayjs"],_):e.dayjs_locale_sl=_(e.dayjs)}(this,function(e){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;var _={name:"sl",weekdays:"nedelja_ponedeljek_torek_sr... |
ccm_enableUserProfileMenu=function(){var a=$("#ccm-account-menu-container"),b=$("#ccm-account-menu");if(b.length){if(0==a.length)var a=$("<div />").appendTo(document.body);a.addClass("ccm-ui").attr("id","ccm-account-menu-container"),$("#ccm-account-menu").appendTo(a);var c=$(document).height(),d=$("#ccm-account-menu").... |
require('../../modules/es.weak-set');
require('../../modules/esnext.weak-set.delete-all');
module.exports = require('../../internals/entry-unbind')('WeakSet', 'deleteAll');
|
module.exports = {
authenticate: true,
func: function () { }
}
|
/**
* @author alteredq / http://alteredqualia.com/
* @author Lewy Blue https://github.com/looeee
*
* The model is expected to follow real world car proportions. You can try unusual car types
* but your results may be unexpected. Scaled models are also not supported.
*
* Defaults are rough estimates for a real wo... |
module.exports={title:"Swift",hex:"FA7343",source:"https://developer.apple.com/develop/",svg:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Swift icon</title><path d="M21.984 16.348c.056-.112.056-.224.112-.336 1.346-5.272-1.851-11.44-7.347-14.693 2.412 3.253 3.365 7.122 2.524 10.599-.056... |
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
__export(require('./src/test_lib/test_lib'));
__export(require('./src/test_lib/utils'));
__export(require('./src/test_lib/fake_async'));
__export(require('./src/test_lib/test_component_builder'));
__export(require('.... |
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.1.1 (c) Oliver Folkerd */
var Da... |
module.exports=/[\u0531-\u0556\u0559-\u055F\u0561-\u0587\u058A\u058F\uFB13-\uFB17]/ |
var fs = require('fs'),
path = require('path');
/**
* Returns a function that looks in a specified path relative to the current
* directory, and returns all .js modules it (recursively).
*
* ####Example:
*
* var importRoutes = keystone.importer(__dirname);
*
* var routes = {
* site: importRou... |
import { getOwner, OWNER } from 'ember-utils';
import { ENV } from 'ember-environment';
import { get, isFeatureEnabled } from 'ember-metal';
import { Registry } from '../index';
import { factory } from 'internal-test-helpers';
import { LOOKUP_FACTORY, FACTORY_FOR } from 'container';
let originalModelInjections;
QUnit... |
/*
* Copyright 2012 The Closure Compiler Authors.
*
* 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... |
/**
* list.spec.js
* (c) 2013~ Alan Hong
* summernote may be freely distributed under the MIT license./
*/
define([
'chai',
'jquery',
'summernote/base/core/list'
], function (chai, $, list) {
'use strict';
var expect = chai.expect;
describe('base:core.list', function () {
describe('head', function... |
/**
* 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.5 (2019-05-09)
*/
(function () {
var colorpicker = (fu... |
/** @license React v16.7.0-alpha.0
* react.production.min.js
*
* 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.
*/
'use strict';var k=require("object-assign"),l="function"===typeof Sym... |
import {
FileLoader,
Loader,
ShapePath
} from 'three';
class FontLoader extends Loader {
constructor( manager ) {
super( manager );
}
load( url, onLoad, onProgress, onError ) {
const scope = this;
const loader = new FileLoader( this.manager );
loader.setPath( this.path );
loader.setRequestHeader(... |
export function foo () {
return 'FUBAR';
}
|
// Copyright 2013 Google 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
//
// Unless required by applicable law or agreed to in ... |
'use strict';
function ClientError(code, message) {
this.code = code;
this.message = message;
};
ClientError.prototype.toString = function() {
return '<ClientError:' + this.code + ' ' + this.message + '>';
};
module.exports = ClientError;
|
/**
* Lo-Dash 2.4.1 (Custom Build) <http://lodash.com/>
* Build: `lodash modularize exports="amd" -o ./compat/`
* Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
* Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE>
* Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigat... |
// 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.7_A6;
* @section: 15.8.2.7;
* @assertion: Cosine is a periodic function with period 2*PI;
* @description: Checking if Math.cos(x) equals to Math.cos(x+n*2*Math.PI... |
import React, {Component, PropTypes} from 'react';
import warning from 'warning';
function getStyles(props, context) {
const {
baseTheme,
table,
} = context.muiTheme;
return {
root: {
backgroundColor: table.backgroundColor,
width: '100%',
borderCollapse: 'collapse',
borderSpa... |
import test from 'ava';
import padStart from './padStart';
test('String.prototype.padStart', t => {
const str = 'abc';
t.true(padStart.call(str, 10) === ' abc');
t.true(padStart.call(str, 10, 'foo') === 'foofoofabc');
t.true(padStart.call(str, 6, '123465') === '123abc');
t.true(padStart.call... |
const { loadRules } = require('../../lib/load-rules')
const rulesConstants = loadRules()
const enabledRules = {}
rulesConstants.forEach(rule => {
if (!rule.meta.deprecated && rule.meta.recommended) {
enabledRules[rule.ruleId] = rule.meta.defaultSetup
}
})
module.exports = { rules: enabledRules }
|
/*************************************************************
*
* MathJax/jax/output/SVG/fonts/Latin-Modern/Latin/Regular/Main.js
*
* Copyright (c) 2013-2016 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance w... |
describe('zoom left animation', function() {
var prefixes = {
'-webkit-transform': true,
'-moz-transform': true,
'-o-transform': true,
'transform': true
};
var transform;
beforeEach(module('ngAnimate'));
beforeEach(module('ngAnimateMock'));
beforeEach(module('fx.animations'));
it("should ... |
const configPath = '_CFG_PATH_'; // root category is application 'index.html' destination
const xmlhttp = new XMLHttpRequest();
xmlhttp.open('GET', configPath, true);
xmlhttp.onreadystatechange = function() {
if (xmlhttp.readyState == 4) {
if(xmlhttp.status == 200) {
const config = JSON.parse(x... |
import { RenderingTestCase, moduleFor, strip, runTask } from 'internal-test-helpers';
import { set } from '@ember/-internals/metal';
moduleFor(
'SVG element tests',
class extends RenderingTestCase {
['@test unquoted viewBox property is output'](assert) {
let viewBoxString = '0 0 100 100';
this.re... |
/**
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
'use strict';
angular.module('marketplace-credentials', ['ngStorage'])
.controller('MarketplaceCredentialsController', ['$scope', '$state', '$http', '$localStorage', '$rootScope', '$sce',
function ($... |
/******/ (function(modules) { // webpackBootstrap
/******/ var parentHotUpdateCallback = this["webpackHotUpdate"];
/******/ this["webpackHotUpdate"] =
/******/ function webpackHotUpdateCallback(chunkId, moreModules) { // eslint-disable-line no-unused-vars
/******/ hotAddUpdateChunk(chunkId, moreModules);
/****... |
require('./init.js');
var assert = require('assert');
var db, DummyModel, odb;
describe('connections', function () {
before(function () {
require('./init.js');
odb = getDataSource({collation: 'utf8_general_ci', createDatabase: true});
db = odb;
});
it('should use utf8 charset', function (done) {
... |
exports.a = function() {
return "a";
};
exports.b = require("./using_exports_b").b;
|
import React from 'react';
import Button from '../src/Button';
import Dropdown from '../src/Dropdown';
import NavItem from '../src/NavItem';
export default
<Dropdown trigger={
<Button>Drop me!</Button>
}>
<NavItem>one</NavItem>
<NavItem>two</NavItem>
<NavItem divider />
<NavItem>three</NavItem>
</Dropdow... |
/**
* Copyright (c) 2015-present, Parse, LLC.
* 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.
*
*
*/
'use s... |
angular.module('blog').controller('NewPostController', function($scope, $http, $state, $rootScope, $cookieStore) {
$scope.isProcessing = false;
$scope.postError = '';
$scope.createPost = function(post) {
if ($scope.container.postForm.$valid) {
$scope.isProcessing = true;
var token = $cookieStore.get('blog_... |
import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
const _excluded = ["action", "centerRipple", "children", "className", "component", "disabled", "disableRipple", "disableTouchRipple", "focusRipple", "focusVisib... |
angular.module('merchello.directives').directive('detachedContentType', function() {
return {
restrict: 'E',
replace: true,
terminal: false,
scope: {
entityType: '@'
},
templateUrl: '/App_Plugins/Merchello/Backoffice/Merchello/Directives/detachedcontentt... |
/**
* Copyright (c) UNA, Inc - https://una.io
* MIT License - https://opensource.org/licenses/MIT
*
* @defgroup Market Market
* @ingroup UnaModules
*
* @{
*/
function BxMarketManageTools(oOptions) {
this._iSearchTimeoutId = false;
this._sActionsUrl = oOptions.sActionUrl;
this._sObjNameGrid = oOptions... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: "Evaluate the production ArrayLiteral: [ AssignmentExpression ]"
es5id: 11.1.4_A1.3
description: >
Checking various properteis and contents of the array defined with
"... |
// { "framework": "Vue" }
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/****... |
exports.BattleScripts = {
init: function () {
var battleFormeIDs = {'Mega':1, 'Mega-X':1, 'Mega-Y':1};
// due to a happy coincidence, no other Pokémon having HP as its min xor max stat changes forme in-battle
var battleAltFormes = [];
for (var i in this.data.Pokedex) {
var dexEntry = this.data.Pokedex[i];
... |
// @remove-on-eject-begin
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same ... |
/*
* Copyright (c) 2009 WiQuery team
*
* 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, modify, merge,... |
/**
* @file
* Some basic behaviors and utility functions for Views UI.
*/
(function ($, Drupal, drupalSettings) {
"use strict";
/**
* @namespace
*/
Drupal.viewsUi = {};
/**
* Improve the user experience of the views edit interface.
*
* @type {Drupal~behavior}
*
* @prop {Drupal~behavi... |
/*
* Breach: bind_s.js
*
* Copyright (c) 2014, Stanislas Polu. All rights reserved.
*
* @author: spolu
*
* @log:
* - 2013-08-12 spolu Creation
*/
'use strict';
angular.module('breach.services').
factory('_req', function($http, $q, $rootScope) {
function go(httpPromise) {
$rootScope.$broadcast('load... |
define(['./filter', './negate', './_cb'], function (filter, negate, _cb) {
// Return all the elements for which a truth test fails.
function reject(obj, predicate, context) {
return filter(obj, negate(_cb(predicate)), context);
}
return reject;
});
|
var url = require('url'),
http = require('http'),
https = require('https'),
fs = require('fs'),
qs = require('querystring'),
express = require('express'),
app = express();
// Load config defaults from JSON file.
// Environment variables override defaults.
function loadCon... |
export function isPastDay(d) {
let today = new Date();
today.setHours(0, 0, 0, 0);
return d < today;
}
export function isSameDay(d1, d2) {
d1.setHours(0, 0, 0, 0);
d2.setHours(0, 0, 0, 0);
return d1.getTime() === d2.getTime();
}
export function isBetween(d, d1, d2) {
d.setHours(0, 0, 0, 0);
d1.setHour... |
import {I18N} from '../../src/i18n';
import {DfValueConverter} from '../../src/df';
import {EventAggregator} from 'aurelia-event-aggregator';
describe('dfvalueconverter tests', () => {
var sut, dfvc;
beforeEach(() => {
sut = new I18N(new EventAggregator());
dfvc = new DfValueConverter(sut);
});
it('... |
define(["Tone/effect/Effect", "helper/Basic"], function (Effect, Basic) {
describe("Effect", function(){
Basic(Effect);
});
}); |
// This file was automatically generated. Do not modify.
'use strict';
goog.provide('Blockly.Msg.pt');
goog.require('Blockly.Msg');
Blockly.Msg.ADD_COMMENT = "Adicionar Comentário";
Blockly.Msg.AUTH = "Please authorize this app to enable your work to be saved and to allow it to be shared by you."; // untranslated... |
version https://git-lfs.github.com/spec/v1
oid sha256:6c427d6f51249113e1af60de0c47c70e8a84fd1d80593ab9d0ec05d7062ee925
size 2324
|
(function(d){"object"==typeof exports&&"object"==typeof module?d(require("../../lib/codemirror"),require("./searchcursor"),require("../scroll/annotatescrollbar")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","./searchcursor","../scroll/annotatescrollbar"],d):d(CodeMirror)})(function(d){function... |
var util = require('util');
var Q = require('q');
var mout = require('mout');
var path = require('path');
var GitResolver = require('./GitResolver');
var copy = require('../../util/copy');
var cmd = require('../../util/cmd');
function GitFsResolver(decEndpoint, config, logger) {
GitResolver.call(this, decEndpoint,... |
/**
* @license
* Copyright Google Inc. 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
*/
import resolve from 'rollup-plugin-node-resolve';
const globals = {
'@angular/core': 'ng.core',
'@angular/commo... |
version https://git-lfs.github.com/spec/v1
oid sha256:c7e20b0ec942c52b9fe942db3c3acda5dc857714b4adda3297b17eccb42802bc
size 5177
|
Meteor.startup(function() {
const enableQuery = {
_id: 'AutoLinker',
value: true
};
RocketChat.settings.add('AutoLinker', true, {type: 'boolean', group: 'Message', section: 'AutoLinker', public: true, i18nLabel: 'Enabled'});
RocketChat.settings.add('AutoLinker_StripPrefix', false, {type: 'boolean', group: 'Me... |
/**
*
* Get the url of current opened website.
*
* <example>
:getUrl.js
it('should get the url of the current page', function () {
browser.url('http://webdriver.io');
var url = browser.getUrl();
console.log(url);
// outputs the following:
// "http://webdriver.io"
... |
// Zepto.js
// (c) 2010-2014 Thomas Fuchs
// Zepto.js may be freely distributed under the MIT license.
var Zepto = (function() {
var undefined, key, $, classList, emptyArray = [], slice = emptyArray.slice, filter = emptyArray.filter,
document = window.document,
elementDisplay = {}, classCache = {... |
var searchData=
[
['z',['Z',['../class_accelerometer.html#a5fc1b5138c555cc7c9ab7fe7b3e84e43',1,'Accelerometer::Z()'],['../class_gyrometer.html#a97ff4df7715e87ab6239929ccafbc4a3',1,'Gyrometer::Z()'],['../class_orientation.html#a04aca27a39a8cf76b641c9098e38b732',1,'Orientation::Z()']]]
];
|
/*
This file is part of Ext JS 4.2
Copyright (c) 2011-2013 Sencha Inc
Contact: http://www.sencha.com/contact
Commercial Usage
Licensees holding valid commercial licenses may use this file in accordance with the Commercial
Software License Agreement provided with the Software or, alternatively, in accordance with th... |
/* */
(function(Buffer) {
module.exports = {
p: new Buffer('86F5CA03DCFEB225063FF830A0C769B9DD9D6153AD91D7CE27F787C43278B447E6533B86B18BED6E8A48B784A14C252C5BE0DBF60B86D6385BD2F12FB763ED8873ABFD3F5BA2E0A8C0A59082EAC056935E529DAF7C610467899C77ADEDFC846C881870B7B19B2B58F9BE0521A17002E3BDD6B86685EE90B3D9A1B02B782B1... |
'use strict';
exports.__esModule = true;
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
var _wrapDisplayNa... |
(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... |
"use strict";
var _toolsProtectJs2 = require("./../../tools/protect.js");
var _toolsProtectJs3 = _interopRequireDefault(_toolsProtectJs2);
exports.__esModule = true;
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { i... |
import PropTypes from "prop-types"
import React from "react"
import _AuctionInfoDesktop from "./AuctionInfoDesktop"
import _AuctionInfoMobile from "./AuctionInfoMobile"
import { connect } from "react-redux"
// FIXME: Rewire
let AuctionInfoDesktop = _AuctionInfoDesktop
let AuctionInfoMobile = _AuctionInfoMobile
functi... |
var parse = require('../parse/index.js')
/**
* @category Hour Helpers
* @summary Set the hours to the given date.
*
* @description
* Set the hours to the given date.
*
* @param {Date|String|Number} date - the date to be changed
* @param {Number} hours - the hours of the new date
* @returns {Date} the new date... |
var assert = require('assert');
var editor = require('./stubs/editor');
var cssGradient = require('../lib/resolver/cssGradient');
var prefs = require('../lib/assets/preferences');
var ciu = require('../lib/assets/caniuse');
var expandAbbreviation = require('../lib/action/expandAbbreviation');
var reflectValue = require... |
version https://git-lfs.github.com/spec/v1
oid sha256:7370c29cd358584f713482cdb33108019364b28cefb5bf949e68cfb1a304b480
size 4738
|
version https://git-lfs.github.com/spec/v1
oid sha256:9f4d081d68eccc16308411bbfc5a5eb3e44d5c561877c5f1bedbf0184a565b7c
size 3524
|
/**
* This file defines the email tests for your project.
*
* Each email test should provide the locals used to render the
* email template for preview.
*
* Values can either be an object (for simple tests), or a
* function that calls a callback(err, locals).
*
* Sample generated emails, based on the keys a... |
// @flow strict
import React from 'react';
import renderer from 'react-test-renderer';
import Meta from './Meta';
describe('Meta', () => {
it('renders correctly', () => {
const props = {
date: '2016-09-01'
};
const tree = renderer.create(<Meta {...props} />).toJSON();
expect(tree).toMatchSnaps... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.