# File lib/eco.rb, line 38 def compile(template) template = template.read if template.respond_to?(:read) Source.context.call("eco.precompile", template) end
# File lib/eco.rb, line 43 def context_for(template) ExecJS.compile("var render = #{compile(template)}") end
Generated with the Darkfish Rdoc Generator 2.