Use local var environment rather than NODE_ENV

Traditionally, NODE_ENV refers to an environment variable. For clarity,
let's keep it that way and don't reuse it in the renderer. Also, add a
note about explicitly overriding env vars for node-config.

// FREEBIE
This commit is contained in:
lilia
2017-04-13 12:10:42 -07:00
committed by Scott Nonnenberg
parent e7e030a5e2
commit a55c61a3ba
2 changed files with 6 additions and 3 deletions

View File

@@ -9,7 +9,7 @@
};
console.log('background page reloaded');
console.log('NODE_ENV', window.config.NODE_ENV);
console.log('environment:', window.config.environment);
extension.notification.init();
var initialLoadComplete = false;