Sha256: e7f811ea1a87e857b43e789feda0b3844ad584673e62b7341dc39ffed80a2417
Contents?: true
Size: 400 Bytes
Versions: 4
Compression:
Stored size: 400 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, indent_width: 2) temple << [:static, "\n"] [:haml, :tag, 'style', false, [:html, :attrs], temple] end end register(:sass, Sass) end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
faml-0.3.1 | lib/faml/filter_compilers/sass.rb |
faml-0.3.0 | lib/faml/filter_compilers/sass.rb |
faml-0.2.16 | lib/faml/filter_compilers/sass.rb |
faml-0.2.15 | lib/faml/filter_compilers/sass.rb |