Class: Juicer::JavaScriptDependencyResolver

Inherits:
DependencyResolver show all
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

#files

Method Summary

Methods inherited from DependencyResolver

#each, #initialize, #resolve, #resolve_path

Constructor Details

This class inherits a constructor from Juicer::DependencyResolver