Remove comment about having Point.read() return consumed arguments indices, as after analysing the situation it seem too complex to imeplement easly: Point.read internally relies on Point#initialize for all the heavy lifting, and this would have to report back how many indices were consumed somehow...

This commit is contained in:
Jürg Lehni 2011-02-15 22:56:53 +00:00
parent f0d4374dc4
commit 3d64b017c5

View file

@ -90,7 +90,6 @@ Path = PathItem.extend(new function() {
Circle: function() { Circle: function() {
var center, radius; var center, radius;
// TODO: Have Point.read() return consumed index somehow?
if (arguments.length == 3) { if (arguments.length == 3) {
center = new Point(arguments[0], arguments[1]); center = new Point(arguments[0], arguments[1]);
radius = arguments[2]; radius = arguments[2];