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; });