Merge pull request #29 from elisee/patch-2

Remove accidentally-added "src" parameter from PNG.prototype.bitblt
This commit is contained in:
Luke Page 2015-10-08 12:13:42 +01:00
commit b5105432b3

View file

@ -135,7 +135,7 @@ PNG.bitblt = function(src, dst, srcX, srcY, width, height, deltaX, deltaY) { //
};
PNG.prototype.bitblt = function(src, dst, srcX, srcY, width, height, deltaX, deltaY) { // eslint-disable-line max-params
PNG.prototype.bitblt = function(dst, srcX, srcY, width, height, deltaX, deltaY) { // eslint-disable-line max-params
PNG.bitblt(this, dst, srcX, srcY, width, height, deltaX, deltaY);
return this;