mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2025-02-20 11:54:23 +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) {
|
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') {
|
if ($area == 'app') {
|
||||||
$collection = new AssetCollection([
|
$collection = new AssetCollection([
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
$bundle->setTargetPath('scripts');
|
$bundle->setTargetPath('scripts');
|
||||||
} else {
|
} else {
|
||||||
$filePath = trim($_GET['file'], '/');
|
$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);
|
$bundle->setTargetPath($filePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue