code
stringlengths
2
1.05M
import { Meteor } from 'meteor/meteor'; import { Template } from 'meteor/templating'; Template.legalNotice.helpers({ legalNoticeContent: function () { if (Meteor.settings.public.branding.legalNotice.enabled) { return Meteor.settings.public.branding.legalNotice.content.join(' '); } else ...
/* * The MIT License (MIT) * * Copyright (c) 2014 Broad Institute * * 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 u...
var OAuth2 = require("./oauth2") , util = require("util") function WindowsLive(options) { this.code = { protocol: "https", host: "oauth.live.com", pathname: "/authorize", query: { client_id: options.id, response_type: "code", scope: options.scope } } this.token = { me...
"use strict"; const lua = require("../src/lua.js"); const lauxlib = require("../src/lauxlib.js"); const lualib = require("../src/lualib.js"); const {to_luastring} = require("../src/fengaricore.js"); test('utf8.offset', () => { let L = lauxlib.luaL_newstate(); if (!L) throw Error("failed to create lua state");...
var myDate = function(offset) { var t = new Date; if (offset) { t.setDate(t.getDate() + offset); } return t; };
;(function(){ /** * Attaches a click handler to the page to listen for special settings * button clicks in the buffer webapp. */ document.addEventListener('click', function(e){ if (e.target.hasAttribute('data-buffer-extension-open-settings')) { e.preventDefault(); xt.port.emit('buffer_op...
'use strict'; var React = require('react'); var doctype = '<!DOCTYPE html>\n'; var transformResponse = require('subprocess-middleware').transformResponse; var fs = require('fs'); var inline = fs.readFileSync(__dirname + '/../build/inline.js').toString(); var render = function (Component, body, res) { //var start =...
/** * Socket.io configuration */ 'use strict'; var config = require('./environment'); // When the user disconnects.. perform this function onDisconnect(socket) { } // When the user connects.. perform this function onConnect(socket) { // When the client emits 'info', this listens and executes socket.on('info',...
var suite = new PerfSuite({ name: 'RedRaphael Compare Element Construction', jquery: true, assets: [ '../../package/raphael-min.js' ], global: { setup: function () { if (typeof Raphael === 'undefined') { $.ajaxSetup({async:false}); $.getS...
'use strict'; /*global angular, $*/ angular.module('ccs.directives', ['angularFileUpload']). directive('genParseMd', ['mdParse', 'sanitize', 'pretty', 'isVisible', '$timeout', function (mdParse, sanitize, pretty, isVisible, $timeout) { // <div gen-parse-md="document"></div> // document是Markdown格式或一...
/** * ag-grid-community - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v21.0.1 * @link http://www.ag-grid.com/ * @license MIT */ "use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extend...
/*! * Ext JS Library 3.2.0 * Copyright(c) 2006-2010 Ext JS, Inc. * licensing@extjs.com * http://www.extjs.com/license */ /** * @class Ext.grid.GroupingView * @extends Ext.grid.GridView * Adds the ability for single level grouping to the grid. A {@link Ext.data.GroupingStore GroupingStore} * must be used to ena...
import Helper, { states } from './_helper'; import { module, test } from 'qunit'; module('Integration | ORM | Belongs To | Named | association #new', function(hooks) { hooks.beforeEach(function() { this.helper = new Helper(); }); /* The model can make a new unsaved belongs-to association, for all states...
// Generated by CoffeeScript 1.9.1 (function() { var XMLCData, XMLNode, create, extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); ...
import Helper, { states } from './_helper'; import { module, test } from 'qunit'; module('Integration | ORM | Has Many | One-way Polymorphic | association #new', function(hooks) { hooks.beforeEach(function() { this.helper = new Helper(); }); /* The model can make a new unsaved belongs-to association, fo...
import m from "./module"; it("should allow any name as exports in CommonJs", () => { expect(m.abc).toBe("abc"); expect(m[""]).toBe(""); expect(m["default"]).toBe("default"); expect(m["0"]).toBe("0"); expect(m[1]).toBe(1); expect(m.length).toBe("length"); expect(m["0_0"]).toBe("0_0"); expect(m.if).toBe("if"); ...
module.exports = { description: 'The most usable of UI components the lowly checkbox. This shows single value, groups of checkboxes and a true/false', schema: { schema: { group1: { options: ['one', 'two', 'three'], type: 'Checkboxes' }, ...
var browserSync = require('browser-sync'); var webpack = require('webpack'); var webpackDevMiddleware = require('webpack-dev-middleware'); var webpackHotMiddleware = require('webpack-hot-middleware'); var webpackConfig = require('./webpack.dev.babel'); var bundler = webpack(webpackConfig); /** * Run Browsersync and ...
describe( 'Salt#get()', function () { var salt; it( 'should navigate towards a given query', function () { var inSpy = sinon.spy(); salt = new Salt({ _in: inSpy }); salt.state.path.should.equal('..//'); salt.get(1); salt.state.path.should.equal('//'); inSpy.should.have.been.calle...
"use strict"; /** * Log Plugin * @description This plugin creates some important logs in our server * @author Samuel Castro * @since 1/14/2016 */ var good = require('good'); var goodConsole = require('good-console'); /** * Exporting plugin * @param server * @param options * @param next */ exports.register =...
import Engine from '../../system/engine'; import Application from '../../system/application'; import ApplicationInstance from '../../system/application-instance'; import { run } from 'ember-metal'; import { jQuery } from 'ember-views'; import { privatize as P } from 'container'; import { factory } from 'internal-test-h...
function clicker(e){ checkAt(e.pageX-ctx.canvas.offsetLeft,e.pageY-ctx.canvas.offsetTop); update(); update(); update(); update(); update(); update(); drawFrame(); } function drawComments(){ ctx.setTransform(1,0,0,1,0,0); ctx.fillStyle = "#000000"; ctx.strokeStyle = "#000000"; ctx.fillText("\"and\"...
'use strict'; var _ = require('lodash'); var $ = require('preconditions').singleton(); var log = require('npmlog'); log.debug = log.verbose; var request = require('request'); var io = require('socket.io-client'); function Insight(opts) { $.checkArgument(opts); $.checkArgument(_.contains(['livenet', 'testnet'], op...
// @flow import { it } from "flow-typed-test"; import { of } from "rxjs"; import { distinct } from "rxjs/operators"; it("should infer correctly", () => { const o = of(1, 2, 3).pipe(distinct()); }); it("should accept a keySelector", () => { interface Person { name: string } const o = of<Person>({ name: "Tim" })...
MediaLibrary = { appendToFileName: function (filename, str) { var parts = filename.split('.'); var ext = parts.pop(); return parts.join('.') + str + '.' + ext; } };
/* Template Name: Color Admin - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.3.5 Version: 1.9.0 Author: Sean Ngu Website: http://www.seantheme.com/color-admin-v1.9/admin/ */ var handleBootstrapWizards = function() { "use strict"; $("#wizard").bwizard(); }; var FormWizard = function () { "u...
/** * Requires blocks to begin and end with 2 newlines * * Types: `Boolean`, `Integer`, `Object` * * Values: * - `true` validates all non-empty blocks * - `Integer` specifies a minimum number of lines containing elements in the block before validating * - `Object` (at least one of properties must be true): ...
/** * Copyright 2015-present Greg Hurrell. All rights reserved. * Licensed under the terms of the MIT license. */ var Base = require('mocha').reporters.Base; /** * Like the "min" reporter that comes with Mocha[0], but doesn't clear the * screen. * * @see https://github.com/mochajs/mocha/blob/master/lib/reporte...
import * as me from 'https://cdn.jsdelivr.net/npm/melonjs@10.1.0/dist/melonjs.module.js' import TitleScreen from './screens/title.js' import PlayScreen from './screens/play.js' import {PlayerEntity, CoinEntity, EnemyEntity} from "./entities/entities.js"; import resources from './resources.js' /* Game namespace */ ...
/** * @fileoverview Tests for no-ternary. * @author Ian Christian Myers */ "use strict"; //------------------------------------------------------------------------------ // Requirements //------------------------------------------------------------------------------ var eslint = require("../../../lib/eslint"), ...
// This file was automatically generated. Do not modify. 'use strict'; goog.provide('Blockly.Msg.is'); goog.require('Blockly.Msg'); Blockly.Msg.ADD_COMMENT = "Skrifa skýringu"; Blockly.Msg.CANNOT_DELETE_VARIABLE_PROCEDURE = "Can't delete the variable '%1' because it's part of the definition of the function '%2'"; ...
export const vertex = /* glsl */` #define NORMAL #if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP ) varying vec3 vViewPosition; #endif #include <common> #include <uv_pars_vertex> #include <displacementmap_pars_vertex> #include <normal_pars_vertex> #include <morphtarget_pars_v...
/*! * jQuery JavaScript Library v2.0.1 -wrap,-event-alias,-ajax,-ajax/script,-ajax/jsonp,-ajax/xhr,-effects,-dimensions * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org...
version https://git-lfs.github.com/spec/v1 oid sha256:d8326c16a34074a017e0f74fe2ea0e7cb89e2716fda51d75ea17800d1dfbeba1 size 711
/** * The reveal.js markdown plugin. Handles parsing of * markdown inside of presentations as well as loading * of external markdown documents. */ (function( root, factory ) { if( typeof exports === 'object' ) { module.exports = factory( require( './marked' ) ); } else { // Browser globals (root is...
version https://git-lfs.github.com/spec/v1 oid sha256:a3f213bd1a24c5961369b5c8f457a363189daf332d1f3f119b5b62efa365dd81 size 8523
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionTouchApp = (props) => ( <SvgIcon {...props}> <path d="M9 11.24V7.5C9 6.12 10.12 5 11.5 5S14 6.12 14 7.5v3.74c1.21-.81 2-2.18 2-3.74C16 5.01 13.99 3 11.5 3S7 5.01 7 7.5c0 1.56.79 2.93 2 3.74zm9.84 4.63l-4....
"use strict"; /*! * Copyright 2016 The ANTLR Project. All rights reserved. * Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information. */ Object.defineProperty(exports, "__esModule", { value: true }); //# sourceMappingURL=TokenFactory.js.map
ig.module( 'plusplus.entities.effect-electricity' ) .requires( 'plusplus.core.config', 'plusplus.abstractities.effect' ) .defines(function() { var _c = ig.CONFIG; /** * Entity effect to show electricity. * <span class="alert"><strong>IMPORTANT:</strong> th...
const debug = require('ghost-ignition').debug('importer:users'), _ = require('lodash'), BaseImporter = require('./base'), models = require('../../../../models'); class UsersImporter extends BaseImporter { constructor(allDataFromFile) { super(allDataFromFile, { modelName: 'User', ...
#!/usr/bin/env node var reporter = require('nodeunit').reporters.default; reporter.run(['tests']);
/** * Command parser * Pokemon Showdown - http://pokemonshowdown.com/ * * This is the command parser. Call it with CommandParser.parse * (scroll down to its definition for details) * * Individual commands are put in: * commands.js - "core" commands that shouldn't be modified * config/commands.js - other co...
var path = require('path'); var webpack = require('webpack'); module.exports = { devtool: 'source-map', entry: [ './src/index' ], output: { path: path.join(__dirname, 'dist'), filename: 'bundle.js', publicPath: '/static/' }, plugins: [ new webpack.optimize.OccurenceOrderPlugin(), ne...
Prism.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)[^:\r\n]+?(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(...
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorBubbleChart = (props) => ( <SvgIcon {...props}> <circle cx="7.2" cy="14.4" r="3.2"/><circle cx="14.8" cy="18" r="2"/><circle cx="15.2" cy="8.8" r="4.8"/> </SvgIcon> ); EditorBubbleChart = pure(EditorBub...
YUI.add('uploader', function (Y, NAME) { /** * Provides UI for selecting multiple files and functionality for * uploading multiple files to the server with support for either * html5 or Flash transport mechanisms, automatic queue management, * upload progress monitoring, and error events. * @module uploader * @main up...
/* AngularJS v1.3.6 (c) 2010-2014 Google, Inc. http://angularjs.org License: MIT */ (function(U,X,u){'use strict';function A(b){return function(){var a=arguments[0],c;c="["+(b?b+":":"")+a+"] http://errors.angularjs.org/1.3.6/"+(b?b+"/":"")+a;for(a=1;a<arguments.length;a++){c=c+(1==a?"?":"&")+"p"+(a-1)+"=";var d=enco...
import Routing from 'fos_js/router.min'; import RoutingData from '~/js_routes.json'; Routing.setRoutingData(RoutingData); export default Routing;
/*! * OOUI v0.31.5 * https://www.mediawiki.org/wiki/OOUI * * Copyright 2011–2019 OOUI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * * Date: 2019-04-24T18:29:08Z */ ( function ( OO ) { 'use strict'; /** * Namespace for all classes, static methods and static pro...
$(document).ready(function() { $("#contact-form [type='submit']").click(function(e) { e.preventDefault(); // Get input field values of the contact form var user_name = $('input[name=name]').val(); var user_email = $('input[name=email-address]').val(); var...
var fs = require('fs'); var util = require('./../util'); var MESSAGE_PATH = './database/message.json'; var USER_PATH = './database/user.json'; var Message = { init: function(app){ app.post('/message/get', this.getMessage); app.post('/message/add', this.addMessage); }, //获取公告消息 getMessage: function(req...
'use strict'; exports.__esModule = true; exports.objToCss = undefined; var _hyphenateStyleName = require('fbjs/lib/hyphenateStyleName'); var _hyphenateStyleName2 = _interopRequireDefault(_hyphenateStyleName); var _isPlainObject = require('is-plain-object'); var _isPlainObject2 = _interopRequireDefault(_isPlainObje...
var flatMap = require('../array/virtual/flat-map'); var ArrayPrototype = Array.prototype; module.exports = function (it) { var own = it.flatMap; return it === ArrayPrototype || (it instanceof Array && own === ArrayPrototype.flatMap) ? flatMap : own; };
/** Ember Views @module ember @submodule ember-views @requires ember-runtime @main ember-views */ // BEGIN IMPORTS import Ember from "ember-runtime"; import jQuery from "ember-views/system/jquery"; import { isSimpleClick, getViewClientRects, getViewBoundingClientRect } from "ember-views/system/utils"; import Re...
/*! * Copyright (c) Metaways Infosystems GmbH, 2014 * LGPLv3, http://opensource.org/licenses/LGPL-3.0 */ Ext.ns('MShop.panel.coupon.code'); MShop.panel.coupon.code.ItemUi = Ext.extend(MShop.panel.AbstractItemUi, { siteidProperty : 'coupon.code.siteid', initComponent : function() { MShop.panel....
//! moment.js locale configuration //! locale : talossan (tzl) //! author : Robin van der Vliet : https://github.com/robin0van0der0v with the help of Iustì Canun !function(a,b){"object"==typeof exports&&"undefined"!=typeof module&&"function"==typeof require?b(require("../moment")):"function"==typeof define&&define.amd?...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Links = void 0; var LinksShadow_1 = require("./LinksShadow"); var LinksTriangle_1 = require("./LinksTriangle"); var OptionsColor_1 = require("../../OptionsColor"); var Links = (function () { function Links() { this.blink = ...
import { forwardRef, EventEmitter, Component, ChangeDetectionStrategy, ViewEncapsulation, ElementRef, Renderer2, NgZone, ChangeDetectorRef, Input, Output, ViewChild, NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { DomHandler } from 'primeng/dom'; import { NG_VALUE_ACCESSOR } fr...
iD.ui.intro = function(context) { var step; function intro(selection) { function localizedName(id) { var features = { n2140018997: 'city_hall', n367813436: 'fire_department', w203988286: 'memory_isle_park', w203972937: 'riverw...
var parent = require('../../actual/string/trim'); module.exports = parent;
'use strict'; var helpers = require('../helpers'); /** * Constructs a syntax complete selector for our selector matching and warning output * @param {object} val - the current node / part of our selector * @returns {object} - content: The current node with correct syntax e.g. class my-class = '.my-class' * */ v...
"use strict"; describe('StateChange', function() { var StateChange; var token; function Token() { this.string = 'test'; this.id = '1'; this.a = { b: { c: 'c' } }; } var broadcasted, notified; var state = { change: function(t, p, n) { new StateChange(state, t, p, n).exec(); }, getTok...
\u200D = []
//var formCfg = { // rows: // [ // { // utext: { label: '姓名:', controlName: 'LabelControl', editor:'input', className: 'utext' }, // authcode: { label: '验证码:', controlName: 'LabelControl', editor:'input', className: 'authcode', icon: 'authcode.aspx#' } // }, // { content: { label: '祝福:', controlName: 'LabelCont...
/* * 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'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _pure = require('recompose/pure'); var _pure2 = _interopRequireDefault(_pure); var _SvgIcon = require('../../SvgIcon'); var _SvgIcon2 = _interopRequireDe...
var express = require('express'); var fs = require('fs'); var io = require('socket.io'); var _ = require('underscore'); var Mustache = require('mustache'); var app = express.createServer(); var staticDir = express.static; io = io.listen(app); var opts = { port :...
var parent = require('../../actual/instance/find-last-index'); module.exports = parent;
// Copyright 2011 Mark Cavage, Inc. All rights reserved. var assert = require('assert'); var util = require('util'); var escape = require('./escape').escape; var Filter = require('./filter'); var Protocol = require('../protocol'); ///--- API function LessThanEqualsFilter(options) { if (typeof (options) === '...
/** * 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 ...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _reactAddonsPureRenderMixin = require('react-addons-pure-render-mixin'); var _reactAddonsPureRenderMixin2 = _interopRequireDefault(_reactAddonsPureRenderMi...
import baseCompareAscending from './baseCompareAscending'; /** * Used by `_.sortBy` to compare transformed elements of a collection and stable * sort them in ascending order. * * @private * @param {Object} object The object to compare. * @param {Object} other The other object to compare. * @returns {number} Ret...
/* * 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 0.16.0.0 * Changes may cause incorrect behavior and will be lost if the code is * regenerate...
(function() { module.exports = { error: function(text) { var err; err = new Error(text); err.autoprefixer = true; throw err; }, uniq: function(array) { var filtered, i, _i, _len; filtered = []; for (_i = 0, _len = array.length; _i < _len; _i++) { i = array...
var parser = require('./parser').parser module.exports = function (argument) { return parser.parse(argument) }
'use strict'; describe('beta', function () { it('should be executed second', function () { global.beta = 1; if (global.theta !== undefined) { throw new Error('beta was not executed second'); } }); });
/* * 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. */ '...
// Zepto.js // (c) 2010-2012 Thomas Fuchs // Zepto.js may be freely distributed under the MIT license. ;(function($, undefined){ var prefix = '', eventPrefix, endEventName, endAnimationName, vendors = { Webkit: 'webkit', Moz: '', O: 'o', ms: 'MS' }, document = window.document, testEl = document.c...
var nv = window.nv || {}; nv.version = '1.1.10b'; nv.dev = true //set false when in production window.nv = nv; nv.tooltip = {}; // For the tooltip system nv.utils = {}; // Utility subsystem nv.models = {}; //stores all the possible models/components nv.charts = {}; //stores all the ready to use charts nv.graphs = ...
/** * pageflow.Failure and subclasses are used in the failures api. * * Subclasses that represent failures that are can not be retried should * override `catRetry` with false. * Retryable failures should implement `retryAction`. */ pageflow.Failure = pageflow.Object.extend({ canRetry: true, type: 'Failure', ...
// The Layout object is the prototype of Substitution objects, and provides // utility methods to manipulate common layout tables (GPOS, GSUB, GDEF...) import check from './check'; function searchTag(arr, tag) { /* jshint bitwise: false */ let imin = 0; let imax = arr.length - 1; while (imin <= imax) ...
// RTCPeerConnection.js var defaults = {}; function setSdpConstraints(config) { var sdpConstraints = { OfferToReceiveAudio: !!config.OfferToReceiveAudio, OfferToReceiveVideo: !!config.OfferToReceiveVideo }; var oldBrowser = typeof adapter === 'undefined' || !adapter.browserShim; if (...
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * @name: S7.8.4_A4.2_T7; * @section: 7.8.4; * @assertion: CharacterEscapeSequnce :: NonEscapeSequence; * @description: NonEscapeSequence :: RUSSIAN SMALL ALPHABET; */ //CHECK#а-...
var bower = require('bower'), path = require('path'); // Error process.on('uncaughtException', function(err) { console.log("Exception", err.stack); }); console.log('Starting directory: ' + process.cwd()); // Install for site // ./views/layout.jade bower.commands .install([path.resolve(".")+"/bower.json"]) ....
// Prevent a user from sending their AUTH credentials // This is a simple, primitive form of anti-phishing. function escapeRegExp(str) { return str.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&"); } exports.hook_data = function (next, connection) { if (connection.notes.auth_user && connection.notes.auth_...
/* This file is part of Ext JS 3.4 Copyright (c) 2011-2013 Sencha Inc Contact: http://www.sencha.com/contact GNU General Public License Usage This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in...
/* Let's add an international label to the field added in custom_fields.js */ import Telescope from 'meteor/nova:lib'; Telescope.strings.en = { ...Telescope.strings.en, // get all the string translated "posts.color": "Color" // add a new one (collection.field: "Label") };
import { createStore, applyMiddleware, compose, combineReducers } from 'redux'; // create store, and implement reload function export const configureStore = (reducers, initialState = {}, middlewares) => { let getReducers; if (typeof reducers === 'function') { getReducers = reducers; reducers = getReducers(...
'use strict'; var fs = require('fs-extra'); var path = require('path'); var blueprintHelpers = require('ember-cli-blueprint-test-helpers/helpers'); var setupTestHooks = blueprintHelpers.setupTestHooks; var emberNew = blueprintHelpers.emberNew; var emberGenerate = blueprintHelpers.emberGenerate; var emberDestroy = blue...
pjs.addSuite({ urls: [ 'http://non_existent/', 'http://localhost:8888/test_site/not-a-real-page.html', 'http://localhost:8888/test_site/index.html' ], scraper: 'h1' });
// ========================================================================== // // FullScreen // Adds fullscreen functionality // // ========================================================================== ;(function (document, $) { 'use strict'; // Collection of methods supported by user browser var fn = (funct...
/*! algoliasearch 3.32.0 | © 2014, 2015 Algolia SAS | github.com/algolia/algoliasearch-client-js */ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof g...
var abp = abp || {}; (function ($) { /* Application paths *****************************************/ //Current application root path (including virtual directory if exists). abp.appPath = abp.appPath || '/'; abp.pageLoadTime = new Date(); //Converts given path to absolute path using abp.appPath...
/** * @fileoverview Main ESLint object. * @author Nicholas C. Zakas */ "use strict"; //------------------------------------------------------------------------------ // Requirements //------------------------------------------------------------------------------ const assert = require("assert"), EventEmitter ...
/** * @namespace PIXI.interaction */ export { default as InteractionData } from './InteractionData'; export { default as InteractionManager } from './InteractionManager'; export { default as interactiveTarget } from './interactiveTarget';
pageflow.Settings = Backbone.Model.extend({ defaults: { volume: 1 }, initialize: function() { var storage = this.getLocalStorage(); if (storage) { if (storage['pageflow.settings']) { try { this.set(JSON.parse(storage['pageflow.settings'])); } catch(e) { ...
;(function() { "use strict" // DOM events var $document = $(document) $document.on( "click", ".eoy-artist-feature .avant-garde-button-white", function(e) { analytics.track("Clicked EOY promotion read article", { destination_path: $(this).attr("href"), }) } ) $document....
goog.provide('car'); goog.require('vehicle');
var vec2 = require('../math/vec2'); var Utils = require('../utils/Utils'); module.exports = Spring; /** * A spring, connecting two bodies. The Spring explicitly adds force and angularForce to the bodies and does therefore not put load on the constraint solver. * * @class Spring * @constructor * @param {Body} bod...
/** * @fileoverview A rule to warn against using arrow functions when they could be * confused with comparisions * @author Jxck <https://github.com/Jxck> * @copyright 2015 Luke Karrys. All rights reserved. * The MIT License (MIT) * Copyright (c) 2015 Jxck * Permission is hereby granted, free of charge, to any ...