File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import Application from '@ember/application' ;
2- import Resolver from './resolver' ;
32import loadInitializers from 'ember-load-initializers' ;
3+
44import config from './config/environment' ;
5+ import Resolver from './resolver' ;
56
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+ }
1112
1213loadInitializers ( App , config . modulePrefix ) ;
13-
14- export default App ;
Original file line number Diff line number Diff line change 11import EmberRouter from '@ember/routing/router' ;
22import config from './config/environment' ;
33
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+ } ;
88
99Router . map ( function ( ) {
1010} ) ;
11-
12- export default Router ;
You can’t perform that action at this time.
0 commit comments