mirror of
https://github.com/sbrl/Nibriboard.git
synced 2018-01-10 21:33:49 +00:00
Bugfix Rectangle.js
This commit is contained in:
parent
cfbb0ec2f1
commit
38993fc4cb
2 changed files with 5 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue