mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-26 17:26:22 +00:00
Merge branch 'modules-proxy-patches' into immediate-finds-modules-proxy
This commit is contained in:
commit
2f87363b89
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ Object.defineProperty(Function.prototype, "O", {
|
||||||
// wreq.m is the webpack object containing module factories.
|
// wreq.m is the webpack object containing module factories.
|
||||||
// This is pre-populated with module factories, and is also populated via webpackGlobal.push
|
// This is pre-populated with module factories, and is also populated via webpackGlobal.push
|
||||||
// The sentry module also has their own webpack with a pre-populated module factories object, so this also targets that
|
// The sentry module also has their own webpack with a pre-populated module factories object, so this also targets that
|
||||||
// We replace wrap it with our proxy, which is responsible for patching the module factories, or setting up getters for them
|
// We wrap it with our proxy, which is responsible for patching the module factories, or setting up getters for them
|
||||||
Object.defineProperty(Function.prototype, "m", {
|
Object.defineProperty(Function.prototype, "m", {
|
||||||
configurable: true,
|
configurable: true,
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue