title: Dust.js template rendering with Backbone.LayoutManager
body: <p>Let me elaborate on my setup:
  I have precompiled dust.js templates that I would like to use with Backbone.LayoutManager.  </p>
  
  <p>Backbone.LayoutManager uses the following configuration:</p>
  
  <pre><code>Backbone.LayoutManager.configure
    manage: true
    fetch: (name) -&gt;
      name
  </code></pre>
  
  <p>So the name of the template is passed through fetch straight to render, and I'd like to override render like this:</p>
  
  <pre><code>render: (template, context) -&gt;
    done = @async
    dust.render @template, context, (err, out) -&gt;
      throw err if err
      done(out)
  </code></pre>
  
  <p>But I cannot do this with render (presumably because the LayoutManager author assumed that template rendering would be synch).  </p>
  
  <p>Does anyone know how I could accomplish this?</p>