Sha256: f2ae5bccf028bc3128eb1df7cd4ba5621133f85f7bc3b8e5ebaabb006a20be29

Contents?: true

Size: 192 Bytes

Versions: 13

Compression:

Stored size: 192 Bytes

Contents

module HtmlPress
  def self.js_compressor (text, options = nil)
    options ||= {}
    options[:output] ||= {:inline_script => true}
    MultiJs.compile(text, options).gsub(/;$/,'')
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
troy-0.0.29 lib/troy/hacks.rb
troy-0.0.28 lib/troy/hacks.rb
troy-0.0.27 lib/troy/hacks.rb
troy-0.0.26 lib/troy/hacks.rb
troy-0.0.25 lib/troy/hacks.rb
troy-0.0.24 lib/troy/hacks.rb
troy-0.0.23 lib/troy/hacks.rb
troy-0.0.22 lib/troy/hacks.rb
troy-0.0.21 lib/troy/hacks.rb
troy-0.0.20 lib/troy/hacks.rb
troy-0.0.19 lib/troy/hacks.rb
troy-0.0.18 lib/troy/hacks.rb
troy-0.0.17 lib/troy/hacks.rb