Sha256: 91b09ad00c8f31f2b0c931b8cc9a52f18177fa9b32a15709ac9d883ba3f368de
Contents?: true
Size: 884 Bytes
Versions: 1
Compression:
Stored size: 884 Bytes
Contents
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 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") ) Copyright (c) 2012 Enrico Rubboli, released under the MIT license
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sprockets-jsrender-0.1.2 | README |