public function UglifyJsFilter::__construct

Parameters

string $uglifyJsPath Absolute path to the uglifyjs executable:

string $nodeJsPath Absolute path to the folder containg node.js executable:

File

drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Filter/UglifyJsFilter.php, line 37

Class

UglifyJsFilter
UglifyJs filter.

Namespace

Assetic\Filter

Code

public function __construct($uglifyJsPath, $nodeJsPath = null) {
  $this->uglifyJsPath = $uglifyJsPath;
  $this->nodeJsPath = $nodeJsPath;
}