From e248da4f0fb5bbc9bd429d031c618114ec61b13c Mon Sep 17 00:00:00 2001 From: Sasuke <83840673+amanjr09-glitch@users.noreply.github.com> Date: Thu, 31 Aug 2023 01:04:32 +0000 Subject: [PATCH 1/3] phantom error --- packages/less/src/less-browser/index.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/less/src/less-browser/index.js b/packages/less/src/less-browser/index.js index d2ab24a77..d64c8f6ef 100644 --- a/packages/less/src/less-browser/index.js +++ b/packages/less/src/less-browser/index.js @@ -46,14 +46,14 @@ 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); - }; - } + // // 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'); From 37f5b45cefb0ac846f4c5d59eaed60d53e9204ba Mon Sep 17 00:00:00 2001 From: Sasuke <83840673+amanjr09-glitch@users.noreply.github.com> Date: Thu, 31 Aug 2023 01:06:58 +0000 Subject: [PATCH 2/3] phantom js removed --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d6273b066..075095e67 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -524,6 +524,10 @@ - [#796](https://github.com/less/less.js/pull/796) fixed issue #795 (@comfuture) - [#268](https://github.com/less/less.js/pull/268) Implemented named arguments (@jamesfoster) + +### fix + -[#3772] Removed PhantomJS stuff + ### v1.3.0 (2012-03-10) - [#673](https://github.com/less/less.js/pull/673) mocha found a couple global variable leaks. Here's the fix. (@andrewjstone) - [#634](https://github.com/less/less.js/pull/634) Add @media bubbling/nesting/merging (@NDMarcel) From 6d1d914096fcc7d843011efd0726e1fb678de2b3 Mon Sep 17 00:00:00 2001 From: Lei Chen Date: Sat, 9 Sep 2023 14:39:38 +0800 Subject: [PATCH 3/3] remove --- CHANGELOG.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 075095e67..9057af739 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -523,10 +523,6 @@ - [#804](https://github.com/less/less.js/pull/804) Fix for unnamed parameters test fail & failing test for import-once (@jreading) - [#796](https://github.com/less/less.js/pull/796) fixed issue #795 (@comfuture) - [#268](https://github.com/less/less.js/pull/268) Implemented named arguments (@jamesfoster) - - -### fix - -[#3772] Removed PhantomJS stuff ### v1.3.0 (2012-03-10) - [#673](https://github.com/less/less.js/pull/673) mocha found a couple global variable leaks. Here's the fix. (@andrewjstone)