lib/sprockets/sass.rb in sprockets-sass-0.2.1 vs lib/sprockets/sass.rb in sprockets-sass-0.2.2
- old
+ new
@@ -4,10 +4,10 @@
require "sprockets/engines"
module Sprockets
module Sass
autoload :Importer, "sprockets/sass/importer"
-
- ::Sprockets.register_engine ".sass", SassTemplate
- ::Sprockets.register_engine ".scss", ScssTemplate
end
+
+ register_engine ".sass", Sass::SassTemplate
+ register_engine ".scss", Sass::ScssTemplate
end