mirror of
https://github.com/GuerillaStudio/souvenir.git
synced 2024-11-08 11:51:53 +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
|
||||
|
||||
case 'done':
|
||||
const base64Content = btoa(payload.buffer.map((b) => String.fromCharCode(b)).join(""))
|
||||
const dataUrl = "data:image/gif;base64," + base64Content
|
||||
const base64Content = btoa(payload.buffer.map((b) => String.fromCharCode(b)).join(''))
|
||||
const dataUrl = 'data:image/gif;base64,' + base64Content
|
||||
resolve(dataUrl)
|
||||
break
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue