kopia lustrzana https://github.com/wagtail/wagtail
rodzic
56fde49187
commit
647f2c1d1d
|
@ -11,5 +11,9 @@
|
|||
"config": "client/webpack/prod.config.js"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"rules": {
|
||||
"no-underscore-dangle": ["error", { "allow": ["__REDUX_DEVTOOLS_EXTENSION__"] }]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -364,6 +364,7 @@ Contributors
|
|||
* Cassidy Brooke
|
||||
* dthompson86
|
||||
* Jason Dilworth
|
||||
* Deniz Dogan
|
||||
|
||||
Translators
|
||||
===========
|
||||
|
|
|
@ -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);
|
||||
|
|
Ładowanie…
Reference in New Issue