File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -624,7 +624,7 @@ <h2 id="jst">JavaScript Templates</h2>
624624
625625< pre >
626626JST.license({name : "Moe", birthplace : "Brooklyn", bio : "Moe was always..."});</ pre >
627-
627+
628628 < p >
629629 Since < b > 0.5.0</ b > , templates should be included in the appropriate
630630 < tt > javascripts</ tt > package. Here's an example of an < tt > assets.yml</ tt >
@@ -652,12 +652,14 @@ <h2 id="jst">JavaScript Templates</h2>
652652
653653 < p >
654654 To use < a href ="http://documentcloud.github.com/underscore/ "> Underscore.js</ a >
655- templates, set < b > template_function</ b > to " < b > _.template</ b > " .< br />
655+ templates, set < b > template_function</ b > to < tt > _.template</ tt > .< br />
656656 To use < a href ="http://www.prototypejs.org/ "> Prototype</ a > templates, set
657- it to " < b > new Template</ b > " .< br /> To use
657+ it to < tt > new Template</ tt > .< br /> To use
658658 < a href ="http://github.com/janl/mustache.js "> Mustache.js</ a > templates,
659659 you'll need
660- < a href ="http://gist.github.com/234982 "> a little extra setup</ a > .
660+ < a href ="http://gist.github.com/234982 "> a little extra setup</ a > .< br />
661+ If you'd rather leave your template strings as strings, and compile them later,
662+ set < b > template_function</ b > to < tt > off</ tt > .
661663 </ p >
662664
663665 < p >
You can’t perform that action at this time.
0 commit comments