diff --git a/src/point.js b/src/point.js index 06958d4b..569288c8 100644 --- a/src/point.js +++ b/src/point.js @@ -1,7 +1,7 @@ (function( $ ){ -$.Point=$.Point = function(x, y) { +$.Point = function(x, y) { this.x = typeof (x) == "number" ? x : 0; this.y = typeof (y) == "number" ? y : 0; };