Skip to content

Comments

Added an option to 'pretty print' the json output#11

Open
shakyShane wants to merge 1 commit intojsBoot:masterfrom
shakyShane:master
Open

Added an option to 'pretty print' the json output#11
shakyShane wants to merge 1 commit intojsBoot:masterfrom
shakyShane:master

Conversation

@shakyShane
Copy link

Calling JSON.stringify(wp.complete()); limits the output options & this PR would allow the user to specify a number to force 'pretty printing' of JSON.

Although the options param is directly passed to the YUI lib, they don't use the spaces property so I chose to use that, instead of attempting to add a third argument the parser method

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant