mirror of
https://github.com/flynx/serialize.js.git
synced 2026-07-10 19:20:56 +00:00
...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
bf51e04702
commit
623df92487
@ -169,7 +169,6 @@ function(obj, path=[], seen=new Map(), indent, depth=0, options={}){
|
|||||||
|
|
||||||
// long strings...
|
// long strings...
|
||||||
// NOTE: this saves on output size...
|
// NOTE: this saves on output size...
|
||||||
// XXX is this relevant when we can "zip" the results...
|
|
||||||
if(typeof(obj) == 'string'
|
if(typeof(obj) == 'string'
|
||||||
&& obj.length > string_length_ref){
|
&& obj.length > string_length_ref){
|
||||||
seen.set(obj, path) }
|
seen.set(obj, path) }
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user