|
|
@ -1,10 +1,14 @@ |
|
|
|
import { h, render } from 'preact'; |
|
|
|
import { h, render } from 'preact'; |
|
|
|
import SettingsComponent from './components'; |
|
|
|
import SettingsComponent from './components'; |
|
|
|
import reducer from 'settings/reducers/setting'; |
|
|
|
import reducer from './reducers/setting'; |
|
|
|
import Provider from 'shared/store/provider'; |
|
|
|
import { Provider } from 'preact-redux'; |
|
|
|
import { createStore } from 'shared/store'; |
|
|
|
import promise from 'redux-promise'; |
|
|
|
|
|
|
|
import { createStore, applyMiddleware } from 'redux'; |
|
|
|
|
|
|
|
|
|
|
|
const store = createStore(reducer); |
|
|
|
const store = createStore( |
|
|
|
|
|
|
|
reducer, |
|
|
|
|
|
|
|
applyMiddleware(promise), |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
document.addEventListener('DOMContentLoaded', () => { |
|
|
|
document.addEventListener('DOMContentLoaded', () => { |
|
|
|
let wrapper = document.getElementById('vimvixen-settings'); |
|
|
|
let wrapper = document.getElementById('vimvixen-settings'); |
|
|
|