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

Commit

Permalink
docs($q): add a note re. difference in exception handling vs ES6
Browse files Browse the repository at this point in the history
Closes #11472
Closes #13101
  • Loading branch information
Stu Cox authored and petebacondarwin committed Oct 28, 2015
1 parent a995ee1 commit 964a901
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ng/q.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@
*
* Note: progress/notify callbacks are not currently supported via the ES6-style interface.
*
* Note: unlike ES6 behaviour, an exception thrown in the constructor function will NOT implicitly reject the promise.
*
* However, the more traditional CommonJS-style usage is still available, and documented below.
*
* [The CommonJS Promise proposal](http://wiki.commonjs.org/wiki/Promises) describes a promise as an
Expand Down

0 comments on commit 964a901

Please sign in to comment.