Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

$q.resolve #11944

Closed
dcherman opened this issue May 26, 2015 · 1 comment
Closed

$q.resolve #11944

dcherman opened this issue May 26, 2015 · 1 comment

Comments

@dcherman
Copy link
Contributor

I couldn't find an open or closed issue regarding this, so I apologize if this is a duplicate.

Can we add $q.resolve as an alias to $q.when in order to align Angular Promises with ES6 Promises?

@Narretz
Copy link
Contributor

Narretz commented May 28, 2015

I don't see why not. PR welcome!

netman92 pushed a commit to netman92/angular.js that referenced this issue Aug 8, 2015
New "when" alias "resolve" to maintain naming consistency with ES6.

Closes angular#11944
Closes angular#11987
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants