title: Precompiled handlebars template not working
body: <p>I precompiled my handlebars template like this:</p>
  
  <pre><code> handlebars tabs.hbs -f tabs.js
  </code></pre>
  
  <p>I load them like this:</p>
  
  <pre><code> &lt;script type="text/javascript" src="js/handlebars.runtime.min.js"&gt;&lt;/script&gt;
   &lt;script type="text/javascript" src="js/templates/tabs.js"&gt;&lt;/script&gt;
   &lt;script type="text/javascript" src="js/tabsData.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>This is how I provide the context to the precompiled template:</p>
  
  <pre><code>var template=Handlebars.templates["tabs.hbs"];
  var html=template(tabsData);
  console.log(html)
  sidebar.setContent(html);
  </code></pre>
  
  <p>I get this error:</p>
  
  <pre><code>Uncaught TypeError: undefined is not a function    handlebars.runtime.js 436
   /*Error points here*/
   var result = templateSpec.call(
          container,
          namespace, context,
          helpers,
          partials,
          options.data);
  </code></pre>
  
  <p>This is <code>template</code>:</p>
  
  <pre><code>  function (context, options) {
    options = options || {};
    var namespace = options.partial ? options : env,
        helpers,
        partials;
  
    if (!options.partial) {
      helpers = options.helpers;
      partials = options.partials;
    }
    var result = templateSpec.call(
          container,
          namespace, context,
          helpers,
          partials,
          options.data);
  
    if (!options.partial) {
      env.VM.checkRevision(container.compilerInfo);
    }
  
    return result;
  } 
  </code></pre>