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