title: Trouble With Dust.js Logic Helpers
body: <p>I'm working with <em>jQuery 1.8.2</em> &amp; <em>Dust.js v1.1.1</em> for MVC-style templating within a JavaScript app. When I use the <code>{@gt}</code> logic helper I receive the following console error:</p>
  
  <pre><code>Uncaught TypeError: Cannot read property 'gt' of undefined
  </code></pre>
  
  <p>I believe the proper syntax is used in my template:</p>
  
  <pre><code>&lt;ul class="listview"&gt;
  {#seasons}
      &lt;li&gt;
          &lt;h3&gt;{name}&lt;/h3&gt;
          &lt;p class="desc"&gt;{id}&lt;/p&gt;
          {@gt key="months" value="0"}
          &lt;span class="count"&gt;{months}&lt;/span&gt;
          {/gt}
      &lt;/li&gt;
  {/seasons}
  &lt;/ul&gt;&lt;!--// end .listview --&gt;
  </code></pre>
  
  <p>Here's the JSON structure:</p>
  
  <pre><code>{
      "seasons":[
          {
              "name":"Spring",
              "id":"weklv7",
              "months": 8
          },
          {
              "name":"Summer",
              "id":"lvuec5",
              "months": 4
          }
      ]
  }
  </code></pre>
  
  <p>If I remove the <code>{@gt}</code> logic helper from the template, the error disappears and the template is loaded correctly as HTML. For example:</p>
  
  <pre><code>&lt;ul class="listview"&gt;
  {#seasons}
      &lt;li&gt;
          &lt;h3&gt;{name}&lt;/h3&gt;
          &lt;p class="desc"&gt;{id}&lt;/p&gt;
          &lt;span class="count"&gt;{months}&lt;/span&gt;
      &lt;/li&gt;
  {/seasons}
  &lt;/ul&gt;&lt;!--// end .listview --&gt;
  </code></pre>
  
  <p>Any help is much appreciated, thanks!</p>