Browse Source

Merge pull request #295 from maritz/master

Typo in context2d imageSmoothingEnabled
v1.x
TJ Holowaychuk 12 years ago
parent
commit
2f79cfd8ae
  1. 3
      lib/context2d.js

3
lib/context2d.js

@ -1,4 +1,3 @@
/*! /*!
* Canvas - Context2d * Canvas - Context2d
* Copyright (c) 2010 LearnBoost <tj@learnboost.com> * Copyright (c) 2010 LearnBoost <tj@learnboost.com>
@ -116,7 +115,7 @@ Context2d.prototype.__defineSetter__('imageSmoothingEnabled', function(val){
* @api public * @api public
*/ */
Context2d.prototype.__defineSetter__('imageSmoothingEnabled', function(val){ Context2d.prototype.__defineGetter__('imageSmoothingEnabled', function(val){
return !! this._imageSmoothing; return !! this._imageSmoothing;
}); });

Loading…
Cancel
Save