Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

adding option support for coffeescript

  • Loading branch information...
commit b4245c75849620b708cca13e742994c2ecde981a 1 parent eecdea4
@blahed blahed authored committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/tilt.rb
View
4 lib/tilt.rb
@@ -545,11 +545,11 @@ def initialize_engine
end
def compile!
- @engine = ::CoffeeScript::Parser.new.parse(data)
+ @engine = ::CoffeeScript::compile(data, options)
end
def evaluate(scope, locals, &block)
- @engine.compile
+ @engine
end
end
register 'coffee', CoffeeTemplate
Please sign in to comment.
Something went wrong with that request. Please try again.