mirror of
https://github.com/flynx/serialize.js.git
synced 2026-07-10 11:10:57 +00:00
cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
72e597d667
commit
de0e48eceb
@ -37,7 +37,8 @@ var RECURSIVE = '<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){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user