Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sasuke #4225

Closed
wants to merge 3 commits into from
Closed

Sasuke #4225

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@
- [#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)

### 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)
Expand Down
16 changes: 8 additions & 8 deletions packages/less/src/less-browser/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down