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

2.0.0 promises #2021

Merged
merged 3 commits into from
Jun 8, 2014
Merged

2.0.0 promises #2021

merged 3 commits into from
Jun 8, 2014

Conversation

ForbesLindesay
Copy link
Contributor

We discussed moving from returning an event emitter to returning a promise. This implements the change.

Since future versions of node.js (and indeed all JavaScript environments) are going to have promises built in, this attempts to use built in promises if available, then falls back to requiring 'promise' as a polyfill.

@jonschlinkert
Copy link
Contributor

nice work!

@lukeapage
Copy link
Member

Just needs Promise defined in the jshint settings. Again will do that and merge when I have time. I'm hoping to do some work on less in the next couple of weeks.

@ForbesLindesay
Copy link
Contributor Author

I've fixed the jshintrc :)

lukeapage added a commit that referenced this pull request Jun 8, 2014
@lukeapage lukeapage merged commit 1d629bf into less:2_0_0 Jun 8, 2014
@lukeapage
Copy link
Member

cool thanks

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.

3 participants