public function EmberPrecompileFilter::__construct

File

drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Filter/EmberPrecompileFilter.php, line 30

Class

EmberPrecompileFilter
Precompiles Handlebars templates for use in the Ember.js framework. This filter requires that the npm package ember-precompile be installed. You can find this package at https://github.com/gabrielgrant/node-ember-precompile.

Namespace

Assetic\Filter

Code

public function __construct($handlebarsBin = '/usr/bin/ember-precompile', $nodeBin = null) {
  $this->emberBin = $handlebarsBin;
  $this->nodeBin = $nodeBin;
}