mirror of
https://github.com/GuerillaStudio/souvenir.git
synced 2025-01-20 18:50:21 +00:00
chore(eslint): Fix lint
This commit is contained in:
parent
783782677a
commit
7908303b1d
1 changed files with 2 additions and 2 deletions
|
@ -21,8 +21,8 @@ export function encode ({ imageDataList, imageWidth, imageHeight, delayTime }) {
|
||||||
break
|
break
|
||||||
|
|
||||||
case 'done':
|
case 'done':
|
||||||
const base64Content = btoa(payload.buffer.map((b) => String.fromCharCode(b)).join(""))
|
const base64Content = btoa(payload.buffer.map((b) => String.fromCharCode(b)).join(''))
|
||||||
const dataUrl = "data:image/gif;base64," + base64Content
|
const dataUrl = 'data:image/gif;base64,' + base64Content
|
||||||
resolve(dataUrl)
|
resolve(dataUrl)
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue