mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2024-12-22 21:00:23 +01:00
Change enumerabe to enumerable
The default is false, so the typo had no impact. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/defineProperty
This commit is contained in:
parent
40d059311a
commit
86945ac563
@ -28,7 +28,7 @@
|
|||||||
askFunctionName,
|
askFunctionName,
|
||||||
{
|
{
|
||||||
value: getContext,
|
value: getContext,
|
||||||
enumerabe: false
|
enumerable: false
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
unsafeWindow.HTMLCanvasElement.prototype.getContext = new unsafeWindow.Function(
|
unsafeWindow.HTMLCanvasElement.prototype.getContext = new unsafeWindow.Function(
|
||||||
@ -66,7 +66,7 @@
|
|||||||
askFunctionName,
|
askFunctionName,
|
||||||
{
|
{
|
||||||
value: getContext,
|
value: getContext,
|
||||||
enumerabe: false
|
enumerable: false
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
unsafeWindow.HTMLCanvasElement.prototype.getContext = new unsafeWindow.Function(
|
unsafeWindow.HTMLCanvasElement.prototype.getContext = new unsafeWindow.Function(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user