Permalink
Browse files

Merge pull request #324 from ixti/doc-fixes

Fix processing mixin docs
  • Loading branch information...
2 parents c8d3ba7 + 076d6cc commit 04da60f4085d73162037dc222bbf88882f5ee45e @josh josh committed May 7, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/sprockets/processing.rb
@@ -65,7 +65,7 @@ def register_processor(*args, &block)
#
# A block can be passed for to create a shorthand processor.
#
- # register_preprocessor :my_processor do |context, data|
+ # register_preprocessor 'text/css', :my_processor do |context, data|
# data.gsub(...)
# end
#
@@ -87,7 +87,7 @@ def register_preprocessor(mime_type, klass, &block)
#
# A block can be passed for to create a shorthand processor.
#
- # register_postprocessor :my_processor do |context, data|
+ # register_postprocessor 'text/css', :my_processor do |context, data|
# data.gsub(...)
# end
#

0 comments on commit 04da60f

Please sign in to comment.