Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 84a61a7

Browse files
committed
post-review updates
1 parent 5a7b10a commit 84a61a7

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

public/docs/ts/_cache/tutorial/toh-pt6.jade

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,12 @@ block backend
9797
The `InMemoryWebApiModule` replaces the default `Http` client backend —
9898
the supporting service that talks to the remote server —
9999
with an _in-memory web API alternative service_.
100+
100101
+makeExcerpt(_appModuleTsVsMainTs, 'in-mem-web-api', '')
102+
101103
:marked
102104
The `forRoot` configuration method takes an `InMemoryDataService` class
103-
that will prime the in-memory database as follows:
105+
that primes the in-memory database as follows:
104106

105107
+makeExample('app/in-memory-data.service.ts', 'init')(format='.')
106108

@@ -126,7 +128,7 @@ block dont-be-distracted-by-backend-subst
126128

127129
:marked
128130
We returned a !{_Promise} resolved with mock heroes.
129-
It may have seemed like an overkill at the time, but we were anticipating the
131+
It may have seemed like overkill at the time, but we were anticipating the
130132
day when we fetched heroes with an HTTP client and we knew that would have to be an asynchronous operation.
131133

132134
That day has arrived! Let's convert `getHeroes()` to use HTTP.
@@ -140,7 +142,7 @@ block dont-be-distracted-by-backend-subst
140142

141143
- var _h3id = `http-${_promise}`
142144
:marked
143-
Refresh the browser and the hero data should be successfully loaded from the
145+
Refresh the browser, and the hero data should be successfully loaded from the
144146
mock server.
145147

146148
<h3 id="!{_h3id}">HTTP !{_Promise}</h3>

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,12 @@ block backend
9797
The `InMemoryWebApiModule` replaces the default `Http` client backend &mdash;
9898
the supporting service that talks to the remote server &mdash;
9999
with an _in-memory web API alternative service_.
100+
100101
+makeExcerpt(_appModuleTsVsMainTs, 'in-mem-web-api', '')
102+
101103
:marked
102104
The `forRoot` configuration method takes an `InMemoryDataService` class
103-
that will prime the in-memory database as follows:
105+
that primes the in-memory database as follows:
104106

105107
+makeExample('app/in-memory-data.service.ts', 'init')(format='.')
106108

@@ -126,7 +128,7 @@ block dont-be-distracted-by-backend-subst
126128

127129
:marked
128130
We returned a !{_Promise} resolved with mock heroes.
129-
It may have seemed like an overkill at the time, but we were anticipating the
131+
It may have seemed like overkill at the time, but we were anticipating the
130132
day when we fetched heroes with an HTTP client and we knew that would have to be an asynchronous operation.
131133

132134
That day has arrived! Let's convert `getHeroes()` to use HTTP.
@@ -140,7 +142,7 @@ block dont-be-distracted-by-backend-subst
140142

141143
- var _h3id = `http-${_promise}`
142144
:marked
143-
Refresh the browser and the hero data should be successfully loaded from the
145+
Refresh the browser, and the hero data should be successfully loaded from the
144146
mock server.
145147

146148
<h3 id="!{_h3id}">HTTP !{_Promise}</h3>

0 commit comments

Comments
 (0)