mirror of
https://github.com/Eugeny/tabby.git
synced 2025-08-24 18:21:51 +00:00
more web cleanup
This commit is contained in:
@@ -234,3 +234,13 @@ export function hexSlice (start, end) {
|
||||
}
|
||||
return out
|
||||
}
|
||||
|
||||
import { Buffer } from 'buffer'
|
||||
|
||||
Buffer.prototype['latin1Slice'] = latin1Slice
|
||||
Buffer.prototype['utf8Slice'] = utf8Slice
|
||||
Buffer.prototype['base64Slice'] = base64Slice
|
||||
Buffer.prototype['utf8Write'] = utf8Write
|
||||
Buffer.prototype['hexSlice'] = hexSlice
|
||||
|
||||
window['Buffer'] = Buffer
|
||||
|
Reference in New Issue
Block a user