angular-docs-cn/aio/src
Peter Bacon Darwin 5e6a3ff6a7 refactor(aio): rename DocumentContents `url` to `id` and tidy up (#16139)
Dgeni is now providing the `id` for all the documents to be viewed. So we
no longer need to add this to the DocumentContents object.

There are some notable changes in the refactoring:

`DocumentService`:

* The id of the document to render is now obtained from `LocationService.path()`.
* The `getFileNotFoundDoc` and `getErrorDoc` methods have been extracted from
the `fetchDocument` method.

`AppComponent`:

* the `pageId` is now computed in a separate `setPageId` method.

`AppComponen` spec file:

* The `TestHttp` has had the hard coded documents removed and replaced with
a function that will generate docs as needed.
2017-04-20 22:14:58 -05:00
..
app refactor(aio): rename DocumentContents `url` to `id` and tidy up (#16139) 2017-04-20 22:14:58 -05:00
assets docs(aio): rename http guide 2017-04-20 16:01:44 +01:00
environments feat(aio): add google analytics (#15081) 2017-03-13 18:08:23 -07:00
styles fix(aio): material code tab arrow animation (#16206) 2017-04-20 14:52:02 -07:00
testing feat(aio): add LocationService.path() method (#16139) 2017-04-20 22:14:43 -05:00
NOTES.md docs(aio): add NOTES 2017-03-02 00:21:06 -08:00
favicon.ico build(aio): big move of docs related files (#14361) 2017-02-09 11:58:36 -08:00
index.html fix(aio): better styling for "disabled JavaScript" message (#16170) 2017-04-19 22:34:04 -05:00
main.ts refactor(aio): cleanup polyfill imports and realign them with the latest cli blueprint 2017-03-21 15:20:28 -05:00
polyfills.ts refactor(aio): cleanup polyfill imports and realign them with the latest cli blueprint 2017-03-21 15:20:28 -05:00
pwa-manifest.json fix(aio): better styling for "disabled JavaScript" message (#16170) 2017-04-19 22:34:04 -05:00
styles.scss style(aio): tidy up SCSS files 2017-03-13 12:55:11 -07:00
test.ts refactor(aio): cleanup polyfill imports and realign them with the latest cli blueprint 2017-03-21 15:20:28 -05:00
tsconfig.app.json build(aio): update project config for @angular/cli v1.0.0 2017-03-27 11:55:26 -07:00
tsconfig.spec.json build(aio): update project config for @angular/cli v1.0.0 2017-03-27 11:55:26 -07:00
typings.d.ts build(aio): update project config for @angular/cli v1.0.0 2017-03-27 11:55:26 -07:00