code
stringlengths
2
1.05M
/** * @license Highstock JS v8.0.4 (2020-03-10) * @module highcharts/indicators/price-envelopes * @requires highcharts * @requires highcharts/modules/stock * * Indicator series type for Highstock * * (c) 2010-2019 Paweł Fus * * License: www.highcharts.com/license */ 'use strict'; import '../../indicators/pri...
/**! Qoopido.demand 6.0.1 | https://github.com/dlueth/qoopido.demand | (c) 2020 Dirk Lueth */ !function(n){"use strict";provide(["path","/demand/function/iterate","/demand/validator/isObject","/demand/validator/isTypeOf"],(function(t,e,o,i){var a,c="Thu, 01 Jan 1970 00:00:00 GMT",r=[];function u(t,e,o){(a||function(n){...
/* Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang("easyimage","sr-latn",{commands:{fullImage:"Slika u punoj veličini",sideImage:"Slika sa strane",altText:"Izmena alternativnog tekst...
'use strict'; angular.module('copayApp.controllers').controller('createController', function($scope, $rootScope, $location, $timeout, $log, lodash, go, profileService, configService, isMobile, isCordova, gettext) { var self = this; var defaults = configService.getDefaults(); this.isWindowsPhoneApp = isM...
// This class holds the states of the the Pressure config var Config = { // 'false' will make polyfill not run when pressure is not supported and the 'unsupported' method will be called polyfill: true, // milliseconds it takes to go from 0 to 1 for the polyfill polyfillSpeedUp: 1000, // milliseconds it takes ...
var infos = { check: function () { return window.bright && window.bright.debug && window.bright.debug.modules; }, inspectHost: function () { return window.location.host; }, loadedpacket: function () { var n = $.debug.modules.mapping, a = []; for (var i in n) { ...
var common = require('./common'); var airbrake = require(common.dir.root).createClient(common.projectId, common.key, 'production'); var sinon = require('sinon'); var assert = require('assert'); var nock = require('nock'); nock.disableNetConnect(); var err = new Error('Node.js just totally exploded on me'); err.env = ...
'use strict';Object.defineProperty(exports,'__esModule',{value:true});var _mongoose=require('mongoose');var _mongoose2=_interopRequireDefault(_mongoose);var _mongooseTimestamp=require('mongoose-timestamp');var _mongooseTimestamp2=_interopRequireDefault(_mongooseTimestamp);var _mongooseDeepPopulate=require('mongoose-dee...
"use strict"; const regexEscape = require("regex-escape") , typpy = require("typpy") , iterateObject = require("iterate-object") ; /** * barbe * Renders the input template including the data. * * @name barbe * @function * @param {String} text The template text. * @param {Array} arr An array of two ...
'use strict'; const filter = new MetadataFilter({ all: trimSpaces }); const filterRules = [ { source: /\t/g, target: ' ' }, { source: /\n/g, target: ' ' }, { source: /\s+/g, target: ' ' }, ]; Connector.playerSelector = '#app'; Connector.artistSelector = '.player-song-artist'; Connector.trackSelector = '.player-...
import accountActions from '../../constants/account'; export default function fetchAccountDetails(context, payload, done) { context.dispatch(accountActions.ACCOUNT_FETCH); context.api.account.get().then(function successFn(result) { context.dispatch(accountActions.ACCOUNT_FETCH_SUCCESS, result); ...
/* * 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. */ '...
/* * 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...
/* ======================================================================== * Bootstrap: alert.js v3.1.0 * http://getbootstrap.com/javascript/#alerts * ======================================================================== * Copyright 2011-2014 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstra...
'use strict;' import React, { Component } from 'react'; import template from './NavTodo.rt'; module.exports = React.createClass({ render: template });
/** * Service Proxy for CpProxyOpenhomeOrgTestBasic1 * @module ohnet * @class TestBasic */ var CpProxyOpenhomeOrgTestBasic1 = function(udn){ this.url = window.location.protocol + "//" + window.location.host + "/" + udn + "/openhome.org-TestBasic-1/control"; // upnp control url this.domain = "openhome...
// Action to get all Repos export function getRepos(response) { return { type: 'Get_Repos', payload: response, }; } // Thunk function, it calls the getRepos action above after it receives the fetch response. export function getRepoThunk() { return function (dispatch, getState) { fetch('http://www.inv...
(function () { 'use strict'; angular.module('storage.firebase', ['firebase']) .factory('$firebase', function ($log, $q, $location, $timeout, $firebaseAuth, $firebaseObject, $storage, FirebaseConstants) { var firebase = this; firebase.setVariable = setVariable; funct...
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" /><path fill="none" d="M0 0h24v24H0z" /...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = makeFinalStore; /** * makeFinalStore(alt: AltInstance): AltStore * * > Creates a `FinalStore` which is a store like any other except that it * waits for all other stores in your alt instance to emit a change before ...
/** * The global state selectors */ import { createSelector } from 'reselect'; const selectGlobal = () => (state) => state.get('global'); const selectLoading = () => createSelector( selectGlobal(), (globalState) => globalState.get('loading') ); const selectError = () => createSelector( selectGlobal(), (gl...
/* Microformats Test Suite - Downloaded from github repo: microformats/tests version v0.1.26 Mocha integration test from: microformats-v2/h-product/justahyperlink The test was built on Fri May 27 2016 13:35:35 GMT+0100 (BST) */ var chai = require('chai'), assert = chai.assert, helper = require('../test/...
/*global Ext */ Ext.define("Tiegan.store.Func", { extend: "Ext.data.Store", model: "Tiegan.model.Func", autoLoad: true, pageSize: 20, proxy: { type: 'ajax', url: '/admin_api/getFuncLog', reader: { type: 'json', root: 'data', totalProperty:...
const BrowserWindow = require('browser-window') ; module.exports = function () { var win = new BrowserWindow({ width: 400, height: 450, resizable: false }); var params = [ 'https://soundcloud.com/connect', '?client_id=cee5bcd6c4ed31b6370e29b4e5190808', '&response_type=token', ...
goog.provide('ngeo.FeatureHelper'); goog.require('ngeo'); /** @suppress {extraRequire} */ goog.require('ngeo.filters'); goog.require('ngeo.interaction.Measure'); goog.require('ngeo.interaction.MeasureAzimut'); goog.require('ngeo.Download'); goog.require('ol.Feature'); goog.require('ol.animation'); goog.require('ol.geo...
// Dependencies const React = require('react'); import builder from 'focus-core/component/builder'; const {reduce} = require('lodash/collection'); // Components const Button = require('../../common/button/action').component; const SelectAction = require('../../common/select-action').component; const actionContextual...
import {generateAction} from '../generators/action'; import {generateComponent} from '../generators/component'; import {generateContainer} from '../generators/container'; import {generateCollection} from '../generators/collection'; import {generateMethod} from '../generators/method'; import {generatePublication} from '...
var functions = { one: function (param1) { return 1; }, onePartialSum: function (param1) { return param1; }, linear01: function (param1) { return param1.times(0.01); }, linear05: function (param1) { return param1.times(0.05); }, linear1: function (...
'use strict'; var isValid = module.exports.isValid = require('./borderColor').isValid; module.exports.definition = { set: function (v) { if (isValid(v)) { this.setProperty('border-left-color', v); } }, get: function () { return this.getPropertyValue('border-left-color')...
const { writeSeed, loadSeedId, genArray, casual } = require('../helpers') module.exports = async function generate () { const userIds = loadSeedId('user') const bookIds = loadSeedId('book') let result = [] for (let i = 0; i < bookIds.length; i += 1) { const bookId = bookIds[i] result = [...result, ...g...
var expect = require('expect.js'), async = require('async'), revisionGuardStore = require('../../lib/revisionGuardStore'), Base = require('../../lib/revisionGuardStore/base'), InMemory = require('../../lib/revisionGuardStore/databases/inmemory'); describe('revisionGuardStore', function() { it('it should hav...
'use strict'; import MongoDB from 'mongodb'; const mongodb = MongoDB.MongoClient; import {DB_NAME, COLLECTION_NAME, DB_HOSTNAME, DB_PORT} from 'blam-constants'; export default class DBWriter { constructor() { this['db'] = null; this['collection'] = null; } init() { return new Pro...
exports.deps = [ { "block": "baz" } ]; exports.depsByTechs = { "": {} };
module.exports = function (grunt) { grunt.initConfig({ coffeelint: { app: ['lib/*.coffee'], options: { max_line_length: { level: 'ignore' }, line_endings: { value: "unix", level: "error" }, no_trailing_semicolons: { level:...
// flow-typed signature: 1369f8072e3ab3023d55b479bf6efbe8 // flow-typed version: <<STUB>>/webpack_v^3.5.5/flow_v0.54.0 /** * This is an autogenerated libdef stub for: * * 'webpack' * * Fill this stub out by replacing all the `any` types. * * Once filled out, we encourage you to share your work with the * com...
const buildConfig = require("../../jest.base.config") module.exports = buildConfig(__dirname, { testRegex: "__tests__/.*\\.tsx?$", setupFilesAfterEnv: [`<rootDir>/jest.setup.ts`], testPathIgnorePatterns: ["node_modules", "<rootDir>/__tests__/utils"] })
/* zoomwall.js The MIT License (MIT) Copyright (c) 2014 Eric Leong 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, modi...
// https://gist.github.com/paulirish/1579671 (function() { var lastTime = 0; var vendors = ['webkit', 'moz']; for(var x = 0; x < vendors.length && !window.requestAnimationFrame; ++x) { window.requestAnimationFrame = window[vendors[x]+'RequestAnimationFrame']; window.cancelAnimationFrame = window[ven...
version https://git-lfs.github.com/spec/v1 oid sha256:bd6a4f073e56a291485d81f121567209294d60dbf503622bd03b524caa3f08d1 size 25637
"use strict"; var database = require('../../database'); var getExpression = require('../../crawl/getExpression'); var approve = require('../../crawl/approve'); var isValidResource = require('../../crawl/isValidResource'); var addAlias = require('../../server/addAlias'); var approveResource = require('../../server/...
import distance from "@turf/distance"; /** * Takes a bounding box and calculates the minimum square bounding box that * would contain the input. * * @name square * @param {BBox} bbox extent in [west, south, east, north] order * @returns {BBox} a square surrounding `bbox` * @example * var bbox = [-20, -20, -15,...
var svg = d3.select("#histogramme"), margin = {top: 20, right: 20, bottom: 12 , left: 40}, width = parseInt(d3.select("#histogramme").style("width")) - margin.left - margin.right, height = parseInt(d3.select("#histogramme").style("height")) - margin.bottom - margin.top; var x = d3.scale.ordinal() .rang...
/* Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang("widget","no",{move:"Klikk og dra for å flytte"});
/* * @Author: detailyang * @Date: 2016-02-29 10:18:29 * @Last modified by: detailyang * @Last modified time: 2016-05-06T23:33:41+08:00 */ import uuid from 'uuid'; import sequelize from 'sequelize'; import models from '../../models'; import utils from '../../utils'; module.exports = { async get(ctx) { co...
import { Component, ElementRef, HostListener, Input, Optional, Renderer, ViewEncapsulation } from '@angular/core'; import { NG_VALUE_ACCESSOR } from '@angular/forms'; import { Config } from '../../config/config'; import { isTrueProperty } from '../../util/util'; import { Form } from '../../util/form'; import { BaseInpu...
import { createStructuredSelector } from 'reselect'; import { workspaceSelector } from '../_store/directSelectors'; export default createStructuredSelector({ workspace: workspaceSelector, });
define(['marionette', './menuTemplate.hbs', 'rup.menu','rup.lang','rup.navbar'], function(Marionette, MenuTemplate){ var MenuView = Marionette.LayoutView.extend({ template: MenuTemplate, redirectNavLink: fncRedirectNavLink, ui:{ // menuElement: "#x21aResponsiveWar_menu", // menuMixedElement: "#x21aRespo...
var searchData= [ ['computefactorial',['computeFactorial',['../namespacecppbase.html#aa174d9b369de9be85584968104f9ff1d',1,'cppbase']]] ];
/*! * WebSocket Library * @author Lanfei * @module websocket-lib */ exports.Server = require('./lib/server'); exports.Client = require('./lib/client'); exports.Frame = require('./lib/frame'); exports.Session = require('./lib/session'); /** * Create a WebSocket Server. * @param {Object} [options] * @param...
'use strict'; /* query-parser.js On a RESTful route, a database resource should be associated with it. Here, we parse the potential query logic for the querying of the resource. */ module.exports = { inject: [ ], middleware: function queryParserMiddleware() { return function queryParser(req, res, ne...
/*#__PURE__*/ React.createElement("div", { id: "wôw" }); /*#__PURE__*/ React.createElement("div", { id: "\\w" }); /*#__PURE__*/ React.createElement("div", { id: "w < w" });
import shaderParse from 'utils/shader-parse'; import vertexShader from './shaders/vert.glsl'; import fragmentShader from './shaders/frag.glsl'; /** * GradientMaterial class */ class GradientMaterial extends THREE.ShaderMaterial { /** * Constructor function * @param {Object} options Options */ construc...
const visit = require(`unist-util-visit`) const { id } = require(`./constants`) module.exports = function remarkPlugin({ cache, markdownAST }) { const promises = [] visit(markdownAST, `html`, node => { promises.push( (async () => { if (node.value.match(id)) { const value = await cache....
/* The Computer Language Benchmarks Game https://salsa.debian.org/benchmarksgame-team/benchmarksgame/ contributed by Léo Sarrazin */ const TreeNode = function(left, right) { this.left = left; this.right = right; }; const itemCheck = function(node){ if (node===null) return 1; return 1 + itemCh...
export{addIcons}from"./components/icon/utils";export*from"./components";
const async = require('async') const dbStreamer = require('db-streamer') const util = require('./util') /** * Make an update query to the db to set the interpolated times in * a particular range of a particular trip */ function updateInterpolatedTimes (cfg, callback) { const db = cfg.db const lastTimepoint = c...
/* jshint expr: true, mocha:true */ (function () { 'use strict'; var log = require('../app/log'); describe('log', function () { before(function() { log.initFileLog('./log', 'test'); }); it('should log', function () { log.silly('message'); log.de...
var common = require('./common'); describe('CWD/CDUP commands', function () { 'use strict'; var client; var server; var pathExisting = 'usr/local'; var pathWithQuotes = '/"quote"'; var pathFile = 'data.txt'; function pathEscape(text) { text = text.replace(/\"/g, '""'); return text; } functio...
/* * jQuery Image Reveal - A Simple Before/After Image Viewer * * Version: Master * Homepage: http://github.com/lemoncreative/jquery-image-reveal * Licence: MIT * Copyright: (c) 2013 Lemon Creative; */ (function ($) { $.fn.extend({ imageReveal: function (options) { var $el = {}; // Merge passed in op...
'use strict'; window.DefinePanel('Playback Buttons', { author: "Teddy Gustiaux, adapted from marc2k3's script", version: '2019.01.06', }); // Based on the script found at https://github.com/marc2k3/smp_2003/blob/master/track%20info%20%2B%20seekbar%20%2B%20buttons.txt include(fb.ComponentPath + 'samples\\compl...
function solve(args) { var rules = {}, props = [], isInRule = false, noSpace = { '+': true, '>': true, '.': true, '#': true, '~': true, '}': true, '{': true }; String.prototype.last = function() ...
'use strict'; var React = require('react'); var sinon = require('sinon'); var expect = require('chai').expect; var uuid = require('../../core/utils/uuid'); var Diagnostics = require('../../core/diagnostics'); var ActionPayload = require('../../core/actionPayload'); var buildMarty = require('../../../test/lib/buildMart...
var settings = { "async": true, "crossDomain": true, "url": "http://mockbin.com/har", "method": "POST", "headers": { "content-type": "application/json" }, "processData": false, "data": "{\"number\":1,\"string\":\"f\\\"oo\",\"arr\":[1,2,3],\"nested\":{\"a\":\"b\"},\"arr_mix\":[1,\"a\",{\"arr_mix_nest...
// authorize filter export function authorize(req, res, next) { if(req.isAuthenticated()){ next(); }else{ res.redirect('/auth/login'); } };
const path = require('path') const util = require('util') const async = require('async') const fs = require('fs') const YAML = require('yamljs') // const replace = require('replace') const logger = require(path.resolve(__dirname, 'logging.js'))('out.log') const BOOKS = [ { "BOOK": "r_1", "FIRST_PA...
'use strict'; var BorderXform = require('../../../../../lib/xlsx/xform/style/border-xform'); var testXformHelper = require('./../test-xform-helper'); var expectations = [ { title: 'Empty', create: function() { return new BorderXform(); }, preparedModel: {}, xml: '<border><left/><right/><top/><bottom...
/** * Templates to match those used previous versions of Backbone Form, i.e. <= 0.11.0. * NOTE: These templates are deprecated. */ Form.template = _.template('\ <form class="bbf-form" data-fieldsets></form>\ '); Form.Fieldset.template = _.template('\ <fieldset>\ <% if (legend) { %>\ ...
<<<<<<< HEAD // Export sub-modules exports.error = exports.Error = require('boom'); exports.sntp = require('sntp'); exports.server = require('./server'); exports.client = require('./client'); exports.crypto = require('./crypto'); exports.utils = require('./utils'); exports.uri = { authenticate: exports.server.au...
var should = require('should'), // Stuff we are testing helpers = require('../../../frontend/helpers'); describe('{{page_url}} helper', function () { var options = {data: {root: {pagination: {}}}}; beforeEach(function () { options.data.root = {pagination: {}}; }); it('can return a va...
import RSS from 'rss'; import { errorHtml } from '../util'; /** * Generates RSS. * * @param {object} props * @return {string} */ export default function renderRss(props = {}) { const missingProp = prop => errorHtml( `Error while rendering an RSS feed ${props.sourcePath}: ` + `missing required property "...
var render = require('../render'); describe("A render function", function () { it("parses the template with a substitute and block", function () { var template = "<h1>Category: {{category}}</h1>\n" + "<ol>\n" + "{# items must be non-empty for valid markup #}" + "{% items %}" + " <li>{{ ...
/** * the cat clicker app - it basically knows about the octopus (aka controller) and kicks off the app */ (function () { var octopus = this.octopus; octopus.initializeModel(); octopus.setupCatList(); }());
/** @license MIT License (c) copyright 2011-2013 original author or authors */ /** * Licensed under the MIT License at: * http://www.opensource.org/licenses/mit-license.php * * @author Brian Cavalier * @author John Hann */ (function(define) { 'use strict'; define(function(require) { var when = requ...
var searchData= [ ['cammode_5fphoto',['CamMode_Photo',['../classrc_1_1_flycam_one.html#ad02cbbfa372bad663bb832bd47d67909aed570c1d81630ed6515f0762dc6a162a',1,'rc::FlycamOne']]], ['cammode_5fserial',['CamMode_Serial',['../classrc_1_1_flycam_one.html#ad02cbbfa372bad663bb832bd47d67909a3f765466ee391f4ad80cdeeccd7cbdb5',...
'use strict' var Type = require('./Type.js') , uniqueTypeID = 0 , globalOptions = require('../globalOptions.js') function UniqueType(sourceName, id) { Type.call(this, sourceName || '') this.id = id || ++uniqueTypeID } UniqueType.prototype = Object.create(Type.prototype) UniqueType.prototype.constructor = Type...
(function() { var ExecutionError, ResponseCode, 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(); child.__super__ = parent.prototype;...
/** * mux.js * * Copyright (c) 2015 Brightcove * All rights reserved. * * Reads in-band caption information from a video elementary * stream. Captions must follow the CEA-708 standard for injection * into an MPEG-2 transport streams. * @see https://en.wikipedia.org/wiki/CEA-708 */ (function(window, muxjs, und...
exports.up = function(knex, Promise) { return knex.schema.table('teams', function(table) { table.string('image_path'); }); }; exports.down = function(knex, Promise) { return knex.schema.table('teams', function(table) { table.dropColumn('image_path'); }); };
{"root":{"section":[{"title":["Nested data"],"data":[{"resources":[{"_":"/var/www/logs","$":{"type":"logs"}},{"_":"/var/www/errors","$":{"type":"errors"}}],"systems":[{"infrastructure":[{"data":["null"]}]}]}]},{"title":["Nested data"],"data":[{"resources":[{"_":"/var/www/logs","$":{"type":"logs"}},{"_":"/var/www/errors...
{ $(".bullet").click(function () { if ($(this).next(".detail").is(":hidden")) { $(this).next(".detail").toggle(750); $(this).children('span').text('-'); } else { $(this).next(".detail").toggle(750); $(this).children('span').text('+'); } }); }
/* * 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 */ //! moment.js locale configuration //! locale : Morocco Central Atlas Tam...
/** * Copyright 2015 Google Inc. All Rights Reserved. * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE file or at * https://github.com/firebase/superstatic/blob/master/LICENSE */ const path = require("path"); const fs = require("fs-extra"); const request = require("...
module.exports = { plugins: [ require('autoprefixer'), ], };
/** * @depends {nrs.js} * @depends {nrs.modals.js} */ var NRS = (function(NRS, $, undefined) { $("#nrs_modal").on("show.bs.modal", function(e) { if (NRS.fetchingModalData) { return; } NRS.fetchingModalData = true; NRS.sendRequest("getState", function(state) { for (var key in state) { var el = $(...
{ "name": "dotsplit.js", "url": "https://github.com/wilmoore/dotsplit.js.git" }
/** * Created by Peter on 2015. 7. 29.. */ "use strict"; var winston = require('winston'); var config = require('../config/config'); require('winston-logentries'); //silly, debug, verbose, info, warn, error var LogentriesToken; if (config.mode === 'gather') { LogentriesToken = config.logToken.gather; } else if...
const Koa = require('koa'); const helper = require('think-helper'); const pkg = require('../package.json'); const bluebird = require('bluebird'); const assert = require('assert'); const messenger = require('think-cluster').messenger; /** * use bluebird instead of default Promise */ global.Promise = bluebird; /** *...
/*! * Module dependencies. */ var util = require('util'), super_ = require('../Type'); /** * Code FieldType Constructor * @extends Field * @api public */ function code(list, path, options) { this._nativeType = String; this._defaultSize = 'full'; this.height = options.height || 180; this.lang = options.l...
/** * 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 ...
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2020 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ /** * Compute a random unit vector. * * Computes random values for the given vector between -1 and 1 that can be used to represent a directio...
import { Backburner } from "backburner"; module("autorun"); test("autorun", function() { var bb = new Backburner(['zomg']), step = 0; ok(!bb.currentInstance, "The DeferredActionQueues object is lazily instaniated"); equal(step++, 0); bb.schedule('zomg', null, function() { start(); equal(step, ...
/** * @fileoverview Rule to flag use of an empty block statement * @author Alex Shnayder */ 'use strict'; module.exports = function(context) { return { BlockStatement: function(node) { var parent = node.parent, parentType = parent.type; // Not sure if there is a reason to allow empty ...
/** * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ const {randomFillSync} = require('crypto'); test('randomFillSync()', () => { const buf = Buffer.alloc(10);...
$(document).ready( function() { $.ajax({ url : "/api/dashboard/keywords", processData : false, type : 'GET', contentType : 'application/json', success : function(response) { for (var i = 0; i < response.length; i++) { var keywordName = response[i].name; generateKeywordDiv(ke...
/** * Copyright 2013-2014 Facebook, 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 agree...
module.exports = require("npm:asn1.js@4.9.1/lib/asn1.js");
$A.bind(window, 'load', function(){ // Set the A tag ARIA Toggle Button var standardA = new $A.Toggle('a1', { // Set the initial state state: false, // Declare a callback to run every time the state changes callback: function(state){ // 'this' is the triggering element if (s...
(function(addon) { var component; if (window.UIkit) { component = addon(UIkit); } if (typeof define == "function" && define.amd) { define("uikit-tooltip", ["uikit"], function(){ return component || addon(UIkit); }); } })(function(UI){ "use strict"; va...
require('jquery-slimscroll'); //# sourceMappingURL=baSlimScroll.loader.js.map
/** * Add an item to the database. * This controller works in conjunction with the 'edit' view. */ define(['app'], function(app) { app.controller('AddCtrl', ['$scope', '$routeParams', 'database', 'inputDateHandler', function AddCtrl($scope, $routeParams, database, inputDates) { $scope.mode = 'new'; ...