File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
/* eslint-env node */
2
2
'use strict' ;
3
3
4
- var Funnel = require ( 'broccoli-funnel' ) ;
5
- var findHost = require ( './lib/utils/find-host' ) ;
4
+ const funnel = require ( 'broccoli-funnel' ) ;
5
+ const findHost = require ( './lib/utils/find-host' ) ;
6
6
7
7
module . exports = {
8
8
name : 'ember-asset-loader' ,
@@ -14,11 +14,11 @@ module.exports = {
14
14
* @override
15
15
*/
16
16
treeForApp : function ( ) {
17
- var tree = this . _super . treeForApp . apply ( this , arguments ) ;
18
- var app = findHost ( this ) ;
17
+ let tree = this . _super . treeForApp . apply ( this , arguments ) ;
18
+ const app = findHost ( this ) ;
19
19
20
20
if ( app && app . options && app . options . assetLoader && app . options . assetLoader . noManifest ) {
21
- tree = new Funnel ( tree , {
21
+ tree = funnel ( tree , {
22
22
exclude : [
23
23
'config/asset-manifest.js' ,
24
24
'instance-initializers/load-asset-manifest.js'
You can’t perform that action at this time.
0 commit comments