mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-25 14:37:59 +01:00
Merged development into master
This commit is contained in:
commit
58de67852e
2 changed files with 2 additions and 2 deletions
|
@ -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([
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue