1
0
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:
V 2014-09-30 13:15:30 +02:00
parent 40d059311a
commit 86945ac563

View File

@ -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(