Commit Graph

2495 Commits

Author SHA1 Message Date
Zhicheng Wang 0bd68438e0 格式微调 2016-06-29 13:38:31 +08:00
priestch b21c90c358 fix(doc): fix 404 problem of some api url 2016-06-28 22:25:24 -07:00
Zhicheng Wang fb22c0556c 内容微调 2016-06-29 13:11:23 +08:00
Filipe Silva e6655fa627 chore: add travis badge 2016-06-28 22:03:01 -07:00
Mike Ryan f1f03cf28c chore(bios): Add Mike Ryan 2016-06-28 22:02:12 -07:00
Zhicheng Wang 55dc7c9476 内容微调 2016-06-29 11:18:36 +08:00
Zhicheng Wang fc6e68dc5c 调整首页
内容微调
2016-06-29 10:41:21 +08:00
Naomi Black 7fa73c4cb0 chore(june28): updates to news, events, team bio for max 2016-06-28 18:56:29 -07:00
Fabriece Sumuni 8d7e7a0187 fixed a formatting typo on line 1015 2016-06-28 16:18:12 -07:00
Naomi Black 28b5316727 docs(forms): add more to the top of doc warning about bootstrap 2016-06-28 16:08:38 -07:00
Naomi Black 8548d3cb06 chore(nav): update left nav to add glossary back 2016-06-28 13:58:30 -07:00
Patrice Chalin e5b11d456c docs(guide/attribute-directives): follow-up to #1654 (#1765)
- Updated Dart code to match TS.
- Ran dartfmt.
- Enabled e2e tests; suites passed:
  - public/docs/_examples/attribute-directives/dart
  - public/docs/_examples/attribute-directives/ts
- Prose copyedits.
2016-06-28 13:15:51 -07:00
Patrice Chalin f8e6b5d1f7 docs(toh-5/dart): make dashboard more robust (#1688)
Originally the dashboard TS expression ``heroes.slice(1, 5))` had been
written as:

> _heroService.getHeroes().getRange(1, 5)

which is brittle; it fails if there are not enough heroes. Slice
doesn't fail; an equivalent express
ion in Dart is

> _heroService.getHeroes().skip(1).take(4)

This is now used.

Other changes:
- Fix in css (missed TS-side update).
- Ran `dartfmt` on `heroes_component.dart`.
2016-06-28 13:15:29 -07:00
Patrice Chalin eda47f64e8 docs(guide/lifecycle-hooks): follow-up to #1654 (#1768)
Mainly Dart-side review, following #1654:
- Updates to follow style guide
- Enabled e2e tests
- Fixes to ensure tests pass: in after_view_component.dart and
after_content_component.dart
  - Changed test over comment field in template to be:
*ngIf="comment.isNotEmpty"
- Suites passed:
  public/docs/_examples/lifecycle-hooks/dart
  public/docs/_examples/lifecycle-hooks/ts
2016-06-28 13:13:58 -07:00
Patrice Chalin f06398cd89 docs(toh-6/dart): first edition of prose and example code (#1687)
* docs(toh-6/dart): first edition of prose and example code

NOTE: this PR depends on #1686.

Dart prose and example match TS except that:
- No child-to-parent event emission occurs.
- Support for Add Hero is added as an unconditional feature of the
Heroes view.
- http `_post` takes only a name
- http `delete` takes only a hero id.
- The Dart in-memory-data-service has been dropped in favor of an
implementation based on the "standard" `http.testing.MockClient` class.

* post-review changes
2016-06-28 13:12:49 -07:00
Brandon Roberts 97fbda0d76 docs(toh-6/ts): Upgraded http tutorial to use new router 2016-06-28 13:03:04 -07:00
Patrice Chalin b049c1bcf4 chore(guide/server-communication): fix indentation in Jade 2016-06-28 12:52:47 -07:00
Filipe Silva 58d20e57b5 chore: update ngSwitchWhen to ngSwitchCase
See https://github.com/angular/angular/commit/e1fcab7
2016-06-28 12:52:47 -07:00
Mark McEahern c467d56a2b Fix typo in first-app-tests.jade 2016-06-28 12:52:47 -07:00
Patrick McDonald adc04b6830 docs: Change LoggerService to Logger service
`LoggerService` implies that it will be written as such in the code, yet the hero.service.ts example has a service simply called `Logger` (which matches the Style Guide).
2016-06-28 12:52:47 -07:00
Brandon Roberts f3189546a6 docs(toh-5): Upgraded tutorial to new router 2016-06-28 12:52:47 -07:00
Rick Beerendonk 2eae445504 docs(template-syntax): correct hyperlink path to API documentation 2016-06-28 12:52:47 -07:00
Kai Ruhnau 26027105a7 docs(router): Fix the link to the APP_BASE_HREF page 2016-06-28 12:52:47 -07:00
eltronix 1c5be21b32 Fixed typo 2016-06-28 12:52:47 -07:00
Foxandxss c02b942008 chore: update to router alpha.8 2016-06-28 12:52:47 -07:00
Foxandxss c380d69ea1 chore: lock router-deprecated to rc.2 for plunkers 2016-06-28 12:52:47 -07:00
Zhimin(Rex) YE 8e2299de2a review of router.jade, to line 429 2016-06-28 20:45:40 +01:00
Naomi Black 2480a91570 chore(api): remove internal compiler API from docgen
closes #1771
2016-06-28 11:37:53 -07:00
Patrice Chalin 283195685f docs(guide/user-input): follow-up to #1654 (#1770)
Mainly Dart-side review, following #1654:
- Updates to follow style guide
- Suites passed:
  public/docs/_examples/user-input/dart
  public/docs/_examples/user-input/ts

Note: the click-me2 component is not mentioned in the prose, maybe it
should be.
2016-06-28 08:25:12 -07:00
Patrice Chalin 3510f96620 docs(guide/pipes): follow-up to #1654 (#1769)
Mainly Dart-side review, following #1654:
- Updates to follow style guide
- Suites passed:
  public/docs/_examples/pipes/dart
- Suites failed (known issue - #1761):
  public/docs/_examples/pipes/ts
2016-06-28 08:22:53 -07:00
Patrice Chalin bacc4bcbac docs(guide/{di,ts,toh-[23]}): follow-up to #1654 (#1767)
Mainly Dart-side review, following #1654.
dependency-injection:
- Renamed components in providers_component.dart
- E2e suites passed:
  - public/docs/_examples/dependency-injection/dart
  - public/docs/_examples/dependency-injection/ts

template-syntax:
- Removed unused global variable.
- Suites passed:
  public/docs/_examples/template-syntax/dart
  public/docs/_examples/template-syntax/ts

toh-2 & 3:
- Clean-up.
2016-06-28 08:16:59 -07:00
Zhicheng Wang aca0989f52 调整导航结构 2016-06-28 13:32:08 +08:00
Zhicheng Wang d7a71ccf59 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	public/docs/ts/latest/cookbook/_data.json
#	public/docs/ts/latest/guide/_data.json
#	public/docs/ts/latest/guide/security.jade
#	public/docs/ts/latest/tutorial/toh-pt6.jade
2016-06-28 09:40:49 +08:00
Zhicheng Wang 44c93fd2c1 翻译完了新的路由章节 2016-06-28 08:17:12 +08:00
Patrice Chalin a7435c3f8c chore(install): put all install commands into a single script (#1754)
This makes it easier to run manually, e.g., after having reset all
local typings.
2016-06-27 16:55:39 -07:00
Patrice Chalin 3fe0fb077c docs(toh-6/ts): minor edits and enhancements (#1686)
* docs(toh-6/ts): minor edits and enhancements

Changes to prose:

- Complete TODO item of displaying `heroes.component` errors.
- Mainly copyedits.
- Add of blocks statements so that prose can be used on Dart side.
- Show excerpt and briefly explain of changes (previously missing):
  - `app/hero-detail.component.html`
  - `app/heroes.component.ts` error handling
- Add missing file to changed/added files listing and makeTabs
  - `toh-6/ts/app/in-memory-data.service.ts,
  - `toh-6/ts/sample.css`

