From 84ae52bf232a5f53c2b1719d933aae14b7ea3655 Mon Sep 17 00:00:00 2001 From: Steve Mao Date: Tue, 22 Mar 2016 16:36:04 +1100 Subject: [PATCH] docs($q): es6 is not harmony any more Mention ES2015 because it is also a correct identifier for the version of the spec. --- src/ng/q.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ng/q.js b/src/ng/q.js index 6107e2873cff..0be55b371c30 100644 --- a/src/ng/q.js +++ b/src/ng/q.js @@ -13,15 +13,15 @@ * [Kris Kowal's Q](https://github.com/kriskowal/q). * * $q can be used in two fashions --- one which is more similar to Kris Kowal's Q or jQuery's Deferred - * implementations, and the other which resembles ES6 promises to some degree. + * implementations, and the other which resembles ES6 (ES2015) promises to some degree. * * # $q constructor * * The streamlined ES6 style promise is essentially just using $q as a constructor which takes a `resolver` - * function as the first argument. This is similar to the native Promise implementation from ES6 Harmony, + * function as the first argument. This is similar to the native Promise implementation from ES6, * see [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise). * - * While the constructor-style use is supported, not all of the supporting methods from ES6 Harmony promises are + * While the constructor-style use is supported, not all of the supporting methods from ES6 promises are * available yet. * * It can be used like so: