code
stringlengths
2
1.05M
module.exports = require('./lib/kt-client');
'use strict'; import app from '../../app'; describe('NotFound controller', () => { let NotFoundPageCtrl; beforeEach(() => { angular.mock.module(app); angular.mock.inject(($controller) => { NotFoundPageCtrl = $controller('NotFoundPageCtrl'); }); }); it('should have ...
exports.hello = function() { console.log("Hello Node.js"); };
// warning: This file is auto generated by `npm run build:tests` // Do not edit by hand! process.env.TZ = 'UTC' var expect = require('chai').expect var ini_set = require('../../../../src/php/info/ini_set') // eslint-disable-line no-unused-vars,camelcase var ini_get = require('../../../../src/php/info/ini_get') // eslin...
$.easing.doubleSqrt = function (t, millisecondsSince, startValue, endValue, totalDuration) { var res = Math.sqrt(Math.sqrt(t)); return res; }; (function ($) { $.tileBlockSlider = function (element, options) { // 薪邪褋褌褉芯泄泻懈 锌芯 褍屑芯谢褔邪薪懈褞 var defaults = { // 锌械褉懈芯写 褋屑械薪褘 泻邪褉褌懈薪芯泻 period: 2000, ...
var app = require('express')(), wizard = require('hmpo-form-wizard'), steps = require('./steps'), fields = require('./fields'); app.use(require('hmpo-template-mixins')(fields, { sharedTranslationKey: 'prototype' })); app.use(wizard(steps, fields, { templatePath: 'priority_service_170118/upload' })); modu...
/** * Visual Blocks Editor * * Copyright 2012 Google Inc. * http://blockly.googlecode.com/ * * 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/LICEN...
define(function(require) { 'use strict'; var EmailNotificationCollection; var EmailNotificationModel = require('./email-notification-model'); var BaseCollection = require('oroui/js/app/models/base/collection'); /** * @export oroemail/js/app/models/email-notification-collection */ Ema...
import {localeModule, test} from '../qunit'; import moment from '../../moment'; localeModule('fr-ca'); test('parse', function (assert) { var i, tests = 'janvier janv._février févr._mars mars_avril avr._mai mai_juin juin_juillet juil._août août_septembre sept._octobre oct._novembre nov._décembre déc.'.split...
'use strict'; // Configuring the Articles module angular.module('articles').run(['Menus', function(Menus) { } ]);
YUI.add('gallery-uuid-test', function (Y) { var Assert = Y.Assert, suite; // -- Suite ----------- suite = new Y.Test.Suite({ name: 'gallery-uuid' }); // -- Formatting ------- suite.add(new Y.Test.Case({ name: 'Formatting', 'uuid matches should have expected valu...
'use strict'; module.exports = function(api) { var core = require('../controllers/core.controller'); api.route('/').get(core.index); }
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.UIMessage = void 0; var _react = _interopRequireWildcard(require("react")); var _propTypes = _interopRequireDefault(require("prop-types")); var _classnames = _interopRequireDefault(require("classnames")); function _interopRequir...
/* * * * (c) 2009-2020 Øystein Moseng * * Default options for accessibility. * * License: www.highcharts.com/license * * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!! * * */ /** * Formatter callback for the accessibility announcement. * * @callback Highcharts.AccessibilityAnn...
import React, { Component } from 'react' class Links extends Component { prepareNoLinksMessage() { return ( <div className="empty mt-5"> <i className="icon icon-people"></i> <p className="empty-title">You have no links</p> <p className="empty-meta">Click the ...
import Details from './details'; export { Details };
'use strict'; const chai = require('chai'), expect = chai.expect, sinon = require('sinon'), Support = require('../support'), Sequelize = require('../../../index'), DataTypes = require('../../../lib/data-types'); describe(Support.getTestDialectTeaser('Paranoid'), () => { beforeEach(function( ) { const...
Spontaneous.Field.Select = (function($, S) { 'use strict'; var dom = S.Dom , ajax = S.Ajax; var SelectField = new JS.Class(Spontaneous.Field.String, { edit: function() { var self = this , type = this.type , option_list = type.option_list , wrapper = dom.div('.select-field-type') , callback; if (!option...
/** * @memberOf Jymfony.Component.DependencyInjection.Fixtures */ class CaseSensitiveClass { __construct(identifier = null) { this._identifier = identifier; } } module.exports = CaseSensitiveClass;
import { Field } from '@rocket.chat/fuselage'; import React from 'react'; import { AssetSettingInput } from './AssetSettingInput'; export default { title: 'admin/settings/inputs/AssetSettingInput', component: AssetSettingInput, decorators: [ (storyFn) => <div className='rc-old'> <div className='page-settings'...
/** * widget.js - high-level interface for blessed * Copyright (c) 2013-2015, Christopher Jeffrey and contributors (MIT License). * https://github.com/chjj/blessed */ var widget = exports; widget.classes = [ 'Node', 'Screen', 'Element', 'Box', 'Text', 'Line', 'ScrollableBox', 'ScrollableText', '...
class InsertMode extends Mode { constructor(options) { super(); if (options == null) options = {}; // There is one permanently-installed instance of InsertMode. It tracks focus changes and // activates/deactivates itself (by setting @insertModeLock) accordingly. this.permanent = options.pe...
import React from 'react'; import SvgIcon from '../../SvgIcon'; const ActionSpeakerNotesOff = (props) => ( <SvgIcon {...props}> <path d="M10.54 11l-.54-.54L7.54 8 6 6.46 2.38 2.84 1.27 1.73 0 3l2.01 2.01L2 22l4-4h9l5.73 5.73L22 22.46 17.54 18l-7-7zM8 14H6v-2h2v2zm-2-3V9l2 2H6zm14-9H4.08L10 7.92V6h8v2h-7.92l1 1H1...
/*! flat-embed v0.1.0 | (c) 2017 Tutteo Ltd. (Flat) | Apache-2.0 License | https://github.com/FlatIO/embed-client */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global.Flat = ...
/** * Created by tgdflto1 on 08/01/17. */ $(document).ready(function(){ $('.datetimepicker').datetimepicker({ format: 'd.m.Y H:i', }); });
//http://stackoverflow.com/questions/20101603/how-do-i-convert-between-date-formats-used-by-jquery-ui-datepicker-and-moment-js var dateFormatConverter; (function (dateFormatConverter) { if (!String.prototype.replaceAll) { String.prototype.replaceAll = function (pattern, replacement) { return this.split(pattern)....
asynctest( 'browser.tinymce.plugins.preview.PreviewContentStyleTest', [ 'ephox.agar.api.Pipeline', 'ephox.agar.api.RawAssertions', 'ephox.agar.api.Step', 'ephox.mcagar.api.TinyApis', 'ephox.mcagar.api.TinyLoader', 'tinymce.plugins.preview.Plugin', 'tinymce.plugins.preview.ui.IframeConten...
/** * @ngdoc controller * @name Umbraco.PrevalueEditors.ListViewLayoutsPreValsController * @function * * @description * The controller for configuring layouts for list views */ (function() { "use strict"; function ListViewLayoutsPreValsController($scope, editorService) { var vm = this; vm.foc...
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M5 19h14V5H5v14zM16.5 6c.83 0 1.5.67 1.5 1.5S17.33 9 16.5 9 15 8.33 15 7.5 15.67 6 16.5 6zm0 9c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5-1.5-.67-1.5-1.5.67-1.5 1.5-1.5zM12 10.5c.83 0 1.5.6...
CKEDITOR.plugins.setLang('oembed', 'ru', { title: "Внедрить медиа-контент (видео, аудио, фото и т.д.)", button: "Внедрить медиа-контент с различных сайтов", pasteUrl: "Вставьте ссылку на страницу с медиа-контентом (например YouTube, Flickr, Qik, Vimeo, Hulu, Viddler, MyOpera,...
/* * Checkbox control * */ (function($) { $(document).on('keydown', 'div.custom-checkbox', function(e) { if (e.keyCode == 32) e.preventDefault() }) $(document).on('keyup', 'div.custom-checkbox', function(e) { if (e.keyCode == 32) { var $cb = $('input', this) ...
/*! { "name": "Shared Workers", "property": "sharedworkers", "caniuse" : "sharedworkers", "tags": ["performance", "workers"], "builderAliases": ["workers_sharedworkers"], "notes": [{ "name": "W3C Reference", "href": "http://www.w3.org/TR/workers/" }] } !*/ /* DOC Detects support for the `SharedWor...
/* * Copyright (c) 2015 by Rafael Angel Aznar Aparici (rafaaznar at gmail dot com) * * sisane: The stunning micro-library that helps you to develop easily * AJAX web applications by using Angular.js 1.x & sisane-server * sisane is distributed under the MIT License (MIT) * Sources at https://github.com...
describe('standalone', function () { uit.url('../ui/fixtures/test-fixture-standalone.html'); it('should work in standalone mode and call the mobileInit function', function () { uit.append(function($) { var page = $('#start'); page.append('<div data-role="content">' + ...
/*global QUnit*/ import Emblem from '../../emblem'; import { w } from '../support/utils'; import { compilesTo } from '../support/integration-assertions'; QUnit.module("html: single line"); QUnit.test("element only", function(){ compilesTo("p", "<p></p>"); }); QUnit.test("with text", function(){ compilesTo("p He...
define(function defineFocusTrap(require) { 'use strict'; /* Trap focus within a given element, wrapping focus to first/last element when boundaries are hit. This is useful when making sure that you cannot escape a modal dialog. trapFocus(context) returns a function to disengage containing the fo...
/* @flow */ import createRenderer from './createRenderer' import combineRules from './combineRules' import enhance from './enhance' export { createRenderer, combineRules, enhance }
import TestResolverApplicationTestCase from './test-resolver-application'; import Application from '@ember/application'; import { Router } from '@ember/-internals/routing'; import { runTask, runLoopSettled } from '../run'; export default class ApplicationTestCase extends TestResolverApplicationTestCase { constructo...
var createHtml = function (settings) { var viewportStyle = ' style="height:' + (settings.viewportHeight || 200) + 'px"'; var itemStyle = settings.itemHeight ? ' style="height:' + settings.itemHeight + 'px"' : ''; var bufferSize = settings.bufferSize ? ' buffer-size="' + settings.bufferSize + '"' : ''; v...
'use strict'; import app from '../..'; import User from './user.model'; var user; var genUser = function() { user = new User({ provider: 'local', name: 'Fake User', email: 'test@example.com', password: 'password' }); return user; }; describe('User Model', function() { before(function() { /...
(function() { "use strict"; var TRANSITION_FALLBACK_DURATION = 500; var hideElement = function(el) { if (! el) { return; } var removeThis = function() { if (el && el.parentNode) { el.parentNode.removeChild(el); } }; ...
define({ "setSelectionColor": "Đặt màu lựa chọn", "selectionMode": "Chế độ lựa chọn tương tác", "partiallyWithin": "Một phần trong", "whollyWithin": "Toàn bộ trong", "allowExport": "Cho phép xuất các đối tượng được chọn" });
/** Used to match template delimiters. */ const reEscape = /<%-([\s\S]+?)%>/g export default reEscape
import assert from 'assert'; import { unhex } from './testutil'; import { Parser } from '../src/parse'; describe('parse.js', function() { describe('parseUShortList', function() { it('can parse an empty list', function() { const p = new Parser(unhex('0000'), 0); assert.deepEqual(p.pa...
/* globals AdminLTEOptions: false */ /* globals FastClick: false */ /*! AdminLTE app.js * ================ * Main JS application file for AdminLTE v2. This file * should be included in all pages. It controls some layout * options and implements exclusive AdminLTE plugins. * * @Author Almsaeed Studio * @Support...
var nconf = require('nconf'), jsYaml = require('js-yaml'); var yaml = { parse: jsYaml.safeLoad, stringify: jsYaml.safeDump }; nconf.argv(); nconf.env(); nconf.file('local', { file: 'config/local.yml', format: yaml }); nconf.file('defaults', { file: 'config/default.yml', format: yaml }); module.exports = ...
;(function () { function getInterpolatedValues ( from, current, targetState, position, easing) { return Tweenable.tweenProps( position, current, from, targetState, 1, 0, easing); } // Fake a Tweenable and patch some internals. This approach allows us to // skip uneccessary processing and object...
'use strict'; module.exports = srcPath => { const Broadcast = require(srcPath + 'Broadcast'); return { command: state => (args, player) => { state.CommandManager.get('help').execute('credits', player); } }; };
import {set} from "./schedule.js"; function easeVarying(id, value) { return function() { var v = value.apply(this, arguments); if (typeof v !== "function") throw new Error; set(this, id).ease = v; }; } export default function(value) { if (typeof value !== "function") throw new Error; return this.e...
// Simple serial sync/async chriso/validator.js wrapper with promises. import ValidationError from './ValidationError'; import validator from 'validator'; export default class Validation { constructor(object) { this._object = object; this._prop = null; this._validator = validator; this.promise = Pro...
export var NumberFormatStyle; (function (NumberFormatStyle) { NumberFormatStyle[NumberFormatStyle["Decimal"] = 0] = "Decimal"; NumberFormatStyle[NumberFormatStyle["Percent"] = 1] = "Percent"; NumberFormatStyle[NumberFormatStyle["Currency"] = 2] = "Currency"; })(NumberFormatStyle || (NumberFormatStyle = {}))...
jq = $; // some weird jquery bug, themes overriding or something something // screws up .modal calls $(function() { var edit = $("#edit"); var inputs = edit.find("input, textarea").val(""); var resume = {}; function update() { // Clone resume object. var json = $.extend({}, ...
'use strict'; const assert = require('assert'); const app = require('../../../index'); describe('GeolocationController', () => { it('should exist', () => { assert(app.api.controllers.GeolocationController); }); });
/* * Copyright (c) 2016, Globo.com (https://github.com/globocom) * * License: MIT */ import React from "react"; export default class extends React.Component { render() { return ( <svg width="24" height="24" viewBox="0 0 24 24" ><path d="M10 5v3h2.21l-3.42 8H6v3h8v-3h-2.21l3.42-8H18V5z" fill="currentC...
a !== b
'use strict'; angular.module('mgcrea.ngStrap.timepicker', ['mgcrea.ngStrap.helpers.dateParser', 'mgcrea.ngStrap.tooltip']) .provider('$timepicker', function() { var defaults = this.defaults = { animation: 'am-fade', prefixClass: 'timepicker', placement: 'bottom-left', template...
/*-------------------------------------------------------------------------------------*/ /* Don't open internal links in standalone iOS Mode in safari * prevents links from apps from oppening in mobile safari, this javascript must be the first script in your <head> */ (function (document, navigator, standalone) ...
"use strict"; var portScanner = require("portscanner"); module.exports = { /** * Get port range with default fallbacks * @param {Number} minCount * @param {Number} [min] * @param {Number} [max] * @returns {{min: (Number), max: (Number)} */ getPortRange: function (minCount, min, m...
/** * Developer: Stepan Burguchev * Date: 9/1/2015 * Copyright: 2009-2016 Comindware® * All Rights Reserved * Published under the MIT license */ /* global module */ "use strict"; import LocalizationService from '../../services/LocalizationService'; module.exports = function(textId) { ...
/* Copyright (c) 2012, Yahoo! Inc. All rights reserved. Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. */ /*global esprima, escodegen, window */ (function (isNode) { "use strict"; var SYNTAX, nodeType, ESP = isNode ? require('esprima-harmony') : ...
/* * jsPlumb * * Title:jsPlumb 1.4.0 * * Provides a way to visually connect elements on an HTML page, using either SVG or VML. * * This file contains the util functions * * Copyright (c) 2010 - 2013 Simon Porritt (http://jsplumb.org) * * http://jsplumb.org * http://github.com/sporritt/jsplumb * http:...
/* Copyright (c) 2006-2011 by OpenLayers Contributors (see authors.txt for * full list of contributors). Published under the Clear BSD license. * See http://svn.openlayers.org/trunk/openlayers/license.txt for the * full text of the license. */ /** * @requires OpenLayers/Layer.js * @requires OpenLayers/T...
/*global describe beforeEach it expect */ define([ 'angular', 'angularMocks', 'app' ], function(angular, mocks, app) { 'use strict'; describe('directives', function() { beforeEach(mocks.module('immersive.directives')); describe('app-version', function() { it('should print current version', function() { ...
var mathlib = require('./mathlib')(); console.log(mathlib); mathlib.add(1,2); mathlib.multiply(2,2); mathlib.square(5); mathlib.random(1,35);
"use strict"; exports.__esModule = true; exports.getBatch = exports.setBatch = void 0; // Default to a dummy "batch" implementation that just runs the callback function defaultNoopBatch(callback) { callback(); } var batch = defaultNoopBatch; // Allow injecting another batching function later var setBatch = functi...
/*! * froala_editor v4.0.8 (https://www.froala.com/wysiwyg-editor) * License https://froala.com/wysiwyg-editor/terms/ * Copyright 2014-2021 Froala Labs */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('froala-editor')) : typeof define === 'function...
/* Highcharts JS v4.0.4 (2014-09-02) (c) 2009-2014 Torstein Honsi License: www.highcharts.com/license */ (function(){function r(a,b){var c;a||(a={});for(c in b)a[c]=b[c];return a}function w(){var a,b=arguments,c,d={},e=function(a,b){var c,d;typeof a!=="object"&&(a={});for(d in b)b.hasOwnProperty(d)&&(c=b[d],a[d]=...
var GliderTrackModel = Backbone.Model.extend({ urlRoot: '#', defaults: { enabled: false, arrayCodes:{ "CP":"Coastal Pioneer", "CE":"Coastal Endurance", "RS":"Cabled Array", "GP":"Station Papa", "GI":"Irminger Sea", "GA":"Argenti...
/* * 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. */ '...
'use strict'; const Bluebird = require('bluebird'); const EventEmitter = require('events').EventEmitter; class SignalListeners extends EventEmitter { static with() { let signalListeners = new this(); return signalListeners.add().disposer(() => signalListeners.remove()); } } SignalListeners.prototype.add...
import{createContext}from"react";var RTLContext=createContext(!1);export default RTLContext;
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 {ObserverLocator} from '../src/observer-locator'; import {DirtyChecker} from '../src/dirty-checking'; import {EventManager} from '../src/event-manager'; import {Parser} from '../src/parser'; import {BindingExpression} from '../src/binding-expression'; import {TaskQueue} from 'aurelia-task-queue'; export var che...
ERNO.Controls = (function(){ //Enum of states var STATE = { NONE: -1, ROTATE: 0, INERTIA: 1 }; // Returns the bounding area of the element function getBoundingClientRect( element ){ var bounds = element !== document ? element.getBoundingClientRect() : { left: 0, top: 0, width: window.innerWidth, ...
#!/usr/bin/env node 'use strict'; var nopt = require('nopt'); var path = require('path'); var sudoBlock = require('sudo-block'); var updateNotifier = require('update-notifier'); var pkg = require('../package.json'); var project = require('../lib'); var opts = nopt({ help: Boolean, version: Boolean, config: path,...
/* * File generated with Blender 2.56 Exporter * https://github.com/mrdoob/three.js/tree/master/utils/exporters/blender/ * * vertices: 8 * faces: 6 * normals: 0 * uvs: 0 * colors: 0 * materials: 1 * edges: 0 * */ var model = { "version" : 2, "scale" : 1.000000, "materials": [ { "DbgColor" :...
/**! * * Copyright (c) 2015-2016 Cisco Systems, Inc. See LICENSE file. */ 'use strict'; function inNode() { return typeof window === 'undefined'; } function inBrowser() { return !inNode(); } function noop() { // intentionally empty } module.exports = { /** * Wrap the desired mochaMethod with `flaky` ...
lychee.define('lychee.net.Server').tags({ platform: 'nodejs' }).requires([ 'lychee.net.Remote' ]).includes([ 'lychee.event.Emitter' ]).supports(function(lychee, global) { if (typeof process !== 'undefined') { return true; } return false; }).exports(function(lychee, global) { var http = require('http');...
'use strict' var tape = require('tape') var createOrbit = require('../view') var lookAt = require('gl-mat4/lookAt') var modes = [ 'orbit', 'turntable', 'matrix' ] function arrayApproxEquals(a, b) { for(var i=0; i<a.length; ++i) { if(!(Math.abs(a[i] - b[i]) < 1e-4)) { return false } } return true ...
import { useDeps } from 'react-simple-di'; import { compose, withHandlers, withTracker, withRedux, composeAll } from 'react-komposer-plus'; import { browserHistory } from 'react-router' import Post from '../components/event'; const initData = ({ context, params }, onData) => { const { Meteor, toastr } = context; ...
import React, { PropTypes } from 'react' import { META, getUnhandledProps, } from '../../lib' import Image from '../../elements/Image' /** * An item can contain an image **/ function ItemImage(props) { const { size } = props const rest = getUnhandledProps(ItemImage, props) return <Image {...rest} size={si...
const should = require('chai').should(); const expect = require('chai').expect; const assert = require('chai').assert; const {exit} = require('../helpers/utils'); var db; describe('Update(): values:', () => { before(() => { ({db} = require('../../lib')); }); beforeEach(function* (){ const payload = {...
/* YUI 3.8.0pr2 (build 154) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ /** * The YUI module contains the components required for building the YUI seed * file. This includes the script loading mechanism, a simple queue, and * the core utilities f...
define(function(require) { $.extend(KhanUtil, { getPermutations: function(arr) { var permArr = []; var usedChars = []; function permute(input) { for (var i = 0; i < input.length; i++) { var term = input.splice(i, 1)[0]; usedChars.push(term); ...
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the Lic...
/*~ -- KNOT EQUIVALENCE VIEWS --------------------------------------------------------------------------------------------- -- -- Equivalence views combine the identity and equivalent parts of a knot into a single view, making -- it look and behave like a regular knot. They also make it possible to retrieve data for on...
/* keyboard layout template (copy of "international" from the core plugin) */ jQuery.keyboard.layouts['international'] = { 'name' : 'international', 'lang' : ['all'], // this setting must match the "all" language definition below 'normal': [ '` 1 2 3 4 5 6 7 8 9 0 - = {bksp}', '{tab} q w e r t y u i o p [ ] \\'...
var hasMozTransform, getHasMozTransform = function() { if(hasMozTransform === undefined) { hasMozTransform = document.createElement('p').style.MozTransform !== undefined; } return hasMozTransform; }; $.magnificPopup.registerModule('zoom', { options: { enabled: false, easing: 'ease-in-out...
define([ "../core", "./var/rsingleTag", "../manipulation" // buildFragment ], function( jQuery, rsingleTag ) { // data: string of html // context (optional): If specified, the fragment will be created in this context, // defaults to document // keepScripts (optional): If true, will include scripts passed in the htm...
/* */ System.register([], function (_export) { var _prototypeProperties, _classCallCheck, Redirect; /** * Determines if the provided object is a navigation command. * A navigation command is anything with a navigate method. * @param {object} obj The item to check. * @return {boolean} */ _export(...
/*global define*/ define([ 'Core/RuntimeError' ], function( RuntimeError) { "use strict"; var BadGeometry = function() { this._workerName = '../../Specs/TestWorkers/createBadGeometry'; }; BadGeometry.createGeometry = function() { //This function is only called when ...
module.exports = require('./api');
// Dependencies var typpy = require("typpy"); /** * Err * Create a custom error object. * * @name Err * @function * @param {String|Error} error The error message or an existing `Error` instance. * @param {String|Object} code The error code or the data object. * @param {Object} data The data object (its fields ...
import React from 'react'; import NotAuthorizedPage from '../../../components/NotAuthorizedPage'; import { usePermission } from '../../../contexts/AuthorizationContext'; import EmailInboxPage from './EmailInboxPage'; function EmailInboxRoute() { const canViewEmailInbox = usePermission('manage-email-inbox'); if (!c...
import { Template } from 'meteor/templating'; import { createCollapseable } from '../../ui-utils'; createCollapseable(Template.oembedBaseWidget, (instance) => instance.data.settings.collapseMediaByDefault || false); Template.oembedBaseWidget.helpers({ template() { const { collapsedMedia } = Template.instance(); ...
import PageManager from './page-manager'; export default class OrderComplete extends PageManager {}
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); exports.getSha1 = exports.worker = undefined; let worker = (exports.worker = (() => { var _ref = _asyncToGenerator(function*(data) { if ( data.hasteImplModulePath && data.hasteImplModulePath !== hasteImplModulePath ) ...
$(function() { // Get the form. var form = $('#contact-form'); // Get the messages div. var formMessages = $('.form-messege'); // Set up an event listener for the contact form. $(form).submit(function(e) { // Stop the browser from submitting the form. e.preventDefault(); // Serialize the fo...
/** * 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.8 (2019-06-18) */ !function(){"use strict";var n=tinym...
'use strict'; var path = require('path'); var fs = require('fs'); var crypto = require('crypto'); var expect = require('chai').expect; var walkSync = require('walk-sync'); var appName = 'some-cool-app'; var EOL = require('os').EOL; var runCommand = require('../helpers/run-command'); var a...