Sha256: 2518e610626b07eb6039139f10f892ea7bc604b7e7769ff8be79a34cb81fda7e

Contents?: true

Size: 438 Bytes

Versions: 7

Compression:

Stored size: 438 Bytes

Contents

# -*- encoding : utf-8 -*-

format :html do

  view :editor, :type=>:plain_text
  
  view :core do |args|
    # FIXME: scan must happen before process for inclusion interactions to work, but this will likely cause
    # problems with including other css?
    process_content ::CodeRay.scan( _render_raw, :css ).div, :size=>:icon
  end
  
end

event :reset_style_for_css, :after=>:store do
  Card::Set::Right::Style.delete_style_files
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
wagn-1.12.13 mods/standard/sets/type/css.rb
wagn-1.12.12 mods/standard/sets/type/css.rb
wagn-1.12.11 mods/standard/sets/type/css.rb
wagn-1.12.10 mods/standard/sets/type/css.rb
wagn-1.12.9 mods/standard/sets/type/css.rb
wagn-1.12.8 mods/standard/sets/type/css.rb
wagn-1.12.7 mods/standard/sets/type/css.rb