Novaleaf / xlib

Your isomorphic toolbox
MIT License
20 stars 1 forks source link

stringhelper.summarize() includes embeded quotes around output string #3

Closed jasonswearingen closed 5 years ago

jasonswearingen commented 5 years ago

problem due to JSON.stringify() call on string.

if a string is passed in, avoid the stringify() call.

if a non-string is passed in, use jsonx.stringify()