lib/jekyll/compass/generator.rb
# Event handler triggered when Compass deletes a stylesheet
#
# @param filename [String] The name of the deleted stylesheet.
# @return [void]

Event handler triggered when Compass deletes a stylesheet
Event handler triggered when Compass deletes a stylesheet
def on_sprite_removed(filename)
        @site.static_files = @site.static_files.select do |p|
          if p.path == filename
            sprite_output = p.destination(real_destination)
            File.delete sprite_output if File.exist? sprite_output
            false
          else
            true
          end
        end
        nil
      end
def on_sprite_removed ( filename ) @site . static_files = @site . static_files . select do | p | if p . path == filename sprite_output = p . destination ( real_destination ) File . delete sprite_output if File . exist? sprite_output false else true end end nil end
Event handler triggered when Compass deletes a stylesheet
Event handler triggered when Compass deletes a stylesheet
None
void
filename
The name of the deleted stylesheet.
The name of the deleted stylesheet .