Browse files

Consistent global variable name.

  • Loading branch information...
1 parent e943889 commit 87bcd602fd3ed73286edb00cb6da24f59ea5886a @christophercliff committed Feb 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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>

0 comments on commit 87bcd60

Please sign in to comment.