lib/liquidscript/template.rb in liquidscript-0.4.0 vs lib/liquidscript/template.rb in liquidscript-0.4.1
- old
+ new
@@ -7,10 +7,10 @@
@data = data
end
def render
@_render ||= begin
- compiler = Compiler::ICR.new(Scanner.new(@data))
+ compiler = Compiler::ICR.new(Scanner::Liquidscript.new(@data))
compiler.compile
puts ICR::Sexp.new(compiler.top).output
Generator::Javascript.new(compiler.top).generate
end
end