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