Sha256: ec7936c74cd440cb6c4bbd300890edff5f3c6b42410c3eea9dcdc2a5e3f9dc50
Contents?: true
Size: 655 Bytes
Versions: 3
Compression:
Stored size: 655 Bytes
Contents
require "sketchily/engine" require "sketchily/sketchily" 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, :bkgd_color, :bkgd_url, :canvas_width, :canvas_height, :canvas_expansion, :hide_rulers, :hide_menu, :show_hyperlink_tool, :hide_image_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 end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sketchily-1.5.0 | lib/sketchily.rb~ |
sketchily-1.4.1 | lib/sketchily.rb~ |
sketchily-1.4.0 | lib/sketchily.rb~ |