Skip to content

Commit 3fc604e

Browse files
authored
Merge pull request #81 from ember-fastboot/fix-colon
Fix docs to say protocol now has colon
2 parents 3d2cf02 + 7f06aed commit 3fc604e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

markdown/docs/user-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ You can use these hooks to defer the initial rendering of your application.
111111
See [Use Model Hooks to Defer Rendering](#use-model-hooks-to-defer-rendering).
112112

113113
If you have asynchronous code that runs outside of these lifecycle hooks, you will want to use `deferRendering` to block the response. `deferRendering` function accepts a `Promise` and will chain all promises passed to it.
114-
FastBoot will wait for these promises to resolve, allowing the app to rerender itself based on new data coming in asynchronously before sending the response to the client.
114+
FastBoot will wait for these promises to resolve, allowing the app to rerender itself based on new data coming in asynchronously before sending the response to the client.
115115

116116
You must call `deferRendering` before these model hooks complete.
117117
For example, if you made an asynchronous call in a Component, you would use `deferRendering` in the `init` lifecycle hook.
@@ -244,7 +244,7 @@ export default Ember.Route.extend({
244244

245245
#### Protocol
246246

247-
You can access the protocol (`http` or `https`) of the request that the current FastBoot server is responding to via `fastboot.request` in the `fastboot` service.
247+
You can access the protocol (`http:` or `https:`) of the request that the current FastBoot server is responding to via `fastboot.request` in the `fastboot` service.
248248

249249
```javascript
250250
export default Ember.Route.extend({

0 commit comments

Comments
 (0)