1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-03-02 03:39:21 +00:00

Take 3 on the belt performance (+ tslint fixes)

This commit is contained in:
tobspr
2020-06-26 17:02:52 +02:00
parent 9ce912dbdd
commit a71c0b8039
8 changed files with 249 additions and 221 deletions

View File

@@ -19,7 +19,7 @@ export class FormElement {
abstract;
}
focus(parent) {}
focus() {}
isValid() {
return true;

View File

@@ -72,6 +72,7 @@ function objectPolyfills() {
}
if (!Object.entries) {
// @ts-ignore
Object.entries = function entries(O) {
return reduce(
keys(O),

View File

@@ -405,8 +405,6 @@ export function findNiceValue(num) {
return Math_round(niceValue * 100) / 100;
}
window.fn = findNiceValue;
/**
* Finds a nice integer value
* @see findNiceValue