fixed coffee

This commit is contained in:
nelsonlaquet 2013-09-01 02:27:04 -05:00
parent c3a6c5d739
commit f2b74aecc2
2 changed files with 2 additions and 2 deletions

View file

@ -41,7 +41,7 @@
}
public static function scriptAssetCollection($area) {
$coffeeScript = new CoffeeScriptFilter(Config::get('app.coffee'));
$coffeeScript = new CoffeeScriptFilter(Config::get('app.coffee'), Config::get('app.node'));
if ($area == 'app') {
$collection = new AssetCollection([

View file

@ -29,7 +29,7 @@
$bundle->setTargetPath('scripts');
} else {
$filePath = trim($_GET['file'], '/');
$bundle = new AssetCollection([new FileAsset($filePath)], [new CoffeeScriptFilter(Config::get('app.coffee'))]);
$bundle = new AssetCollection([new FileAsset($filePath)], [new CoffeeScriptFilter(Config::get('app.coffee'), Config::get('app.node'))]);
$bundle->setTargetPath($filePath);
}