mirror of
https://github.com/ragestudio/vessel.git
synced 2025-06-09 02:24:17 +00:00
remove buffer polify
This commit is contained in:
parent
4dc03bfa82
commit
61414a14d2
@ -1,10 +1,6 @@
|
||||
// Patch global prototypes
|
||||
import { Buffer } from "buffer"
|
||||
|
||||
globalThis.IS_MOBILE_HOST = window.navigator.userAgent === "capacitor"
|
||||
|
||||
window.Buffer = Buffer
|
||||
|
||||
Array.prototype.findAndUpdateObject = function (discriminator, obj) {
|
||||
let index = this.findIndex(
|
||||
(item) => item[discriminator] === obj[discriminator],
|
||||
|
Loading…
x
Reference in New Issue
Block a user