Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Consistent global variable name.

  • Loading branch information...
commit 87bcd602fd3ed73286edb00cb6da24f59ea5886a 1 parent e943889
@christophercliff authored
View
2  src/Website/Views/Documentation/HtmlTemplates_MustacheHoganJS.cshtml
@@ -41,4 +41,4 @@ So a browser only needs to download it once.</p>
<p>Templates will be accessible via the global object. To render a template using Hogan.js using the render method:</p>
-<pre><code>var myHtml = JST['myTemplate'].render(myData);</code></pre>
+<pre><code>var myHtml = templates['myTemplate'].render(myData);</code></pre>
Please sign in to comment.
Something went wrong with that request. Please try again.