mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2025-01-31 03:16:42 +01:00
fixed assets
This commit is contained in:
parent
5f6282fa56
commit
fca0dccc01
4 changed files with 18 additions and 9 deletions
|
@ -41,6 +41,8 @@
|
|||
}
|
||||
|
||||
public static function scriptAssetCollection($area) {
|
||||
$coffeeScript = new CoffeeScriptFilter(Config::get('app.coffee'));
|
||||
|
||||
if ($area == 'app') {
|
||||
$collection = new AssetCollection([
|
||||
new FileAsset('scripts/base/jquery-2.0.2.js'),
|
||||
|
@ -60,15 +62,23 @@
|
|||
new FileAsset('scripts/base/angularytics.js'),
|
||||
new AssetCollection([
|
||||
new GlobAsset('scripts/shared/*.coffee'),
|
||||
new GlobAsset('scripts/shared/*.js'),
|
||||
], [
|
||||
$coffeeScript
|
||||
]),
|
||||
new GlobAsset('scripts/shared/*.js'),
|
||||
new AssetCollection([
|
||||
new GlobAsset('scripts/app/*.coffee'),
|
||||
new GlobAsset('scripts/app/services/*.coffee'),
|
||||
new GlobAsset('scripts/app/filters/*.coffee'),
|
||||
new GlobAsset('scripts/app/filters/*.js'),
|
||||
], [
|
||||
$coffeeScript
|
||||
]),
|
||||
new GlobAsset('scripts/app/filters/*.js'),
|
||||
new AssetCollection([
|
||||
new GlobAsset('scripts/app/directives/*.coffee'),
|
||||
new GlobAsset('scripts/app/controllers/*.coffee'),
|
||||
], [
|
||||
new CoffeeScriptFilter(Config::get('app.coffee'))
|
||||
$coffeeScript
|
||||
])
|
||||
]);
|
||||
|
||||
|
@ -78,7 +88,7 @@
|
|||
$collection->add(new AssetCollection([
|
||||
new GlobAsset('scripts/debug/*.coffee'),
|
||||
], [
|
||||
new CoffeeScriptFilter(Config::get('app.coffee'))
|
||||
$coffeeScript
|
||||
]));
|
||||
}
|
||||
|
||||
|
@ -94,7 +104,7 @@
|
|||
new AssetCollection([
|
||||
new GlobAsset('scripts/embed/*.coffee'),
|
||||
], [
|
||||
new CoffeeScriptFilter(Config::get('app.coffee'))
|
||||
$coffeeScript
|
||||
])
|
||||
]);
|
||||
|
||||
|
|
|
@ -86,7 +86,8 @@
|
|||
@endsection
|
||||
|
||||
@section('styles')
|
||||
<link rel="stylesheet" type="text/css" href="/styles/loader.css" />
|
||||
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Josefin+Sans" />
|
||||
<link rel="stylesheet" href="/styles/loader.css" />
|
||||
{{ Assets::styleIncludes() }}
|
||||
@endsection
|
||||
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
@import url(http://fonts.googleapis.com/css?family=Josefin+Sans);
|
||||
|
||||
@import 'base/bootstrap/bootstrap';
|
||||
@import 'base/bootstrap/responsive';
|
||||
@import 'base/font-awesome/font-awesome';
|
||||
|
|
|
@ -34,4 +34,4 @@
|
|||
<div class="loader-bar" pfm-progress-bar="player.currentTrack.loadingProgress"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue