Skip to content

Commit e178214

Browse files
EmmaRamirezwardbell
authored andcommitted
docs: update link to learning promises
to the chapter in Dr. Axel Rauschmayer's ES6 book from his old post closes angular#1005 The old link on the documentation lead to an article on promises that contained outdated information, so this one leads to newer content.
1 parent 041bcb3 commit e178214

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

public/docs/ts/latest/guide/architecture.jade

+1-1
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ figure
403403
Here's an example of a service class that logs to the browser console
404404
+makeExample('architecture/ts/app/logger.service.ts', 'class', 'app/logger.service.ts (class only)')(format=".")
405405
:marked
406-
Here's a `HeroService` that fetches heroes and returns them in a resolved [promise](http://www.2ality.com/2014/10/es6-promises-api.html).
406+
Here's a `HeroService` that fetches heroes and returns them in a resolved [promise](http://exploringjs.com/es6/ch_promises.html).
407407
The `HeroService` depends on the `LoggerService` and another `BackendService` that handles the server communication grunt work.
408408
+makeExample('architecture/ts/app/hero.service.ts', 'class', 'app/hero.service.ts (class only)')(format=".")
409409
:marked

public/docs/ts/latest/guide/router.jade

+1-1
Original file line numberDiff line numberDiff line change
@@ -966,7 +966,7 @@ code-example(format="").
966966
:marked
967967
The `DialogService` (injected in the `AppComponent` for app-wide use) does the asking.
968968

969-
It returns a [promise](http://www.2ality.com/2014/10/es6-promises-api.html) that
969+
It returns a [promise](http://exploringjs.com/es6/ch_promises.html) that
970970
*resolves* when the user eventually decides what to do: either
971971
to discard changes and navigate away (`true`) or to preserve the pending changes and stay in the crisis editor (`false`).
972972

public/docs/ts/latest/tutorial/toh-pt4.jade

+1-1
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ code-example(format="." language="html").
288288
It does that work (somewhere) and eventually it calls our function with the results of the work or an error.
289289
.l-sub-section
290290
:marked
291-
We are simplifying. Learn about ES2015 Promises [here](http://www.2ality.com/2014/10/es6-promises-api.html) and elsewhere on the web.
291+
We are simplifying. Learn about ES2015 Promises [here](http://exploringjs.com/es6/ch_promises.html) and elsewhere on the web.
292292
:marked
293293
Update the `HeroService` with this promise-returning `getHeroes` method:
294294
+makeExample('toh-4/ts/app/hero.service.ts', 'get-heroes', 'hero.service.ts (getHeroes)')(format=".")

0 commit comments

Comments
 (0)