Replaced polyfills with real implementations
This commit is contained in:
@@ -555,10 +555,4 @@ fn generateSnapshotAt(x: int, y: int) {
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
//polyfill
|
||||
fn sign(x) {
|
||||
if (x > 0) return 1;
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user