Created
February 16, 2016 23:13
-
-
Save radjivF/c83c1159802376fddcca to your computer and use it in GitHub Desktop.
Revisions
-
radjivF created this gist
Feb 16, 2016 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ handlebars.registerHelper 'json', (context) -> JSON.stringify context handlebars.registerHelper 'debug', (value) -> console.log 'Current Context' console.log '====================' console.log this if value console.log 'Value' console.log '====================' console.log value return