Commit Graph

3956 Commits

Author SHA1 Message Date
Brad Christie d65f1943e3 create() should return Hero model. (#3414) 2017-03-23 16:04:42 -07:00
Jesús Rodríguez a083fdbe8b chore: replace `URL` dependence in moduleId loader (#3418)
IE, Edge, and some other browsers don't support `URL`. Replace it with standard DOM techniques.
2017-03-23 15:59:54 -07:00
Kapunahele Wong 3cf43d66d1 docs(cookbook-overview): copy edits with Ward's comments (#3355) 2017-03-23 15:52:34 -07:00
Kapunahele Wong a705a0ca3c docs(toh): copy edit and fixes in 4, 5, 6 and example (#3412) 2017-03-23 15:47:55 -07:00
Kapunahele Wong 56c8706262 docs(webpack): copy edits, TOC updates, and fix entry object prose (#3413) 2017-03-23 15:30:12 -07:00
Kapunahele Wong a5464d45a0 docs(aot-cookbook): copy edits applying guidelines, update TOCs (#3416) 2017-03-23 15:20:59 -07:00
Kapunahele Wong 9fb57f6b98 docs(component-communication): copy edits and update TOCs (#3417) 2017-03-23 15:11:48 -07:00
Patrice Chalin 3ba79f9eb5 chore: devguide image compression (#3384) 2017-03-23 11:47:04 -07:00
jin-xinchen 16d92685e3 Update architecture.jade
英文原文:”sets the source of the base address (module.id) for module-relative URLs such as the templateUrl“
中文原文:”为与模块相关的 URL(例如templateUrl)提供基地址“
修改后:“把moduleId设定为起点地址(module.id)是为了说明启用了模块之间的相对地址,例如,当moduleId为“module.id”时,说明当前‘templaterUrl’的值采用了相对URL地址”。
2017-03-22 15:04:30 -04:00
Kapunahele Wong 8d307c53da docs(style-guide): copy edits applying guidelines (#3403) 2017-03-22 07:23:46 -10:00
jin-xinchen c015b7927f Update toh-pt6.jade 2017-03-21 17:04:12 -04:00
jin-xinchen 6cacb457e9 Update toh-pt6.jade
duplicate ### HeroSearchComponent
2017-03-21 16:04:21 -04:00
Ward Bell 0fc40284dd [WIP] docs(toh): copyedits to conform to Google doc standards (#3032) (#3077) 2017-03-21 11:08:09 -07:00
Pete Bacon Darwin be53a50b6b fix(*): fix PUG syntax errors (#3401)
These errors are being missed by the Jade parser
but the more stringent Pug parser treats them as
errors.
2017-03-21 14:45:28 +01:00
Jesús Rodríguez ea638482e5 docs(webpack): remove ts-snippets (#3398) 2017-03-20 21:37:49 -07:00
Patrice Chalin de651113a6 example(template-syntax): drop unused top-level css (#3397)
Most styles were moved to the `app.component.css` a while a go (and the
remaining ones were unused).
2017-03-21 00:02:00 +01:00
Jesús Rodríguez 7906d4fadf chore: fix moduleId loader on plunkers (#3393) 2017-03-20 18:40:03 +01:00
dk 2da1a2d84f fix typo 2017-03-20 19:27:26 +08:00
Jesús Rodríguez d231f82b4a tool(zipper): add support for the moduleId loader (#3394) 2017-03-19 21:24:24 +01:00
Jules Kremer 223c944f24 editing/testing (#3391) 2017-03-18 08:47:32 -10:00
baiyangcao 6af97d2529 fix guide - forms.jade 2017-03-19 01:28:03 +08:00
Jules Kremer 985fd01693 duplicate correction (#3387) 2017-03-17 15:03:37 -10:00
Jules Kremer 56b7afb8bd ngjapan (#3386) 2017-03-17 13:56:06 -10:00
Charles Park cf2042aa03 docs(fix typos) (#3370)
* docs: fix typos

* docs: enhance consistency
2017-03-17 12:32:18 -10:00
Kapunahele Wong 5a6360f6a2 docs(forms-validation): edit copy & add explanation of useExisting (#3372) 2017-03-17 12:30:29 -10:00
Kapunahele Wong 2d61df1c27 docs(lifecycle-hooks): copy edits and update TOC (#3380) 2017-03-17 12:28:20 -10:00
Kapunahele Wong 82b490f44e docs(DI): copy edits and TOC update (#3381) 2017-03-17 12:26:57 -10:00
Kapunahele Wong cc7287d1be docs(setup-anatomy): edit copy to guidelines (#3382) 2017-03-17 12:24:45 -10:00
Kapunahele Wong a8540b01d3 docs(typescript-config): copy edits applying guidelines (#3383) 2017-03-17 12:24:18 -10:00
Patrice Chalin 557200be4f e2e(router): fix test for canceling of crisis detail change (#3379)
- Await for alert dialog and use it in test for canceling crisis detail change.
- Tests now use async/await. It makes them easier to read.
- Remove "money patch" alerter comment.
2017-03-16 16:34:28 +00:00
lizhonghui a3364d89e3 fix(webpack): translation optimize 2017-03-16 09:02:30 +08:00
lizhonghui 48c9d68c60 fix(webpack): complete untranslated part of webpack chapter 2017-03-16 09:02:30 +08:00
Patrice Chalin c2bb6ad935 docs(arch,hier-dep,temp-syntax,toh-5): misc copyedits (#3375)
* docs(architecture): copyedit

Follow-up fix to
https://github.com/angular/angular.io/commit/e6741efd8f4fad20ca519d8eb99
ec0c7d102577d#commitcomment-21321447

* docs(hierarchical-dependency): copyedit

* doc(template-syntax): copyedits

* docs(toh-5): remove unnecessary block, trim whitespace
2017-03-15 11:54:03 +01:00
Patrice Chalin 2fbca288c2 docs(server-comm): copyedits (#3373)
- Minor prose copyedits.
- Renamed `HeroService.addHero()` to `create()`, so as to match the ToH
sample.
2017-03-14 10:48:21 -07:00
Jesús Rodríguez e6741efd8f chore: remove moduleId from examples (#3362)
* chore: remove moduleId from examples

* add support for testing and plunkers

* delete component-relative cookbook

* latest touches

* ward teaks and travis fixes

* fix typo in style-guide
2017-03-14 12:30:37 +01:00
Zhicheng Wang 67ec249772 fix: 修正链接,去掉重复的英文 2017-03-14 14:43:15 +08:00
joseph-newton a841380f1d docs(reactive-forms): fix import symbol typos (#3368) 2017-03-13 15:07:34 +01:00
Pete Bacon Darwin 0cc9ad2acd fix(api-builder): tighten up check for decorator (#3369) 2017-03-12 12:52:06 -07:00
baiyangcao 4d352b3de8 fix toh-pt6.jade translation according to comment 2017-03-12 23:42:27 +08:00
Zhicheng Wang 601f35d5ff chore: 添加鸣谢 2017-03-12 12:06:36 +08:00
Zhicheng Wang 1ce9726afb fix: 和英文同步把`src`替换为`app` (#209) 2017-03-11 22:00:30 +08:00
Zhicheng Wang 900f149b35 fix: 和英文同步把`src`替换为`app` (#208) 2017-03-11 21:58:38 +08:00
Patrice Chalin 9386a6606f docs(structural-directives): move ng-container section later in page (#3367)
* docs(structural-directives): move ng-container section later in page
See https://github.com/angular/angular.io/pull/3345#issuecomment-285511144.
No changes were done to the `<ng-container>` section prose.
2017-03-10 16:05:33 -08:00
AlexanderLukin 5395acc421 docs(ts-to-js): remove unnecessary spaces (#3363) 2017-03-10 21:27:28 +01:00
Patrice Chalin 7d17e342bb docs(structural-directives): copyedits and some tweaks to code (#3345)
* docs(structural-directives): copyedits and some tweaks to code
- Fix variable name `li` --> `i`
- a --> an `UnlessDirective`
- Jade had both #ngswitch and #ngSwitch as link targets;
fixed to use same capitalization as template syntax page.
- Fixed broke fragment target (was missing #)
- Other copy edits and post-review comments from @wardbell
* de-sugar --> desugar
* fix h2 text capitalization
2017-03-09 17:30:23 -08:00
Kapunahele Wong dfd360dc12 docs(routing-nav): copy edits (#3336) 2017-03-09 12:54:42 -08:00
Kapunahele Wong 4dbd920d46 docs(http-client): edit copy and true TOC to doc shape (#3360) 2017-03-09 12:54:14 -08:00
Patrice Chalin a8ad96eb16 docs(template-syntax): code fixes and copyedits (#3365)
- onSave "no propagation" case _was_ propagating. Fixed.
- `firstName` --> `name` (a few were missed during a previous edit).
- Hercules had a _rate_ of 325, not an id; fixed so it matches figure.
- Missing closing `</div>` in form HTML
- Prose: fix json representation of Hercules (since Hero class has changed).
- Added missing AppComponent properties used in template but not declared in class; which will likely result in errors when compiled with AOT.
- Some "back to top" were not formatted properly after a figure.
- Copyedits, e.g., Angular modules such the --> such as the
- Removed Jade blocks no longer used by Dart.
2017-03-09 12:13:17 -08:00
AlexanderLukin 033108342d docs(webpack): Typo: Change text format from monospaced to italic (#3338)
As the monospaced format is used for file names and code snippets everywhere in the documentation, in this place italic format would be better for my mind.
2017-03-08 21:23:05 -08:00
AlexanderLukin 82d373d2f4 docs(ngmodule-faq): Remove unnecessary spaces (#3358) 2017-03-08 21:15:23 -08:00