class SassC::ImportHandler::Importer
def resolve_file_url(url, parent_url, from_import)
def resolve_file_url(url, parent_url, from_import) path = URL.unescape(URL.parse(url).route_from(parent_url).to_s) parent_path = URL.file_url_to_path(parent_url) [File.dirname(parent_path)].concat(load_paths).each do |load_path| resolved = FileImporter.resolve_path(File.absolute_path(path, load_path), from_import) return URL.path_to_file_url(resolved) unless resolved.nil? end nil end