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

Commit 696cb95

Browse files
stevemaogkalpak
authored andcommitted
docs($q): mention ES2015 (as a "synonym" for ES6) and remove "harmony"
Closes #14294
1 parent 457fd21 commit 696cb95

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ng/q.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@
1313
* [Kris Kowal's Q](https://github.com/kriskowal/q).
1414
*
1515
* $q can be used in two fashions --- one which is more similar to Kris Kowal's Q or jQuery's Deferred
16-
* implementations, and the other which resembles ES6 promises to some degree.
16+
* implementations, and the other which resembles ES6 (ES2015) promises to some degree.
1717
*
1818
* # $q constructor
1919
*
2020
* The streamlined ES6 style promise is essentially just using $q as a constructor which takes a `resolver`
21-
* function as the first argument. This is similar to the native Promise implementation from ES6 Harmony,
21+
* function as the first argument. This is similar to the native Promise implementation from ES6,
2222
* see [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise).
2323
*
24-
* While the constructor-style use is supported, not all of the supporting methods from ES6 Harmony promises are
24+
* While the constructor-style use is supported, not all of the supporting methods from ES6 promises are
2525
* available yet.
2626
*
2727
* It can be used like so:

0 commit comments

Comments
 (0)