Sha256: 4a8f5d820fe75b7839f6fe04b732274a6df93584e44835c397f8d76a40ef95ff
Contents?: true
Size: 379 Bytes
Versions: 1
Compression:
Stored size: 379 Bytes
Contents
require 'liquidscript/icr/sexp' module Liquidscript class Template def initialize(data) @data = data end def render @_render ||= begin compiler = Compiler::ICR.new(Scanner.new(@data)) compiler.compile puts ICR::Sexp.new(compiler.top).output Generator::Javascript.new(compiler.top).generate end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
liquidscript-0.4.0 | lib/liquidscript/template.rb |