Sha256: 9e0f013c51989d4bdf56443c6a7a95c0c776fc5d5e5c8da83211c5c328411718

Contents?: true

Size: 430 Bytes

Versions: 7

Compression:

Stored size: 430 Bytes

Contents

include Card::Set::Type::Css

format :html do
  view :core, :mod=>Css::HtmlFormat
  view :editor, :mod=>PlainText::HtmlFormat
  view :content_changes, :mod=>CoffeeScript::HtmlFormat
end
  
def diff_args
  {:format=>:text}
end  

format do
  view :core do |args|
    process_content compile_scss(_render_raw)
  end
  
  def compile_scss scss, style=:expanded
    Sass.compile scss, :style=>style
  rescue =>e
    e
  end
  

end


Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
wagn-1.14.8 mod/03_machines/set/type/scss.rb
wagn-1.14.7 mod/03_machines/set/type/scss.rb
wagn-1.14.6 mod/03_machines/set/type/scss.rb
wagn-1.14.5 mod/03_machines/set/type/scss.rb
wagn-1.14.4 mod/03_machines/set/type/scss.rb
wagn-1.14.3 mod/03_machines/set/type/scss.rb
wagn-1.14.2 mod/03_machines/set/type/scss.rb