title: Meteors "Template" is undefined in ie8, ie9
body: <p>I'm debugging a problem with my Meteor application, when using IE8, IE9.
  When using Chrome or Safari i haven't this problem:
  In Ie errors: </p>
  
  <h2>   "Template" is undefined.</h2>
  
  <h2>   "Meteor" is undefined.</h2>
  
  <p>If i wrap all templates from my files in 'if': 
      if (Meteor.isClient) {my Template code}; 
  or if it is server code:
      if (Meteor.isServer) {my Template code}; 
  It work in ie9, but not in ie8. 
  I think Meteor create my templates in it's template, such as:</p>
  
  <p>my code:
      if (Meteor.isClient) {
          Template.default.rendered = function () {
              $(window).resize(function () {
                 myFunction();
              });
          }
      }</p>
  
  <p>Meteor wrap my template and in ie8 i can see my template and this:</p>
  
  <pre><code>(function () {
  Template.__define__("default", (function () {
      var self = this;
      var template = this;
      return [ Spacebars.include(self.lookupTemplate("navbar")), "\n\n    ", HTML.DIV({
          "class": "content-wrapper"
      }, "\n        ", HTML.DIV({
          "class": "container"
      }, "\n\n            ", Spacebars.include(self.lookupTemplate("yield")), "\n\n         "), "\n    "), "\n\n    ", Spacebars.include(self.lookupTemplate("footer")) ];
      }));
  })();
  </code></pre>
  
  <p>In application use libraries iron-router, nvd3js, bootstrap-3. may be it is their errors, but a think it is Meteors error. I'm use Meteor 0.8.0.
  If my meteor application can work with ie8-9 - please, say me! And if you can - say how?  I'm will be very thankful!</p>