Merge pull request #361 from jardakotesovec/clone-clean-up

Remove left over, non-functional code from clone feature.
This commit is contained in:
Lovell Fuller 2016-02-17 11:38:34 +00:00
commit 62e04f7784

View File

@ -884,7 +884,6 @@ Sharp.prototype.clone = function() {
// Clone existing options // Clone existing options
var clone = new Sharp(); var clone = new Sharp();
util._extend(clone.options, this.options); util._extend(clone.options, this.options);
clone.streamIn = false;
// Pass 'finish' event to clone for Stream-based input // Pass 'finish' event to clone for Stream-based input
this.on('finish', function() { this.on('finish', function() {
// Clone inherits input data // Clone inherits input data