Last active
August 29, 2015 14:04
-
-
Save baudehlo/62ba051e8f071e374948 to your computer and use it in GitHub Desktop.
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 characters
body | |
//- Your stuff here... | |
//- At the end of your body tag, add this: | |
if (initial_data) | |
script!= 'var _initial_data = ' + JSON.stringify(initial_data) + ';' | |
else | |
script= 'var _initial_data = {};' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment