From 3cc99d5f98d0c7466b383caff4f6ad707e330c6e Mon Sep 17 00:00:00 2001 From: Moritz Peters Date: Tue, 18 Jun 2013 15:41:17 +0300 Subject: [PATCH] Fix typo in context2d for imageSmoothingEnabled getter instead of setter. --- lib/context2d.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/context2d.js b/lib/context2d.js index 4a56c49..7dfbea0 100644 --- a/lib/context2d.js +++ b/lib/context2d.js @@ -1,4 +1,3 @@ - /*! * Canvas - Context2d * Copyright (c) 2010 LearnBoost @@ -116,7 +115,7 @@ Context2d.prototype.__defineSetter__('imageSmoothingEnabled', function(val){ * @api public */ -Context2d.prototype.__defineSetter__('imageSmoothingEnabled', function(val){ +Context2d.prototype.__defineGetter__('imageSmoothingEnabled', function(val){ return !! this._imageSmoothing; });