This is an automated email from the ASF dual-hosted git repository.

heneveld pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-ui.git


The following commit(s) were added to refs/heads/master by this push:
     new 746ba8d  last merge missed out IS_PRODUCTION initialization in one app
746ba8d is described below

commit 746ba8d5c5667d3dd1d375d4dd2a26be50ae322f
Author: Alex Heneveld <alex.henev...@cloudsoftcorp.com>
AuthorDate: Thu Oct 3 15:31:50 2019 +0100

    last merge missed out IS_PRODUCTION initialization in one app
---
 ui-modules/home/app/index.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ui-modules/home/app/index.js b/ui-modules/home/app/index.js
index bb13f73..0f7a78e 100644
--- a/ui-modules/home/app/index.js
+++ b/ui-modules/home/app/index.js
@@ -34,6 +34,8 @@ import mainState from 'views/main/main.controller';
 import mainDeployState from 'views/main/deploy/deploy.controller';
 import aboutState from 'views/about/about.controller.js';
 
+const IS_PRODUCTION = process.env.NODE_ENV === 'production' || false;
+
 angular.module('app', [ngAnimate, ngCookies, uiRouter, brCore, brServerStatus, 
brIconGenerator, brInterstitialSpinner, brooklynModuleLinks, 
brooklynUserManagement, brooklynQuickLaunch, mainState, mainDeployState, 
aboutState])
     .config(['$urlRouterProvider', '$logProvider', '$compileProvider', 
applicationConfig])
     .run(['$http', httpConfig]);

Reply via email to