From 98d14ffc1b4ec7818d6c7a21bfcaeae40ad6d05d Mon Sep 17 00:00:00 2001 From: "clewarne15@gmail.com" Date: Tue, 4 Apr 2023 16:12:50 -0700 Subject: [PATCH] Removed outdated PhantomJS function specified in issue #3772 --- packages/less/src/less-browser/index.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/packages/less/src/less-browser/index.js b/packages/less/src/less-browser/index.js index 6ec83bb50..4312dfac8 100644 --- a/packages/less/src/less-browser/index.js +++ b/packages/less/src/less-browser/index.js @@ -46,15 +46,6 @@ export default (window, options) => { return cloned; } - // only really needed for phantom - function bind(func, thisArg) { - const curryArgs = Array.prototype.slice.call(arguments, 2); - return function() { - const args = curryArgs.concat(Array.prototype.slice.call(arguments, 0)); - return func.apply(thisArg, args); - }; - } - function loadStyles(modifyVars) { const styles = document.getElementsByTagName('style'); let style;