code
stringlengths
2
1.05M
const _ = require('underscore'); const DrawCard = require('../../drawcard.js'); const { Locations, CardTypes } = require('../../Constants'); const testOfSkillCost = function() { return { action: { name: 'testOfSkillCost', getCostMessage: () => ['naming {0}', []] }, canPay: function() { ...
YUI.add('router', function (Y, NAME) { /** Provides URL-based routing using HTML5 `pushState()` or the location hash. @module app @submodule router @since 3.4.0 **/ var HistoryHash = Y.HistoryHash, QS = Y.QueryString, YArray = Y.Array, YLang = Y.Lang, YObject = Y.Object, ...
$.ajaxSetup({ cache: false }); function init(){ $.fn.pluginName; } $(document).ready(function(){ //Alert var error = window.location.search; //Initial var pageInitial = $('#sidebarHome a').attr('href'); // //Shift Scheduler if(error.indexOf("?alert=shift_requested") !== -1){ $('#alert').append( "<div...
//>>built define(["dojo/_base/lang","dojo/_base/declare","dojo/_base/window","dojo/_base/config","dojo/dom-construct"],function(d,c,e,g,h){return c("dojox.analytics.Urchin",null,{acct:"",constructor:function(a){this.tracker=null;d.mixin(this,a);this.acct=this.acct||g.urchin;var c=/loaded|complete/;a="https:"==e.doc.loc...
'use strict'; window.jstag = function () { var t = { _q: [], _c: {}, ts: new Date().getTime(), ver: '2.0.0' }; var as = Array.prototype.slice; t.init = function (c) { t._c = c; if (// begin load of core tag // in > 2.0.0 this tag will handle lo...
var ExtractTextPlugin = require('extract-text-webpack-plugin'); module.exports = { entry: { index: './client/js/index.jsx', newpost: './client/js/newpost.jsx' }, output: { // __dirname is the path of webpack.js path: __dirname + '/../build', filename: '[name].js' }, module: { loaders:...
$(document).ready(function() { var scroll_timer; var displayed = false; var $link = $('#top-link'); var $window = $(window); var top = $(document.body).children(0).position().top; $window.scroll(function() { clearTimeout(scroll_timer); scroll_timer = setTimeout(function() { if ($window.scrollTop...
function validate() { return false; } /* * TODO: Fetch a cookie and check boxes according to what it says */ function checkCookie() { checkboxes = document.getElementsByClassName('romajicheckbox'); cookie = getCookie(); for (var i = 0, n = checkboxes.length; i < n; i++) { checkboxes[i].check...
/** * FrameworkRouter uses a Framework object to implement an HTTP request * listener that routes, decodes, validates, and calls user defined handlers. */ 'use strict'; /** * Module dependencies. */ var debug = require('debug')('swagger-framework:framework:router'); var lodash = require('lodash'); var routingto...
/* Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'adv_link', 'cs', { acccessKey: 'Přístupový klíč', advanced: 'Rozšířené', advisoryContentType: 'Pomocný typ obsahu', advisoryTitle: 'Pomocný titul...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon")); var _jsxRuntime = require("react/jsx-runtime")...
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2022 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var Class = require('../../utils/Class'); var Components = require('./components'); var Image = require('../../gameobjects/image/Image'); /** ...
module('Davis.Route'); test("converting a string path into a regex", function () { var route = factory('route') ok((route.path instanceof RegExp), "should convert the path into a regular expression if it isn't already one"); ok(route.path.test('/foo'), "path regexp should match the right paths") ok(!route.pat...
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2020 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ var renderWebGL = require('../../utils/NOOP'); var renderCanvas = require('../../utils/NOOP'); if (typeof WEBGL_RENDERER) { renderWebGL = r...
import React, { Component, PropTypes } from 'react'; import _find from 'lodash/find'; import _without from 'lodash/without'; import Button from 'react-mdl/lib/Button'; import { provinces as allProvinces } from 'funong-common/lib/appConstants'; import { Dialog } from 'modules/common/dialog'; class ProvincesSelectorDial...
'use strict'; angular.module('utils', ['ionic']) /** * @name getData * @param {string} path to file, relative to www/data * @param {function} optional callback accepts error object * @returns {object} promise yielding json file contents */ .provider('getData', function ($logProvider) { var $http = angular.in...
/* globals Drop */ import Component from '@ember/component'; import { observer } from '@ember/object'; import { run } from '@ember/runloop'; export default Component.extend({ tagName: '', contentChanged: observer('content', function() { this.initialize(); }), didInsertElement() { this.initialize(); ...
module.exports = require("npm:cssom@0.3.0/lib/index");
// returns JSON if JSON, false if not // valueIfJSON - value to return instead of json module.exports = function checkJSON(json, valueIfJSON) { try { json = JSON.parse(json); } catch (e) { return false; } return valueIfJSON || json; };
jQuery.noConflict(); /*! GLOBAL.VARS */ var ocomltxt = []; ocomltxt.en = { more: "More", readmore: "Read More", close: "Close", link2txt: "Paste link in <strong>email</strong> or <strong>IM</strong>", finish: "Finish", alreadymember: "Already a member?", login: "Login", logout...
/* * Copyright (c) 2017. MIT-license for Jari Van Melckebeke * Note that there was a lot of educational work in this project, * this project was (or is) used for an assignment from Realdolmen in Belgium. * Please just don't abuse my work */ import extend from './extend'; import { hooks } from './hooks'; import is...
/* Experiment for chrome.tabCapture.capture Pros: - manipulate all audio types (html5, flash,...) - everything is done in background script = no need for hacky page scripts Cons: - chrome.tabCapture.capture needs to be called from popup.html context manualy - cant automaticaly add filter when opening new tab (beca...
function helloWorld() { return "Hello world!"; }
import { bindable, customElement, noView } from 'aurelia-templating'; import { inject } from 'aurelia-dependency-injection'; import { computedFrom } from 'aurelia-framework'; import { AttributeManager } from '../common/attributeManager'; import { getBooleanFromAttributeValue } from '../common/attributes'; import {...
SystemJS.config({ transpiler: 'plugin-babel', map: { 'plugin-babel': './node_modules/systemjs-plugin-babel/plugin-babel.js', 'systemjs-babel-build': './node_modules/systemjs-plugin-babel/systemjs-babel-browser.js', // app start script 'main': './scripts/main.js', 'data': './scripts/data.js' } });
describe('assessment: aLinksNotSeparatedBySymbols', function () { var client, assessments, quailResults, cases; // Evaluate the test page with Quail. before('load webdrivers and run evaluations with Quail', function () { return quailTestRunner.setup({ url: 'http://localhost:9999/aLinksNotSeparatedByS...
// ========================================================================== // Project: SproutCore Runtime // Copyright: ©2011 Strobe Inc. and contributors. // License: Licensed under MIT license (see license.js) // ========================================================================== require('sproutcore-run...
'use strict'; // Carpools controller angular.module('carpools').controller('CarpoolsController',[ '$scope', '$stateParams', '$location', '$modal', '$log', 'Authentication', 'Carpools', '$timeout', function($scope, $stateParams, $location, $modal, $log, Authentication, Carpools, $timeout) { $scope.authentication = ...
define(function (require) { "use strict"; var _ = require("underscore"); var $ = require("jquery"); // abstract class var Proto = function () { }; Proto.prototype = { _optionsDefault: { fillStyle: "#ffffff", strokeStyle: "#ffffff", font: "bold ...
import router from 'kolibri.coreVue.router'; import store from 'kolibri.coreVue.vuex.store'; import { showAvailableChannelsPage, showSelectContentPage, updateTreeViewTopic, } from '../modules/wizard/handlers'; import { ContentWizardPages } from '../constants'; import { selectContentTopicLink } from '../views/Mana...
var _foo = /*#__PURE__*/new WeakSet(); class A extends B { constructor(...args) { super(...args); babelHelpers.classPrivateMethodInitSpec(this, _foo); } } function _foo2() { let _A; babelHelpers.get(babelHelpers.getPrototypeOf(A.prototype), "x", this); }
import {test} from '../qunit'; import {localeModule} from '../qunit-locale'; import moment from '../../moment'; localeModule('ar-sa'); test('parse', function (assert) { var tests = 'يناير:يناير_فبراير:فبراير_مارس:مارس_أبريل:أبريل_مايو:مايو_يونيو:يونيو_يوليو:يوليو_أغسطس:أغسطس_سبتمبر:سبتمبر_أكتوبر:أكتوبر_نوفمبر:نوفم...
var lgUtils = require('./core/lg-utilities'); module.exports = function lostOffsetDecl(css, settings) { css.walkDecls('lost-offset', function lostOffsetDeclFunction(decl) { var declArr = []; var lostOffset; var lostOffsetNumerator; var lostOffsetDirection; var lostOffsetRounder = settings.rounder...
import React from 'react'; const AddCircleIcon = props => ( <svg {...props.size || { width: '24px', height: '24px' }} {...props} viewBox="0 0 24 24"> {props.title && <title>{props.title}</title>} <path d="M0 0h24v24H0z" fill="none" /> <path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 ...
/*! * Copyright (c) 2015-2017 Cisco Systems, Inc. See LICENSE file. */ import '@ciscospark/internal-plugin-mercury'; import {registerInternalPlugin} from '@ciscospark/spark-core'; import Locus from './locus'; registerInternalPlugin(`locus`, Locus); export default Locus; export {locusEventKeys as eventKeys} from '....
/*global Router, Meteor, Session, $*/ (function () { 'use strict'; Router.route('/login', { name: 'login', template: 'login_page', layoutTemplate: null, waitOn: function () { Meteor.subscribe('friends'); return Meteor.subscribe('getUserData'); } ...
const URL = require('url') const Path = require('path') export class UrlGenerator { app = null req = null defaultUrl = null constructor(app, defaultUrl = null) { this.app = app if (!defaultUrl.isNil) { this.defaultUrl = defaultUrl return } else if (this.app.port === 443) { defaultUrl = 'https://lo...
const { getScheme, getProtocol } = require("../lib/util/URLAbsoluteSpecifier"); /** * @type {Array<{specifier: string, expected: string|undefined}>} */ const samples = [ { specifier: "@babel/core", expected: undefined }, { specifier: "webpack", expected: undefined }, { specifier: "1webpack:///c:/windo...
angular.module('app') .controller('nrgiUserAdminCreateCtrl', function( $scope, $location, nrgiNotifier, nrgiIdentitySrvc, nrgiUserSrvc, nrgiUserMethodSrvc ) { $scope.role_options = [ {value:'admin',text:'Administrator'} ] // fix...
'use strict'; var ANIMATE_TIMER_KEY = '$$animateCss'; /** * @ngdoc service * @name $animateCss * @kind object * * @description * The `$animateCss` service is a useful utility to trigger customized CSS-based transitions/keyframes * from a JavaScript-based animation or directly from a directive. The purpose of `...
import deferred from '@redux-saga/deferred' import * as is from '@redux-saga/is' import { TASK, TASK_CANCEL } from '@redux-saga/symbols' import { RUNNING, CANCELLED, ABORTED, DONE } from './task-status' import { assignWithSymbols, check, createSetContextWarning, noop } from './utils' import forkQueue from './forkQueue'...
import { QueryBuilder as BaseQueryBuilder } from 'objection' import './ModelNotFoundError' export class QueryBuilder extends BaseQueryBuilder { static registeredFilters = {} static registerFilter(name, filter) { this.registeredFilters[name] = filter } constructor(modelClass) { super(modelClass) const fil...
/* * server/index.js */ 'use strict'; exports = module.exports = require('./app').run();
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. /** * @interface */ UI.TextEditorFactory = function() {}; UI.TextEditorFactory.prototype = { /** * @param {!UI.TextEditor.Options} options * @re...
var assert = require('assert'); var self = this; describe('Bug #131: Undefined query parameters generated when populating optional one-way associations', function () { before(function (done) { var fixtures = { FileFixture: { identity: 'file', attributes: { name: { t...
describe('Wildling Bandit', function() { integration(function() { beforeEach(function() { const deck1 = this.buildDeck('lannister', [ 'Sneak Attack', 'Wildling Bandit' ]); const deck2 = this.buildDeck('lannister', [ 'Time of...
import { set } from 'lodash'; import { getModule, replaceCodeMemory } from '../utils'; export default async function generateCssFrameworkBootstrap(params) { switch (params.cssPreprocessor) { case 'css': set(params.build, ['public', 'css', 'main.css'], await getModule('css-framework/bootstrap/main.css')); ...
/** * Copyright 2015 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 ...
// Copyright (c) Microsoft Corp. All Rights Reserved. Licensed under the MIT License. See License.txt in the project root for license information. describe("Flyout control directive tests", function () { var testTimeout = 5000; var scope, compile; beforeEach(angular.mock.module("winjs")); be...
const webpack = require('webpack') const chokidar = require('chokidar') const fs = require('fs') const debounce = require('lodash.debounce') const { log, warn, fatal } = require('../helpers/logger') const { spawn } = require('../helpers/spawn') const appPaths = require('../app-paths') const nodePackager = require('../...
consoleApp.directive('consoletab', function() { return { restrict: 'E', scope: { object: '=', kill: '&', remove: '&', select: '&', selected: '=', mode: '=', minimize: '&' ...
import galaxy from "lib/apis/galaxy" describe("APIs", () => { describe("galaxy", () => { const fetch = galaxy.__get__("fetch") afterEach(() => { fetch.__ResetDependency__("request") }) it("makes a correct request to galaxy", () => { const request = sinon.stub().yields(null, { statusCode...
import 'babel-polyfill'; import assert from 'assert'; const trueGetter = { getTrue() { return true; } }; describe('client', () => { describe('true-getter', () => { describe('get-true', () => { it('returns true value', () => { assert.equal(true, trueGetter.getTrue()); }); }); }); });
var Table = require('cli-table'); module.exports = function(users) { var table = new Table({ head: [ 'userId', 'Full Names', 'username', 'Role','email', 'password' ], chars: { 'top': '═', 'top-mid': '╤', 'top-left': '╔', 'top-right': '╗', 'bottom': '═', 'bottom-m...
(function(window) { "use strict" window.webgazer = window.webgazer || {}; webgazer.tracker = webgazer.tracker || {}; webgazer.util = webgazer.util || {}; webgazer.params = webgazer.params || {}; /** * Initialize clmtrackr object */ var ClmGaze = function() { this.clm = ne...
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let VideoCall = props => <SvgIcon {...props}> <path d="M17 10.5V7c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-3.5l4 4v-11l-4 4zM14 13h-3v3H9v-3H6v-2h3V8h2v3h3v2z" /> </SvgIcon>;...
var log = require('../util/log'); var reddcoreDefaults = require('../config'); var Connection = require('./Connection'); var Peer = require('./Peer'); var async = require('async'); var dns = require('dns'); var networks = require('../networks'); var util = require('util'); GetAdjustedTime = function() { // TODO: Imp...
/** * @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'a11yhelp', 'uk', { title: 'Спеціальні Інструкції', contents: 'Довідка. Натисніть ESC і вона зникне.', legend: [ { ...
app.collections.languages=Backbone.Collection.extend({initialize:function(){console.log("initializing languages collection")},model:app.models.language,localStorage:new Backbone.LocalStorage("languages")})
define(function(require) { var angular = require('angular'); var uiRouter = angular.module('ui.router'); require('angular-ui-router'); var RequireProvider = require('ngRequire/RequireProvider'); return angular.module('ngRequire', [ uiRouter.name ]).provider('$require', RequireProvider)....
/** @jsx React.DOM */ "use strict"; var TestUtils = require('react/addons').addons.TestUtils; jest.dontMock('../DefaultContent'); var DefaultContent = require('../DefaultContent'); describe("#render", function() { var comp; var fakeCreateText = jasmine.createSpy("fakeCreateText"); var fakeCreateTodo = jasmin...
import { x } from "./dep?f"; export default class def { method() { return x; } } new def().method();
(function () { 'use strict'; angular .module('app.dashboard') .controller('Dashboard', Dashboard); function Dashboard($state, dataservice, logger) { var vm = this; vm.customers = []; vm.gotoCustomer = gotoCustomer; vm.title = 'Dashboard'; activate()...
{ "name": "validify.js", "url": "https://github.com/arimus/validify.js.git" }
'use strict'; Object.defineProperty(exports, "__esModule", { value: 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]; } }...
/** * Generate a script template to test each function of a script. * * @param {String} api_name The ServiceNow api_name of the script include. * @return {String} */ function snd_Spoke_generateTest(api_name) { function getSource(api_name) { var gr = new GlideRecord('sys_script_include'); gr.a...
var PlaceHolderConfigurer = require('../../../lib/beans/support/placeHolderConfigurer'); describe('PlaceHolderConfigurer', function() { describe('placeHolderConfigurer', function() { it('should advice right', function(done) { var placeHolderConfigurer = new PlaceHolderConfigurer(); placeHolderConfigurer.setBe...
/** @class Utility for creating primitive geometries at runtime. */ J3D.Primitive = {}; /** * Create a primitive cube * @param w width of the cube * @param h height of the cube * @param d depth of the cube * @param sixway A sizway texture is a texture where the faces are laid our in a 3x2 pattern in order fr...
/** * 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. * * @format * @flow strict-local */ // flowlint ambiguous-object-type:error 'use strict'; const React = require('react'); const ...
define({ "enableUndoRedo": "Aktiver Angre/Gjenta", "toolbarVisible": "Verktøylinje synlig", "toolbarOptions": "Verktøylinjealternativer", "mergeVisible": "Slå sammen", "cutVisible": "Klipp ut", "reshapeVisible": "Omforme", "back": "Bak", "label": "Lag", "edit": "Redigerbar", "update": "Deaktiver geo...
// Negative ease produces ease out, positive produces ease in. // Range around -1 to 1 function getDynamicallyEasedInterpolation (ease) { return function (p) { return dynamicEaseInterpolation(p, ease); }; } function dynamicEaseInterpolation(p, ease) { // invert negative value and positive so th...
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; import _extends from "@babel/runtime/helpers/esm/extends"; var _CloseIcon; const _excluded = ["action", "children", "className", "closeText", "color", "icon", "iconMapping", "onClose", "role", "severity", "variant"]; ...
export const isDev = () => process.env.NODE_ENV === 'development'; export const isProd = () => process.env.NODE_ENV === 'production'; export const isDebugProd = () => process.env.DEBUG_PROD === 'true';
require('dotenv-extended').load(); var restify = require('restify'); var builder = require('botbuilder'); var bot = require('./bot'); // Create chat bot var connector = new builder.ConsoleConnector(); bot.create(connector); connector.listen();
'use strict'; var foo = function() { return 'foo'; }; assert.equal( foo(), 'foo' );
Ext.define('MyApp.util.JsonWriter', { extend : 'Ext.data.writer.Json', getRecordData : function(record) { console.log('Util.JsonWriter',record.data,record.raw); Ext.applyIf(record.data, record.getAssociatedData()); return record.raw; } });
define('a', function () { return 'A'; });
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *------------------------------------------------------------...
/* jslint node: true */ /*! * rinco - mustache compile * Copyright(c) 2014 Allan Esquina * MIT Licensed */ 'use strict'; var rinco = require('../rinco'); var mustache = require('mustache'); var fs = require('../fs'); var config = require('../constants'); // Parse templates files rinco.render.middleware.register(f...
define(function() { function escapeRegExp(str) { if (str == null) return ''; return String(str).replace(/([.*+?^=!:${}()|[\]\/\\])/g, '\\$1'); } function defaultToWhiteSpace(characters) { if (characters == null) return '\\s'; else if (characters.source) return characters.source; ...
var gulp = require('gulp'), browserify = require('gulp-browserify'); gulp.task('scripts', function () { gulp.src(['app/main.js']) .pipe(browserify({ debug: true, transform: [ 'reactify' ] })) .pipe(gulp.dest('./public/javascripts/')); }); gulp.task('defa...
absConfig.pushAfterBootstrap('abs.connexionFeature.signupPage');
// require('bootstrap/dist/css/bootstrap.min.css'); require('iconfontDir/iconfont.css'); require('lessDir/base.less'); require('metisMenu/metisMenu.min'); require('bootstrap/dist/js/bootstrap.min.js'); require('vendorDir/promise.min'); $(() => { $('#side-menu').metisMenu(); $('#side-menu').css('visibility', 'visib...
function Person(name, age) { if (!(this instanceof arguments.callee)) { return new Person(name, age); } this.name = name; this.age = age; } var p1 = new Person("With new", 12); var p3 = new Person("With new 2", 12); var p2 = Person("Withoud new", 13); console.log(p1); console.log(p2); console.log(p3);
version https://git-lfs.github.com/spec/v1 oid sha256:7046f5962346897cebc68c8853c9de44f55dfa98c4ec130533fc0c8836267bc5 size 115147
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2008 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * http://www...
E2.p = E2.plugins["instance_array_modulator"] = function(core, node) { this.desc = 'Create a scene that represents <b>count</b> instances of the supplied <b>mesh</b>, starting at position <b>start</b>, offset by <b>delta</b> each instance.'; this.input_slots = [ { name: 'count', dt: core.datatypes.FLOAT, desc: '...
import AccountsRoute from './Accounts'; import CardsRoute from './Cards'; import LoansRoute from './Loans'; import OrdersRoute from './Orders'; import PaymentsRoute from './Payments'; import TransfersRoute from './Transfers'; export { AccountsRoute, CardsRoute, LoansRoute, OrdersRoute, PaymentsRoute, Trans...
import React from "react" import { mount } from "enzyme" import { RemoveButton } from "client/components/remove_button" import { TextInputUrl, Button, BackgroundOverlay, } from "client/components/rich_text/components/input_url" describe("TextInputUrl", () => { let props const getWrapper = props => { ret...
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc); switch (arguments.length) { case 2: return decorators.reduceRight(function(o, d) { r...
import Colors from 'material-ui/lib/styles/colors'; import ColorManipulator from 'material-ui/lib/utils/color-manipulator'; import Spacing from 'material-ui/lib/styles/spacing'; import zIndex from 'material-ui/lib/styles/zIndex'; export const config = { colors: { main: '#008DD0', highlight: '#F15A29', gr...
/** * Copyright (c) 2013-present, Facebook, Inc. * * 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 React; let ReactDOM; describe('SyntheticEvent', () => { let container; beforeEach(() =...
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(); else if(typeof define === 'function' && define.amd) define([], factory); else if(typeof exports === 'object') exports["Swup"] = factory(); else root["Swup"] =...
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; impo...
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; import _extends from "@babel/runtime/helpers/esm/extends"; import * as React from 'react'; import { isFragment } from 'react-is'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import { unstable_composeCla...
let key = 'key'; export {key};
var tolerate = require('tolerance'), _ = require('lodash'), Base = require('./base'); function exists(toCheck) { var _exists = require('fs').existsSync || require('path').existsSync; if (require('fs').accessSync) { _exists = function (toCheck) { try { require('fs').accessSync(toCheck); ...
/** Ember Metal @module ember @submodule ember-metal */ // BEGIN IMPORTS import Ember from "ember-metal/core"; import merge from "ember-metal/merge"; import { instrument, reset, subscribe, unsubscribe } from "ember-metal/instrumentation"; import { EMPTY_META, GUID_KEY, META_DESC, apply, applyStr, ...
"use strict"; meta.class("Element.Section", "Element.Basic", { onCreate: function() { var header = document.createElement("header"); header.onclick = this.handleClick.bind(this); this.domElement.appendChild(header); this.caret = new Element.Caret(header); this.caret.open = true; this.caret.on("update", ...
/*global jQuery */ /*jshint multistr:true browser:true */ /*! * FitVids 1.0.3 * * Copyright 2013, Chris Coyier - https://css-tricks.com + Dave Rupert - https://daverupert.com * Credit to Thierry Koblentz - https://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/ * Released under the WTFPL license - http...