Class: Juicer::CssDependencyResolver

Inherits:
DependencyResolver show all
Defined in:
lib/juicer/dependency_resolver/css_dependency_resolver.rb

Overview

Resolves @import statements in CSS files and builds a list of all files, in order.

Constant Summary collapse

@@import_pattern =
/^\s*@import(?:\surl\(|\s)(['"]?)([^\?'"\)\s]+)(\?(?:[^'"\)]*))?\1\)?(?:[^?;]*);?/im

Instance Attribute Summary

Attributes inherited from DependencyResolver

#files

Method Summary

Methods inherited from DependencyResolver

#each, #initialize, #resolve, #resolve_path

Constructor Details

This class inherits a constructor from Juicer::DependencyResolver