Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fuck closure, going with uglifier

  • Loading branch information...
commit 265523e1efa6fd3c45d51e0b6612677cec388330 1 parent 85fd3af
@abloom authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/sinatra/sprockets.rb
View
4 lib/sinatra/sprockets.rb
@@ -1,5 +1,5 @@
require 'sprockets'
-require 'closure'
+require 'uglifier'
require 'yui/compressor'
require 'sinatra/sprockets/configuration'
@@ -20,7 +20,7 @@ def self.configure(&block)
end
if config.compress_assets?
- environment.js_compressor = config.js_compressor || Closure::Compiler.new
+ environment.js_compressor = config.js_compressor || Uglifier.new
environment.css_compressor = config.css_compressor || YUI::CssCompressor.new
else
environment.js_compressor = false
Please sign in to comment.
Something went wrong with that request. Please try again.