Class: BareCoffee::Template
- Inherits:
-
Tilt::CoffeeScriptTemplate
- Object
- Tilt::CoffeeScriptTemplate
- BareCoffee::Template
- Defined in:
- lib/bare_coffee.rb
Overview
An Extension for Sprockets to enable the –bare option for CoffeeScript’s compilier. Thus, the compiler will compile the coffeescript without a top-level function wrapper.
Instance Method Summary collapse
Instance Method Details
#prepare ⇒ Object
9 10 11 12 |
# File 'lib/bare_coffee.rb', line 9 def prepare [:bare] = true super end |