Skip to content

Commit

Permalink
Removed outdated PhantomJS function specified in issue less#3772
Browse files Browse the repository at this point in the history
  • Loading branch information
clewarne14 committed Apr 4, 2023
1 parent 2702322 commit 98d14ff
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions packages/less/src/less-browser/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 98d14ff

Please sign in to comment.