title: Sammy mustache - not working (variables in double braces not replaced with values)
body: <p>I'm trying to write my first webapp using sammy and mustache templating. The template doesn't seem to render correctly (variables in double braces are not replaced with values). Here's the relevent part of index.html --</p>
  
  <pre><code>  &lt;script language="javascript" type="text/javascript" src="jquery-1.4.4.min.js"&gt;&lt;/script&gt;
    &lt;script language="javascript" type="text/javascript" src="sammy/sammy.js"&gt;&lt;/script&gt;
    &lt;script language="javascript" type="text/javascript" src="site.js"&gt;&lt;/script&gt;
  
    &lt;a href="#/hello"&gt;Hello&lt;/a&gt;
  
    &lt;div id="container"&gt;
    &lt;/div&gt;
  </code></pre>
  
  <p></p>
  
  <p>And the relevent part of site.js--</p>
  
  <pre><code>$(function () { 
    app.s = $.sammy("#container", function () {
      this.use('Mustache', 'ms');
      // Index of all databases
      this.get('', app.index);
      this.get("#/", app.index);
      this.get("#/hello", function(context) {
          context.name = "Ram";
          context.partial('hello.ms', {name:"Ram"});
      });
    })
    app.s.run();
  });
  </code></pre>
  
  <p>And this is my simple template (hello.ms)--</p>
  
  <pre><code>Hello {{name}}.
  </code></pre>
  
  <p>When I click on the Hello link, it is rendered as</p>
  
  <blockquote>
    <p>Hello {{name}}.</p>
  </blockquote>
  
  <p>what I expect is:  </p>
  
  <blockquote>
    <p>Hello Ram.</p>
  </blockquote>
  
  <p>Any hints what I'm doing wrong here?
  Thanks.</p>
  
  <p>PS. The basic structure is generated using "couchapp boiler myapp"</p>