mirror of
https://github.com/lovell/sharp.git
synced 2026-02-05 22:26:20 +01:00
clone clean up
This commit is contained in:
1
index.js
1
index.js
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user