Skip to content

Commit

Permalink
Let ALLOW_POSTMESSAGE_POPUP be overriden by window global
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Brain committed Nov 7, 2017
1 parent d9c76dc commit cede3e8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/conf/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ import { CONSTANTS } from './constants';

export let CONFIG : Object = {

ALLOW_POSTMESSAGE_POPUP: __ALLOW_POSTMESSAGE_POPUP__,
ALLOW_POSTMESSAGE_POPUP: ('__ALLOW_POSTMESSAGE_POPUP__' in window)
? window.__ALLOW_POSTMESSAGE_POPUP__
: __ALLOW_POSTMESSAGE_POPUP__,

LOG_LEVEL: 'info',

Expand Down

0 comments on commit cede3e8

Please # to comment.