Commit Graph

2387 Commits

Author SHA1 Message Date
Zhicheng Wang 3789144368 根据网友pshadow的勘误,改正一个错误 2016-07-14 07:52:12 +08:00
Zhicheng Wang bc06443bb6 在中英文之间添加了一些空格 2016-07-13 13:28:10 +08:00
Zhicheng Wang 5cf04ba3ec 在中英文之间添加了一些空格 2016-07-13 13:27:52 +08:00
Zhicheng Wang c50faffd97 添加了一些空格 2016-07-13 13:16:41 +08:00
Naomi Black 5da6dff3ec launch(chinese): update the banner translation 2016-07-11 23:03:01 -07:00
Naomi Black 9aa664a49d chore(news): add link to china blog announcment 2016-07-11 22:54:00 -07:00
Zhicheng Wang 46ea47d126 添加dialog.service导致了编译错误,修正回去 2016-07-12 13:52:49 +08:00
Naomi Black be23e90095 launch(china): announce angular.cn 2016-07-11 22:45:23 -07:00
Thomas Shafer b669e30187 docs(toh-4): change var keyword to const for HEROES constant
closes #1858
HEROES is a `const` and is defined as a `const` originally: https://github.com/angular/angular.io/blob/master/public/docs/_examples/toh-2/ts/app/app.component.ts#L10
2016-07-11 22:07:41 -07:00
Zhicheng Wang 47eb31ddb2 移除banner中的切换中英文提示 2016-07-12 13:05:48 +08:00
Sekib Omazic f15b40f513 fix(package.webpack.json): add angular2-template-loader
closes #1864
Add missing angular2-template-loader dependency
2016-07-11 22:02:20 -07:00
Foxandxss 961f5c8994 chore: make animation test wait a bit longer
closes #1844
2016-07-11 22:00:04 -07:00
Foxandxss 50b51f6bdc docs(router): fix broken links in router chapters
closes #1843
2016-07-11 21:57:15 -07:00
Patrice Chalin 98e5d4af77 docs(all): link cleanup - broken and outdated
closes #1841
Fixes all broken links except genuine errors (see #1840), have been
resolved as of 2016-07-06
(https://github.com/angular/angular/commit/2708ce6a17667a2369c83bcf244c9
366b058d4c9).

Fixes #1574
2016-07-11 21:50:07 -07:00
Brandon Roberts 5104470558 docs(router): Removed refs to deprecated router; lowerCamelCase constants
closes #1834
2016-07-11 21:44:12 -07:00
Patrice Chalin 761f857f13 docs(architecture/dart): proofread, updated Dart/TS app and jade
closes #1807
- e2e tests now also cover the tax calculator.
- Dart app updated to match TS (it had no sales tax calculator).
- TS sample source cleanup (e.g. removed many unnecessary `docregions`).
- Prose updated to include @kwalrath's revisions from a while ago, Ward's comments, and
some of my edits as well.

Contributes to #1598 and #1508.
2016-07-11 20:35:06 -07:00
Patrice Chalin fb9edf972e chore: fix "Invalid example" warnings from shred map builder
closes #1832
The shred map (xref) builder was issuing warnings. This fix includes
- Adjustments to the shredder map builder itself so that it
understands, e.g., app-project relative example paths.
- `**/guide/glossary.jade` now (Jade) `includes` the shared parent
`glossary.jade` rather than (Harp) importing (via `partial`). This
fixes `makeExample` path issues in the glossary.
- Adjusted some `makeExample` paths that were ok for site build, but
confused the xref tool.
2016-07-11 20:10:56 -07:00
Zhicheng Wang 2eb5463384 微调 2016-07-11 13:13:01 +08:00
雪狼 aae9cc20d1 Merge pull request #16 from dreamapplehappy/dreamapple-contribute
翻译的一点建议
2016-07-11 13:11:44 +08:00
Zhicheng Wang f6eba2df5e 根据gogobook的反馈添加了dialog.service
鸣谢里添加了给出反馈的github网友
2016-07-11 13:04:16 +08:00
Zhicheng Wang ac9e032b51 根据 wudingli 的反馈修正了翻译 2016-07-11 12:51:41 +08:00
Zhicheng Wang 210b076594 根据网上反馈去掉了路由名字,新版已经不需要了。 2016-07-11 12:46:21 +08:00
Zhicheng Wang fb60f9c4c5 翻译了一段儿新增内容 2016-07-11 08:37:48 +08:00
Zhicheng Wang 273a0fd1e8 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	public/docs/ts/latest/guide/displaying-data.jade
#	public/docs/ts/latest/guide/style-guide.jade
#	public/docs/ts/latest/guide/typescript-configuration.jade
#	public/docs/ts/latest/guide/webpack.jade
2016-07-11 08:32:56 +08:00
Zhimin YE (Rex) 01dc30eb3e chore: Change toggle button text to English.
Add "Click to show/hide English" to home.
2016-07-08 09:47:55 +01:00
Ward Bell 0664a271ba docs(style-guide): spell const variables in lower camel case
Changes previous guidance on const which insisted on UPPER_SNAKE_CASE
2016-07-07 22:41:04 -07:00
Ward Bell 2c5f0dbd9a docs(router): more little fixes from #1808 2016-07-07 18:51:36 -07:00
Patrice Chalin 801ac76da0 docs(guide/displaying-data): proofread (#1819)
* docs(displaying-data/dart): proofread

- Dart prose simplified by removing discussion of "additions to
pubspec.yaml" which are no longer necessary given the current state of
QuickStart.
- E2e suites passed:
  public/docs/_examples/displaying-data/dart
  public/docs/_examples/displaying-data/ts

Contributes to #1598 and #1508.

* docs(displaying-data/ts): proofread

- TS prose updated to include @kwalrath's revisions from a while ago,
with some of my edits as well.
- E2e suites passed:
  public/docs/_examples/displaying-data/dart
  public/docs/_examples/displaying-data/ts

* docs(displaying-data/ts): post-review edits
2016-07-07 14:00:19 -07:00
Patrice Chalin ff718f4211 docs(cheatsheet/dart): alert reader of possible inaccuracies (#1814)
Until we can generate the cheat sheet properly, at least alert reader
of possible inaccuracies.
2016-07-07 11:42:04 -07:00
Zhicheng Wang ba245134a7 更换跟踪ID 2016-07-07 09:50:10 +08:00
Zhicheng Wang 1cb52fe7a0 加回Google分析代码 2016-07-07 09:40:38 +08:00
Zhicheng Wang 6975026f0c 微调,改界面文字 2016-07-07 08:33:14 +08:00
Zhicheng Wang 6264d3bcde 批量把Provider/provide改译为提供商/提供,以和ISP(互联网服务提供商)的译法看齐 2016-07-07 08:22:36 +08:00
Zhicheng Wang 0303a18020 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	README.md
#	public/docs/ts/latest/guide/attribute-directives.jade
#	public/docs/ts/latest/guide/component-styles.jade
#	public/docs/ts/latest/guide/dependency-injection.jade
#	public/docs/ts/latest/guide/hierarchical-dependency-injection.jade
#	public/docs/ts/latest/guide/lifecycle-hooks.jade
#	public/docs/ts/latest/guide/pipes.jade
#	public/docs/ts/latest/guide/security.jade
#	public/docs/ts/latest/guide/server-communication.jade
#	public/docs/ts/latest/guide/structural-directives.jade
#	public/docs/ts/latest/quickstart.jade
#	public/docs/ts/latest/testing/testing-an-angular-pipe.jade
#	public/docs/ts/latest/tutorial/index.jade
#	public/docs/ts/latest/tutorial/toh-pt1.jade
#	public/docs/ts/latest/tutorial/toh-pt2.jade
#	public/docs/ts/latest/tutorial/toh-pt3.jade
#	public/docs/ts/latest/tutorial/toh-pt4.jade
#	public/docs/ts/latest/tutorial/toh-pt5.jade
#	public/docs/ts/latest/tutorial/toh-pt6.jade
2016-07-07 08:15:51 +08:00
Brandon Roberts 791b364f6a chore(bios): Added bio for Brandon Roberts 2016-07-06 13:02:27 -07:00
Ward Bell d1dd2b82f4 docs(router): changes suggested by Deb Kurata in #1808 2016-07-06 01:11:34 -07:00
Christos Koutsiaris 7f991dc4f1 docs(typescript-configuration): TypeScript handbook documentation link change
closes #1830

Page has moved to http://www.typescriptlang.org/docs/handbook/tsconfig-json.html
2016-07-05 23:41:15 -07:00
Foxandxss da58ff45c7 docs(style-guide): update style-guide samples to use v3 router
closes #1828
2016-07-05 23:29:29 -07:00
Foxandxss 341f32d7f6 docs(webpack): add angular2-template-loader
closes #1825
2016-07-05 23:25:07 -07:00
Foxandxss 37b377ddb3 docs: update node and npm version recommendations
closes #1821
2016-07-05 23:09:37 -07:00
Patrice Chalin b0e0d94b5c docs: revert Jade to markdown
closes #1818
Previously, the markdown of some chapters was converted to Jade markup
to support the conditional exclusion of TS prose parts in Dart
chapters. This commit reverts some of that back to clean markdown,
thanks to a few custom directives.
2016-07-05 23:03:30 -07:00
eltronix e2cd8ffe1d docs(testing): Fixed typo in pipe.jade
closes #1805
2016-07-05 21:06:13 -07:00
Stephen Fox e766f666bd docs(http): Small typo fix in sentence reference to items: Observable
Ward tacked on router: ngDestroy -> ngOnDestroy
closes #1690
2016-07-05 20:55:03 -07:00
Zhimin YE (Rex) 800f2e6439 script(translate.js): dragging does not toggle original text. 2016-07-05 12:53:58 +01:00
dreamapple 50225ceea4 翻译的一点修改 位置:user-input.jade 2016-07-05 14:56:01 +08:00
Zhicheng Wang 6fcde3f63f 修改一个链接上的小问题 2016-07-05 11:23:45 +08:00
Zhicheng Wang be4748bce0 修改了一系列小bug
微调“关于”页面
2016-07-05 08:35:08 +08:00
Ward Bell e4c5fe32e7 docs(forms): fix import in sample HeroFormsComponent - @angular/common -> @angular/forms 2016-07-04 15:07:12 -07:00
Zhimin YE (Rex) b4857a59e0 correction(about.jade): 感谢谢-> 感谢 2016-07-04 15:51:28 +01:00
Zhimin YE (Rex) 24ab1e5fcc Chore: break a line in toh-pt1 2016-07-04 12:00:32 +01:00
Zhicheng Wang 3dd7fb7488 bbs先改回http 2016-07-04 17:21:56 +08:00
Zhicheng Wang a69c2fe427 微调 2016-07-04 17:03:26 +08:00
Zhicheng Wang 5d191fa335 根据栾跃的意见做了一些修改
加入了官方微信号
2016-07-04 17:00:20 +08:00
Zhimin(Rex) YE 3184375783 correction: router sample correction 2016-07-03 17:38:33 +01:00
Zhicheng Wang 78fb5708de 英文版改为English 2016-07-03 16:23:10 +08:00
Zhicheng Wang 711a173606 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	public/docs/ts/latest/guide/router.jade
2016-07-03 15:27:10 +08:00
Zhicheng Wang 9405f34b3c 微调 2016-07-03 15:20:07 +08:00
Zhicheng Wang 6b37b74665 加上了栾跃的致辞,并增设了论坛链接 2016-07-03 13:03:29 +08:00
Ward Bell dba3a8f9c9 docs: replace xxx.filter(...)[0] with xxx.find(...)
see #1801
2016-07-02 16:13:32 -07:00
Ward Bell fdbb7b5184 docs(router): clarify router redirect and link to Victor's blog post 2016-07-02 15:51:49 -07:00
Zhicheng Wang e82f462c78 文字微调 2016-07-02 22:51:35 +08:00
Zhicheng Wang d7a0458484 把到风格指南的链接改成绝对路径
文字微调
2016-07-02 22:45:30 +08:00
Zhicheng Wang bfddca872e 文字微调 2016-07-02 22:18:11 +08:00
Zhicheng Wang 675d7ea9ff 文字微调 2016-07-02 21:58:30 +08:00
Zhicheng Wang 541eeedcec 修改了导航结构,放上了Naomi的致辞 2016-07-02 21:16:06 +08:00
Zhicheng Wang 3c5a045633 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	public/docs/ts/latest/guide/router.jade
2016-07-02 19:16:00 +08:00
Naomi Black f3da5c8a36 chinese(url): small change to url in footer 2016-07-01 19:21:36 -07:00
Foxandxss 1900eb1c70 docs: replace terminal with pathMatch, base href with '/'
closes #1799
2016-07-01 16:32:39 -07:00
Naomi Black 527fe50b88 footer(china): update the footer for localised docs 2016-07-01 13:41:06 -07:00
Patrice Chalin 0ba3d5d8d6 docs(dart/{quickstart,toh-[56]}): fix project names (#1773)
- Renamed `angular2_getting_started` to `angular2_quickstart` (to match
TS).
- s/-/_/g in project names elsewhere (only toh-5 & -6 needed to be
updated).

Fixes #378.
2016-07-01 11:05:45 -07:00
Alex ed4689fd2d update title to point to correct version 2016-07-01 08:01:16 -07:00
Foxandxss 4774f4861e chore: update router to beta 2 2016-07-01 08:00:50 -07:00
Eric Jimenez d5417a32a2 add cn language to footer 2016-07-01 07:59:29 -07:00
Zhicheng Wang 0dd2932a2e Merge remote-tracking branch 'origin/master'
# Conflicts:
#	public/_data.json
#	public/docs/ts/latest/_data.json
#	public/docs/ts/latest/guide/router.jade
#	public/docs/ts/latest/guide/security.jade
#	public/docs/ts/latest/guide/template-syntax.jade
#	public/news.jade
#	public/resources/_data.json
#	public/resources/index.ejs
#	public/resources/js/controllers/resources-controller.js
2016-07-01 08:38:54 +08:00
Zhicheng Wang 1a806de866 移除行尾不必要的空格 2016-07-01 08:26:45 +08:00
Zhicheng Wang dfc20a6adc Merge remote-tracking branch 'cn/master' 2016-07-01 08:25:35 +08:00
Zhicheng Wang 21fe9dc1d2 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	README.md
#	public/docs/js/latest/cookbook/ts-to-js.jade
#	public/docs/ts/latest/cookbook/a1-a2-quick-reference.jade
#	public/docs/ts/latest/guide/architecture.jade
#	public/docs/ts/latest/guide/attribute-directives.jade
#	public/docs/ts/latest/guide/forms.jade
#	public/docs/ts/latest/guide/lifecycle-hooks.jade
#	public/docs/ts/latest/guide/router.jade
#	public/docs/ts/latest/guide/server-communication.jade
#	public/docs/ts/latest/guide/style-guide.jade
#	public/docs/ts/latest/guide/template-syntax.jade
#	public/docs/ts/latest/testing/first-app-tests.jade
#	public/docs/ts/latest/tutorial/toh-pt5.jade
#	public/docs/ts/latest/tutorial/toh-pt6.jade
#	public/news.jade
2016-07-01 08:24:23 +08:00
Naomi Black 3c42db3b66 news(rc4): add rc4 post to news blog snippets 2016-06-30 13:25:45 -07:00
Zhicheng Wang 6c0cc46a01 chore: add Ralph to bios 2016-06-30 13:19:28 -07:00
Naomi Black 314ff5627b chore(version): update the version to rc4 2016-06-30 13:08:08 -07:00
Patrice Chalin 7d50fa9302 post-review updates
Also cleaned up `makeExample`s (changing most to `makeExcerpt`).
2016-06-30 13:04:55 -07:00
Patrice Chalin 705d8c50fd docs(security): proofread prose, app now shows good and bad
- App now shows how Angular handles untrusted URLs and resources
- E2e test covered new functionality
- Copyedits to prose
- Updated provider expressions to use latest syntax

The original security feature tracker:
https://github.com/angular/angular/issues/8511
2016-06-30 13:04:55 -07:00
Foxandxss 909f230cc7 update router to beta.1 2016-06-30 13:04:04 -07:00
Foxandxss 10de4c5753 update in memory web api 2016-06-30 13:03:44 -07:00
Foxandxss 2379e8b86e update plunkers versions 2016-06-30 12:40:59 -07:00
Foxandxss 6a34dce5e0 remove linting for spec file 2016-06-30 12:40:59 -07:00
Foxandxss 94f5609506 add rc4 versions 2016-06-30 12:40:59 -07:00
Foxandxss 55af9fee49 fix upgrade tests to not use deprecated API 2016-06-30 12:40:01 -07:00
Filipe Silva aa8ab52937 chore: update to rc.4 2016-06-30 12:40:01 -07:00
Rex fa9e83358c review(toh-pt6): done. 2016-06-30 20:35:04 +01:00
Naomi Black 509cae50a6 news(june30): updates to the news page for the week of june 30 2016-06-30 12:34:58 -07:00
eltronix 19d2e4ef4c Fixed typo 2016-06-30 11:51:53 -07:00
Zhimin YE (Rex) 43f400487e docs(router): explicit explaination of terminal property 2016-06-30 11:51:39 -07:00
Filipe Silva 387f7c6dd2 chore(deps): update in-memory-web-api 2016-06-30 11:50:43 -07:00
Karan Gandhi 461213996e docs(toh-5/ts): Minor error fixed.
There are no leading slashes in the path.
2016-06-30 11:49:52 -07:00
Eric Jimenez 868abbe5c7 new style with new schema 2016-06-30 12:36:14 -04:00
Eric Jimenez 4a5f074061 add placeholder text when no description is found 2016-06-30 12:28:39 -04:00
Zhimin YE (Rex) 1f883722c9 review(toh-pt6): line 243 2016-06-30 17:08:34 +01:00
Zhimin YE (Rex) b97f82a171 review(router): first review is done. 2016-06-30 12:20:05 +01:00
Zhicheng Wang 8764840779 “安全”二审完毕 2016-06-30 08:18:25 +08:00
Rex f4c56cbae6 router.jade: review to line 2088 2016-06-29 22:16:12 +01:00
Filipe Silva e7bddeb5f9 chore(examples): revert back to stable TS
The new router once required TS1.9 but it doesn't anymore. It's best to revert our examples to TS 1.8 since that is what we tell users to install, and we want to be testing on the current setup.
2016-06-29 12:28:45 -07:00
eltronix bc0cb52851 Fixed typo 2016-06-29 12:28:24 -07:00
Zhimin YE (Rex) 9b40ea56dc chore: add Rex bios 2016-06-29 12:28:07 -07:00
eltronix 2bd79e8482 Fixed Rendering error 2016-06-29 12:27:44 -07:00
Rex 397a1247b8 router.jade review to line 1586 2016-06-29 19:43:59 +01:00
Zhimin YE (Rex) 77fc29977b Merge branch 'master' of https://github.com/angular/angular-cn 2016-06-29 17:04:36 +01:00
Zhimin YE (Rex) d5728d8b1c minor correction to quickstart.jade and review of router.jade to line 903. 2016-06-29 17:04:22 +01:00
Zhicheng Wang 2bc3b8ec75 校对完了“安全”一章 2016-06-29 18:28:17 +08:00
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
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
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 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
Filipe Silva 7848feaeaa chore: update to rc3 2016-06-22 01:51:57 +01:00
Naomi Black 8ad5595a7c docs(security): make screenshot english and update tagline 2016-06-21 11:53:49 -07:00
Martin Probst fb179d9690 docs(security): Add security documentation.
Substantially rewritten, based on original content by Brian Clarkio and
Ward Bell and contributions from Naomi Black.
2016-06-21 10:51:25 -07:00
Eric Jimenez 9107eeeee8 feat: add bio for eric. 2016-06-21 09:30:29 -07:00
Fatima Remtullah 8516690e91 feat: add fatima bio to about page 2016-06-21 09:29:05 -07:00
Naomi Black 4a3f7afb66 chore(bios): update core team list 2016-06-20 22:45:41 -07:00
Torgeir Helgevold 218cc82f1c chore(bios) Add tor 2016-06-20 22:38:32 -07:00
Rob Wormald b11e8827bc chore(bios): add rob w 2016-06-20 21:51:21 -07:00
Filipe Silva 212183bbb7 fix(plunkers): fix form plunkers 2016-06-21 04:36:07 +01:00
Filipe Silva 9e1e5a1ef8 chore: add forms, update router 2016-06-20 19:57:16 -07:00
Torgeir Helgevold 3cb219c5ab docs(dynamic-cookbook): upgrade to use new forms api
convert exiting to use deprecated name

converted to new api

text

warnings

fix plunker

text

test weak

text

space

text

lint

order

tweak
2016-06-20 21:02:28 -04:00
Brandon Roberts 4e7318552d docs(router): Updated docs to reflect alpha 7 release 2016-06-20 16:55:07 -07:00
Zhicheng Wang 64b9e476fb 把alternative统一改为备选或替代品(取决于语境) 2016-06-21 07:54:34 +08:00
Eric Jimenez 42e8c4a10c feat(filter stable): filter by stability stable 2016-06-20 14:26:34 -04:00
Rex dca575f617 attribute-directive.jade review of "our" keyword. 2016-06-20 15:45:29 +01:00
Rex 9a6481dee5 review of "我们" keyword for architecture.jade 2016-06-20 14:55:05 +01:00
Rex 3659248ee5 continue review of "我们" keyword. 2016-06-20 12:29:43 +01:00
Rex 77cdd8bde8 review all "我们" keyword, making the translations more natural. 2016-06-20 10:59:00 +01:00
Zhicheng Wang 52c118ef8a 微调 2016-06-20 15:55:30 +08:00
Filipe Silva 3db8642113 fix(quickstart): add styles.css to js quickstart
Fix #1684

While looking at this, I saw that plunkers were getting some unintended unit testing files and added them to the default plunker builder ignore.
2016-06-19 22:52:59 -07:00
Zhicheng Wang 00a67f4a3f 微调 2016-06-19 20:23:26 +08:00
Zhicheng Wang dba8c9ec99 内容微调 2016-06-19 20:18:03 +08:00
Zhicheng Wang 8ffaf06b72 bugfix: 自动加空格时有些标签没加上 2016-06-19 19:45:07 +08:00
Zhicheng Wang 7202fa6cb4 bugfix: 自动加空格时没有忽略html标签,导致界面混乱 2016-06-19 19:31:02 +08:00
Zhicheng Wang 06b5689842 添加了一个鸣谢清单 2016-06-19 17:17:31 +08:00
Zhicheng Wang 4b1d7d488d bugfix: 去掉了多加的translate-cn 2016-06-19 17:11:40 +08:00
Zhicheng Wang d46b4911e6 根据Hantsy的意见,把所有“API参考”改为“API参考手册”
为非对照模式的中文添加translated-cn类,以便自动加空格
2016-06-19 17:04:46 +08:00
Zhicheng Wang 80a044fa7c 直接加空格方式效果不理想,改用js和css配合来加空格 2016-06-19 16:46:50 +08:00
Zhicheng Wang 1253d6be4b 先手工给动画一章中的混排英文前后加上一个空格,看看效果 2016-06-19 16:02:42 +08:00
Zhicheng Wang 0aa207bbac Merge remote-tracking branch 'origin/master'
# Conflicts:
#	public/docs/ts/latest/guide/_data.json
2016-06-19 10:17:03 +08:00
Zhicheng Wang 6dbb60a530 remove useless files 2016-06-19 09:52:21 +08:00
Zhicheng Wang 71b80b592e 动画一审完毕 2016-06-19 09:35:34 +08:00
Zhicheng Wang acc8321c27 动画初译完毕 2016-06-18 23:53:32 +08:00
Zhicheng Wang 1fa1d0fd1e Webpack二审完毕 2016-06-18 15:01:08 +08:00
Zhicheng Wang e3b33ab31c VS2015集成完毕;第三方资源汉化完毕 2016-06-18 14:35:32 +08:00
Filipe Silva 61c85a92a4 chore: add async/await support to e2e tests 2016-06-17 10:43:16 -07:00
Zhicheng Wang d1db5bfb72 翻译了教程中的HTTP一章 2016-06-17 23:13:23 +08:00
Filipe Silva 643c59a15e fix(e2e): update broken node typings 2016-06-17 13:52:30 +01:00
Naomi Black 787c0a2f36 docs(router): Hide deprecated router docs 2016-06-16 16:43:05 -07:00
Naomi Black da3d8f7f73 style(images): add image best practices to styleguide doc 2016-06-16 16:06:13 -07:00
Kathy Walrath 511ee3d8ed [WIP] Add link to AngularDart API docs 2016-06-16 13:37:44 -07:00
Brandon Roberts c61d8195f3 docs(router): update developer guide to new v.3 router 2016-06-16 13:24:49 -07:00
Foxandxss 3b4b79aeeb docs(animations): use our heroes 2016-06-16 18:55:17 +02:00
Zhicheng Wang eb35497932 embed resources data 2016-06-16 23:24:23 +08:00
Zhicheng Wang c889525461 begin translate toh-pt6 2016-06-16 21:51:57 +08:00
Rex 92716c90c6 visual-studio-2015.jade localized. 2016-06-16 11:35:58 +01:00
Rex bb822879b6 improved layout of news.jade. 2016-06-16 10:37:22 +01:00
Rex c368f3d8fc translated news.jade. 2016-06-16 10:28:39 +01:00
Zhimin YE (Rex) e8a462435c Merge remote-tracking branch 'remotes/angular.io/master'
# Conflicts:
#	public/docs/ts/latest/_data.json
#	public/docs/ts/latest/cheatsheet.jade
#	public/news.jade
2016-06-16 09:03:59 +01:00
Foxandxss 30609c8f9c chore: update quickstart for rc2 2016-06-15 16:48:30 -07:00
Foxandxss 70b98176dd latest touches 2016-06-15 16:48:14 -07:00
Naomi Black 5b4da0c4e2 chore(news): updates for june 2016-06-15 16:45:17 -07:00
Naomi Black a35e0fd4ef chore(docs): bump version to RC on boilerplate 2016-06-15 16:14:50 -07:00
Foxandxss 761ec00d02 chore: update in-memory-web-api 2016-06-15 15:15:35 -07:00
Foxandxss fcb3b447f8 chore: update webpack guide to RC2 2016-06-15 15:15:14 -07:00
Foxandxss 6821f89a1c docs(quickstart): add a section to installing typings manually 2016-06-15 15:15:00 -07:00
Foxandxss 8664463c3a remove future features for now 2016-06-15 15:14:45 -07:00
Foxandxss 34447904b9 make the example lintable 2016-06-15 15:14:45 -07:00
Foxandxss c0edf369f4 fix e2e specs 2016-06-15 15:14:45 -07:00
Tero Parviainen bead3620df docs(animate): add animations documentation 2016-06-15 15:14:45 -07:00
Patrice Chalin 82b4657422 chore(dart pubspec.yaml): consistent baseline (#1647) 2016-06-15 14:59:57 -07:00
Patrice Chalin 25dc59daac docs(toh-3/dart): copyedits (#1637) 2016-06-15 14:58:05 -07:00
Zhimin(Rex) YE b5f0eadfa0 Merge remote-tracking branch 'remotes/angular.io/master'
# Conflicts:
#	public/docs/ts/latest/_data.json
#	public/docs/ts/latest/glossary.jade
2016-06-15 21:58:10 +01:00
Zhimin(Rex) YE 3271bdff60 review of server-communication is done. 2016-06-15 21:44:55 +01:00
Filipe Silva e9cf2a539f chore: update to rc2 2016-06-15 12:21:06 -07:00
Patrice Chalin cd970c21ad docs(toh-3/dart): copyedits and new snake_case glossary entry (#1629) 2016-06-15 10:49:42 -07:00
Zhimin YE (Rex) d23e541541 review to line 888 for server-communication.jade. 2016-06-15 17:04:32 +01:00
Zhicheng Wang 20c59f9e4a Add some blank lines, to avoid unnecessary conflicts on merging. 2016-06-15 23:31:28 +08:00
Zhicheng Wang c1b8183c38 Add some blank lines, to avoid unnecessary conflicts on merging. 2016-06-15 23:21:05 +08:00
Zhicheng Wang 6a5f4a0fc2 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	public/docs/ts/latest/tutorial/toh-pt5.jade
2016-06-15 23:10:41 +08:00
Patrice Chalin 6e5d8e6491 docs(toh-5/dart): review edits and code cleanup (#1643) 2016-06-15 07:46:26 -07:00
Zhimin YE (Rex) 466f69d30a Merge remote-tracking branch 'remotes/angular.io/master'
# Conflicts:
#	public/docs/ts/latest/cookbook/_data.json
#	tools/api-builder/angular.io-package/templates/class.template.html
2016-06-15 12:01:54 +01:00
Zhimin(Rex) YE 04fd6f7102 review of server-communication to line 593 2016-06-14 23:43:52 +01:00
Patrice Chalin 86084260e6 example(dart/quickstart): use <script defer> rather than async (#1665) 2016-06-14 15:37:58 -07:00
Deborah Kurata e7f3fc61ce docs(cb-vs2015) new cookbook for Visual Studio 2015 QuickStart
closes #1502
2016-06-13 23:55:14 -07:00
Zhicheng Wang 7995cb4897 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	public/docs/ts/latest/guide/style-guide.jade
#	public/docs/ts/latest/tutorial/toh-pt1.jade
#	public/docs/ts/latest/tutorial/toh-pt2.jade
#	public/docs/ts/latest/tutorial/toh-pt3.jade
#	public/docs/ts/latest/tutorial/toh-pt4.jade
#	public/docs/ts/latest/tutorial/toh-pt5.jade
2016-06-14 14:04:30 +08:00
Zhicheng Wang df9a0177ea 文字微调 2016-06-14 13:00:36 +08:00
Zhicheng Wang bc2e4b83c0 把所有全角括号改成了半角的 2016-06-14 09:26:54 +08:00
Zhicheng Wang a7e9ff78ff 校对完了词汇表,统一了双语标注 2016-06-14 09:25:26 +08:00
Filipe Silva c50954d5b8 chore: separate lint in travis 2016-06-14 01:01:34 +01:00
Zhicheng Wang c1051cc8e1 微调
为词汇表加上了双语备注
2016-06-14 07:54:46 +08:00
Patrice Chalin ca2e5c5d1d docs(toh-4/ts): copyedits
closes #1638
2016-06-13 11:40:30 -07:00
Patrice Chalin 5adbfb9502 chore(ignored/boilerplate files): cleanup
closes #1646
2016-06-13 11:33:12 -07:00
Foxandxss b1419f48ba chore: fix regions for e2e specs
closes #1657
2016-06-13 11:21:14 -07:00
Helmi 7f256eea75 Fix typo in 'Simulating the web api' section.
closes #1655
2016-06-13 11:05:15 -07:00
Foxandxss 61ad427319 docs(toh): add missing snippets
closes #1649
2016-06-13 10:46:53 -07:00
Patrice Chalin fd46bf4970 docs(toh-5/ts): minor edits
closes #1644
2016-06-13 10:45:23 -07:00
Foxandxss 4dcea96b6d chore: better protractor task
closes #1641
2016-06-13 10:39:51 -07:00
Foxandxss ffbdcd2b9c chore: fix systemjs semicolons
closes #1632
2016-06-13 10:37:20 -07:00
Patrice Chalin 070cb5a193 docs(toh-3/ts): copyedits
closes #1630
2016-06-13 10:36:04 -07:00
Patrice Chalin 16848fc822 docs(toh-2/ts): copyedits
closes #1622
2016-06-13 10:34:19 -07:00
Patrice Chalin 59408b1784 test(toh-1): add e2e for Dart and TS
closes 1620
Contributes to #1619.
2016-06-13 10:30:18 -07:00
Patrice Chalin 2fc7e5ab50 docs(toh-1/ts): minor edits
closes #1615
- Fixed HTML.
- Removed unnecessary snippet since it is in the code.
- Copyedit: (Hero property) -> (hero property).
2016-06-13 10:28:04 -07:00
Brian Olore ce05f9b4f9 docs(style-guide): make each style clickable for easier referencing 2016-06-13 10:24:58 -07:00
Zhicheng Wang f389c57ede 来自网友Z的修改意见 2016-06-13 17:22:28 +08:00
Zhicheng Wang c802c2b5dc 来自网友张旋和Z的修改意见 2016-06-13 17:20:08 +08:00
Zhicheng Wang e338333e2f Merge remote-tracking branch 'origin/master'
# Conflicts:
#	public/docs/ts/latest/cookbook/dynamic-form.jade
#	public/docs/ts/latest/guide/attribute-directives.jade
2016-06-13 16:39:34 +08:00
Zhicheng Wang 9789413bda 文字微调 2016-06-13 16:35:21 +08:00
Foxandxss 074a33a622 chore: tslint sweep done 2016-06-13 02:40:28 +02:00
Zhicheng Wang eafa80c89b 校对了ts-to-js部分 2016-06-11 21:59:43 +08:00
Zhicheng Wang 0b8712d729 微调 2016-06-11 12:08:02 +08:00
Zhicheng Wang f8fd5a1ebd 更明确了ngOnInit的触发时机:每个输入属性的ngOnChanges都完成首次触发之后。 2016-06-11 11:28:16 +08:00
Zhicheng Wang 164244d77a 修正了api的链接(仅中文版) 2016-06-10 14:45:12 +08:00
Zhicheng Wang 6b8e09bf2b Merge remote-tracking branch 'origin/master'
# Conflicts:
#	public/docs/ts/latest/guide/dependency-injection.jade
2016-06-10 13:34:18 +08:00
Zhimin YE (Rex) f694255b7b review of component-relative-paths.jade 2016-06-09 14:34:12 +01:00
Zhimin YE (Rex) 734e178382 minor change to ts-to-js.jade. 2016-06-09 14:19:16 +01:00
Zhimin YE (Rex) 8ae3d52cbc minor change to ts-to-js.jade review. 2016-06-09 14:18:27 +01:00
Zhimin YE (Rex) c36425eec7 ts-to-js.jade review is done. 2016-06-09 12:48:31 +01:00
Zhimin YE (Rex) 0bc85d4850 a1-a2-quick-reference.jade review is done. 2016-06-09 09:44:21 +01:00
Patrice Chalin 1cc5284cc2 docs(toh-2/dart): copyedits (#1621) 2016-06-08 16:24:56 -07:00
Patrice Chalin 3c77a7fcd1 docs(basics/di): minor edits following TS switch to provider object literal (#1600)
Minor edits:
- Dart side adjustments following #1594.
- Renamed example '3a' to just '3' and tweaked the logger message
- Removed obsolete Dart block.
2016-06-08 09:25:48 -07:00
Zhimin YE (Rex) f24ee2181c a1-a2-quick-reference.jade review up to pipe/number 2016-06-08 17:02:41 +01:00
Zhimin YE (Rex) cc96a317a0 review of upgrade.jade is done. 2016-06-08 16:38:38 +01:00
Patrice Chalin 7db6684886 chore(dart): add/cleanup example hosting config files (#1605) 2016-06-08 08:02:57 -07:00
Zhicheng Wang 3fbdfeb710 修正链接 2016-06-08 17:07:05 +08:00
Zhicheng Wang 80c36ac7f5 Merge remote-tracking branch 'origin/master' 2016-06-08 17:01:20 +08:00
Zhicheng Wang 3d01acbf7b 微调翻译
允许翻译中出现省略号
2016-06-08 16:58:36 +08:00
Zhicheng Wang 934b425cc8 微调翻译 2016-06-08 16:22:55 +08:00
Zhicheng Wang f2dbdb3163 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	public/docs/_examples/cb-component-communication/e2e-spec.ts
#	public/docs/_examples/cb-component-communication/ts/app/app.component.ts
#	public/docs/_examples/dependency-injection/ts/app/main.1.ts
#	public/docs/ts/latest/tutorial/toh-pt1.jade
#	public/docs/ts/latest/tutorial/toh-pt2.jade
#	public/docs/ts/latest/tutorial/toh-pt3.jade
#	public/docs/ts/latest/tutorial/toh-pt4.jade
#	public/docs/ts/latest/tutorial/toh-pt5.jade
2016-06-08 10:02:24 +08:00
Foxandxss fb49cbe33f docs(cli-quickstart): add cli 5 min quickstart
closes #1606
2016-06-07 18:51:27 -07:00
Foxandxss f3205f5beb chore: first sweep on linting the codebase
closes #1616
2016-06-07 16:45:13 -07:00
Patrice Chalin 7e52648ee7 docs(toh): update live example links (#1602) 2016-06-07 15:51:25 -07:00
Patrice Chalin afee8dbe7e docs(toh-1/dart): minor edits (#1614)
- Fixed HTML.
- Removed unnecessary snippet since it is in the code.
- Copyedit (Hero Property) -> (Hero property).
2016-06-07 14:59:41 -07:00
Zhimin(Rex) YE b0e86f664f upgrade.jade review: to line 1622. 2016-06-07 22:22:48 +01:00
Zhimin YE (Rex) 90a2f1aefa upgrade.jade to line 461 2016-06-07 17:10:02 +01:00
Zhimin YE (Rex) 8867357e73 webpack.jade review is done. 2016-06-07 13:43:15 +01:00
Zhimin YE (Rex) 18febb61f0 typescript-configuration.jade review is done. 2016-06-07 11:12:49 +01:00
Zhimin YE (Rex) 8ef81f1ccb testing-an-angular-pipe review is done. 2016-06-07 10:43:29 +01:00
Zhimin YE (Rex) ce9f3939e5 review of first-app-tests.jade is done. 2016-06-07 09:24:27 +01:00
Zhicheng Wang 0a967baf51 Merge remote-tracking branch 'origin/master' 2016-06-07 09:47:24 +08:00
Zhicheng Wang 24761d76b8 文字微调 2016-06-07 09:46:26 +08:00
jevonearth f7cf6fde9f docs(toh-6): Fix typo in 'Add/Delete in the HeroesComponent' section.
closes #1603
2016-06-06 17:28:07 -07:00
Ward Bell 06f8002417 docs(pipes): minor text updates
closes #1611
2016-06-06 17:17:50 -07:00
Zhimin(Rex) YE 826a11464b testing/first-app-tests.jade reviewed to line 338 2016-06-06 23:01:10 +01:00
Zhimin(Rex) YE 5198a7b915 Merge remote-tracking branch 'remotes/angular.io/master' 2016-06-06 22:28:17 +01:00
Foxandxss 21d74d531a chore: update all packages to latest versions
closes #1607
2016-06-06 12:24:25 -07:00
Zhimin YE (Rex) 8aeead3fb5 jasmine-testing-101.jade and testing.jade: review is done. 2016-06-06 17:03:57 +01:00
Zhimin YE (Rex) bdfb15f50f guide/structural-directives.jade review is done. 2016-06-06 16:30:20 +01:00
Zhimin YE (Rex) edc29d7688 Merge branch 'master' of https://github.com/angular/angular-cn 2016-06-06 13:31:09 +01:00
Zhimin YE (Rex) 7f281c1063 review of pipes.jade is done. 2016-06-06 13:30:45 +01:00
Zhicheng Wang c45ef7f008 文字微调 2016-06-06 17:18:34 +08:00
Zhicheng Wang 8e571257cd 更新了“关于中文版”中的翻译状态 2016-06-06 09:52:45 +08:00
Zhimin(Rex) YE c16f003d51 review of npm-package.jade is done. 2016-06-05 22:48:50 +01:00
Zhimin(Rex) YE 0e073bb214 review of lifecycle-hooks is done. 2016-06-05 22:15:38 +01:00
Zhimin(Rex) YE 49a2deb37b guide/server-communication.jade review is done. 2016-06-05 17:19:22 +01:00
Georgios Kalpakas 2492ea6874 docs(upgrade): restrict component directive to elements
The `heroDetail` directive is shown as an example of a component directive, such as those built using the `.component()` helper in v1.5+. In order for the directive to be functionaly equivalent with the component directive created with `.component`, it needs to be restricted to elements only. (If the `restrict` is omitted, it defaults to `'AE'`, which would also match attributes.)

/cc @teropa
2016-06-05 14:59:19 +03:00
Zhicheng Wang 82f5b1c035 根据 [Joeylin] 的反馈意见,做出微调 2016-06-05 06:39:39 +08:00
Zhicheng Wang af77784480 根据 [Joeylin] 的反馈意见,做出微调 2016-06-05 06:38:58 +08:00
Zhimin(Rex) YE cb8818f171 patch up guide\dependency-injection.jade after official updates. 2016-06-04 19:54:25 +01:00
Zhimin(Rex) YE 633964ac2f Merge remote-tracking branch 'remotes/angular.io/master'
# Conflicts:
#	public/docs/ts/latest/cookbook/dependency-injection.jade
#	public/docs/ts/latest/guide/component-styles.jade
#	public/docs/ts/latest/guide/dependency-injection.jade
#	public/docs/ts/latest/guide/upgrade.jade
2016-06-04 17:52:51 +01:00
Zhimin(Rex) YE 5ae026ced3 Merge remote-tracking branch 'remotes/angular.io/master'
# Conflicts:
#	public/docs/_examples/dependency-injection/ts/app/main.1.ts
#	public/docs/ts/latest/guide/dependency-injection.jade
2016-06-04 16:45:10 +01:00
Foxandxss 885aa04cc9 docs(webpack): add missing fake-async-test
closes #1571
2016-06-04 01:44:21 -07:00
Foxandxss c185c3548c chore: use the provide object literal
closes #1594
replace `provide(...{use:...})` with `{provide: ..., use...}` syntax
2016-06-04 01:33:36 -07:00
twinssbc 6f02f76fc2 docs: remove duplicated words in toh-pt6.jade
closes #1575
2016-06-04 01:25:41 -07:00
Anastasia Kozaeva 2f3cb405e8 Fix typo in 'Error Handling' section
closes #1592
Remove duplicate 'to'
2016-06-04 01:24:00 -07:00
Zhimin YE(Rex) d5650500c8 Removed @View Decorator
closes #1590
2016-06-04 01:22:09 -07:00
Zhicheng Wang 46f028b8eb 根据 [Joeylin] 的反馈意见,做出微调
在“关于中文版”中增加鸣谢名单
2016-06-04 16:17:34 +08:00
Foxandxss 1d294a831c docs(upgrade): escape script tags
closes #1584
2016-06-04 01:17:27 -07:00
Foxandxss 8fe68f414a docs(style-guide): fix 03-03 css class
closes #1582
2016-06-04 01:15:13 -07:00
Ward Bell 7edc32f350 docs(testing): more samples 2016-06-04 00:52:36 -07:00
Patrice Chalin 05864c2584 docs(dependency-injection): revised Dart and TS code and prose (#1573)
docs(dependency-injection): revise Dart and TS code and prose
2016-06-03 11:16:46 -07:00
Zhimin(Rex) YE 802da1f49f hierarchical-dependency-injection.jade review is done. 2016-06-02 23:04:09 +01:00
Zhimin(Rex) YE ce299be58b Merge remote-tracking branch 'remotes/angular.io/master'
# Conflicts:
#	public/docs/ts/latest/quickstart.jade
2016-06-02 22:29:17 +01:00
Zhimin(Rex) YE 1774a1df4e component-styles.jade review is done. 2016-06-02 22:25:36 +01:00
Patrice Chalin 7570dc53ea chore(dart/api): remove generated files (#1587) 2016-06-02 10:44:51 -07:00
Zhimin YE (Rex) a9f871efae component-styles.jade review: started. 2016-06-02 17:06:58 +01:00
Patrice Chalin b48cde3a43 chore(_util-fns): generalize makeExample, drop makeProjExample (#1510)
+ Rename adjustExample{Path|Title} to adjustTsExample*4Dart
+ `makeExample` can now work with both doc folder relative and project
relative paths.
2016-06-02 17:06:03 +01:00
Zhimin YE (Rex) 5f8583fcb0 attribute directives' review is done. 2016-06-02 16:57:35 +01:00
Zhicheng Wang 05f4c9b8a0 微调 2016-06-02 18:59:15 +08:00
Zhimin YE (Rex) 9164069f36 adjustment to style-guide.jade references. 2016-06-02 09:30:16 +01:00
Zhimin YE (Rex) 57a0ca5873 translate new lines for style-guide, after merge. 2016-06-02 09:15:49 +01:00
Zhimin YE (Rex) dd4e887b47 Merge remote-tracking branch 'remotes/angular.io/master'
# Conflicts:
#	public/docs/ts/latest/cookbook/component-communication.jade
#	public/docs/ts/latest/guide/style-guide.jade
#	public/docs/ts/latest/guide/upgrade.jade
2016-06-02 08:58:19 +01:00
Zhicheng Wang 0a917a99c4 微调 2016-06-02 15:17:55 +08:00
Zhicheng Wang 58dec1f30c cookbook - 1 to 2 初译完毕 2016-06-02 09:07:31 +08:00
Ward Bell 41947cbd1f chore: fix gulp serve-and-sync tasks and many broken example links
The serve-and-sync tasks wait for `_copy-example-boilerplate` to finish
Differentiates app compile, spec compile, and test failures
StyleGuide (for documentators) up-to-date
2016-06-01 16:17:06 -07:00
Foxandxss c2c3177545 chore: convert all e2e specs to typescript 2016-06-01 16:17:06 -07:00
Foxandxss 3c3b83a34b chore(e2e): append errors after a failed spec
closes #1579
2016-06-01 11:20:35 -07:00
Foxandxss 6fd62e9baf docs(style-guide): make style guide code compliant with itself
closes #1578
2016-06-01 11:15:57 -07:00
Foxandxss 0a0f78f144 docs(style-guide): make barrels a consider
closes #1482
2016-06-01 10:59:41 -07:00
Foxandxss 743540363d docs(style-guide): rename validator to validate
closes #1489
2016-06-01 10:57:11 -07:00
NFM 3d27aa656c docs(style-guide): add the image width attribute
closes #1366
Adjust width 100% to 80%
2016-06-01 10:54:48 -07:00
Zhimin YE (Rex) 1a66785970 template-syntax review is done. 2016-06-01 16:52:34 +01:00
Zhimin YE (Rex) aa010fb920 添加了译注,解释deleteRequest属性是Output属性。 2016-06-01 14:56:54 +01:00
Zhimin YE (Rex) 16bc5bfea2 review @ 1860 for template-syntax.jade. 2016-06-01 14:34:21 +01:00
Zhicheng Wang 5a477b796b cookbook - 1 to 2 初译完毕 2016-06-01 21:32:28 +08:00
Zhicheng Wang bfc5c70349 cookbook - 组件相对路径 初译完毕
cookbook - 1 to 2 初译开始
其它微调
2016-06-01 18:34:22 +08:00
Zhimin YE (Rex) 72efc8f055 Merge remote-tracking branch 'remotes/angular.io/master'
# Conflicts:
#	README.md
#	public/contribute.jade
#	public/docs/_examples/cb-component-communication/e2e-spec.ts
#	public/docs/ts/latest/glossary.jade
#	public/docs/ts/latest/guide/architecture.jade
#	public/docs/ts/latest/guide/forms.jade
#	public/docs/ts/latest/guide/npm-packages.jade
#	public/docs/ts/latest/guide/template-syntax.jade
#	public/docs/ts/latest/guide/webpack.jade
#	public/docs/ts/latest/quickstart.jade
#	public/docs/ts/latest/tutorial/toh-pt5.jade
2016-06-01 09:51:27 +01:00
Anderson 301aadddde docs(toh-pt6): fix filename typo 2016-06-01 01:19:37 -07:00
Vikash 8569479423 docs: fix numerous typos in many doc files.
closes #1509
2016-06-01 01:08:56 -07:00
Zhimin YE(Rex) eb48a71351 docs(architecture): fixed missing `` mark.
closes #1514
2016-06-01 01:03:51 -07:00
Ward Bell 2f115a3425 chore: fix broken devguide links as of May 31
Did not fix broken Dart and API links
2016-06-01 00:52:22 -07:00
Maksims Muižininkas 613d53e152 docs(architecture): correct link to testing
closes #1536
2016-05-31 23:23:54 -07:00
Christopher Thorne 2d27097d55 docs(toh-pt6): correct DetailHeroComponent to HeroDetailComponent
closes #1550
2016-05-31 22:32:55 -07:00
Christopher Thorne 3d868da4b7 docs(toh-pt5): change getHero to match toh-pt6 getHero
closes #1551
2016-05-31 22:31:04 -07:00
Ward Bell 8a5df4cfa9 chore: support e2e-specs written in TypeScript
Update gulpfile and project to add a tsconfig to protractor test folders
Change all sample e2e-spec.js -> e2e-spec.ts
Split typings between e2e-spec & app code
Use same config for all e2e tests
Only 1/3 e2e specs truly converted.
Most don't pass because they fail TS transpile by Protractor due to missing type annotations
2016-05-31 22:03:13 -07:00
Zhicheng Wang bea07ebfca 微调 2016-06-01 11:21:18 +08:00
Ward Bell ae2d8f2730 docs(template-syntax): add brief example of HTML sanitization in binding.
Also clarified interpolation v. property binding example for PR #1564
2016-05-31 18:36:22 -07:00
Patrice Chalin 5e50b2ef10 chore(util-fns): minor cleanup and refactoring (#1562)
This only impacts language dependent variable and path definitions:
- Removed deprecated variable.
- Hoisted useful variable definitions from quickstart into _util-fns.
- Minor fix in regexp of path translation function
2016-05-31 15:25:59 -07:00
Zhimin(Rex) YE 9ec2bbb8ae template-syntax review is half way@line 1228 2016-05-31 22:50:33 +01:00
Zhimin YE (Rex) 7cb918a800 partial review of template-syntax.jade. 2016-05-31 17:00:09 +01:00
Zhimin YE (Rex) 070dd1c9e1 guide/di review is done. 2016-05-31 15:40:05 +01:00
Zhicheng Wang 25f5698e71 对所有外站链接,直接开新窗口打开,修改小bug 2016-05-31 18:02:57 +08:00
Zhicheng Wang 1dc3b54fe0 当点击链接或按钮时,不再切换原文显示 2016-05-31 12:52:39 +08:00
Zhicheng Wang 20bf6c0085 翻译完了“升级”一章的新增部分
合并了测试索引
解决了移动设备上菜单显示不全的问题
文字微调
2016-05-31 12:35:37 +08:00
Zhicheng Wang 3c666d881e 修改了输入法笔误
解决了移动设备上菜单显示不全的问题
2016-05-31 07:30:15 +08:00
Zhimin(Rex) YE ac67a9c103 di review 2016-05-30 22:35:17 +01:00
Zhicheng Wang 752a152731 Merge remote-tracking branch 'origin/master'
upgrade.jade的附录没有翻译

# Conflicts:
#	public/docs/ts/latest/guide/_data.json
#	public/docs/ts/latest/guide/npm-packages.jade
#	public/docs/ts/latest/guide/upgrade.jade
#	public/docs/ts/latest/quickstart.jade
#	public/index.jade
2016-05-30 21:46:16 +08:00
Zhicheng Wang f5e25c2371 开发指南-测试 初译完毕 2016-05-30 19:23:17 +08:00
Zhicheng Wang 1f1b3e8496 开发指南-测试 pipe还剩半章 2016-05-30 16:39:21 +08:00
Zhicheng Wang b489d0a0a8 开发指南-测试 索引译完 2016-05-30 09:22:20 +08:00
Zhicheng Wang 61cb39cc0a 开发指南-测试 初译中…… 2016-05-30 08:54:35 +08:00
Foxandxss 2bc166c34f docs(toh): fix some header extensions
closes #1549
2016-05-29 14:36:10 -07:00
Foxandxss 9b2c54e77f chore: disable ngAnimate for ng1 protractor tests
closes #1543
2016-05-29 14:34:15 -07:00
Foxandxss 888dcf362a chore: remove note against node 6
closes #1540
2016-05-29 12:46:55 -07:00
Foxandxss 39408f8f8d docs(style-guide): remove dead code at 04-10
closes #1501
2016-05-29 12:44:46 -07:00
Foxandxss b962383193 chore: re-title webpack guide to emphasize "Webpack", not "Intro"
closes #1492
2016-05-29 12:27:44 -07:00
Foxandxss 0047919e2d docs(quickstart): update guide systemjs.config.js
closes #1542
2016-05-29 11:03:33 -07:00
Zhicheng Wang 8676cef5af 开发指南-webpack 初译完毕 2016-05-29 22:46:41 +08:00
Zhicheng Wang 348a673cb0 开发指南-从1.x升级 初译完毕 2016-05-29 17:20:36 +08:00
Zhicheng Wang ce2b8127cb 开发指南-从1.x升级 翻译了2/3左右
把所有“操作函数”统一改名为“操作符”,在此语境下不会被混淆
2016-05-29 14:23:53 +08:00
Zhimin(Rex) YE 399df5ae59 基础知识的DI-校对一半了 2016-05-28 23:10:39 +01:00
Zhimin(Rex) YE e8e1f88d60 表单审核完毕 2016-05-28 22:23:34 +01:00
Jeremy Wilken f9211fde33 docs(index) grammatical and message improvement on marketing speak.
closes #1527
2016-05-28 12:49:59 -07:00
Jesse Palmer 03f346b988 chore: removes past events
closes #1529
2016-05-28 09:43:21 -07:00
Foxandxss f5614e858d docs(style-guide): add more tests
closes #1532
2016-05-28 09:41:15 -07:00
Foxandxss c2c6096bec docs(server-communication): fix anchor link
closes #1537
2016-05-28 09:38:26 -07:00
Tero Parviainen 4acbef19a8 docs(upgrade): add ngUpgrade guide version 2
closes #1538
This is a major reorganization of the Upgrade guide.

* Compatible with the new version of the AngularJS 1 PhoneCat
  tutorial.
* No longer switching Angular 1 code to SystemJS for PhoneCat,
  to allow beginning Angular 2 migration with fewer preparation
  steps. SystemJS switch now happens simultaneously with upgrade.
  (This is based on input from @joeeames)
* Testing moved to an appendix to make the main narrative
  shorter and easier to follow.
* Use component methods to do phone filtering and ordering
  instead of introducing pipes to replace filterFilter and orderByFilter.
* Cover issue with camelCase inputs on downgraded components.

For authors:

* All examples now fully integrated with the example boilerplate. Uses the
  same Angular 2 version as all other guides. E2E tests are executed
  along with all the others.
* Reduced number of PhoneCat versions from five to three.
* Each directory has a README explaining how to run it and what might
  be peculiar about it.

Closes angular/angular#8622
Relates to angular/angular.js#14416
Relates to angular/angular-phonecat#326
2016-05-28 09:33:06 -07:00
Ward Bell bd6d788ccb docs(chore): update samples to angular-in-mem-web-api v.0.0.11
Has RegExp query option needed for ToH 7: Http+Observables
2016-05-28 08:54:21 -07:00
Zhicheng Wang 0522f7671d 开发指南-从1.x升级 翻译了1/3左右 2016-05-28 20:54:33 +08:00
Zhicheng Wang e9c7c92483 开发指南-从1.x升级 开始翻译 2016-05-28 15:52:26 +08:00
Zhicheng Wang 55cd18616b 开发指南-TypeScript配置 初译完毕 2016-05-28 15:30:50 +08:00
Zhicheng Wang 101a16560b 开发指南-结构型指令 初译完毕 2016-05-28 14:31:05 +08:00
Zhicheng Wang 1d269cf6e6 开发指南-结构型指令 初译开始 2016-05-28 10:44:47 +08:00
Zhicheng Wang b792425125 开发指南-管道 初译完毕 2016-05-28 09:58:54 +08:00
Zhimin YE (Rex) f67c05c3b9 review of forms.jade, partly done. 2016-05-27 16:52:43 +01:00
Zhimin YE (Rex) 7ea5c39a47 removed () from english words in display-data.jade.
user-input.jade: review is completed.
_translate.scss: added selector for code within text - to change their font-family for chinese font.
2016-05-27 14:48:06 +01:00
Zhimin YE (Rex) 528bd0cfd4 review of displaying-data.jade is completed. 2016-05-27 11:23:39 +01:00
Zhicheng Wang 94243b9b52 更新了字体,适应更多设备 2016-05-27 17:43:49 +08:00
Zhimin YE (Rex) 7c6bf77fa0 Merge branch 'master' of https://github.com/angular/angular-cn 2016-05-27 10:42:03 +01:00
Zhimin YE (Rex) 4f3050aeed more review for displaying-data and appended english font-family. 2016-05-27 10:41:49 +01:00
Zhicheng Wang 88a86ff4a0 开发指南-管道 初译即将完成 2016-05-27 17:40:58 +08:00
Zhicheng Wang c3c1fc6627 修正合并中的一个小错误 2016-05-27 17:40:58 +08:00
Zhimin YE (Rex) c1efe5e46f change font-family globally to default: Microsoft YaHei. 2016-05-27 10:16:59 +01:00
Zhicheng Wang cb95a74253 Rex的版本出现jade编译错误,恢复到Wang的版本 2016-05-27 12:40:10 +08:00