crush 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/crush/closure.rb +1 -1
- data/lib/crush/version.rb +1 -1
- data/lib/crush/yui.rb +2 -2
- metadata +1 -1
data/lib/crush/closure.rb
CHANGED
data/lib/crush/version.rb
CHANGED
data/lib/crush/yui.rb
CHANGED
@@ -10,7 +10,7 @@ module Crush
|
|
10
10
|
self.default_mime_type = "application/javascript"
|
11
11
|
|
12
12
|
def self.engine_initialized?
|
13
|
-
!!(defined?
|
13
|
+
!!(defined?(::YUI) && defined?(::YUI::JavaScriptCompressor))
|
14
14
|
end
|
15
15
|
|
16
16
|
def initialize_engine
|
@@ -35,7 +35,7 @@ module Crush
|
|
35
35
|
self.default_mime_type = "text/css"
|
36
36
|
|
37
37
|
def self.engine_initialized?
|
38
|
-
!!(defined?
|
38
|
+
!!(defined?(::YUI) && defined?(::YUI::CssCompressor))
|
39
39
|
end
|
40
40
|
|
41
41
|
def initialize_engine
|