Bring back fallback scenario in Point#initialize().

This commit is contained in:
Jürg Lehni 2012-10-15 17:13:20 -07:00
parent db93544e8c
commit 6f2ff18fa1

View file

@ -149,6 +149,8 @@ var Point = this.Point = Base.extend(/** @lends Point# */{
this.x = arg0.length;
this.y = 0;
this.setAngle(arg0.angle);
} else {
this.x = this.y = 0;
}
},