chore(eslint): Fix lint

This commit is contained in:
Tixie 2019-03-10 04:52:29 +01:00
parent 783782677a
commit 7908303b1d

View file

@ -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
}