1
0
mirror of https://github.com/comatory/fb2iCal synced 2025-06-05 22:09:25 +02:00

feature: sync multiple tabs using local storage

This commit is contained in:
Ondřej Synáček
2020-12-15 21:16:30 +01:00
parent 61985990d0
commit e28b378e07
5 changed files with 59 additions and 12 deletions

View File

@ -1,8 +1,12 @@
import App from './components/App.svelte'
import * as stores from './stores'
import * as services from './services'
const boot = () => {
services.storageListener.register()
new App({
target: document.querySelector('#root'),
})
@ -10,6 +14,7 @@ const boot = () => {
if (process.env.NODE_ENV === 'development') {
window._fb2ical = {
...stores,
...services,
}
}
}