Class: Sprockets::DirectiveProcessor
- Inherits:
-
Object
- Object
- Sprockets::DirectiveProcessor
- Defined in:
- lib/sprockets/export/directive_processor.rb
Instance Method Summary collapse
Instance Method Details
#process_export_directive(namespace, *flags) ⇒ Object
2 3 4 5 6 7 |
# File 'lib/sprockets/export/directive_processor.rb', line 2 def process_export_directive(namespace, *flags) if @content_type == "application/javascript" Sprockets::Export::Store.set(@environment, @filename, [namespace, flags].flatten.join(" ")) process_depend_on_directive "sprockets/export/version.rb" end end |