Sha256: 14a41466516cee3404093b38b7958e37c82a5b4ffbba912f47f028082bf2696a

Contents?: true

Size: 349 Bytes

Versions: 8

Compression:

Stored size: 349 Bytes

Contents

require 'faml/filter_compilers/tilt_base'

module Faml
  module FilterCompilers
    class Sass < TiltBase
      def compile(ast)
        temple = [:multi, [:static, "\n"], [:newline]]
        compile_with_tilt(temple, 'sass', ast)
        [:haml, :tag, 'style', false, [:html, :attrs], temple]
      end
    end

    register(:sass, Sass)
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
faml-0.2.14 lib/faml/filter_compilers/sass.rb
faml-0.2.13 lib/faml/filter_compilers/sass.rb
faml-0.2.12 lib/faml/filter_compilers/sass.rb
faml-0.2.11 lib/faml/filter_compilers/sass.rb
faml-0.2.10 lib/faml/filter_compilers/sass.rb
faml-0.2.9 lib/faml/filter_compilers/sass.rb
faml-0.2.8 lib/faml/filter_compilers/sass.rb
faml-0.2.7 lib/faml/filter_compilers/sass.rb