1
0
Fork 0

Bugfix Rectangle.js

This commit is contained in:
Starbeamrainbowlabs 2017-02-23 18:15:18 +00:00
parent cfbb0ec2f1
commit 38993fc4cb
2 changed files with 5 additions and 3 deletions

View File

@ -42,7 +42,7 @@ class Rectangle
* The Y coordinate of the top of the rectangle.
* @returns {Number}
*/
get Top {
get Top() {
return this.y;
}
@ -50,7 +50,7 @@ class Rectangle
* The Y coordinate of the bottom of the rectangle.
* @returns {Number}
*/
get Bottom {
get Bottom() {
return this.y + this.height;
}
@ -93,6 +93,6 @@ class Rectangle
* Don't forget to clone it before editing!
* @type {Rectangle}
*/
Rectangle.Zero = new Rectangle(0, 0, 0, 0);)
Rectangle.Zero = new Rectangle(0, 0, 0, 0);
export default Rectangle;

View File

@ -17,6 +17,8 @@ do
done
error_count=$(cat ${counter_filename});
echo
echo Errors: $error_count
# Uncomment to make npm die if this script doesn't work correctly