The logic for them makes use of Buffer, but for whatever reason, with the glob that's on livenet right now:
Failed to call subscription event callback ReferenceError: Buffer is not defined
|
} else if ('sag' in blit || 'sav' in blit) { |
|
const sav = ('sag' in blit) ? blit.sag : blit.sav; |
|
const name = sav.path.split('/').slice(-2).join('.'); |
|
const buff = Buffer.from(sav.file, 'base64'); |
|
const blob = new Blob([buff], { type: 'application/octet-stream' }); |
|
saveAs(blob, name); |
The logic for them makes use of
Buffer, but for whatever reason, with the glob that's on livenet right now:webterm/ui/lib/blit.ts
Lines 40 to 45 in ed7f8c5