code
stringlengths
2
1.05M
import fs from 'fs' import path from 'path' import Hub from 'pkghub' import _ from 'underscore' import Promise from 'bluebird' import render from 'pkghub-render' import * as finder from './finder' const hub = new Hub const defaultHome = path.resolve(__dirname, '../', '../', '../') /** * * Class Theme * @param {String...
const test = require('ava'); const { parse, nodeToString } = require('../../lib'); test('each (#121)', (t) => { const params = `(@colors, { .@{value}-color { color: @value; } })`; const less = `each${params};`; const root = parse(less); const { first } = root; t.is(first.name, 'each'); t.is(first...
import {debounce} from './lib/promises.js'; let prevOnLine = true; function notifyStatus() { if ('onLine' in navigator && prevOnLine !== navigator.onLine) { ga('send', 'event', 'network', navigator.onLine ? 'online' : 'offline'); prevOnLine = navigator.onLine; } } notifyStatus(); window.addEventListener...
var menuToggler = document.querySelector('.dropdown-toggle'); menuToggler.addEventListener("click", function() { var isExpanded = menuToggler.getAttribute("aria-expanded"); if (isExpanded === "false") { document.querySelector(".nav").classList.add('dropdown-open'); document.querySelecto...
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "M10.25 13c0 .69-.56 1.25-1.25 1.25S7.75 13.69 7.75 13s.56-1.25 1.25-1.25 1.25.56 1.25 1.25zM15 11.75c-.69 0-1.25.56-1.25 1.25s.56 1.25 1.25 1.25 1.25-.56 1....
module.exports = DataFormTab = require('typedef') // THIS CODE WAS GENERATED BY AN AUTOMATED TOOL. Editing it is not recommended. // For more information, see http://github.com/bvalosek/grunt-infusionsoft // Generated on Wed Jan 08 2014 12:43:55 GMT-0600 (CST) // This table holds your custom field tabs. These tabs ar...
System.config({ "baseURL": "/", "transpiler": "babel", "paths": { "*": "*.js", "github:*": "jspm_packages/github/*.js" } }); System.config({ "map": { "angular": "github:angular/bower-angular@1.3.14" } });
/* * nia-urlrouter.js - Nia URL Router Module * * Copyright (c) 2014 Tim Jansen * * 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 limitat...
"use babel"; // @flow import * as React from "react"; import DevTool from "./DevTool"; import DevToolName from "./DevToolName"; import type { DiagnosticSeverity } from "../../DiagnosticsFeature/Types/types"; import DiagnosticsSummaryCircle from "../../DiagnosticsFeature/Presenters/DiagnosticsSummaryCircle"; import typ...
{ "translatorID": "d6f64d96-aa6f-4fd3-816f-bdef842c7088", "label": "Haaretz", "creator": "Eran Rosenthal", "target": "^https?://www\\.haaretz\\.(co\\.il|com)/", "minVersion": "3.0", "maxVersion": "", "priority": 100, "inRepository": true, "translatorType": 4, "browserSupport": "gcsibv", "lastUpdated": "2016-...
version https://git-lfs.github.com/spec/v1 oid sha256:64e33b47fc0b7055da2f1eca0d87c4572f0e98d495430a3a143304f8aa1a179c size 11430
//#region Copyright, Version, and Description /* * Copyright 2015 IdeaBlade, Inc. All Rights Reserved. * Use, reproduction, distribution, and modification of this code is subject to the terms and * conditions of the IdeaBlade Breeze license, available at http://www.breezejs.com/license * * Author: Ward Bell * V...
// https://d3js.org/d3-shape/ v2.1.0 Copyright 2021 Mike Bostock (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('d3-path')) : typeof define === 'function' && define.amd ? define(['exports', 'd3-path'], factory) : (global = typeof globalThis !== 'und...
var Promise = require('bluebird'), path = require('path'), fs = Promise.promisifyAll(require('fs')), PZ = require('promzard').PromZard, NPM = require('npm'); var package = path.resolve('./package.json'); var pkg, ctx, options; function loadNpm() { // You have to load npm in order to use it programatically ...
/** * Listen for clicks outside the multi-select and collapse it if needed * * @package ivh.multiSelect * @copyright 2015 iVantage Health Analytics, Inc. */ angular.module('ivh.multiSelect') .directive('ivhMultiSelectCollapsable', ['$document', function($document) { 'use strict'; return { restric...
Clazz.declarePackage ("JS"); Clazz.load (["JS.JComponent"], "JS.JTextField", ["JU.SB"], function () { c$ = Clazz.declareType (JS, "JTextField", JS.JComponent); Clazz.makeConstructor (c$, function (value) { Clazz.superConstructor (this, JS.JTextField, ["txtJT"]); this.text = value; }, "~S"); Clazz.overrideMetho...
/*global jasmine */ var SpecReporter = require('jasmine-spec-reporter'); exports.config = { allScriptsTimeout: 15000, specs: [ '../e2e/**/*.e2e.ts' ], capabilities: { 'browserName': 'chrome' }, directConnect: true, baseUrl: 'http://localhost:4200/', framework: 'jasmine', jasmineNodeOpts: { ...
(function (m, app) { // Creating the module app.module('TestModule2', {}, '/test'); })(m, app);
'use strict'; var yeoman = require('yeoman-generator'); var chalk = require('chalk'); var prompts = require('./prompts'); var generate = require('./generate'); module.exports = yeoman.generators.Base.extend({ constructor: function () { yeoman.generators.Base.apply(this, arguments); }, prompting: function ...
module.exports = { options: { coverageDir: 'coverage', force: true, } };
var chai = require('chai'), assert = chai.assert, client = require('./client').client; chai.Assertion.includeStack = true; describe('Variables', function() { before(function(done) { this.timeout(5000); client.initDesign(done); }); beforeEach(function(done) { this.timeout(...
"use strict"; var error = require("./error"); var Util = require("./util"); /** section: github * class Client * * Copyright 2012 Cloud9 IDE, Inc. * * This product includes software developed by * Cloud9 IDE, Inc (http://c9.io). * * Author: Mike de Boer <mike@c9.io> * * [[Client]] can load any version ...
YUI.add('ac-plugin', function(Y) { function ACPlugin () { ACPlugin.superclass.constructor.apply(this, arguments) }; Y.extend( (Y.Plugin.ACPlugin = Y.augment(ACPlugin, Y.EventTarget)), Y.Plugin.Base, { // prototype initializer : function () { var self = this, host = self...
const DrawCard = require('../../drawcard.js'); class SwornBrother extends DrawCard { setupCardAbilities(ability) { this.persistentEffect({ targetType: 'player', targetController: 'current', effect: ability.effects.reduceFirstMarshalledCardCostEachRound(1, card => card.ge...
define({ "id": "ID", "state": "Prema zadanim postavkama, koordinate će se prikazati u trenutačnom koordinatnom sustavu karte. Za dobivanje koordinata u drugim koordinatnim sustavima trebate ih dodati i odrediti odgovarajuće transformacije.", "outputUnit": "Izlazna jedinica", "wkid": "Izlazni WKID", "label": "...
var angular = require('angular') , $ = require('jquery') , mocks = require('../../mocks') , sinon = require('sinon') , angularMocks = require('angular-mocks'); require('../../../vendor/angular_ui_select'); describe('map edit page tests', function() { var sandbox; var $compile; var $rootScope; var $l...
/** * Created by Ron on 3/21/17. */ 'use strict'; var mockContext = { successMsg: 'none', failMsg: 'none', succeed: function(msg) { this.successMsg = msg; }, fail: function(msg) { this.failMsg = msg; } }; module.exports = { mockContext: mockContext }
import { c as createCommonjsModule, a as commonjsRequire, b as moment, d as commonjsGlobal } from './moment-4505622d.js'; var sk = createCommonjsModule(function (module, exports) { (function (global, factory) { typeof commonjsRequire === 'function' ? factory(moment) : factory(global.moment); }(commonjsGlobal, (f...
const { renderPredicate, renderIntegerExpression, renderVariable } = require('./render-predicate-impl') function renderProgram(program, indentStr, lineEnd) { return renderStatements(program.statements, 0, indentStr, lineEnd) } function renderStatements(statements, nestingLevel, indentStr, lineEnd) { return stat...
var _ = require('underscore'); var mongoose = require('mongoose'); var AbstractQuestionSchema = require('../question').AbstractQuestionSchema; var Question = require('../question').Question; var QuestionSchema = require('../question').QuestionSchema; var Schema = mongoose.Schema; var FillInQuestionSchema = new Abstrac...
var React = require('react'); var PostStore = require('../PostStore'); var ProgramStore = require('../ProgramStore'); var AudioStore = require('../AudioStore'); var actions = require('../actions'); var PostEpisodeControls = React.createClass({ getInitialState: function() { return { programs: Progr...
;(function ($, window, document, undefined) { 'use strict'; Foundation.libs.topbar = { name : 'topbar', version: '5.3.0', settings : { index : 0, sticky_class : 'sticky', custom_back_text: true, back_text: 'Back', is_hover: true, scrolltop : true, // jump to top wh...
describe('Set', function() { var set, e1, e2, e3, e4, e5 beforeEach(function() { draw.attr('viewBox', null) set = draw.set() e1 = draw.rect(100,100).attr('id', 'e1').move(200,250) e2 = draw.ellipse(100,100).attr('id', 'e2') e3 = draw.line(0,0,100,100).attr('id', 'e3') e4 = draw.circle(5...
import React from 'react'; import PropTypes from 'prop-types'; import { imported } from '../imported'; const local = 'local-value'; /** * A component that renders its props */ // eslint-disable-next-line react/prefer-stateless-function class PropsWriter extends React.Component { render() { return <pre>{JSON....
require("should"); var postprocess = require('../lib/postprocess.js'); var orderedStopsDuplicates1_input = [ [1, 3], [1, 3], [2, 5], [2, 6], [2, 7], [4, 8] ]; var orderedStopsDuplicates1_output = [ [1, 3], [2, 5], [4, 8] ]; // TODO: can't test private functions, what to do? /* des...
var $border_color = "#eee"; var $grid_color = "#eee"; var $default_black = "#666"; var $dark_blue = "#005387"; var $info = "#87CEEB"; var $danger = "#F56B6B"; var $warning = "#F38733"; var $success = "#2ecc71"; var $yellow = "#fdd922"; var $facebook = "#3b5999"; var $twitter = "#00acee"; var $linkedin = "#1a85bd"; var...
import Ember from 'ember'; import AuditModelMixin from 'ember-flexberry-data/mixins/audit-model'; import { module, test } from 'qunit'; module('Unit | Mixin | audit model'); test('it works', function(assert) { let AuditModelObject = Ember.Object.extend(AuditModelMixin); let subject = AuditModelObject.create(); ...
import Helmet from "react-helmet" exports.onRenderBody = ({ setHeadComponents }, pluginOptions) => { const helmet = Helmet.renderStatic() setHeadComponents([ helmet.title.toComponent(), helmet.link.toComponent(), helmet.meta.toComponent(), helmet.noscript.toComponent(), helmet.script.toComponen...
//rander类 (function(square){ class rander { constructor(ctx,map,robot) { this.frame = this.frame.bind(this); this.lastTime = 0; this.ctx = ctx; this.randering = false; this.map = map; this.robot = robot; //默认间隔间隔应当大于30否则将会导致数字遮住方框 this.space = 30; } setSpace(size){ this.space = size; ...
import { SEMANTIC_POSITION, PRIMITIVE_TRISTRIP } from '../../graphics/constants.js'; import { Shader } from '../../graphics/shader.js'; import { shaderChunks } from '../../graphics/program-lib/chunks/chunks.js'; import { BLEND_NORMAL } from '../../scene/constants.js'; import { BasicMaterial } from '../../scen...
pn.util.createTableRow = function(_args) { var type = _args.type; var data = _args.data; var index = _args.index; var clickcallback = _args.clickcallback; var row = Ti.UI.createTableViewRow({ className : 'tablrowclass', objName : 'tablerow', height : y(40), selectionStyle : 'none', //backgroundSelectedC...
/* jQWidgets v4.5.4 (2017-June) Copyright (c) 2011-2017 jQWidgets. License: http://jqwidgets.com/license/ */ import React from 'react'; const JQXLite = window.JQXLite; export default class JqxScrollView extends React.Component { componentDidMount() { let options = this.manageAttributes(); this.cre...
var TreeBase = require('../treebase/treebase'); var nodeId = 0; // Identify if a value is a number that is whole // (equally divisible by 1) and positive var isWholePositiveNumber = function (value) { return (! isNaN(value) && // Isn't a NaN typeof value === 'number' && // Is a number value >= 0 &...
define([ 'widgets/appWidgets2/customWidgetWrapper', 'widgets/appWidgets2/errorControl', 'widgets/appWidgets2/fieldWidget', 'widgets/appWidgets2/fieldWidgetCompact', 'widgets/appWidgets2/fieldWidgetFull', 'widgets/appWidgets2/fieldWidgetMicro', 'widgets/appWidgets2/inputUtils', 'widgets/a...
/** * Embosses the edges of the image. * This filter takes no parameters but can be applied several times for * further effect. */ function BumpFilter(){ this.name = "Bump"; this.defaultValues = { }; this.valueRanges = { }; if(!FilterUtils){ if(console){ console.error("Unable to find filterutils.js, plea...
import { createSelector } from 'reselect'; const headerState = () => (state) => state.get('header'); const collapsed = () => createSelector( headerState(), (state) => state.collapsed, ); export { headerState, collapsed, };
var _c_make_c_compiler_id_8c = [ [ "ARCHITECTURE_ID", "_c_make_c_compiler_id_8c.html#aba35d0d200deaeb06aee95ca297acb28", null ], [ "C_DIALECT", "_c_make_c_compiler_id_8c.html#a07f8e5783674099cd7f5110e22a78cdb", null ], [ "COMPILER_ID", "_c_make_c_compiler_id_8c.html#a81dee0709ded976b2e0319239f72d174", null ...
/** * 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. * * @flow strict-local * @format * @emails oncall+relay */ // flowlint ambiguous-object-type:error 'use strict'; const {REQUEST...
var nodegit = require('../'), path = require('path'); // This code walks the history of the master branch and prints results // that look very similar to calling `git log` from the command line nodegit.Repository.open(path.resolve(__dirname, '../.git')).then(function(repo) { return repo.getMasterCommit(); }).th...
var Shuffle = require('./Shuffle'); var GetValue = require('../object/GetValue'); var BuildChunk = function (a, b, qty) { var out = []; for (var aIndex = 0; aIndex < a.length; aIndex++) { for (var bIndex = 0; bIndex < b.length; bIndex++) { for (var i = 0; i < qty; i++) ...
/** @license MIT License (c) copyright 2010-2016 original author or authors */ /** @author Brian Cavalier */ /** @author John Hann */ export default class SafeSink { constructor (sink) { this.sink = sink this.active = true } event (t, x) { if (!this.active) { return } this.sink.event(t...
var searchData= [ ['houghlines',['houghLines',['../classLaneDetector.html#adbbc2f50aee10844aeec12b1fe084fb2',1,'LaneDetector']]] ];
var svgoConfig = JSON.stringify({ plugins: [ {removeTitle: true}, {convertColors: {shorthex: false}}, {convertPathData: false} ] }); module.exports = { context: __dirname, entry: "./entry", output: { path: __dirname + "/dist", filename: "bundle.js" }, module: { loaders: [ { ...
(function ($) { // Monkey patch jQuery 1.3.1+ css() method to support CSS 'transform' // property uniformly across Webkit/Safari/Chrome and Firefox 3.5. // 2009-2010 Zachary Johnson www.zachstronaut.com // Updated 2010.11.06 // function getTransformProperty(element) { // Try tra...
// https://developers.google.com/maps/documentation/javascript/examples/ function initMap() { var customMapType = new google.maps.StyledMapType([ { stylers: [ {'gamma': 1}, {'weight': 1}, {'visibility': 'simplified'}, {'hue': '#8dab68'} ] }, { elementType: 'labels', stylers...
// usage assumption: currentStyle values have already been rendered but it says // nothing of whether currentStyle is stale (see unreadPropStyle) 'use strict'; exports.__esModule = true; exports['default'] = shouldStopAnimation; function shouldStopAnimation(currentStyle, style, currentVelocity) { for (var key in ...
version https://git-lfs.github.com/spec/v1 oid sha256:5afdb3c022ba94d95a9d0c15e2d9b647420442dec34146d4df75e40d40e69744 size 4378
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.famous=e()}}(function(){var define,module,exports;ret...
/** * @author jbouny / https://github.com/fft-ocean */ THREE.ShaderChunk["screenplane_pars_vertex"] = [ 'const float infinite = 150000.0;', 'const float screenScale = 1.2;', 'const vec3 groundNormal = vec3( 0.0, 1.0, 0.0 );', 'const float groundHeight = 0.0;', 'varying vec3 vCamPosition;', 'vec...
/* globals module */ 'use strict'; module.exports = function ({ data }) { return { getLatestMessages(req, res) { let username = req.params.username; data.getUserByUsername(username) .then(user => { if (user === null || typeof user === 'undefin...
/** * @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang( 'widget', 'hr', { 'move': 'Klikni i povuci da pomakneš' } );
// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors // MIT License. See license.txt wn.provide("wn.views.calendar"); wn.provide("wn.views.calendars"); wn.views.CalendarFactory = wn.views.Factory.extend({ make: function(route) { var me = this; wn.model.with_doctype(route[1], function() { v...
define(['amd-loader', 'traceur-compiler'], function(amdLoader, traceur) { return amdLoader('es6', 'js', function(name, source, req, callback, errback, config) { var url = req.toUrl(name) + '.js'; var project = new traceur.semantics.symbols.Project(url); traceur.options = config.traceur; traceur.opti...
var jsonreader = require('../src/jsonreader'); var file = '../play/request/get.req' // file = "./req.json" jsonreader(file, function(obj){ console.log("cb_succ") console.log(obj); }, function(){ console.log("cb_fail") });
(function () { 'use strict'; angular .module('core.admin.routes') .config(routeConfig); routeConfig.$inject = ['$stateProvider']; function routeConfig($stateProvider) { $stateProvider .state('admin', { abstract: true, url: '/admin', template: '<ui-view/...
'use strict'; var isValid = module.exports.isValid = require('./borderStyle').isValid; module.exports.definition = { set: function (v) { if (isValid(v)) { this.setProperty('border-left-style', v); } }, get: function () { return this.getPropertyValue('border-left-style')...
import Vue from 'vue' import anime from 'animejs' Vue.transition('fade', { enterClass: 'fadeIn', leaveClass: 'fadeOut' }) Vue.transition('fade-horizontal-rtl', { enterClass: 'fadeInRight', leaveClass: 'fadeOutLeft' }) Vue.transition('fade-horizontal-ltr', { enterClass: 'fadeInLeft', leaveClass: 'fadeOutR...
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * @name: S11.8.3_A1; * @section: 11.8.3, 7.2, 7.3; * @assertion: White Space and Line Terminator between RelationalExpression and "<=" or between "<=" and ShiftExpression are al...
/* * This file is part of the Kreta package. * * (c) Beñat Espiña <benatespina@gmail.com> * (c) Gorka Laucirica <gorka.lauzirika@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ import config from './webpack.config.babe...
var searchData= [ ['fetch',['Fetch',['../class_cotc_sdk_1_1_gamer_matches.html#a89afde906b959dbeef05e12b828cad7e',1,'CotcSdk::GamerMatches']]], ['fetchfriends',['FetchFriends',['../class_cotc_sdk_1_1_facebook_integration_1_1_cotc_facebook_integration.html#ad38fef926cc65b0a286b193b0110269c',1,'CotcSdk::FacebookInteg...
var setScript = [ //"../../../assets/vendor/datatables/media/js/jquery.dataTables.min.js", // "../../../assets/vendor/datatables/media/js/dataTables.bootstrap.js", "../../../assets/vendor/bootstrap-filestyle/src/bootstrap-filestyle.js", "../../../assets/vendor/bootstrap-wysiwyg/bootstrap-wysiwyg.js", "../../../ass...
var gulp = require('gulp'); var changed = require('gulp-changed'); var imagemin = require('gulp-imagemin'); var config = require('../config').assets; gulp.task('assets', function() { return gulp.src([config.src]) .pipe(changed(config.dest)) // Ignore unchanged files .pipe(imagemin()) // Optimize .pipe(gu...
import { get } from '@ember/object'; import Route from '@ember/routing/route'; import AuthenticatedRouteMixin from 'ember-simple-auth/mixins/authenticated-route-mixin'; export default Route.extend(AuthenticatedRouteMixin, { redirect() { let { conversations } = this.modelFor('conversations'); if (get(conversa...
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "M3 5H1v18h18v-2H3V5zm20-4H5v18h18V1zm-2 16H7V3h14v14z" }), 'FilterNoneSharp');
/*file chiron src/base/dict.js */ /*preamble Copyright (c) 2002-2008 Kris Kowal <http://cixar.com/~kris.kowal> MIT License The license terms are stated in full in <license.rst> and at the end of all source files. */ "use iojs"; var boot = require('./boot'); var type = require('./type'); var ope...
const PREFIX = '_' function rename (type) { return PREFIX + type } export default { on: function () { const args = arguments if (typeof args[0] === 'string' && typeof args[1] === 'function') { const type = rename(args[0]) this[type] = this[type] || [] this[type].push(args[1]) } else ...
"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")...
(function() { /* Copyright (c) 2002-2014 "Neo Technology," Network Engine for Objects in Lund AB [http://neotechnology.com] This file is part of Neo4j. Neo4j is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software...
jQuery(document).ready(function () { localStorage.removeItem('routineList'); document.getElementById("userName").innerHTML = "Hello " + localStorage.getItem('userName') + "!"; document.getElementById("userName").value = localStorage.getItem('name'); var loginToken = window.localStorage.getItem("tok...
module.exports={A:{A:{"388":"B A","900":"K C G E WB"},B:{"388":"D u Y I M H"},C:{"900":"0 1 2 3 5 6 7 UB z F J K C G E B A D u Y I M H N O P Q R S T U V W X w Z a b c d e f L h i j k l m n o p q r s t y v g SB RB"},D:{"900":"0 1 2 3 5 6 7 F J K C G E B A D u Y I M H N O P Q R S T U V W X w Z a b c d e f L h i j k l m n...
import bcrypt from "bcryptjs"; import Sequelize from "sequelize"; import { uuid } from "bonsai-engine/utilities"; import { createRoutes } from "bonsai-engine/routing"; export default class UserController { constructor(tracker, models) { ...
'use strict' /** * Module dependencies. */ const util = require('util') const createError = require('http-errors') const httpAssert = require('http-assert') const delegate = require('delegates') const statuses = require('statuses') const Cookies = require('cookies') const COOKIES = Symbol('context#cookies') /** ...
import h from "../utils/html.js"; import closestParent from "../utils/closest-parent.js"; class Preloader { constructor() { this.image = h("img"); this.cache = {}; this.queue = []; this.image.addEventListener("load", () => this.moveQueue()); this.image.addEventListener("err...
var HomeView = require('views/home_view'); describe("HomeView", function() { beforeEach(function() { this.view = new HomeView(); }); afterEach(function() { delete this.view; }); it("should exist", function() { expect(this.view).to.be.ok; }); it("should have correct id", function() { e...
var i = 0;
export default [{ name: 'api.test', errors: {} }, { name: 'auth.test', errors: { not_authed: 'No authentication token provided.', invalid_auth: 'Invalid authentication token.', account_inactive: 'Authentication token is for a deleted user or team.' } }, { name: 'channels.archive', errors: { ...
module.exports={A:{A:{"2":"H C G E EB","129":"A B"},B:{"129":"D p x J L N I"},C:{"1":"0 1 2 3 4 5 6 8 9 F K H C G E A B D p x J L N I O P Q R S T U V W X Y Z b c d e f g h i j k l m n o M q r s t u v w y WB QB","2":"YB BB"},D:{"1":"0 1 2 3 4 5 6 8 9 F K H C G E A B D p x J L N I O P Q R S T U V W X Y Z b c d e f g h i ...
var rimraf = require('rimraf'), path = require('path') rimraf.sync(path.resolve(__dirname, '../dist/*')) console.log(` 💥 Cleaned build artifacts.\n`)
// // Home of the main server object // var express = require('express'), env = require('./lib/env'), mw = require('./middleware'), DataAdapter = require('./lib/data_adapter'), rendrServer = require('rendr').server, rendrMw = require('rendr/server/middleware'), viewEngine = require('rendr/server...
const request = require('request'); const crypto = require('crypto'); const data = require('./data/push-d3-tag.json'); const headers = require('./data/push-request-headers.json'); const secret = 'thisIsSecret'; const sig = crypto.createHmac('sha1', secret).update(JSON.stringify(data)).digest('hex'); headers['X-Hub-Sig...
var should = require('should'), sinon = require('sinon'), Promise = require('bluebird'), mail = require('../../../../server/services/mail'), settingsCache = require('../../../../server/services/settings/cache'), configUtils = require('../../../utils/configUtils'), urlUtils = require('../../../.....
module.exports = require('./config/karma.conf.js')
import { createStore, applyMiddleware, compose } from 'redux'; import { persistState } from 'redux-devtools'; import thunk from 'redux-thunk'; import rootReducer from '../../reducers'; import DevTools from '../../containers/DevTools'; const finalCreateStore = compose( applyMiddleware(thunk), DevTools.instrument(),...
version https://git-lfs.github.com/spec/v1 oid sha256:38f27693583487bac23662aebdd5c5083070a6fb93774cbbd90bbd3054561219 size 3282
/* * CCI */ var log = require('../../core/log'); var Indicator = function(settings) { this.input = 'candle'; this.tp = 0.0; this.result = false; this.hist = []; // needed for mean? this.mean = 0.0; this.size = 0; this.constant = settings.constant; this.maxSize = settings.history; for (var i = 0; i ...
'use strict'; // Test specific configuration // =========================== module.exports = { // MongoDB connection options mongo: { uri: 'mongodb://localhost/sample-test' }, sequelize: { uri: 'sqlite://', options: { logging: false, storage: 'test.sqlite', define: { times...
//>>built define("dojo/_base/declare dojo/_base/array dojo/_base/html dojo/_base/lang dojo/dom-class dojo/dom-style dojo/Stateful dojo/Evented".split(" "),function(f,m,g,n,p,h,k,l,q){return f("dojox.calendar.RendererManager",[k,l],{owner:null,rendererPool:null,rendererList:null,itemToRenderer:null,constructor:function(...
(function(win){ 'use strict' win.myDisplay = { getDeviceWidth : function(){ return win.outerWidth + ' px'; }, getDeviceHeight : function(){ return win.outerHeight + ' px'; }, getDevicePixelRatio : function(){ return win.devicePixelRatio; }, printDisplayInfo : function(method, infoContainer){ ...
exports.models = { User: { id: 'User', required: ['name', 'email', 'username'], properties: { id: { type: 'string', description: 'Unique identifier for the User' }, name: { type: 'string', description: 'Name of the user' }, email: { ty...
import Ember from 'ember'; export default Ember.Mixin.create({ init: function() { this._super(); if(!this.hasAnalytics()) { Ember.Logger.warn('Segment.io is not loaded yet (window.analytics)'); } }, hasAnalytics: function() { return !!(window.analytics && typeof window.analytics === "object...