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

Pass this from promise based calling #2311

Merged
merged 1 commit into from
Nov 26, 2014
Merged

Pass this from promise based calling #2311

merged 1 commit into from
Nov 26, 2014

Conversation

ForbesLindesay
Copy link
Contributor

Fixes less/less-plugin-npm-import#4

Plugins rely on the this context being correctly set for the render function, but it was not correctly set in the case of the promise code path. This fixes that so that it works correctly.

@lukeapage
Copy link
Member

Thanks!

lukeapage added a commit that referenced this pull request Nov 26, 2014
Pass this from promise based calling
@lukeapage lukeapage merged commit 88ca26a into less:master Nov 26, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Doesn’t work with Less 2.1.0
2 participants