From 6e9ad7d0f9cf13460987cfaf60a2e3b223313a8d Mon Sep 17 00:00:00 2001 From: Gourav2580 Date: Wed, 12 Jul 2023 03:23:13 +0530 Subject: [PATCH] Remove PhantomJS stuff --- 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 d2ab24a77..d6ed9d14c 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;