lib/sketchily.rb~ in sketchily-1.2.0 vs lib/sketchily.rb~ in sketchily-1.3.0
- old
+ new
@@ -3,10 +3,10 @@
require "sketchily/sketchily_tag"
module Sketchily
ASSET_FILES = %w(sketchily.css sketchily.js sketchily_embed.js canvg/canvg.js canvg/rgbcolor.js extensions/ext-*.js locale/lang.*.js)
- SKETCHILY_OPTIONS = [:width, :height, :canvas_width, :canvas_height, :canvas_expansion, :hide_rulers, :hide_menu, :hide_image_tool, :hide_hyperlink_tool, :url, :show_layers]
+ SKETCHILY_OPTIONS = [:width, :height, :canvas_width, :canvas_height, :canvas_expansion, :hide_rulers, :hide_menu, :hide_image_tool, :hide_hyperlink_tool, :show_layers, :url]
TAG_OPTIONS = [:id, :value, :index]
OPTIONS = SKETCHILY_OPTIONS + TAG_OPTIONS
ActiveSupport.on_load(:before_initialize) do
Rails.configuration.assets.precompile += Sketchily::ASSET_FILES