diff --git a/lib/modifiedCanvasAPI.js b/lib/modifiedCanvasAPI.js index 8242938..d1c1169 100644 --- a/lib/modifiedCanvasAPI.js +++ b/lib/modifiedCanvasAPI.js @@ -296,7 +296,7 @@ }, object: "HTMLCanvasElement", fakeGenerator: function(checker){ - return function(context, contextAttributes){ + return function getContext(context, contextAttributes){ return checkerWrapper(checker, this, arguments, function(args, check){ const {original} = check; canvasContextType.set(this, context);