3 class R2ScssProcessor < SassC::Rails::ScssTemplate
6 data = R2.r2(output[:data])
8 output.merge(:data => data)
12 Rails.application.config.assets.configure do |env|
13 env.register_mime_type "text/r2+scss", :extensions => [".r2.scss"]
14 env.register_transformer "text/r2+scss", "text/css", R2ScssProcessor
15 env.register_preprocessor "text/r2+scss", Sprockets::DirectiveProcessor.new(:comments => ["//", ["/*", "*/"]])