Sha256: 83e227f96c2cf0a6a0031be8a0fcac7b714865e28e5c8b197759b7410ef73525
Contents?: true
Size: 414 Bytes
Versions: 4
Compression:
Stored size: 414 Bytes
Contents
require 'opal/builder_processors' module Opal module Haml class HamlProcessor < Opal::BuilderProcessors::RubyProcessor handles :haml def initialize(*args) super @source = prepare(@source, @filename) end def requires ['opal-haml'] + super end def prepare(source, path) ::Opal::Haml.compile_haml(source, path) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
opal-haml-0.4.6 | lib/opal/haml/builder.rb |
opal-haml-0.4.5 | lib/opal/haml/builder.rb |
opal-haml-0.4.4 | lib/opal/haml/builder.rb |
opal-haml-0.4.3 | lib/opal/haml/builder.rb |