Browse files

Ensure popen is required from closure/compiler

  • Loading branch information...
1 parent 30a2cb4 commit 099a3d05c669bdee1e3091c9b952922d10e8c8ac @josh josh committed Mar 22, 2011
Showing with 3 additions and 2 deletions.
  1. +0 −1 lib/closure-compiler.rb
  2. +3 −1 lib/closure/compiler.rb
View
1 lib/closure-compiler.rb
@@ -13,5 +13,4 @@ module Closure
end
require 'stringio'
-require 'closure/popen'
require 'closure/compiler'
View
4 lib/closure/compiler.rb
@@ -1,3 +1,5 @@
+require 'closure/popen'
+
module Closure
# We raise a Closure::Error when compilation fails for any reason.
@@ -57,4 +59,4 @@ def command
end
end
-end
+end

0 comments on commit 099a3d0

Please sign in to comment.