-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add warning for integer overflow in the SymbolInstancesArray (#2966)
* add warning for integer overflow in the SymbolInstancesArray add warning for integer overflow in the SymbolInstancesArray * add MAX_QUADS constant * add integer overflow test * change MAX_QUADS from a prototype property to a constant property, use sinon.spy for testing the warning * use sinon.stub to supress warning output to console * reference SymbolBucket.MAX_QUADS instead of this.MAX_QUADS
- Loading branch information
Showing
2 changed files
with
65 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters