title: why the template not load having no error in backbone?
body: <p>i am trying load template  having no error in backbone.js but it is not display the text could you please tell where I am doing wrong ?
  here is my code
  <a href="http://goo.gl/OrGjRZ" rel="nofollow">http://goo.gl/OrGjRZ</a></p>
  
  <pre><code> $(document).ready(function(){
          var ContactManager = new Marionette.Application();
          ContactManager.addRegions({
              mainRegion:"#contend"
          })
  
          ContactManager.on("start", function(){
              console.log("ContactManager has started!");
              var routers = new R({app: ContactManager})
  
          });
  
          ContactManager.start();
  
  
      })
  
  function render(tmpl_name, tmpl_data) {
      if ( !render.tmpl_cache ) {
          render.tmpl_cache = {};
      }
  
      if ( ! render.tmpl_cache[tmpl_name] ) {
          var tmpl_dir = '/root/template';
          var tmpl_url = tmpl_dir + '/' + tmpl_name + '.html';
  
          var tmpl_string;
          $.ajax({
              url: tmpl_url,
              method: 'GET',
              async: false,
              success: function(data) {
                  tmpl_string = data;
              }
          });
  
          render.tmpl_cache[tmpl_name] = _.template(tmpl_string);
      }
  
      return render.tmpl_cache[tmpl_name](tmpl_data);
  }
  </code></pre>
  
  <p><strong>Getting error:Uncaught ReferenceError: render is not defined</strong>
  I already defined the function in my code I don't know why I am getting this error?</p>