mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-03-16 22:10:28 +00:00
parent
56fde49187
commit
647f2c1d1d
3 changed files with 6 additions and 1 deletions
|
|
@ -11,5 +11,9 @@
|
||||||
"config": "client/webpack/prod.config.js"
|
"config": "client/webpack/prod.config.js"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"rules": {
|
||||||
|
"no-underscore-dangle": ["error", { "allow": ["__REDUX_DEVTOOLS_EXTENSION__"] }]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -364,6 +364,7 @@ Contributors
|
||||||
* Cassidy Brooke
|
* Cassidy Brooke
|
||||||
* dthompson86
|
* dthompson86
|
||||||
* Jason Dilworth
|
* Jason Dilworth
|
||||||
|
* Deniz Dogan
|
||||||
|
|
||||||
Translators
|
Translators
|
||||||
===========
|
===========
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@ const initExplorer = (explorerNode, toggleNode) => {
|
||||||
const store = createStore(rootReducer, {}, compose(
|
const store = createStore(rootReducer, {}, compose(
|
||||||
applyMiddleware(...middleware),
|
applyMiddleware(...middleware),
|
||||||
// Expose store to Redux DevTools extension.
|
// 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);
|
const startPage = parseInt(toggleNode.getAttribute('data-explorer-start-page'), 10);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue