File tree Expand file tree Collapse file tree 2 files changed +11
-14
lines changed Expand file tree Collapse file tree 2 files changed +11
-14
lines changed Original file line number Diff line number Diff line change 1
1
import Application from '@ember/application' ;
2
- import Resolver from './resolver' ;
3
2
import loadInitializers from 'ember-load-initializers' ;
3
+
4
4
import config from './config/environment' ;
5
+ import Resolver from './resolver' ;
5
6
6
- const App = Application . extend ( {
7
- modulePrefix : config . modulePrefix ,
8
- podModulePrefix : config . podModulePrefix ,
9
- Resolver
10
- } ) ;
7
+ export default class App extends Application {
8
+ modulePrefix = config . modulePrefix ;
9
+ podModulePrefix = config . podModulePrefix ;
10
+ Resolver = Resolver ;
11
+ }
11
12
12
13
loadInitializers ( App , config . modulePrefix ) ;
13
-
14
- export default App ;
Original file line number Diff line number Diff line change 1
1
import EmberRouter from '@ember/routing/router' ;
2
2
import config from './config/environment' ;
3
3
4
- const Router = EmberRouter . extend ( {
5
- location : config . locationType ,
6
- rootURL : config . rootURL
7
- } ) ;
4
+ export default class Router extends EmberRouter {
5
+ location = config . locationType ;
6
+ rootURL = config . rootURL ;
7
+ } ;
8
8
9
9
Router . map ( function ( ) {
10
10
} ) ;
11
-
12
- export default Router ;
You can’t perform that action at this time.
0 commit comments