Skip to content
Sprockets tilt support for jQuery templates with Rails 3.1 new asset pipeline
Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
.gitignore
.rvmrc
Gemfile
README
Rakefile
sprockets-jquery-tmpl.gemspec

README

Sprockets jQuery Tmpl
=====================

This gem adds jQuery templates as tilt templates for Sprockets 2 in Rails 3.1. 

Installing
==========

 1. Add the gem to bundler or install:  `gem install sprockets-jquey-tmpl`

Any files in assets/javascripts/tmpls will be automatically added to jQuery templates list of templates using the path from that directory (i.e. assets/javascripts/tmpls/examples/index.tmpl will be mapped to $.tmpl("examples/index") )

Copyright (c) 2009 Ryan Dy, released under the MIT license
Something went wrong with that request. Please try again.