Idiomatic JavaScript

Also remove executable bit from LICENSE.
This commit is contained in:
Mark Vasilkov 2013-03-22 16:15:27 +02:00
parent 9838176a49
commit cf00e200c7
6 changed files with 14 additions and 14 deletions

View file

@ -16,14 +16,14 @@ PIXI.Point = function(x, y)
* @type Number
* @default 0
*/
this.x = x ? x : 0;
this.x = x || 0;
/**
* @property y
* @type Number
* @default 0
*/
this.y = y ? y : 0;
this.y = y || 0;
}
/**