code
stringlengths
2
1.05M
'use babel' export default function destroySession(self, sharedSession) { // Checks if shared session in the stack let shareStackIndex = self.shareStack.indexOf(sharedSession) if (shareStackIndex !== -1) { // Removes share session from the stack and updates UI self.shareStack.splice(shareStackIndex, 1) ...
version https://git-lfs.github.com/spec/v1 oid sha256:7998c9520ed14ac4fc2dcf6956c1dcbd36b02d6dfe63b0e4ec15a1635b951e08 size 4403
version https://git-lfs.github.com/spec/v1 oid sha256:6f71532f9445b6d65fbaecee3fa6944aa804f3a8f7364028a6d8c71261adc0e5 size 3643
version https://git-lfs.github.com/spec/v1 oid sha256:b519d8c53881da3ce32f92a5c9f583c67d563ea9d7c5cacd3bf2503726443654 size 3420
/*! 一叶孤舟 | qq:28701884 | 欢迎指教 */ var bill = bill || {}; //初始化 bill.init = function (){ if (com.store){ clearInterval(bill.timer); bill.setBillList(com.arr2Clone(com.initMap)); //写入棋谱列表 play.isPlay=false; com.show(); }else { bill.timer = setInterval("bill.init()",300); } } //把所有棋谱写入棋谱列表 bill.setBillL...
"use strict"; var now = Date.now; var CircleQueue = require("../../misc/CircleQueue.js"); function TransCommandQueue(mainQueue, object) { CircleQueue.call(this); this.object = object; this.mainQueue = mainQueue; } TransCommandQueue.prototype = { __name__ : "TransCommandQueue", "__proto__" : CircleQueue.prototy...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _getPrototypeOf = require('babel-runtime/core-js/object/get-prototype-of'); var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf); var _classCallCheck2 = require('babel-runtime/helpers/classCallCheck'); var _classCallCheck3...
module.exports = { // meta /** * The banner is the comment that is placed at the top of our compiled * source files. It is first processed as a Grunt template, where the `<%=` * pairs are evaluated based on this very configuration object. */ banner: '/**\n' + ' * <%= pkg.name %> - v<...
function DashboardController($scope, $state, $stateParams, dashboardFactory) { var dc = this; dc.playerStats = {}; dc.itemForAuction = {}; dc.auctionStarted = false; // Called on page load to retrieve player data dashboardFactory.getData(dashboardFactory.getName()).then(function(response) { ...
export default class Paths { /* url, path, relative path... anything */ static normalizePath(path, base, root=lively4url) { base = base.replace(/[^/]*$/,"") // if it is not a dir var normalized = path if (path.match(/^[A-Za-z]+:/)) { // do nothing } else if (path.match(/^\//)) { nor...
/** * Copyright (c) 2014 brian@bevey.org * * 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, modify, merge, pu...
import {stats} from './stats.js'; import {core} from './core.js'; import {tasks} from './tasks.js'; const scenesRenderInfo = {}; // Used for throttling FPS for each Scene const tickEvent = { sceneId: null, time: null, startTime: null, prevTime: null, deltaTime: null }; const taskBudget = 10; // M...
import BaseStatementNode from './BaseStatementNode'; import * as symbols from '../symbols'; export default class BaseBlockNode extends BaseStatementNode { packBlock(bitstr, propName) { var prop = this[propName] if (!prop) { bitstr.writebits(0, 1); return; } ...
"use strict"; //////////////////////////////////////////////////////////////////////////////// // ニコニコ動画再生 //////////////////////////////////////////////////////////////////////////////// Contents.nicovideo = function( cp ) { var p = $( '#' + cp.id ); var cont = p.find( 'div.contents' ); cp.SetIcon( null ); ////...
var prependChar = '#'; var util = require('util'); function convertToLines(str) { return str.split('\n').map(function(newStr) { return prependChar + newStr; }); } var newConsole = { log : function log() { convertToLines(util.format.apply(this, arguments)).forEach(function(line) { console.log(line)...
var page = require('page'), csp = require('js-csp'); class Router { constructor(routes){ this.routes = routes; this.chan = csp.chan(); this.nextTransition = null; this.nextEl = null; // Setup channel listening for(var r in routes) this.listenToRoute(r);...
//= require phaser
$(function() { function cellValue(val) { return { sortValue: val, displayValue: val.toString() }; } var yAxis = [{ id: 'store', name: 'Store' }, { id: 'clerk', name: 'Clerk' }]; var keyfigures = [{ id: 'nocustomers', name: 'Customers' }, { id: 'turnover', name: 'Turnover' }]; // normally ...
var socketio = require('socket.io'), dotProp = require('dot-prop'); /** * Constructs a Socket. * Socket manager powered by Socket.IO. * * @constructor */ function Socket(){ this.port = null; this.io = null; this.scope = {}; } Socket.prototype.start = function () { var self = this; var settings...
import TestUtils from 'react-dom/test-utils'; import React from 'react'; import ReactDOM from 'react-dom'; import Textarea from '../'; const { findRenderedDOMComponentWithClass, renderIntoDocument, Simulate } = TestUtils; function fake() { return () => { return 'fake function'; } } describe('The inp...
System.register([], function (_export, _context) { "use strict"; _export("default", function () { return 'test'; }); return { setters: [], execute: function () {} }; });
var arrayOfInts = [1, 10, -5, 1, -100]; function maxProduct(arr) { var smallest = 0; var almostSmallest = 0; var largest = 0; var second = 0; var third = 0; for(var i = 0; i < arr.length; i++ ) { if(arr[i] > largest){ third = second second = largest largest ...
export default function isJavascript(scriptTag) { // TODO: add a console warning if the script tag doesn't have an attribute? // seems like it's required for some parts of ember consumption let type = scriptTag.attributes.type ? scriptTag.attributes.type.value : 'text/javascript'; return /(?:application|text)\/...
'use strict'; function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } } (function () { function pushComponent(array, component) { if (!array) { array = []; } a...
(function(){ angular.module('nbTodos') .component('todoEditor', { templateUrl: '/app/todos/todo-editor/todo-editor.component.html', controller: TodoEditorController, controllerAs: 'vm' }); TodoEditorController.$inject = ['todosStore']; function TodoEditorController(todosStore) { th...
import { UPDATE_BOMB_LOCATIONS, REMOVE_PLAYER_BOMBS } from './constants' const initialState = { } //the bombs are stored in an 'allBombs' object within the state, that has keys of the user's socket ID, each with a property of an array of that user's bomb objects export const bombs = (state = initialState, action) => ...
$('.counter').countTo({ formatter: function (value, options) { return value.toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, '$1,').slice(0,-3); } }); function updateCount(to) { $('.counter').countTo({ from: parseInt($('.counter').html().replace(/,/g, '')), to: to, formatter: funct...
// LOL import leftPad from 'left-pad'; export function stringToVec(string) { // TODO: Handle #rgb form. We may want to use rgb(r, g, b) form, but // it's not necessary. if (string == null) return new Float32Array(3); let r = parseInt(string.slice(1, 3), 16); let g = parseInt(string.slice(3, 5), 16); let b ...
'use strict'; /** * Rounds a number to decimal places * * @param {number} number to be rounded * @param {integer} the number of place to round to * @param {String} the rounding method to be used * @returns {number} the number rounded to places */ function roundto(value, places, roundMethod) { var rtn = 0; va...
'use strict' const defaultAPIURL = 'https://api.runmycode.online/run' const $ = s => document.querySelector(s) const $$ = s => document.querySelectorAll(s) const editBtn = $('#edit') const error = $('#error') const apiUrl = $('#api-url') const apiKey = $('#api-key') const saveBtn = $('#save') const inputs = Array.from...
import React, { Component } from 'react' import { Layout, Wrapper, Spacer } from './components/Styles' /*eslint-disable*/ import IconTest from './IconTest' import { ButtonTest, ButtonTest2 } from './ButtonTest' /*eslint-enable*/ class App extends Component { render() { return ( <div> ...
"use strict"; const forOwn = require('mout/object/forOwn'); const split = new RegExp("\\s*(.+?)(?:=\\s*(?:\"([^\"]*)\"|'([^']*)'|(.*?)))?\\s*(;|$)", "g"); var parse = function(str) { var res; var out = {}; while((res = split.exec(str))) out[res[1]] = res[2] || res[3] || res[4] || null; return out; }; p...
var through = require('through2'); var should = require('should'); var dat = require('dat'); var File = require('vinyl'); var bops = require('bops'); var vdat = require('..'); describe('dest stream', function () { var destPath = 'test/data/test-dest'; beforeEach(function (done) { var db = dat(destPath, fun...
define([], function() { Path.map("#!/products").to(function(){ }).enter(function() { require([ 'tpl!template/products.html', 'tpl!template/username.html', 'tpl!template/product-tpl.html', 'bootstrap', 'bootstrapHover', 'utils' ], function(tpl, userTpl, productTpl) { pageStart(tpl, userTpl); function ...
/** * aria support for slide * @author yiminghe@gmail.com */ KISSY.add("switchable-ext/slide/aria", function (S, DOM, Event, Switchable) { // var KEY_PAGEUP = 33; // var KEY_PAGEDOWN = 34; // var KEY_END = 35; // var KEY_HOME = 36; var KEY_LEFT = 37; var KEY_UP = 38; var KEY_RIGHT = 39;...
if (!Number.isInteger) { Number.isInteger = function(value) { return typeof value === 'number' && isFinite(value) && Math.floor(value) === value; }; }
import Immutable from 'immutable'; export const currentUser = Immutable.fromJS({ value: { _id: 'user/0', _rev: '55781764180', _key: '0', entityId: 'entities/0', }, }); export const entitiesWithoutAttribute = Immutable.fromJS({ value: { 'entities/0': { _id: 'entities/0', _rev: '55...
import Vue from 'vue'; import socket from './sockets'; export default () => new Vue({ el: '#test_donation', data: { name: '', displayName: '', amount: 0 }, methods: { clear: function(){ this.name = ''; this.displayName = ''; this.amount = 0; }, display: function(){ ...
// Given a collection of intervals, merge all overlapping intervals. // For example, // Given [1,3],[2,6],[8,10],[15,18], // return [1,6],[8,10],[15,18]. /** * Definition for an interval. * function Interval(start, end) { * this.start = start; * this.end = end; * } */ /** * @param {Interval[]} inter...
(function () { 'use strict'; angular .module('tables') .config(routeConfig); routeConfig.$inject = ['$stateProvider']; function routeConfig($stateProvider) { $stateProvider .state('tables', { abstract: true, url: '/tables', template: '<ui-view/>' }) .stat...
import * as types from '../constants/actionTypes'; const initialState = { startTime: 0, endTime: null }; export default function counter(state = initialState, action) { switch (action.type) { case types.SET_PLAY_TIME: return { startTime: action.startTime, endTime: action.endTime ...
/** * @module og/bv/Sphere */ 'use strict'; import { Vec3 } from '../math/Vec3.js'; /** * Bounding sphere class. * @class * @param {Number} [radius] - Bounding sphere radius. * @param {og.Vec3} [center] - Bounding sphere coordiantes. */ class Sphere { constructor(radius, center) { ...
/** * @ngdoc object * @name ui.router.state.$stateProvider * * @requires ui.router.router.$urlRouterProvider * @requires ui.router.util.$urlMatcherFactoryProvider * * @description * The new `$stateProvider` works similar to Angular's v1 router, but it focuses purely * on state. * * A state corresponds to a "...
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import * as postsActions from 'redux/modules/posts'; import { asyncConnect } from 'redux-connect'; import { connect } from 'react-redux'; import { push } from 'react-router-redux'; import ListPosts from '../Posts/ListPosts'; @asyncConnect([...
import React from 'react'; function Home(props) { return ( <div id='react-home'> <h1>BC</h1> <h2>FreeCodeCamp Projects using React</h2> </div> ); } export default Home
import axios from 'axios' export const setAuthorization = token => { if (token) { axios.defaults.headers.common['Authorization'] = `Bearer ${token}` } else { delete axios.defaults.headers.common['Authorization'] } }
/* * Populate DB with sample data on server start * to disable, edit config/environment/index.js, and set `seedDB: false` */ 'use strict'; var mongoose = require('mongoose'); var ObjectId = mongoose.Schema.Types.ObjectId; var env = process.env.NODE_ENV || 'development'; var User = require('../api/user/user.model'...
/* global describe, test, expect, jest */ import React from "react"; import { mount } from "enzyme"; import Form from "../Form"; describe("HOC (WithWrapper)", () => { test("[handleOnKeyup] should reset the error state", () => { const onKeyUp = jest.fn(); const comp = mount( <Form.Input onChange={spy} v...
import { Blaze } from 'meteor/blaze'; /** * A global Blaze UI helper to capitalizes the first letter of an input String * * Credit to: * * http://stackoverflow.com/questions/1026069/capitalize-the-first-letter-of-string-in-javascript */ Blaze.registerHelper('capitalizeFirstLetter', function (context) { if (!...
/* global require, describe, it */ 'use strict'; // MODULES // var // Expectation library: chai = require( 'chai' ), // Matrix data structure: matrix = require( 'dstructs-matrix' ), // Validate a value is NaN: isnan = require( 'validate.io-nan' ), // Cast typed arrays to a different data type cast = require...
// ==UserScript== // @name Custom Message Tones // @namespace pxgamer // @version 0.5 // @description Adds options to load in custom tones when a message is received. // @author pxgamer // @include *kat.cr/* // @grant none // ==/UserScript== (function() { var AUDIO_FILE = ""; ...
'use strict'; export default class MainController { /*@ngInject*/ constructor($scope, Auth) { $scope.loggedIn = false; $scope.isStudent = false; $scope.isInstructor = false; Auth.getCurrentUser((user) => { $scope.user = user; $scope.loggedIn = Auth.isLoggedInSync(); if ($scope.log...
VideoPlayer = function(ctx) { this.autoplay = ctx.autoplay || true; this.video = document.getElementById('bgvid'); this.video.src = ctx.file; if(this.autoplay) { this.video.play(); } } VideoPlayer.prototype.stop = function(){ this.video.pause(); this.video.currentTime = 0; this.video.src = ''; } ...
/* * file.js: Transport for outputting to a local log file * * (C) 2010 Charlie Robbins * MIT LICENCE * */ var events = require('events'), fs = require('fs'), path = require('path'), util = require('util'), colors = require('colors'), common = require('../common'), Transport = require('./...
/* JMG (Javascript Mini GUI) (c) Roberto Lopez <jmg.contact.box *at* gmail.com> The MIT License (MIT) 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...
require('newrelic'); var express = require('express'); var app = express(); var http = require("http"); app.use(express.static(__dirname)); module.exports = app; var server = app.listen(process.env.PORT || 3000, function() { console.log('express server listening on port ' + server.address().port); }); setInterva...
! function() { "use strict"; angular.module("multiselect-searchtree", []) } (), function() { "use strict"; var a = angular.module("multiselect-searchtree"); a.controller("multiSelectTreeCtrl", ["$scope", "$document", function(a, b) { function d() { e(), a.$apply()...
module.exports = function(grunt) { grunt.config.set('sass', { options: { loadPath: 'src/styles' }, dev: { files: { 'build/dist/styles.css': 'build/tmp/styles.scss' } }, prod: { files: { 'build/dis...
const express = require('express') const path = require('path') const logger = require('morgan') const cookieParser = require('cookie-parser') const bodyParser = require('body-parser') const index = require('./routes/index') const app = express() // view engine setup app.engine('html', require('ejs').renderFile) ap...
import Storyview from './Story' export default { path: '/stories/:storyid', component: Storyview }
'use strict'; // ============================== // ABSTRACT PC BUILDER // ============================== var Workforce = function () { if (this.constructor === Workforce) { throw new Error("You cannot instantiate an abstract class!"); } }; Workforce.prototype.assemblePC = function () { throw new ...
var task = function(request, callback, configuration){ var template = "helloParamterized.ejs"; var AWS = configuration.aws; var S3 = new AWS.S3(); callback(null, {template: template, params:{info:"Hello World from code!"}}); } exports.action = task;
'use strict'; const MongoClient = require('mongodb').MongoClient; module.exports = class Events { constructor() { this.database = null; this.collections = {}; } getDatabase(callback) { if (this.database) { callback(this.database); } else { MongoClient.connect('mongodb://writer:write...
module.exports = require('./../make')({ build: true });
import * as $ from './utilities'; export default { start(event) { const self = this; const e = $.getEvent(event); const target = e.target; if (target.tagName.toLowerCase() === 'img') { self.target = target; self.show(); } }, click(event) { const self = this; const e = $....
var playersController = exports; exports.constructor = function playersController(){}; var _ = require('lodash'); var players = require('../sonos/players'); playersController.list = function(req, res, next) { players.client.find(function(err, players) { if (err) { return next(err); } res.send(pl...
'use strict'; const setAction = (creep) => { if (creep.memory.action && creep.carry.energy === 0 || creep.memory.role === 'attacker' || creep.memory.role === 'healer'){ creep.memory.action = false; } if (!creep.memory.action && creep.carry.energy === creep.carryCapacity){ creep.memory.action = true; } ...
var gulp = require('gulp'); var jade = require('gulp-jade'); var config = require('../../config'); gulp.task('samples:jade', function () { gulp.src(config.samples.jade.src) .pipe(jade({})) .pipe(gulp.dest(config.samples.html.dest)); });
var parseString = require('xml2js').parseString; // The body of the response from each of our api requests can either be xml or json // if body is json, simply return the json // else body is xml, so asynchronously parse the xml and wait for the result // This function returns a promise for the json value var getJsonF...
'use strict'; var url = require('url'); var zlib = require('zlib'); var _ = require('./helpers'); module.exports = function(options, callback){ var callbackDone = false, httpProtocol = options.url.indexOf('https') === 0 ? 'https' : 'http', requestData = url.parse(options.url), method = (options....
import { Logging, Controller, Component, Evented } from "ng-harmony-decorator"; import { EventedController } from "ng-harmony-controller"; import CustomersFormTpl from "./customer_form.pug"; import "./customer_form.sass"; import Config from "../../../../assets/data/config.global.json"; @Component({ module: "webtre...
handlers.getRegister = function (ctx) { ctx.loadPartials({ header: '../views/common/header.hbs', footer: '../views/common/footer.hbs' }).then(function () { this.partial('../views/user/register.hbs'); }); } handlers.getLogin = function (ctx) { ctx.loadPartials({ header: '../views/common/header.h...
module.exports = class BackstopException { constructor (msg, scenario, viewport, originalError) { this.msg = msg; this.scenario = scenario; this.viewport = viewport; this.originalError = originalError; } toString () { return 'BackstopException: ' + this.scenario.label + ' on ' + t...
import React from "react"; import Griddle from 'griddle-react'; import styles from "./style.css"; import restCalls from '../../utils/restCalls'; import { browserHistory } from 'react-router'; import AddNewCaseModal from '../../common/components/CaseModal'; import ViewCaseModal from '../../common/components/ViewCaseModa...
Router.route('/users', { name: 'menu.users', template: 'users', parent: 'menu', title: 'Users', });
export default function isNull(x) { return x === null; }
(function() { 'use strict'; angular .module('app.home') .controller('Home', Home); Home.$inject = ['$scope', 'template']; function Home($scope, template) { var vm = this; activate(); function activate() { console.log('Activating Home Controller'); template.get('app/home/language...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _Sdk = require('./Sdk'); var _Sdk2 = _interopRequireDefault(_Sdk); var _global = require('./global'); var _global2 = _interopRequireDefault(_global); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { def...
import {VType, validateEventFactory, BaseEvent} from '../../common/events' import oncePerServices from '../../common/services/oncePerServices' export default oncePerServices(function defineEvents({bus = missingService('bus')}) { bus.registerEvent([ { kind: 'event', type: 'connector.telegram.started'...
function bomOverload() { if(settings.verbose) console.log("RubberGlove: Creating PluginArray"); function PluginArray() { // native(PluginArray) if(window.navigator.plugins.constructor === PluginArray) throw new TypeError("Illegal constructor"); if(settings.verbose) console.log("RubberGlove: Creating ...
module.exports = { Errors: { WrongAccount: "wrong-acount", }, set: (req, error_type) => (req.appSession.flashError = error_type), clear: (req) => { if (!req.appSession.flashError) return; const error_type = req.appSession.flashError; delete req.appSession.flashError; return error_type; }, ...
/*jshint node:true, mocha:true*/ /** * Generated by PluginGenerator 0.14.0 from webgme on Wed Feb 24 2016 10:25:35 GMT-0600 (Central Standard Time). */ 'use strict'; var testFixture = require('../../globals'); describe('SysMLImporter', function () { var gmeConfig = testFixture.getGmeConfig(), expect = t...
module.exports = { /*"installedPackages":{ "xmlName":"InstalledPackage", "children":{ } },*/ "labels":{ "xmlName":"CustomLabels", "children":{ "CustomLabels":"CustomLabel" } }, "staticresources":{ "xmlName":"StaticResource", "children":...
import Ember from "ember"; var oneWay = Ember.computed.oneWay, equal = Ember.computed.equal; export default Ember.Controller.extend({ needs: ['mixin-stack', 'mixin-details'], emberApplication: false, navWidth: 180, inspectorWidth: 360, mixinStack: oneWay('controllers.mixin-stack').readOnly(), mixinDe...
/* eslint-env mocha */ /* globals expect */ import { getCredentials, api, request, credentials } from '../../data/api-data.js'; import { password } from '../../data/user'; import { closeRoom, createRoom } from '../../data/rooms.helper'; import { updatePermission } from '../../data/permissions.helper'; describe('[Room...
// Second function function mySecondFunction(number1, number2){ return number1 + number2; }
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M17 4.14V2h-3v2h-4V2H7v2.14c-1.72.45-3 2-3 3.86v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V8c0-1.86-1.28-3.41-3-3.86zM18 20H6V8c0-1.1.9-2 2-2h8c1.1 0 2 .9 2 2v12zm-1.5-8v4h-2v-2h-7v-2h9z" /> , 'BackpackO...
Class('TemplatesModel', { views: { empty: { name: 'empty', label: 'Empty' }, ListView: { name: 'ListView', label: 'List View', subviews: ['ListItemView'] } } });
const filter = require('./filter') module.exports = (collection, test, callback) => { return filter(collection, function(value, index, collection) { return !test(value, index, collection) }, callback) }
window.ww = window.innerWidth ? window.innerWidth: $(window).width(); window.wh = window.innerHeight ? window.innerHeight: $(window).height(); $(window).on('resize', function(){ window.ww = window.innerWidth ? window.innerWidth: $(window).width(); window.wh = window.innerHeight ? window.innerHeight: $(window)....
/** * DOM manipulation methods */ Firestorm.DOM = { /** * When turning HTML into nodes - it must be inserted into appropriate tags to stay valid */ _wrap_map: { select: [1, "<select multiple='multiple'>", "</select>"], fieldset: [1, "<fieldset>", "</fieldset>"], table: [1, "<table>", "</table>"], tbody...
const express = require('express'); const libxmljs = require('libxmljs'); express().get('/some/path', function(req) { // OK: libxml does not expand entities by default libxmljs.parseXml(req.param("some-xml")); });
/** * @author mrdoob / http://mrdoob.com/ * based on http://papervision3d.googlecode.com/svn/trunk/as3/trunk/src/org/papervision3d/objects/primitives/Plane.as */ THREE.OAMesh = function ( geometry, material ) { THREE.Mesh.call( this, geometry, material ); this.oa = { type: "", depth: 0 }...
/** * @class Li */ /** * DOM utility methods */ (function (factory) { if (typeof define === "function" && define.amd) { define(['./lithium', 'jquery'], factory); } else if (typeof exports === 'object') { //For NodeJS module.exports = factory(require('./lithium'), require('jquery-node')); ...
var React = require('react'); var Firebase = require('firebase'); var Game = require('../../game.js'); var FirebaseIntegration = require('../../firebase-integration'); var GameContainer = require('../game-container/game-container'); //var gameListRef = new Firebase("https://blazing-inferno-190.firebaseio.com/-JqBmJEqK...
"use strict"; var responsive_window_1 = require("./responsive-window"); exports.ResponsiveWindow = responsive_window_1.ResponsiveWindow; exports.RESPONSIVEWINDOW_DIRECTIVE = [ responsive_window_1.ResponsiveWindow ]; //# sourceMappingURL=index.js.map
import {keccak256, bufferToHex} from "ethereumjs-util" import MerkleTree from "../../utils/merkleTree" import Fixture from "./helpers/Fixture" import {web3, ethers} from "hardhat" import chai, {expect, assert} from "chai" import {solidity} from "ethereum-waffle" chai.use(solidity) describe("MerkleSnapshot", () => { ...
export { default } from "./../../_gen/openfl/events/IOErrorEvent";
/* Threesixty.prototype.getRow = function(index){ var perRow = this.perRow; var rowsCount = Math.round(this.source.length/perRow); var result = []; if(index<rowsCount-1){ result = this.source.slice(index*perRow, (index*perRow)+perRow); } return result; } */
'use strict'; // Setting up route angular.module('prints').config(['$stateProvider', function($stateProvider) { $stateProvider. state('listPrints', { url: '/prints', templateUrl: 'modules/prints/views/print-client-list.html' }); } ]);