File tree Expand file tree Collapse file tree 2 files changed +59
-0
lines changed Expand file tree Collapse file tree 2 files changed +59
-0
lines changed Original file line number Diff line number Diff line change
1
+ 'use strict' ;
2
+
3
+ module . exports = function ( environment ) {
4
+ const ENV = {
5
+ modulePrefix : '<%= modulePrefix %>' ,
6
+ environment,
7
+ rootURL : '/' ,
8
+ locationType : 'history' ,
9
+ EmberENV : {
10
+ EXTEND_PROTOTYPES : false ,
11
+ FEATURES : {
12
+ // Here you can enable experimental features on an ember canary build
13
+ // e.g. EMBER_NATIVE_DECORATOR_SUPPORT: true
14
+ } ,
15
+ } ,
16
+
17
+ APP : {
18
+ // Here you can pass flags/options to your application instance
19
+ // when it is created
20
+ } ,
21
+ } ;
22
+
23
+ if ( environment === 'development' ) {
24
+ // ENV.APP.LOG_RESOLVER = true;
25
+ // ENV.APP.LOG_ACTIVE_GENERATION = true;
26
+ // ENV.APP.LOG_TRANSITIONS = true;
27
+ // ENV.APP.LOG_TRANSITIONS_INTERNAL = true;
28
+ // ENV.APP.LOG_VIEW_LOOKUPS = true;
29
+ }
30
+
31
+ if ( environment === 'test' ) {
32
+ // Testem prefers this...
33
+ ENV . locationType = 'none' ;
34
+
35
+ // keep test console output quieter
36
+ ENV . APP . LOG_ACTIVE_GENERATION = false ;
37
+ ENV . APP . LOG_VIEW_LOOKUPS = false ;
38
+
39
+ ENV . APP . rootElement = '#ember-testing' ;
40
+ ENV . APP . autoboot = false ;
41
+ }
42
+
43
+ if ( environment === 'production' ) {
44
+ // here you can enable a production-specific feature
45
+ }
46
+
47
+ return ENV ;
48
+ } ;
Original file line number Diff line number Diff line change
1
+ 'use strict' ;
2
+
3
+ const browsers = [
4
+ 'last 1 Chrome versions' ,
5
+ 'last 1 Firefox versions' ,
6
+ 'last 1 Safari versions' ,
7
+ ] ;
8
+
9
+ module . exports = {
10
+ browsers,
11
+ } ;
You can’t perform that action at this time.
0 commit comments