diff --git a/.eslintrc b/.eslintrc index 8034dc2c22..f26ed0f8d2 100644 --- a/.eslintrc +++ b/.eslintrc @@ -11,5 +11,9 @@ "config": "client/webpack/prod.config.js" } } + }, + + "rules": { + "no-underscore-dangle": ["error", { "allow": ["__REDUX_DEVTOOLS_EXTENSION__"] }] } } diff --git a/CONTRIBUTORS.rst b/CONTRIBUTORS.rst index 50ed893f20..13ae192b9b 100644 --- a/CONTRIBUTORS.rst +++ b/CONTRIBUTORS.rst @@ -364,6 +364,7 @@ Contributors * Cassidy Brooke * dthompson86 * Jason Dilworth +* Deniz Dogan Translators =========== diff --git a/client/src/components/Explorer/index.js b/client/src/components/Explorer/index.js index c114735c5a..df477bda1a 100644 --- a/client/src/components/Explorer/index.js +++ b/client/src/components/Explorer/index.js @@ -31,7 +31,7 @@ const initExplorer = (explorerNode, toggleNode) => { const store = createStore(rootReducer, {}, compose( applyMiddleware(...middleware), // Expose store to Redux DevTools extension. - window.devToolsExtension ? window.devToolsExtension() : func => func + window.__REDUX_DEVTOOLS_EXTENSION__ ? window.__REDUX_DEVTOOLS_EXTENSION__() : func => func )); const startPage = parseInt(toggleNode.getAttribute('data-explorer-start-page'), 10);