merge master

This commit is contained in:
Olivier Gagnon 2021-09-19 00:59:13 -04:00
commit 652428b164
5 changed files with 283 additions and 17384 deletions

7406
dist/engine.bundle.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

9741
dist/vendor.bundle.js vendored

File diff suppressed because one or more lines are too long

@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>Bitburner - development</title>
<title>Bitburner</title>
<link rel="apple-touch-icon" sizes="180x180" href="dist/apple-touch-icon.png"/>
<link rel="icon" type="image/png" sizes="32x32" href="dist/favicon-32x32.png"/>
<link rel="icon" type="image/png" sizes="16x16" href="dist/favicon-16x16.png"/>

@ -4,9 +4,8 @@ function isNumber(str: string): boolean {
if (typeof str != "string") {
return false;
} // Only process strings
return !isNaN(parseFloat(str));
return !isNaN(str as unknown as number) && !isNaN(parseFloat(str));
}
export function ParseCommands(commands: string): string[] {
// Sanitize input
commands = commands.trim();