Created
December 2, 2015 12:59
-
-
Save alexbaulch/ce6b87146fdae912d5e9 to your computer and use it in GitHub Desktop.
Return a JSON.stringify of the object you parse in.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Created by abaulch on 02/12/15. | |
*/ | |
Handlebars.registerHelper('json', function(obj) { | |
return JSON.stringify(obj); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment