Advertisement
Guest User

Untitled

a guest
Jul 1st, 2015
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. /* jshint node: true */
  2.  
  3. module.exports = function(environment) {
  4. var ENV = {
  5. modulePrefix: 'identity-automation',
  6. environment: environment,
  7. baseURL: '/',
  8. locationType: 'auto',
  9. contentSecurityPolicy: {
  10. 'font-src': "'self' data: fonts.gstatic.com",
  11. 'style-src': "'self' 'unsafe-inline' fonts.googleapis.com"
  12. },
  13. EmberENV: {
  14. FEATURES: {
  15. // Here you can enable experimental features on an ember canary build
  16. // e.g. 'with-controller': true
  17. }
  18. },
  19.  
  20. APP: {
  21. // Here you can pass flags/options to your application instance
  22. // when it is created
  23. }
  24. };
  25.  
  26.  
  27.  
  28. if (environment === 'development') {
  29. // ENV.APP.LOG_RESOLVER = true;
  30. // ENV.APP.LOG_ACTIVE_GENERATION = true;
  31. // ENV.APP.LOG_TRANSITIONS = true;
  32. // ENV.APP.LOG_TRANSITIONS_INTERNAL = true;
  33. // ENV.APP.LOG_VIEW_LOOKUPS = true;
  34. }
  35.  
  36. if (environment === 'test') {
  37. // Testem prefers this...
  38. ENV.baseURL = '/';
  39. ENV.locationType = 'none';
  40.  
  41. // keep test console output quieter
  42. ENV.APP.LOG_ACTIVE_GENERATION = false;
  43. ENV.APP.LOG_VIEW_LOOKUPS = false;
  44.  
  45. ENV.APP.rootElement = '#ember-testing';
  46. }
  47.  
  48. if (environment === 'production') {
  49.  
  50. }
  51.  
  52. return ENV;
  53. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement