From a1dcb8c381bebb445d1f16377fae0e1e51a18d83 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Mon, 16 Jan 2017 13:57:14 -0800 Subject: [PATCH] script: do not clone for removeSeparators. --- lib/script/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/script/script.js b/lib/script/script.js index 369d5da4..c82859ff 100644 --- a/lib/script/script.js +++ b/lib/script/script.js @@ -468,7 +468,7 @@ Script.prototype.removeSeparators = function removeSeparators() { } if (!found) - return this.clone(); + return this; // Uncommon case: someone actually // has a code separator. Go through