Skip to content

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