title: Using jsRender instead of jquery template plugin
body: <p>I'm using jQuery 1.9+ and I want to use jsRender instead of jQuery template, since it's deprecated and I can't use in my application.</p>
  
  <p>I've seen couple of examples on <a href="https://github.com/BorisMoore/jsrender" rel="nofollow">https://github.com/BorisMoore/jsrender</a>, escpecially the first example.
  Its code is in a html file, and it is used by a html file, but what I want to do it in a seperate javascript file. I want to do this, because I have a pretty big application and I store the jquery/javascript function inside a js file.</p>
  
  <p>So I would like to modify this code:</p>
  
  <pre><code>    &lt;script id="movieTemplate" type="text/x-jsrender"&gt;
          &lt;div&gt;
                  {{:#index+1}}: &lt;b&gt;{{&gt;name}}&lt;/b&gt; ({{&gt;releaseYear}})
          &lt;/div&gt;
  &lt;/script&gt;
  
  &lt;div id="movieList"&gt;&lt;/div&gt;
  
  &lt;script type="text/javascript"&gt;
  
          var movies = [
                  { name: "The Red Violin", releaseYear: "1998" },
                  { name: "Eyes Wide Shut", releaseYear: "1999" },
                  { name: "The Inheritance", releaseYear: "1976" }
          ];
  
  
          $( "#movieList" ).html(
                  $( "#movieTemplate" ).render( movies )
          );
  
  &lt;/script&gt;
  </code></pre>
  
  <p>How should I modify this code to use it in a js file? Or is there any template engine what I could use instead of jQuery template plugin?</p>
  
  <p>Thanks the help in advance!</p>