Sha256: c58793d736cc4b253b3e8d911951f4fb16b26faa4be777be8eee4591c21fa232
Contents?: true
Size: 395 Bytes
Versions: 8
Compression:
Stored size: 395 Bytes
Contents
module Hamlit class Filters class Coffee < TiltBase def compile(node) require 'tilt/coffee' if explicit_require? temple = [:multi] temple << [:static, "<script>\n".freeze] temple << compile_with_tilt(node, 'coffee', indent_width: 2) temple << [:static, "</script>".freeze] temple end end CoffeeScript = Coffee end end
Version data entries
8 entries across 8 versions & 1 rubygems