Code changes:

- Mainly copyedits
- Renamed `heroes.component.ts` `delete` to `deleteHero` to match
naming of other methods

* remove unnecessary change relative to toh-5
2016-06-27 11:23:27 -07:00
Patrick McDonald a843310e17 docs: Typo fix (an > a) (#1747) 2016-06-26 17:41:06 +01:00
Zhimin YE (Rex) 06e8f374e5 draft translation of security.jade. 2016-06-23 14:32:12 +01:00
Naomi Black 34b687df5b chore(security): remove redundant heading 2016-06-23 02:38:52 -07:00
Martin Probst 3905be89ef docs(security): Clarify template injection.
Also link to html5rocks docs on CSP.
2016-06-23 02:38:52 -07:00
Zhicheng Wang 9f2c4270e1 调整了导航菜单,直接显示新版 2016-06-23 09:22:50 +08:00
Zhicheng Wang e1eba2caea 刚刚开始翻译路由器一章 2016-06-23 09:02:08 +08:00
Naomi Black 1149816dce chore(nav): a missing bit of metadata for the forms guide 2016-06-22 17:53:17 -07:00
Zhicheng Wang bb9adc3eba Merge remote-tracking branch 'origin/master'
# Conflicts:
#	README.md
#	public/docs/ts/latest/_data.json
#	public/docs/ts/latest/cookbook/_data.json
#	public/docs/ts/latest/cookbook/dynamic-form.jade
#	public/docs/ts/latest/guide/_data.json
#	public/docs/ts/latest/guide/forms.jade
#	public/docs/ts/latest/guide/style-guide.jade
2016-06-23 08:48:57 +08:00
Naomi Black 987fbad0f3 chore(nav): clean up left nav titles and alpha-sort them 2016-06-22 17:13:48 -07:00
Zhicheng Wang 443f726a04 重新开放dart版
接受网友Z的一个修订意见
2016-06-23 08:05:05 +08:00
Ricardo Torres e4f2a22014 fix(docs) router-deprecated still in rc.2 2016-06-22 15:20:44 -07:00
Torgeir Helgevold e41da11444 docs(forms): upgrading forms guide to new api
This PR upgrades the existing forms to the new API,
while leaving a copy for existing users.

The current forms will be the default until RC4, at
which point we will switch the default to the new API
but still retain a link to the old forms API.

After RC5 the old API docs will be completely removed.
2016-06-22 15:15:12 -07:00
Naomi Black 7d5614ef82 chore(version): bump the docs version to rc3 2016-06-22 15:07:34 -07:00
Filipe Silva 31d0c757d7 chore(style-guide): remove routing styles
Routing styles were breaking CI and are out of date, since we're using the 3.0.0 router.

We should remove them until we have recommendations.
2016-06-21 18:11:54 -07:00