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:
@@ -19,7 +19,7 @@ export class FormElement {
|
||||
abstract;
|
||||
}
|
||||
|
||||
focus(parent) {}
|
||||
focus() {}
|
||||
|
||||
isValid() {
|
||||
return true;
|
||||
|
||||
@@ -72,6 +72,7 @@ function objectPolyfills() {
|
||||
}
|
||||
|
||||
if (!Object.entries) {
|
||||
// @ts-ignore
|
||||
Object.entries = function entries(O) {
|
||||
return reduce(
|
||||
keys(O),
|
||||
|
||||
@@ -405,8 +405,6 @@ export function findNiceValue(num) {
|
||||
return Math_round(niceValue * 100) / 100;
|
||||
}
|
||||
|
||||
window.fn = findNiceValue;
|
||||
|
||||
/**
|
||||
* Finds a nice integer value
|
||||
* @see findNiceValue
|
||||
|
||||
Reference in New Issue
Block a user