Allow redux dev tools to work

This commit is contained in:
Jordan Eldredge 2016-07-10 14:40:13 -07:00
parent d24376f57f
commit 90dbfecf10

View file

@ -17,7 +17,7 @@ if (new Browser(window).isCompatible) {
document.getElementById('winamp2-js').appendChild(mainWindowElement);
var winamp = Winamp;
let store = createStore(createReducer(winamp));
let store = createStore(createReducer(winamp), window.devToolsExtension && window.devToolsExtension());
// TODO: Remove this workaround
winamp.renderTo = (componant, node) => {