Commit Graph

892 Commits

Author SHA1 Message Date
Zhicheng Wang f5c85b3e82 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	README.md
#	public/_data.json
#	public/_includes/_hero-home.jade
#	public/_includes/_main-nav.jade
#	public/_includes/_scripts-include.jade
#	public/docs/ts/latest/_data.json
#	public/docs/ts/latest/cheatsheet.jade
#	public/docs/ts/latest/cli-quickstart.jade
#	public/docs/ts/latest/cookbook/_data.json
#	public/docs/ts/latest/cookbook/ajs-quick-reference.jade
#	public/docs/ts/latest/cookbook/aot-compiler.jade
#	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/form-validation.jade
#	public/docs/ts/latest/cookbook/i18n.jade
#	public/docs/ts/latest/cookbook/index.jade
#	public/docs/ts/latest/cookbook/ngmodule-faq.jade
#	public/docs/ts/latest/cookbook/set-document-title.jade
#	public/docs/ts/latest/cookbook/ts-to-js.jade
#	public/docs/ts/latest/cookbook/visual-studio-2015.jade
#	public/docs/ts/latest/glossary.jade
#	public/docs/ts/latest/guide/_data.json
#	public/docs/ts/latest/guide/animations.jade
#	public/docs/ts/latest/guide/appmodule.jade
#	public/docs/ts/latest/guide/architecture.jade
#	public/docs/ts/latest/guide/attribute-directives.jade
#	public/docs/ts/latest/guide/browser-support.jade
#	public/docs/ts/latest/guide/change-log.jade
#	public/docs/ts/latest/guide/component-styles.jade
#	public/docs/ts/latest/guide/dependency-injection.jade
#	public/docs/ts/latest/guide/displaying-data.jade
#	public/docs/ts/latest/guide/forms.jade
#	public/docs/ts/latest/guide/hierarchical-dependency-injection.jade
#	public/docs/ts/latest/guide/learning-angular.jade
#	public/docs/ts/latest/guide/lifecycle-hooks.jade
#	public/docs/ts/latest/guide/ngmodule.jade
#	public/docs/ts/latest/guide/npm-packages.jade
#	public/docs/ts/latest/guide/pipes.jade
#	public/docs/ts/latest/guide/router.jade
#	public/docs/ts/latest/guide/security.jade
#	public/docs/ts/latest/guide/server-communication.jade
#	public/docs/ts/latest/guide/setup-systemjs-anatomy.jade
#	public/docs/ts/latest/guide/setup.jade
#	public/docs/ts/latest/guide/structural-directives.jade
#	public/docs/ts/latest/guide/style-guide.jade
#	public/docs/ts/latest/guide/template-syntax.jade
#	public/docs/ts/latest/guide/testing.jade
#	public/docs/ts/latest/guide/typescript-configuration.jade
#	public/docs/ts/latest/guide/upgrade.jade
#	public/docs/ts/latest/guide/webpack.jade
#	public/docs/ts/latest/index.jade
#	public/docs/ts/latest/quickstart.jade
#	public/docs/ts/latest/tutorial/_data.json
#	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
#	public/events.jade
#	public/news.jade
#	public/presskit.jade
2017-04-15 15:34:47 +08:00
Jesús Rodríguez 8f1acc5b43 chore: make the moduleid loader working on safari (#3532) 2017-04-12 12:03:52 -07:00
Jesús Rodríguez 3239ebca8d chore: enable old ignored tests (#3531) 2017-04-12 15:31:20 +02:00
Jesús Rodríguez 0bf521271b docs(webpack): update for v4 (#3530) 2017-04-12 14:57:01 +02:00
William KOZA 252dd5fdf4 docs(structural-directives): <template> was replaced by <ng-template> (#3445) 2017-04-11 19:59:12 -07:00
Jesús Rodríguez 69294a25c2 docs(testing): port to Angular v4 (#3524) 2017-04-11 19:42:05 -07:00
Kapunahele Wong 01f0f6dec0 docs(forms): move template reference var higher in doc (#3521) 2017-04-11 19:21:47 -07:00
Jesús Rodríguez 21bd32f736 chore: make moduleId loader work with karma (#3499) 2017-04-04 00:15:49 +02:00
Tay Yang Shun 6fa6a1d328 fix: misc typos in three files (#3463) 2017-04-01 11:38:49 -07:00
Kapunahele Wong 4f87145170 docs(dyn-comp-loader): add explanations for methods, add doc structure, plunker (#3451) 2017-04-01 11:31:05 -07:00
Ward Bell cd0c36340e docs(toh-2): move app.component.1.html (#3488) 2017-04-01 11:06:30 -07:00
Ward Bell ebd8b48da6 docs(di-cookbook): InjectionToken->OpaqueToken; clarify class-interface 2017-04-01 02:11:47 -07:00
Ward Bell 5738c4b66a docs(universal): add guide (#3378)
* docs(universal): add guide

* gulpfile: Replace 'rm -rf' with 'node rimraf' so install-example-angular will work on Windows

* Get universal working

* doc wip

* gulpfile: Add platform-server to install-example-angular

* Update toh code in universal sample - remove moduleId

* Update typescript to 2.2.1 when we install-example-angular --build

* move example files; add graphs

* demo and docs wip

* doc wip

* Fix toc

* add toc, link
2017-03-31 17:20:59 +01:00
Filipe Silva 0153bcf435 build: update rollup (#3478)
This PR also pins `rollup-plugin-node-resolve`, which was causing CI to fail.
2017-03-31 16:39:12 +01:00
Ward Bell 86628ebabf chore: replace refs to "logos/angular2/" with angular (#3477) 2017-03-31 11:59:16 +02:00
Pete Bacon Darwin 7f4e992114 fix(tutorial/3): fix invalid doc region marker (#3437) 2017-03-27 17:07:09 +02:00
Filipe Silva 15036913bb docs: followup amends for 4.0 release (#3431) 2017-03-24 17:58:36 +00:00
Filipe Silva 338e9e9438 docs: update to Angular 4.0 (#3415) 2017-03-23 19:50:10 -07:00
Jesús Rodríguez 38f823e357 chore: better package.json for zipper (#3344) 2017-03-24 00:12:19 +01:00
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 a705a0ca3c docs(toh): copy edit and fixes in 4, 5, 6 and example (#3412) 2017-03-23 15:47:55 -07:00
Ward Bell 0fc40284dd [WIP] docs(toh): copyedits to conform to Google doc standards (#3032) (#3077) 2017-03-21 11:08:09 -07: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
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
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
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
Patrice Chalin a6478bcc9d docs(attribute-directives): minor updates incl. e2e fix (#3330)
- Prose: copyedits, including fix to misnamed directive class
(`MyHighlightDirective` --> `HighlightDirective`).
- E2E update to avoid warning of multiple matching elements.
- Code: remove obsolete template region.
- Remove obsolete Jade blocks (no longer required by Dart).
- Replace old Jade syntax with plain markdown.
- Remove a few unnecessary `:marked`.
2017-03-07 10:23:18 -08:00
Patrice Chalin ffdf5caed3 docs(hier-dep-inj): fix comp name, spelling in field name, copyedits (#3335)
* docs(hier-dep-inj): fix in comp name, spelling in field name, copyedits
- `villaines` --> `villains`
- `TaxReturnComponent` --> `HeroTaxReturnComponent`
- Moved `@Input()` to be on setter rather than getter.
- Other misc copyedits
2017-03-07 10:09:07 -08:00
Shai Reznik b874d4874f Need a reference point for the address import (#3258)
this is part of the fix for #3257
2017-03-01 12:30:44 -08:00
Pete Bacon Darwin d586c7cd6a fix(toh-6): add missing tsconfig file (#3289) 2017-03-01 12:26:56 -08:00
Michael Foss 5afcc05084 Update search result styling (#3322)
Change the height of the search results so that the height of each
places the text inside directly in the middle.

Apply a styling similar to the dashboard's heroes when hovering
over a search result.
2017-03-01 12:26:03 -08:00
Jesús Rodríguez cad3545cd0 chore: add missing tasks to package.json (#3325) 2017-03-01 13:02:48 +01:00
Jesús Rodríguez e8a062bdd2 build: zipper revival (#3319) 2017-02-28 23:31:24 +01:00
Jesús Rodríguez 2dd6ad1150 docs(i18n): fix plunker (#3309) 2017-02-28 12:35:02 -08:00
Zhicheng Wang 6af595d7bd Merge remote-tracking branch 'origin/master'
# Conflicts:
#	README.md
#	public/_includes/_hero-home.jade
#	public/_includes/_scripts-include.jade
#	public/docs/dart/latest/_data.json
#	public/docs/ts/latest/_data.json
#	public/docs/ts/latest/cookbook/_data.json
#	public/docs/ts/latest/cookbook/ajs-quick-reference.jade
#	public/docs/ts/latest/cookbook/aot-compiler.jade
#	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/form-validation.jade
#	public/docs/ts/latest/cookbook/i18n.jade
#	public/docs/ts/latest/cookbook/ngmodule-faq.jade
#	public/docs/ts/latest/cookbook/set-document-title.jade
#	public/docs/ts/latest/cookbook/ts-to-js.jade
#	public/docs/ts/latest/glossary.jade
#	public/docs/ts/latest/guide/_data.json
#	public/docs/ts/latest/guide/animations.jade
#	public/docs/ts/latest/guide/appmodule.jade
#	public/docs/ts/latest/guide/architecture.jade
#	public/docs/ts/latest/guide/attribute-directives.jade
#	public/docs/ts/latest/guide/browser-support.jade
#	public/docs/ts/latest/guide/change-log.jade
#	public/docs/ts/latest/guide/component-styles.jade
#	public/docs/ts/latest/guide/dependency-injection.jade
#	public/docs/ts/latest/guide/displaying-data.jade
#	public/docs/ts/latest/guide/forms.jade
#	public/docs/ts/latest/guide/hierarchical-dependency-injection.jade
#	public/docs/ts/latest/guide/index.jade
#	public/docs/ts/latest/guide/lifecycle-hooks.jade
#	public/docs/ts/latest/guide/ngmodule.jade
#	public/docs/ts/latest/guide/npm-packages.jade
#	public/docs/ts/latest/guide/pipes.jade
#	public/docs/ts/latest/guide/router.jade
#	public/docs/ts/latest/guide/security.jade
#	public/docs/ts/latest/guide/server-communication.jade
#	public/docs/ts/latest/guide/setup-systemjs-anatomy.jade
#	public/docs/ts/latest/guide/setup.jade
#	public/docs/ts/latest/guide/structural-directives.jade
#	public/docs/ts/latest/guide/style-guide.jade
#	public/docs/ts/latest/guide/template-syntax.jade
#	public/docs/ts/latest/guide/testing.jade
#	public/docs/ts/latest/guide/typescript-configuration.jade
#	public/docs/ts/latest/guide/upgrade.jade
#	public/docs/ts/latest/guide/user-input.jade
#	public/docs/ts/latest/guide/webpack.jade
#	public/docs/ts/latest/index.jade
#	public/docs/ts/latest/quickstart.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
#	public/events.jade
#	public/presskit.jade
#	public/resources/js/directives/cheatsheet.js
2017-02-26 15:39:42 +08:00
Filipe Silva fdc11391dd docs: update CLI quickstart to rc.0 (#3295)
All shown boilerplate is copy paste of a new CLI generated project using the rc.0 blueprints.

Formatting might be a bit different from the norm in the angular.io repo but it should be left as is, since the shown files should match a generated project.
2017-02-25 16:15:01 +00:00
Jesús Rodríguez 2c7a7d4fbc docs(webpack): one step closer to CLI (#3283)
* docs(webpack): one step closer to CLI

* add html reporter
2017-02-23 13:26:27 +01:00
Pete Bacon Darwin e5b97e3a92 docs: fix up irregular doc-region tags (#3285) 2017-02-21 13:28:34 +00:00
Kapunahele Wong dfd072f40e docs(attribute-directives): copy tweaks (#3284) 2017-02-20 18:05:10 -08:00
Ward Bell acfd22c96b docs(testing): fix hero-detail impl and use done for observable tests (#3270) 2017-02-17 18:19:44 -08:00
Kapunahele Wong bdac5ca6b0 docs(reactive-forms): improve example styles and explain template syn… (#3263)
improve example styles and explain template syntax change;
fix one missed el in the example
2017-02-17 10:46:42 -08:00
Jesús Rodríguez feb3473981 docs(dependency-injection): fix html space (#3231) 2017-02-13 15:33:22 -08:00
Jesús Rodríguez 044a0c6e5f chore: add systemjs.config.js back to plunkers (#3219)
* chore: add systemjs.config.js back to plunkers

* remove the non needed options from plnkr.json as well
2017-02-13 15:32:38 -08:00