diff --git a/serialize2.js b/serialize2.js index f64e19b..94d8c4d 100644 --- a/serialize2.js +++ b/serialize2.js @@ -37,7 +37,8 @@ var RECURSIVE = '' // XXX add function support... // XXX need to destinguish between map key and value in path... // XXX BUG: using non-whitespace as indent breaks the depth of the first -// element in sequences -- breaks .trim*() in Map/Set/Object... +// or last elements in sequences +// ...breaks .trim*() in Map/Set/Object... var serialize = module.serialize = function(obj, path=[], seen=new Map(), indent, depth=0){