add reference to original on monkeyPatched functions
L1270
This commit is contained in:
parent
d8dff2a0eb
commit
b4e7ce40a3
|
@ -1267,6 +1267,7 @@ var Utils = class {
|
|||
return data.returnValue;
|
||||
};
|
||||
what[methodName].__monkeyPatched = true;
|
||||
if (!what[methodName].__originalMethod) what[methodName].__originalMethod = origMethod;
|
||||
what[methodName].displayName = "patched " + (what[methodName].displayName || methodName);
|
||||
return cancel;
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue