Sha256: 225fed05fb11a7a977b996ebb65f68cc3ee4d24642fb4ec05913770c45f011f3

Contents?: true

Size: 343 Bytes

Versions: 5

Compression:

Stored size: 343 Bytes

Contents

require 'sprockets/static_compiler'

module Sprockets
  class StaticCompiler
    cattr_accessor :generated_sprites
    self.generated_sprites = {}
    def write_manifest_with_sprites(manifest)
      write_manifest_without_sprites(manifest.merge(self.class.generated_sprites))
    end
    alias_method_chain :write_manifest, :sprites
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
compass-rails-1.0.3 lib/compass-rails/patches/static_compiler.rb
compass-rails-1.0.2 lib/compass-rails/patches/static_compiler.rb
compass-rails-1.0.1 lib/compass-rails/patches/static_compiler.rb
compass-rails-1.0.0 lib/compass-rails/patches/static_compiler.rb
compass-rails-1.0.0.rc.4 lib/compass-rails/patches/static_compiler.rb