cms/app-client/app/app.js
author Chloe Laisne <chloe.laisne@gmail.com>
Mon, 04 Jul 2016 23:54:48 +0200
changeset 226 2103e6c58266
parent 136 5fed7e1716c2
child 254 a7cf2887e993
permissions -rw-r--r--
Notice text-color
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
5fed7e1716c2 upgrade ember and ember cli
ymh <ymh.work@gmail.com>
parents: 119
diff changeset
     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
5fed7e1716c2 upgrade ember and ember cli
ymh <ymh.work@gmail.com>
parents: 119
diff changeset
     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({
d4b3da0dadc9 init ember app with 2 pages and an images
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
    11
  rootElement: config.rootElement,
d4b3da0dadc9 init ember app with 2 pages and an images
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
    12
  modulePrefix: config.modulePrefix,
d4b3da0dadc9 init ember app with 2 pages and an images
nowmad@23.1.168.192.in-addr.arpa
parents:
diff changeset
    13
  podModulePrefix: config.podModulePrefix,
136
5fed7e1716c2 upgrade ember and ember cli
ymh <ymh.work@gmail.com>
parents: 119
diff changeset
    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;