Fix Size#isZero().

This commit is contained in:
Jonathan Puckey 2011-08-04 15:06:35 +02:00
parent 24f5188c24
commit a58bbaf6cf

View file

@ -351,7 +351,7 @@ var Size = this.Size = Base.extend(/** @lends Size# */{
* @return {Boolean} {@true both width and height are 0}
*/
isZero: function() {
return this.width == 0 && this.width == 0;
return this.width == 0 && this.height == 0;
},
/**