README in sprockets-jsrender-0.1.2 vs README in sprockets-jsrender-0.1.3

- old
+ new

@@ -1,22 +1,24 @@ Sprockets jsRender/jsViews ========================== This gem adds jsRender/jsViews templates as tilt templates for Sprockets 2 in Rails 3.1. -Thanks -====== -Inpired by sprockets-jquery-tmpl by Ryan Dy (https://github.com/rdy/sprockets-jquery-tmpl) -jsrender and jsviews are created bu Boris Moore (https://github.com/BorisMoore/jsrender) - Installing ========== 1. Add the gem to bundler or install: `gem install sprockets-jsrender` 2. Add to your app/assets/javascripts/application.js the following lines //= require jsrender - //= require jquery.observable - //= require jquery.views + //= require jquery.observable //(optional) + //= require jquery.views //(optional) -Any files in assets/javascripts/jsrender will be automatically added to list of templates using the path from that directory (i.e. assets/javascripts/jsrender/examples/index.jsr will be mapped to $.render("examples/index") ) +Any files in assets/javascripts/jsrender will be automatically added to list of templates using the path from that directory - i.e. assets/javascripts/jsrender/index.jsr will be mapped to $.render ["index"]( obj ) + + +Acknowledgments +=============== +Inspired by sprockets-jquery-tmpl by Ryan Dy (https://github.com/rdy/sprockets-jquery-tmpl) +jsrender and jsviews are created bu Boris Moore (https://github.com/BorisMoore/jsrender) + Copyright (c) 2012 Enrico Rubboli, released under the MIT license