Class: Juicer::JavaScriptDependencyResolver
- Inherits:
-
DependencyResolver
- Object
- DependencyResolver
- Juicer::JavaScriptDependencyResolver
- Defined in:
- lib/juicer/dependency_resolver/javascript_dependency_resolver.rb
Overview
Resolves @depends and @depend statements in comments in JavaScript files. Only the first comment in a JavaScript file is parsed
Constant Summary collapse
- @@depends_pattern =
/\@depends?\s+([^\s\'\"\;]+)/
Instance Attribute Summary
Attributes inherited from DependencyResolver
Method Summary
Methods inherited from DependencyResolver
#each, #initialize, #resolve, #resolve_path
Constructor Details
This class inherits a constructor from Juicer::DependencyResolver