title: Jquery template isn't working with 'each'
body: <p>My source code is here:</p>
  
  <p><a href="http://jsfiddle.net/2pkHL/" rel="nofollow">http://jsfiddle.net/2pkHL/</a></p>
  
  <p>I can't figure out why it doesn't render correctly. Also, is there a way without nesting the data inside another object?</p>
  
  <pre><code>&lt;script id='myTemplate' type='text/x-jquery-tmpl'&gt;
  
  Table of stuffs:
  
  &lt;table&gt;
  {{each value}}
  &lt;tr&gt;
      &lt;td&gt;${name}&lt;/td&gt;
      &lt;td&gt;${value}&lt;/td&gt;
  &lt;/tr&gt;
  {{/each}}
  
  &lt;/table&gt;
  
  
  &lt;/script&gt;
  
  
  &lt;div id="target"&gt;
  
  &lt;/div&gt;
  
  
  
  var something = function () { };
  
  var results = [{ name: 'First', value: 1 }, { name: 'Second', value: 2 }];
  
  something.value = results;
  
  $('#myTemplate').tmpl(something).appendTo('#target');
  </code></pre>