A platform for community discussion. Free, open, simple.
FIX: Allow plugins to register importers
Robin Wardb68799e08169
diff --git a/lib/stylesheet/importer.rb b/lib/stylesheet/importer.rbindex 93e4c479c89..f55d1d2ec74 100644--- a/lib/stylesheet/importer.rb+++ b/lib/stylesheet/importer.rb@@ -5,14 +5,12 @@ module Stylesheetclass Importer < SassC::Importerinclude GlobalPath- @special_imports = {}-def self.special_imports- @special_imports+ @special_imports ||= {}enddef self.register_import(name, &blk)- @special_imports[name] = blk+ special_imports[name] = blkendregister_import "theme_field" do