mirror of
https://github.com/john-okeefe/foliate-js.git
synced 2026-09-09 11:29:14 -04:00
Add .eslintrc.json
And fix issues
This commit is contained in:
@@ -35,7 +35,7 @@ const makeDirectoryLoader = async entry => {
|
||||
const files = await Promise.all(
|
||||
entries.map(entry => new Promise((resolve, reject) =>
|
||||
entry.file(file => resolve([file, entry.fullPath]),
|
||||
error => reject(error)))))
|
||||
error => reject(error)))))
|
||||
const map = new Map(files.map(([file, path]) =>
|
||||
[path.replace(entry.fullPath + '/', ''), file]))
|
||||
const decoder = new TextDecoder()
|
||||
@@ -176,7 +176,7 @@ class Reader {
|
||||
this.layout.flow = value
|
||||
this.setAppearance()
|
||||
},
|
||||
}
|
||||
},
|
||||
])
|
||||
menu.element.classList.add('menu')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user