author | Chloe Laisne <chloe.laisne@gmail.com> |
Sun, 02 Oct 2016 15:24:56 +0200 | |
changeset 311 | f4327199e8f0 |
parent 254 | a7cf2887e993 |
child 456 | 3a32d2f57429 |
permissions | -rw-r--r-- |
5
d4b3da0dadc9
init ember app with 2 pages and an images
nowmad@23.1.168.192.in-addr.arpa
parents:
diff
changeset
|
1 |
import Ember from 'ember'; |
136 | 2 |
import Resolver from './resolver'; |
119
b495d8c1bf4f
upgrade packages version, correct dependencies
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
3 |
import loadInitializers from 'ember-load-initializers'; |
5
d4b3da0dadc9
init ember app with 2 pages and an images
nowmad@23.1.168.192.in-addr.arpa
parents:
diff
changeset
|
4 |
import config from './config/environment'; |
d4b3da0dadc9
init ember app with 2 pages and an images
nowmad@23.1.168.192.in-addr.arpa
parents:
diff
changeset
|
5 |
|
136 | 6 |
let App; |
5
d4b3da0dadc9
init ember app with 2 pages and an images
nowmad@23.1.168.192.in-addr.arpa
parents:
diff
changeset
|
7 |
|
d4b3da0dadc9
init ember app with 2 pages and an images
nowmad@23.1.168.192.in-addr.arpa
parents:
diff
changeset
|
8 |
Ember.MODEL_FACTORY_INJECTIONS = true; |
d4b3da0dadc9
init ember app with 2 pages and an images
nowmad@23.1.168.192.in-addr.arpa
parents:
diff
changeset
|
9 |
|
d4b3da0dadc9
init ember app with 2 pages and an images
nowmad@23.1.168.192.in-addr.arpa
parents:
diff
changeset
|
10 |
App = Ember.Application.extend({ |
254 | 11 |
rootElement: config.rootElement, |
12 |
modulePrefix: config.modulePrefix, |
|
13 |
podModulePrefix: config.podModulePrefix, |
|
14 |
Resolver |
|
5
d4b3da0dadc9
init ember app with 2 pages and an images
nowmad@23.1.168.192.in-addr.arpa
parents:
diff
changeset
|
15 |
}); |
d4b3da0dadc9
init ember app with 2 pages and an images
nowmad@23.1.168.192.in-addr.arpa
parents:
diff
changeset
|
16 |
|
d4b3da0dadc9
init ember app with 2 pages and an images
nowmad@23.1.168.192.in-addr.arpa
parents:
diff
changeset
|
17 |
loadInitializers(App, config.modulePrefix); |
d4b3da0dadc9
init ember app with 2 pages and an images
nowmad@23.1.168.192.in-addr.arpa
parents:
diff
changeset
|
18 |
|
d4b3da0dadc9
init ember app with 2 pages and an images
nowmad@23.1.168.192.in-addr.arpa
parents:
diff
changeset
|
19 |
export default App; |