Permalink
Browse files

add sprocket dependancy

  • Loading branch information...
1 parent f9cdd06 commit d2f6bdb558cea6339128496ff5bad656d266ffa4 @BertHartm BertHartm committed Jul 25, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/closure-sprockets/directive_processor.rb
@@ -1,3 +1,5 @@
+require "sprockets/directive_processor"
+
class ClosureDirectiveProcessor < Sprockets::DirectiveProcessor
def process_require_closure_directive(path)
# Locate python script that helps us to calculate deps
@@ -23,4 +25,4 @@ def process_require_closure_directive(path)
# Finally require calculated assets
results.each{|asset| context.require_asset asset };
end
-end
+end

0 comments on commit d2f6bdb

Please sign in to comment.