Sha256: df2f1ea1b66b0ea7f84c1afa25d38ddb214dd61d1b69a29df385249b1c6b195a

Contents?: true

Size: 311 Bytes

Versions: 4

Compression:

Stored size: 311 Bytes

Contents

class Sprockets::ComponentProcessor < Sprockets::DirectiveProcessor
  def process_require_components_directive
    Rafters.asset_paths.sort.each do |asset_path|
      each_entry(asset_path) do |pathname|
        context.require_asset(pathname) if context.asset_requirable?(pathname)
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rafters-0.1.0 lib/sprockets/component_processor.rb
rafters-0.0.5 lib/sprockets/component_processor.rb
rafters-0.0.4 lib/sprockets/component_processor.rb
rafters-0.0.3 lib/sprockets/component_processor.rb