Remove window.config in favor of window.getXXX() accessors
This commit is contained in:
parent
d5ead799ce
commit
1c23c6a9d7
10 changed files with 45 additions and 49 deletions
|
@ -91,7 +91,7 @@
|
|||
}
|
||||
},
|
||||
openStandalone: function() {
|
||||
if (window.config.environment !== 'production') {
|
||||
if (window.getEnvironment() !== 'production') {
|
||||
window.addSetupMenuItems();
|
||||
this.resetViews();
|
||||
this.standaloneView = new Whisper.StandaloneRegistrationView();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue