One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
!!! 5 | |
html(class='no-js') | |
head | |
meta(charset='utf-8') | |
meta(http-equiv='X-UA-Compatible', content='IE=edge') | |
title | |
meta(name='description', content='') | |
meta(name='viewport', content='width=device-width, initial-scale=1') |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Timer Lesson</title> | |
<link rel="stylesheet" href="main.css"> | |
</head> | |
<body> |
Windows Registry Editor Version 5.00 | |
; | |
; Adds 'Open in Atom' to context menu (when you right click) in Windows Explorer. | |
; | |
; Based on https://github.com/Zren/atom-windows-context-menu. It didn't work | |
; https://github.com/Zren/atom-windows-context-menu/issues/1. | |
; | |
; Save this file to disk with a .reg extension. Replace C:\\Atom\\atom.exe with | |
; the path to the atom executable on your machine. |
function mtRand(min, max) { | |
return Math.floor(Math.random() * (max - min + 1)); | |
} |
$(document).mouseup(function (e) { | |
var menu = $('.side-menu'); | |
if (e.target !== menu[0] && !menu.has(e.target).length) { | |
hideSideMenu(); | |
}; | |
}); |
<div id="messenger"></div> |
let isRefreshing = false; | |
let refreshSubscribers = []; | |
const instance = axios.create({ | |
baseURL: Config.API_URL, | |
}); | |
instance.interceptors.response.use(response => { | |
return response; | |
}, error => { |
// create creep | |
Game.spawns['Spawn1'].spawnCreep( [WORK, CARRY, MOVE], 'Harvester1' ); | |
Game.spawns['Spawn1'].spawnCreep( [WORK, CARRY, MOVE], 'Upgrader1' ); | |
Game.spawns['Spawn1'].spawnCreep( [WORK, CARRY, MOVE], 'Builder1', | |
{ memory: { role: 'builder' } } ); | |
// creeps memories | |
Game.creeps['Harvester1'].memory.role = 'harvester'; | |
Game.creeps['Upgrader1'].memory.role = 'upgrader'; |