cms/app-client/config/environment.js
changeset 456 3a32d2f57429
parent 394 48458e099b05
child 537 d2e6ee099125
equal deleted inserted replaced
455:a8bed1c7df8e 456:3a32d2f57429
     9         locationType: 'hash',
     9         locationType: 'hash',
    10         EmberENV: {
    10         EmberENV: {
    11             FEATURES: {
    11             FEATURES: {
    12                 // Here you can enable experimental features on an ember canary build
    12                 // Here you can enable experimental features on an ember canary build
    13                 // e.g. 'with-controller': true
    13                 // e.g. 'with-controller': true
    14             }
    14             },
       
    15       EXTEND_PROTOTYPES: {
       
    16         // Prevent Ember Data from overriding Date.parse.
       
    17         Date: false
       
    18       }
    15         },
    19         },
    16         APP: {
    20         APP: {
    17             backRootURL: '/corpus/',
    21             backRootURL: '/corpus/',
    18             navigationLinksSelector: '.sub-menu > a',
    22             navigationLinksSelector: '.sub-menu > a',
    19             // Here you can pass flags/options to your application instance
    23             // Here you can pass flags/options to your application instance
    43     if (environment === 'production') {
    47     if (environment === 'production') {
    44         ENV.rootURL = '/corpus-app/';
    48         ENV.rootURL = '/corpus-app/';
    45         ENV.APP.backRootURL = '/corpus-back/';
    49         ENV.APP.backRootURL = '/corpus-back/';
    46     }
    50     }
    47 
    51 
    48     return ENV;
    52   return ENV;
    49 };
    53 };