Sha256: 48173e554a2940c91bd7e6719604664404b8cba251eb0a0718f75bdcf9322394

Contents?: true

Size: 199 Bytes

Versions: 17

Compression:

Stored size: 199 Bytes

Contents

module Hamlit
  module Compilers
    module Preserve
      def on_haml_preserve(code)
        code = "Hamlit::Helpers.find_and_preserve(#{code})"
        [:dynamic, code]
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
hamlit-0.5.3 lib/hamlit/compilers/preserve.rb
hamlit-0.5.2 lib/hamlit/compilers/preserve.rb
hamlit-0.5.1 lib/hamlit/compilers/preserve.rb
hamlit-0.5.0 lib/hamlit/compilers/preserve.rb
hamlit-0.4.3 lib/hamlit/compilers/preserve.rb
hamlit-0.4.2 lib/hamlit/compilers/preserve.rb
hamlit-0.4.1 lib/hamlit/compilers/preserve.rb
hamlit-0.3.4 lib/hamlit/compilers/preserve.rb
hamlit-0.3.3 lib/hamlit/compilers/preserve.rb
hamlit-0.3.2 lib/hamlit/compilers/preserve.rb
hamlit-0.3.1 lib/hamlit/compilers/preserve.rb
hamlit-0.3.0 lib/hamlit/compilers/preserve.rb
hamlit-0.2.0 lib/hamlit/compilers/preserve.rb
hamlit-0.1.3 lib/hamlit/compilers/preserve.rb
hamlit-0.1.2 lib/hamlit/compilers/preserve.rb
hamlit-0.1.1 lib/hamlit/compilers/preserve.rb
hamlit-0.1.0 lib/hamlit/compilers/preserve.rb