Commit Graph

1858 Commits

Author SHA1 Message Date
Jesús Rodríguez b54db9ab5f chore: swap reflect on webpack to core-js 2016-08-09 12:39:28 -07:00
Ward Bell aef8aa94aa docs(ngmodule): add chapter 2016-08-09 12:31:52 -07:00
Ward Bell fe35bc6c31 docs(rc4-to-rc5): New RC4->RC5 migration cookbook. 2016-08-09 12:28:25 -07:00
Peter Bacon Darwin d79adb2422 docs(rc5): update docs and plunkers for rc5 2016-08-09 11:48:07 -07:00
Benjamin Dopplinger ef1171bd36 docs(toh-pt5/dart): fix grammar mistakes (#2057) 2016-08-09 10:43:42 -07:00
Patrice Chalin 841db9e817 docs(toh-6): show provider to use with a real back end (#2059)
Fixes #2055.
2016-08-09 10:41:05 -07:00
Patrice Chalin 5ce8304227 docs(dart): decouple from TS .jade files temporarily (#2044)
Addresses #2043.
2016-08-08 15:48:45 -07:00
Patrice Chalin b796d4b97d chore(dart-doc-sync): data files for component-styles and lifecycle-hooks (#2052)
Note that component-styles and lifecycle-hooks examples have been
sync’d for a while, though they were missing `.docsync.json` files.
2016-08-08 12:48:44 -07:00
Zhicheng Wang 9c4b801f8a 更正一个编译bug 2016-08-06 20:17:07 +08:00
Zhicheng Wang 251d4ffe6c 合并了官方的最新更新 2016-08-06 20:04:41 +08:00
Zhicheng Wang d034bc33c8 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	public/contribute.jade
#	public/docs/js/latest/cookbook/ts-to-js.jade
#	public/docs/ts/latest/cookbook/_data.json
#	public/docs/ts/latest/cookbook/component-communication.jade
#	public/docs/ts/latest/cookbook/component-relative-paths.jade
#	public/docs/ts/latest/cookbook/dependency-injection.jade
#	public/docs/ts/latest/cookbook/dynamic-form.jade
#	public/docs/ts/latest/cookbook/set-document-title.jade
#	public/docs/ts/latest/glossary.jade
#	public/docs/ts/latest/guide/forms.jade
#	public/docs/ts/latest/guide/pipes.jade
#	public/docs/ts/latest/guide/router.jade
#	public/docs/ts/latest/guide/user-input.jade
#	public/docs/ts/latest/tutorial/toh-pt6.jade
2016-08-06 19:52:08 +08:00
Peter Bacon Darwin 35b2dbd867 docs(tutorial): text following a node requires a dot 2016-08-06 07:58:28 +01:00
Peter Bacon Darwin 9f03fca039 docs(cookbook): text following a node requires a dot 2016-08-06 07:45:32 +01:00
Jesús Rodríguez 1a8bbea1d1 docs(pipes): add a section about the Intl API
closes #1999
2016-08-05 17:12:10 -07:00
Matt Ezell 28174673fe docs(router): formatting - Back Quote to Wrap Identifier
closes #2020
2016-08-05 17:03:25 -07:00
Brandon Roberts 14ad2a8c68 fix(docs): Renamed files for JavaScript/Dart dynamic form cookbook
closes #2010
2016-08-05 16:57:48 -07:00
Ciro Nunes f0272f26f4 docs(glossary): fix link to `component` for DI def
closes #2009
2016-08-05 16:54:56 -07:00
Adam d26afa90fd docs(toh-6): Move styles from sample.css to heroes.component.css
closes #1751
Move additional styles from `sample.css` to `hero-search.component.css`.
Edit tutorial to reflect the removal of `sample.css` and the change to `heroes.component.css`.
Edit tutorial to reflect the addition of `hero-search.component.css` file.
Edit `hero-search.component.ts` to include styles from `hero-search.component.css`.
Remove reference to `/public/docs/_examples/toh-6/ts/sample.css` from `/public/docs/_examples/toh-6/ts/index.html`.
2016-08-05 16:45:53 -07:00
Brandon Roberts b93fb12fea chore(examples): Updated live example links to use helper directive
closes #2005
2016-08-05 16:41:45 -07:00
Patrice Chalin 531d6a8bce docs(glossary/dart): recover content (#2037)
Fixes #1918.

Follow-up work will be done under #2036.
2016-08-05 12:13:29 -07:00
Patrice Chalin 6a2cad2640 docs(chore): ensure {forms|router}{,-deprecated} chapters have proper content (#2034)
Fixes #2026.
2016-08-05 11:13:32 -07:00
Kathy Walrath a423724847 docs(dart): update angular.io/dart's link to change log 2016-08-03 12:29:04 -07:00
雪狼 ab4ce4f48f Merge pull request #45 from kapr1k0rn/master
修正一些教程->服务页面的翻译
2016-08-03 00:56:40 -05:00
Zhicheng Wang e8d0dab89c #44 根据 @edtim8 的建议做了更正。 2016-08-03 13:56:08 +08:00
Patrice Chalin 8a6c5b5725 docs(toh-6): add hero search to Dart; minor edits to TS (#2018)
* docs(toh-6/dart): add hero search

Fixes #1924.

* docs(toh-6/ts): minor updates

* post-review updates

* post-review updates
2016-08-02 09:59:35 -07:00
Zhicheng Wang 05f8b866c2 校对 2016-08-02 07:04:52 +08:00
Patrice Chalin a49ecc7fd8 docs(architecture): give example of libraries in TS and Dart (#2015)
Follow-up to
https://github.com/angular/angular.io/pull/1972#issuecomment-235738082
2016-08-01 14:34:36 -07:00
Patrice Chalin 36091d5934 docs(DI/dart): fix incorrect snippet (#2017)
Dart counterpart to #2001.
Fixes #1956 for Dart.
2016-08-01 14:28:28 -07:00
Adão Júnior 6f63e6a390 docs(server-communication): Resolve todo (#1993)
* use latest version of http_in_memory_web_api

* remove todo and drop the ?? body term
2016-08-01 14:13:24 -07:00
Ciro Nunes e2919de78f docs(glossary): improve DI word
closes #2007
2016-08-01 12:52:30 -07:00
Torgeir Helgevold daac8fffbe docs(cb-dynamic-forms): update subtitle
closes #2004
2016-08-01 12:49:15 -07:00
Jesús Rodríguez 818c82c2a2 chore: add README.md to each plunker
closes #1974
2016-08-01 12:48:04 -07:00
Patrice Chalin 04d5337b75 docs(toh-6): search query fixes
closes #2008
Changes:
- Drop `asObservable()` since it is deprecated in RxJS 5 (see the
[migration
guide](https://github.com/ReactiveX/RxJS/blob/master/MIGRATION.md#operat
ors-renamed-or-removed)).
- Drop `+` from hero search query URL: `app/heroes/?name=${term}+`. At
best it is interpreted as a regex op that serves no purpose, at worst,
it gets interpreted as a space (cf. [HTML 4.01 section
17.13.4](https://www.w3.org/TR/REC-html40/interact/forms.html#h-17.13.4)
).
- Rename `searchSubject` to `searchTerms`
- Other minor tweaks to prose.

This work is in preparation for #1924.

Note: toh-6 tests pass.
2016-08-01 11:50:53 -07:00
Phil adb1b1d43b fix some translation in tutorial 2016-08-01 17:35:11 +08:00
Zhimin YE (Rex) 60a06e51b9 Merge remote-tracking branch 'angular.io/master'
# Conflicts:
#	README.md
#	public/_includes/_hero-home.jade
#	public/docs/ts/latest/guide/architecture.jade
#	public/docs/ts/latest/tutorial/toh-pt6.jade
2016-08-01 09:52:29 +01:00
Zhicheng Wang 3e1fe05f8a 校对 2016-08-01 13:43:28 +08:00
Jesús Rodríguez 4507589e26 docs(toh): add explanation for using the search box
closes #2002
2016-07-29 12:44:20 -07:00
Jesús Rodríguez 92239a80ed docs(DI): fix incorrect snippet 2016-07-29 08:40:20 -07:00
Gerard Sans abd6febed5 docs(animation): fix typo! =O
closes #1992
2016-07-29 08:37:31 -07:00
Jesús Rodríguez 4b3b3a2d50 chore: update typings 2016-07-29 08:35:57 -07:00
Jesús Rodríguez 5ca22eed32 docs(architecture): rename missing library 2016-07-29 08:31:31 -07:00
Jesús Rodríguez efbf259318 chore: fix linting 2016-07-29 13:27:06 +02:00
Zhimin YE (Rex) c650436be1 Fix: #42 ES2105 -> ES2015 2016-07-28 09:07:52 +01:00
Zhicheng Wang 7916ec4c8d Merge remote-tracking branch 'origin/master'
# Conflicts:
#	public/docs/ts/latest/guide/animations.jade
#	public/docs/ts/latest/guide/npm-packages.jade
#	public/docs/ts/latest/guide/router.jade
#	public/docs/ts/latest/guide/upgrade.jade
2016-07-26 17:45:25 +08:00
Zhicheng Wang 91eb1f6f45 校对 2016-07-26 17:35:18 +08:00
Zhicheng Wang 01d2494879 校对 2016-07-26 17:34:04 +08:00
Zhicheng Wang 9334c93401 做了初步的SEO 2016-07-26 08:28:02 +08:00
Zhicheng Wang ed8b3cd9e0 微调 2016-07-26 08:16:57 +08:00
Ignat Shining fc1a9a6026 docs(dependency-injection): Clarify how TypeScript generates decorator metadata
closes #1960
2016-07-25 10:40:56 -07:00
Kyle Roberts ce8b94799c docs(Router): remove duplicate "activated"
closes #1957
2016-07-25 10:14:55 -07:00
Kyle Roberts 335d20e834 docs(Npm Packages): grammar and capitalization consistency
closes #1947
2016-07-25 10:12:18 -07:00
Michael bede1db748 typo(animation) wrong documentation for states
closes #1937
2016-07-25 10:01:30 -07:00
Tero Parviainen 0ae32e7adb docs(upgrade): cover Angular 1.5 one-way data bindings
closes #1090, 1169
2016-07-25 09:58:41 -07:00
Zhicheng Wang 3233fc4a76 翻译完了新增 部分 2016-07-25 12:42:36 +08:00
Zhicheng Wang 5532c54ff7 翻译完了一部分新增英文内容 2016-07-24 22:06:39 +08:00
Zhicheng Wang 28fe7d848f 把“作用范围”批量改为“作用域” 2016-07-24 17:31:51 +08:00
Zhicheng Wang 4400deeef8 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	gulpfile.js
#	public/docs/ts/latest/guide/router.jade
#	public/docs/ts/latest/guide/template-syntax.jade
#	public/docs/ts/latest/tutorial/toh-pt6.jade
#	public/resources/js/controllers/resources-controller.js
2016-07-24 17:27:48 +08:00
Zhicheng Wang c3b68a6c1b 采纳了几个来自社区的意见 2016-07-22 20:51:32 +08:00
雪狼 6ef4a5c331 Merge pull request #37 from dreamapplehappy/dreamapple-contribute
翻译的一点建议
2016-07-22 20:40:48 +08:00
Kathy Walrath 66984d5fc8 Revert "Template Expression Operators Copy Edit "
This reverts commit d0811714d5.
2016-07-21 13:41:44 -07:00
sgmills365 14bd476d89 Added capital lettings to titles 2016-07-21 00:42:18 -07:00
amandaegraham d0811714d5 Template Expression Operators Copy Edit
Waterloo ENGL 210 J Student 
Changed order of text in pipe operator to introduce pipe operator 
Changed word choice/word location in pope operator 
Added : before examples to keep consistent
2016-07-21 00:42:18 -07:00
amandaegraham 7e1dba64eb Interpolation Copy Edit 2016-07-21 00:42:18 -07:00
amandaegraham e8642d4616 HTML Section Copy Edit
Waterloo ENGL 210J Student  
Line 44: Changed tense
Line 54: Changed wording of second sentence to not start with 'and'. Added DOM meaning (Document Object Model)
2016-07-21 00:42:18 -07:00
Patrice Chalin ff46ee0282 tests(toh-4): e2e tests
closes #1940
Note: tests are identical to those of toh-2.

Contributes to #1619.
Supersedes #1785.

Suites passed:
- public/docs/_examples/toh-4/dart
- public/docs/_examples/toh-4/ts
2016-07-20 18:22:23 -07:00
Patrice Chalin 7dfbb884b3 tests(toh-3): e2e tests
closes #1939
Contributes to #1619.
Note: tests are identical to those of toh-2.

Suites passed:
- public/docs/_examples/toh-3/dart
- public/docs/_examples/toh-3/ts
2016-07-20 18:21:23 -07:00
Patrice Chalin 6b5d8cb2a7 tests(toh-2): e2e tests
closes #1938
Contributes to #1619.
2016-07-20 18:20:17 -07:00
Patrice Chalin 248eeac6b2 tests(toh-1/e2e): cleanup and updates incl. use of async/await 2016-07-20 16:10:09 -07:00
Patrice Chalin eafd7db119 chore(ng2/dart): update from beta.1x to beta.18 (#1941)
* chore(ng2/dart): update from beta.1x to beta.18

Update made to all `pubspec.yaml` files and to relevant prose.
Note that pipes was back a beta.15; the rest were at beta.17.

* chore(pipes/dart): update ngFor microsyntax and transform method param

Updates to pipe example source code:
- Pipe `transform()` method parameters
- `ngFor` microsyntax, from `#` to `let`
2016-07-20 15:51:23 -07:00
Patrice Chalin 738b5509f8 examples(tutorial): misc fixes to issues from failed e2e
Misc fixes to problems with the tutorial examples, as detected by the new e2e tests. Now the toh-4 index.html is identical to those of the previous parts.

Fixes #1609.
2016-07-20 08:34:32 -07:00
Jesús Rodríguez 825c416f8a chore: bump router on plunker
closes #1927
2016-07-19 22:18:56 -07:00
Brandon Roberts 2e3f3e7fb1 docs(router): Minor dev guide fixes
closes #1932
2016-07-19 22:15:21 -07:00
Torgeir Helgevold f00b96fab8 docs(toh-6): remove details about throw 2016-07-19 22:48:55 -04:00
Torgeir Helgevold 0387b810c6 docs(toh-6): remove throw
closes #1930
2016-07-19 17:20:15 -07:00
Patrice Chalin b4c92d9c9c docs(toh-6/dart): quickfix to "BAD FILENAME" errors (#1929)
Exclude the new Observables section entirely for now.
2016-07-19 15:30:42 -07:00
Patrice Chalin 753452650c docs(cheatsheet/dart): generate from dart sources (#1912)
* docs(cheatsheet/dart): generate from dart sources

Fixes #1906.
2016-07-19 12:35:39 -07:00
Ward Bell ce2e14e4ae docs(toh-pt6): bind to a component method rather than a RxJS Subject
updated text accordingly
2016-07-19 12:26:14 -07:00
Ward Bell 72efdc5e5b chore: add tslint to example package.json
closes #1926
Not sure how it disappeared.
2016-07-19 11:28:23 -07:00
Torgeir Helgevold f50dff818a docs(toh-pt6): add observables to HTTP tutorial chapter
closes #1528
2016-07-18 23:12:44 -07:00
Brandon Roberts f056a2d5d2 docs(router): Added content updates to developer guide
closes #1905
Added section for RouterLinkActive
Added section for global query params and fragments
Added section for RouterState
Added wildcard route to example configuration
Updated code samples
Renamed .guard files to .service
Renamed interfaces.ts to can-deactivate-guard.service.ts
Removed unused files
2016-07-18 15:21:09 -07:00
Benoit Lateltin 5bac678c60 docs(toh-pt5): fix typo in tutorial
closes #1913
2016-07-18 11:10:19 -07:00
Zhicheng Wang 7c2da09b21 语言微调 2016-07-18 14:30:01 +08:00
dreamapple 2269c9f893 翻译的建议 2016-07-18 10:50:36 +08:00
dreamapple e72ae07927 翻译的建议 2016-07-18 10:46:20 +08:00
dreamapple a56b460e20 翻译的建议: "In practice"在文中翻译为"实际上"可能比"在实践中"要好理解. 2016-07-18 10:38:00 +08:00
Zhicheng Wang e140256358 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	README.md
2016-07-17 20:40:12 +08:00
Torgeir Helgevold a19c2ce726 docs(toh-6): use consistent header syntax
closes #1903
2016-07-16 19:10:41 -07:00
Zhicheng Wang 1d107eafb3 翻译了一些合并时遗漏的内容 2016-07-16 18:29:42 +08:00
Zhicheng Wang 3e9394f62a 校对合并结果 2016-07-16 17:47:55 +08:00
Patrice Chalin 1bef20abc4 docs(api/dart): add support for generation and display (#1888)
Fixes #1880.
Supersedes #1593.
2016-07-15 14:10:12 -07:00
Zhimin YE (Rex) 82c7f49784 review: toh-pt5.jade 2016-07-15 17:30:05 +01:00
Zhimin YE (Rex) b2bd58c675 review of architecture.jade. 2016-07-15 17:11:25 +01:00
Zhimin YE (Rex) 0e14785cba Merge remote-tracking branch 'angular.io/master'
# Conflicts:
#	README.md
#	public/_includes/_footer.jade
#	public/_includes/_hero-home.jade
#	public/docs/ts/latest/cookbook/a1-a2-quick-reference.jade
#	public/docs/ts/latest/glossary.jade
#	public/docs/ts/latest/guide/architecture.jade
#	public/docs/ts/latest/guide/dependency-injection.jade
#	public/docs/ts/latest/guide/forms.jade
#	public/docs/ts/latest/guide/router.jade
#	public/docs/ts/latest/guide/style-guide.jade
#	public/docs/ts/latest/testing/first-app-tests.jade
#	public/docs/ts/latest/testing/jasmine-testing-101.jade
#	public/docs/ts/latest/tutorial/toh-pt5.jade
2016-07-15 15:52:34 +01:00
Chris Grieger 08d051d2f6 docs(testing): refer to 'lite-server' instead of 'live-server'.
closes #1737
Since the QuickStart uses 'lite-server', this should also be used for
the testing guide.
2016-07-14 14:39:59 -07:00
Foxandxss a8091f5b84 docs(style-guide): remove routing from TOC
closes #1856
2016-07-14 14:19:48 -07:00
Foxandxss abd860c3ca chore: update testing example to RC4
closes #1839
2016-07-14 14:11:02 -07:00
Foxandxss 8ddc93d211 docs(style-guide): create a route redirection
closes #1857
2016-07-14 14:09:19 -07:00
雪狼 657bf63bdf Merge pull request #34 from dreamapplehappy/dreamapple-contribute
翻译的一点修改: _logger修改为logger
2016-07-14 16:51:12 +08:00
Zhicheng Wang 221f00c8b7 根据Hongbo-Miao的建议修正了一些问题 2016-07-14 16:48:52 +08:00
dreamapple 68e7149742 翻译的一点修改: _logger修改为logger 2016-07-14 14:31:17 +08:00
Hongbo Miao 8b4aee3935 Update attribute-directives.jade 2016-07-13 23:32:24 -04:00
Hongbo Miao b4a194634c add lost info back 2016-07-13 23:30:40 -04:00
Zhicheng Wang e2892d1382 纠正一个翻译错误,来自wudingli。 2016-07-14 10:41:54 +08:00
Zhicheng Wang c8ec2db73c 翻译了一个遗漏的新增英文 2016-07-14 10:06:13 +08:00
Zhicheng Wang 3789144368 根据网友pshadow的勘误,改正一个错误 2016-07-14 07:52:12 +08:00
Zhicheng Wang 46ea47d126 添加dialog.service导致了编译错误,修正回去 2016-07-12 13:52:49 +08: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
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
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 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
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
dreamapple 50225ceea4 翻译的一点修改 位置:user-input.jade 2016-07-05 14:56:01 +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) 24ab1e5fcc Chore: break a line in toh-pt1 2016-07-04 12:00:32 +01:00
Zhimin(Rex) YE 3184375783 correction: router sample correction 2016-07-03 17:38:33 +01: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
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 3c5a045633 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	public/docs/ts/latest/guide/router.jade
2016-07-02 19:16:00 +08:00
Foxandxss 1900eb1c70 docs: replace terminal with pathMatch, base href with '/'
closes #1799
2016-07-01 16:32:39 -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
Foxandxss 4774f4861e chore: update router to beta 2 2016-07-01 08:00:50 -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 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
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
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
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
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
Zhicheng Wang 55dc7c9476 内容微调 2016-06-29 11:18:36 +08:00
Zhicheng Wang fc6e68dc5c 调整首页
内容微调
2016-06-29 10:41:21 +08: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
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
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 dba8c9ec99 内容微调 2016-06-19 20:18:03 +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 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 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