Skip to content

Sprockets tilt support for jQuery templates with Rails 3.1 new asset pipeline

Notifications You must be signed in to change notification settings

rdy/sprockets-jquery-tmpl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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-jquery-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

About

Sprockets tilt support for jQuery templates with Rails 3.1 new asset pipeline

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages