Commit Graph

1791 Commits

Author SHA1 Message Date
Filipe Silva 2b235fbe65 re-enable upgrade-adapter and upgrade-phonecat-1 tests 2016-11-08 17:31:02 +00:00
Patrice Chalin 5e79a1a2b5 chore: fix broken links and transform API links for dart docs
- Dart non-api doc pages w/ links to API entries will now have those
links translated from a TS API reference URL to a Dart API reference
URL.
- Created and ran a link checker to verify that all such links to API
entries refer to Dart.
- Fixed links to pages that have moved:
 - JS & Dart: `i18n` is under now `cookbook` not `guide`
 - Dart: testing page is now directly under guide.

Contributes to #1895
Fixes #2273
2016-11-07 13:24:20 -08:00
Ward Bell a46cba06f0 docs(quickstart): app says "Hello Angular!" instead of "My first..." (#2760) 2016-11-05 13:12:11 -07:00
Ward Bell 8fafa8a01e docs(plunkers): prepare plunkers for the quickstart reboot (#2759)
* plunker builder removes files and scripts not needed in plunkers (e.g., systemjs.config.js)
* no longer adds placeholder README.md (deemed a distraction)
* tag is now "Angular" instead of "Angular2"
* new plnkr.json "includeSystemConfig" option adds systemjs.config.js back; needed for testing plnkrs.
* incidentally changes comment "Polyfill(s)" to "Polyfills" in all index.html
2016-11-05 12:53:47 -07:00
Ward Bell 74ef87feac docs: systemjs.config.plunker -> systemjs.config.web w/ auto-bootstrap (#2756)
see PR #2756
2016-11-04 21:59:51 -07:00
Benjamin Dopplinger 83faca0f94 docs(dart): remove unnecessary directives import (#2282) 2016-11-04 09:46:36 -07:00
Patrice Chalin 40c646eced chore: remove unnecessary bad-code-excerpt-skip-patterns (#2745)
* chore: remove unnecessary bad-code-excerpt-skip-patterns

* chore(ts/style-guide): fix BAD FILENAME in code-tabs
2016-11-04 14:40:21 +00:00
Ward Bell fa99a8b0b2 docs(toh-5): dashboard uses [routerLink] bindings #998 (#2718)
* docs(toh-5): dashboard uses [routerLink] bindings #998
closes #998

* chore: temp add toh-5 to bad-code-excerpt-skip-patterns.txt
2016-11-03 10:25:01 -07:00
Ward Bell ae35f0e017 docs(lifecycle-hooks): `SimpleChange` -> `SimpleChanges` #2741 (#2742) 2016-11-02 21:50:38 -07:00
cam73 35d8695752 Removes duplication of head tag in example (#2648) 2016-11-02 15:46:29 -07:00
Filipe Silva f837330eaf chore: remove inner editorconfig (#2736) 2016-11-02 14:49:51 +01:00
Alex Wolfe c6cec50a0a updates to improve search results in Swiftype 2016-11-01 13:40:25 -07:00
Ward Bell 8a3d061305 docs(router): fix grammar typo in preloader section (#2700)
tweaks some other related language.
2016-10-31 01:17:27 -07:00
Aristeidis Bampakos 32f3ed973d docs(router): Fix typos (#2666) 2016-10-31 00:55:08 -07:00
katerberg db1df77571 Fixes typo in Router tutorial (#2688) 2016-10-31 00:49:14 -07:00
WilliamKoza 43c9071a2e docs(cookbook): fix spelling error for word 'class' (#2682) 2016-10-31 00:48:22 -07:00
Ward Bell e9d78133e1 docs(testing): revert to jasmine v.2.4.1 (#2697)
Bug in Jasmine v.2.5.x.  Stick with v.2.4.1 (as karma-jasmine does) until the following issue is resolved:
https://github.com/jasmine/jasmine/issues/1231

Unfortunately, there is no `@types/jasmine` for v.2.4 but only for v.2.5.
2016-10-29 23:53:21 -07:00
Ward Bell 7e5f5a25ad docs(testing): fix `base` setting in karma shims (#2694) 2016-10-29 19:37:27 -07:00
Jesús Rodríguez 323becee32 chore: remove bootstrap package (#2691) 2016-10-29 10:44:57 -07:00
Ward Bell 48cd008749 docs(testing): 'testingService' -> 'twainService' plus clarity (#2692) 2016-10-28 12:40:43 -07:00
Filipe Silva c426e57818 fix(e2e): remove invalid syntax usage (#2687) 2016-10-28 01:08:43 +01:00
Filipe Silva 44bbc7776a fix(e2e): fix travis e2e (#2684)
See angular/webdriver-manager#121
2016-10-27 15:25:09 +01:00
Deborah Kurata 7d142c1d78 docs(vs2015): update for current tools. (#2672)
closes #2672
2016-10-26 09:26:40 -07:00
Steven 2408bb149a fix for #2667 (#2668)
ported changes made here 541bdc5f63
2016-10-26 08:31:29 -07:00
Patrice Chalin 197be09785 chore(dart): update to 2.0.0 (#2680) 2016-10-26 16:36:21 +02:00
Kathy Walrath e9d40ab2d7 Update most visible AngularDart pages to 2.0 2016-10-26 14:43:53 +02:00
Patrice Chalin b1917b800f chore: remove deprecated liveExample mixins (#2670)
`+liveExample` mixins were replaced by `<live-example>` directives a
while ago. This cleanup fixes link issues to the plunker under ng2.io.
2016-10-25 20:26:13 +01:00
Jesús Rodríguez b58e51a038 docs(router): broken link to DI chapter (#2662) 2016-10-25 19:52:44 +02:00
Patrice Chalin cfa7ec76f8 example(dart/toh-5): add extra region for use in API docs (#2664) 2016-10-24 22:33:37 +02:00
Ward Bell ea7dff4d89 docs(security): improve xsrf description and add it to http chapter as well (#2652) 2016-10-24 02:57:19 -07:00
Samuel Marks c746c732aa Typo fix (#2657)
Technically 'nestled' still makes sense in this context, but is a little too Christmas-y! - I assume you meant 'nested' :P
2016-10-23 00:52:12 -07:00
Ward Bell c5a1b3f42a chore(tsconfig): add compileOnSave (#2658) 2016-10-23 00:51:03 -07:00
Jesús Rodríguez bfd08c08c5 docs(animation): add note about aliases (#2629) 2016-10-22 20:35:12 +02:00
Filipe Silva 4c85f0a91d chore: update to 2.1.1 (#2650) 2016-10-21 22:31:09 +01:00
Ward Bell 14c01fb651 docs(change-log): notes in-mem-web-api breaking change (#2644) 2016-10-20 19:28:19 -07:00
Ward Bell 82933bad47 docs(change-log): update for move to @typings (#2643) 2016-10-20 17:24:50 -07:00
Filipe Silva 0d49fecd30 chore: update to @types (#1872)
* chore: update examples to @types
* fix toh-6 aot and add types link
2016-10-20 17:01:16 -07:00
Ward Bell 870ce124d2 docs(template-syntax): explain basic two-way binding (#2639)
closes issue #2598
2016-10-20 10:56:17 -07:00
Ward Bell 101265cba4 chore(testing): fix broken input/output link (#2638) 2016-10-19 23:29:06 -07:00
Ward Bell c28b003a3c docs(HTTP Client): edit copy to conform to G-doc guidelines. (#2630) 2016-10-19 23:17:50 -07:00
Brandon 2f5306f1b6 docs(router): Added example of feature module pre-loading (#2595)
* added example of feature module pre-loading
* added transition aliases for route animations
2016-10-19 22:02:47 -07:00
Torgeir Helgevold 3eb7a41602 docs(aot-cb):bundle in-mem-web-api with esm and umd (#2617)
s

s
2016-10-19 21:52:32 -07:00
Eric Jimenez 1fe6434b94 chore: rename Developer Guides to Guide in _data.json(#2563) 2016-10-19 21:49:54 +01:00
Jesús Rodríguez b17c5c0878 docs(webpack): change resolve ordering (#2628) 2016-10-19 11:44:53 +02:00
Mark Pieszak fdc1b0490c docs(server-communication): grammar fix (#2626) 2016-10-18 15:49:35 +02:00
Maurice de Beijer 6ece848443 docs(testing): fix broken links (#2624) 2016-10-18 15:17:14 +02:00
Maurice de Beijer e89ba6f075 docs(toh-5): fix typo in link (#2622)
.htm => .html
2016-10-18 15:14:09 +02:00
Aristeidis Bampakos 3508b7988d docs(cb-aot): fix typo in tab names. (#2621) 2016-10-18 15:11:24 +02:00
Manohar Poreddy 296045ad66 docs(quickstart.js): fix typo (#2614)
declarations instead of declaration
2016-10-18 15:09:49 +02:00
Simon Xiong 70a8af1924 docs(glossary): fix app module filename (#2613) 2016-10-18 15:08:21 +02:00
SangKa.Z 4f15b4ebdc docs(testing): fix hash link (#2609) 2016-10-18 15:07:37 +02:00
Timothy Curchod 47b51dad68 docs(toh-pt6,guide): fix a grammatical error (#2594) 2016-10-18 15:05:56 +02:00
Sebastián Ramírez 883a29ecf7 Fix minor typo in HTTP guide (#2604) 2016-10-14 12:35:28 +02:00
Jesús Rodríguez e503efe8c8 docs(toh5): add moduleId information (#2597) 2016-10-13 16:41:57 -07:00
Ward Bell 94b8793d70 docs(template-syntax): correct ref var scope per #2458 (#2602)
closes #2458
2016-10-13 16:26:41 -07:00
Sebastián Ramírez 4f81a7ee8c docs(toh5): update styles.css link (#2601) 2016-10-14 01:12:06 +02:00
Kapunahele Wong f49633a62c docs(attribute directives): copy edits squashed (#2508) 2016-10-13 15:42:23 -07:00
Ward Bell 0f9a00f144 docs(changelog): fix title in v.2.1.0 announcement (#2591) 2016-10-12 15:32:12 -07:00
Ward Bell 7b509de819 docs(changelog): in-sync with Ng v.2.1.0 (#2590) 2016-10-12 15:29:28 -07:00
Jesús Rodríguez a63c75cc18 chore: release 2.1.0 (#2589) 2016-10-12 23:41:42 +02:00
Alex Wolfe 5732b07423 Upgrade swiftype to 2.0 library and added a results page for searches 2016-10-12 10:01:19 -07:00
Torgeir Helgevold cdfe957ab8 docs(toh-6-aot): add aot to toh-6 (#2496)
* docs(toh-6-aot): add aot to toh-6

s

s

s

s

s

* docs(toh-6-aot): add aot to toh-6

* docs(toh-6-aot): make aot e2e tests run in the same project
Updates tooling for this purpose and also the prose.
2016-10-12 01:44:49 -07:00
Ward Bell 2e17d587de docs(toh-5): add AppRoutingModule (#2584) 2016-10-11 16:30:30 -07:00
Jesús Rodríguez 492c01d0dd docs(quickstart): fix link to styles.css (#2575) 2016-10-11 16:26:33 +02:00
Ward Bell 3eedcff860 chore: link the TS docs home page banner to the docs change-log (#2567) 2016-10-07 15:32:10 -07:00
Naomi Black 6ca91f710d api(cleanup): Remove preview from the API reference banner 2016-10-07 14:32:48 -07:00
Ward Bell 61b13c13ec chore: v.2.0.2 + standard MIT licenses property (#2559) 2016-10-06 17:21:05 -07:00
Ward Bell 8710eb052d chore(package.json): rename "angular2-" as "angular-" in name (#2558)
also ignore a2docs.css
2016-10-06 16:10:30 -07:00
Filipe Silva 5042b3021c chore(test): add protractor4 (#2233)
* chore(test): add protractor4

* fix lint, remove boilerplate files, fix less gen

* separate scripts between package.json

* ignore a2docs.css in boilerplate

* remove tslint in _examples
2016-10-06 15:25:52 -07:00
Jesús Rodríguez 7c98d16279 chore: add the styleguide back (#2557) 2016-10-06 17:40:01 -04:00
Ward Bell ec1c8281e2 docs(change-log): add documentation change log 2016-10-06 13:21:31 -07:00
Naomi Black b6e5dc9eec docs(version): fix the version number on the docs homepage 2016-10-06 12:42:33 -07:00
Matthew Hegarty eff7e04ac3 Router typos (#2523)
* Fixed typo which was referring to 'imports' section and not 'setup' section

* Fixed 1 char typo: /he *Cancel/the *Cancel/

* Fixed broken link: router.html#optional-route-parameter (added an 's' to 'parameter')

* corrected grammar: /affords/afford/

* Fixed typo: /moved them/move them/
2016-10-05 16:15:42 -07:00
Tim Xiao d9416a8ae9 docs: fixed path typo in tutorial(Routing, HTTP) (#2526)
* Fixed typo in tutorial(Routing)

The path to `app.component.css` should start from current directory, not 'app/', since the file is already in 'app/'

* docs: fixed path error in the tutorial (HTTP)

same problem fixed as commit 917e0ce1c2829224e3ee53a069599fccbc5751a3

* docs: Added moduleId for styleUrls referencing in these two classes
2016-10-05 16:14:44 -07:00
Brandon ff118810ff docs(router): Updated routing examples to use routing modules (#2478)
Simplified routing in tutorial example

Updated ngmodule guide and ngmodule faq with routing module prose
2016-10-05 14:59:09 -07:00
Filipe Silva 3a78f6d8c6 chore(docs): list minimum node as 4 (#2547) 2016-10-05 22:58:57 +01:00
Chase 7c262ccab5 docs(testing): fix minor typo in DashboardHeroComponent (#2518)
Fixed minor typo in DashboardHeroComponent
2016-10-04 15:02:07 +02:00
Maxime ea45887927 docs(testing): fix typo (#2524) 2016-10-04 14:59:10 +02:00
Ward Bell bf97a9a2e1 docs(style-guide): fix folder structure in 04 to match what we do. (#2535)
closes issue #2533
2016-10-03 18:16:15 -07:00
Ward Bell a2744e7ece chore: update /quickstart/js/package.1.json (#2534)
also remove /cb-set-document-title/ts/sample.css
2016-10-03 17:30:45 -07:00
Patrice Chalin db6625eb30 Fix dartdoc styles and prep layout for ng2 pages (#2530)
- Use custom bootstrap grid system styles
- Cache a copy of the dartdoc static-assets styles.css w/ footer styles
disabled.
- Alternate page layout controlled by jade2ng harp global
2016-10-03 14:58:50 -07:00
Filipe Silva 661c971778 fix(i18n): fix link and formatting error (#2528) 2016-10-03 11:33:17 -07:00
Kathy Walrath 6e7780dee0 docs(dart/router): link to router tutorial instead of TS router docs (#2529) 2016-10-03 10:52:03 -07:00
Ward Bell 56ac24b411 chore: fix broken links on 9/30, mostly API links (#2520) 2016-10-01 07:11:21 -07:00
Ward Bell 9b083966f3 chore(i18n): fix broken plunker link (#2519) 2016-09-30 23:05:50 -07:00
Ward Bell ba6b681ed4 docs(i18n): incorporate corrections and feedback from Victor Berchet (#2517)
See PR #2491
2016-09-30 19:14:41 -07:00
Jesús Rodríguez 66e3eca8eb docs(rc4-to-rc5): change cleanup
closes #2516
2016-09-30 17:14:55 -07:00
Alireza Mirian 7796f485fd fix(guide/form): fix a broken link (#2498) 2016-09-30 23:33:26 +02:00
StdVectorBool d5eec33960 docs(style-guide): example of underscore prefix to avoid. (#2501) 2016-09-30 23:32:46 +02:00
Jonas Felix c548f9700b docs(style-guide): add missing word in bootstrapping remark (#2512) 2016-09-30 23:30:20 +02:00
Chase 98d438ed9b docs(testing): delete extra 'with' (#2513)
Deleted extra 'with'
2016-09-30 23:29:49 +02:00
Chase 1591bcc0e1 docs(testing): fix link (#2514)
Fixed link
2016-09-30 23:29:16 +02:00
Chase 4f9f51cb4b Fixed minor typos in testing (#2515)
Fixed minor typos in testing
2016-09-30 23:28:45 +02:00
Ward Bell 66c567bee5 chore(i18n): correct name of i18n extract command (#2511) 2016-09-29 15:15:33 -07:00
Ward Bell e6199a8dfb docs(i18n): add internationalization (i18n) guide (#2491)
* docs(i18n): add internationalization (i18n) guide

* docs(cb-i18n): revamped to System.import the translation file
2016-09-29 11:15:55 -07:00
Patrice Chalin 64d5b3dc23 docs(dart): upgrade to beta.22 (#2494)
* update to beta.22
* Dart SDK 1.19.0 or later is required
* minor edits to sample app titles to e2e tests pass
  * Renamed “Angular 2” to “Angular” so that shared e2e tests pass.
* Tweak to QS prose.
2016-09-27 13:41:46 -07:00
Kevin Leung 5cee3b9b8b * docs(toh-6): update 'let' to 'const' for delete hero (#2355)
Since the update function does use const url instead of let url,
this seemed like a good consistency to have between similar blocks of code.

* docs(toh-6): update 'let' to 'const' for delete hero
2016-09-27 12:56:04 -07:00
Ward Bell 9671d99585 chore: update package.json files to latest pkg versions. Use ~ for Ng. (#2490)
closes #2488
2016-09-27 12:20:17 -07:00
Cody Lundquist 480a824214 docs(style-guide): Fix a couple typos
closes #2489
2016-09-27 12:03:42 -07:00
Jesús Rodríguez 66c630df99 docs(upgrade): update to latest release + tweaks (#2460) 2016-09-27 01:22:38 -07:00
Alireza Mirian e82f28b844 fix(guide/form): fix a typo (#2483) 2016-09-27 00:59:45 -07:00
John Papa 2b7fb86890 docs(style-guide): remove rc relics and update for ngmodules (#2463) 2016-09-27 00:58:10 -07:00
Ward Bell 62d16a8968 docs(architecture): remove reference to directives in component metadata (#2481) 2016-09-26 13:52:57 -07:00
Brandon 556e40695a docs(toh): Replaced window.history with location service (#2439) 2016-09-25 18:56:12 -07:00
Josh Kramer 9970094fcb Fix broken link to DatePipe docs (#2452)
Fixes issue #2451
2016-09-25 18:55:14 -07:00
Ward Bell 6def9505cc chore: convert templateUrls to use moduleId where possible. (#2477) 2016-09-25 18:51:54 -07:00
Ward Bell 4a6f35f58b chore(package.json): update many package versions (#2476) 2016-09-25 17:46:06 -07:00
Ward Bell 6e17d33475 chore: update samples to "angular-in-memory-web-api" (#2472)
chore: update samples to "angular-in-memory-web-api"
2016-09-25 15:24:13 -07:00
Jesús Rodríguez 738b714bd3 docs(testing): change createInstance to createComponent (#2475) 2016-09-25 15:12:04 -07:00
Ward Bell 3ee19780b5 docs(testing): incorporate Igor Minar feedback, Part 2 (#2453)
docs(testing): incorporate Igor Minar feedback, Part 2
2016-09-25 15:07:53 -07:00
Ward Bell f45c9998cc docs(lifecycle-hooks): combine what and when in one chart; add img (#2469) 2016-09-24 15:50:21 -07:00
Ward Bell ac0e82cda7 docs(js/guide): don't use shredder & _data.json fixes (#2467)
replay Patrice's PR #2448
2016-09-24 14:30:06 -07:00
Ward Bell f5f1e80bb7 docs(lifecycle-hooks): make it easier to get to call sequence (#2465)
Per Ben Lesh suggestion. Also converts away from "we"
2016-09-24 12:37:22 -07:00
Jesús Rodríguez 90100bffd9 chore: ability to add unit test boilerplate (#2462) 2016-09-24 21:03:08 +02:00
Kapunahele Wong 6c7f330620 docs(Displaying Data): copy edits (#2435) 2016-09-23 16:53:50 -07:00
Ward Bell b478aaf7a2 docs(testing): from Igor Minar feedback (Part 1) (#2450) 2016-09-23 02:03:20 -07:00
Patrice Chalin 74644d2b3e docs(testing): use marked Jade filter (#2444)
When the testing page is rendered the following warning is generated:
```
Transformers.markdown is deprecated, you must replace the :markdown
jade filter, with :marked and install jstransformer-marked before you
update to jade@2.0.0.
```
2016-09-22 09:48:22 -07:00
Trotyl Yu 6bf7db584c docs(vs2015): fix typo (#2440) 2016-09-22 11:42:16 +02:00
Trotyl Yu aab6d8c523 docs(vs2015): remove duplicated word (#2441) 2016-09-22 11:40:35 +02:00
Ward Bell 1c87bd67d8 docs(testing): explain DebugElement.triggerEventHandler (#2438) 2016-09-21 20:01:44 -07:00
Daniel Karp 8870f30a3d docs(typescript): Fix name of typings config file (#2378)
I believe name of the typings config file is typings.json, not typings.config.
2016-09-21 11:33:39 -07:00
Tomas Echeverri Valencia c8121d61dd docs(quickstart): Change Npm to npm (#2398) 2016-09-21 11:32:36 -07:00
Prashant Mahajan 36c7224ff9 Update visual-studio-2015.jade (#2416)
* Update visual-studio-2015.jade

In Step 7 (Build and Run App), there needs to be instruction to set index.html as start page, so that when Run button or F5 is pressed to run the application, browser shows index.html

* Update visual-studio-2015.jade
2016-09-21 11:32:07 -07:00
Marc Laval c5e02f27a0 docs(browser-support): add Safari 10 (#2433) 2016-09-21 11:30:03 -07:00
Ward Bell 4c71a32e36 docs(testing): import test module and override component providers (#2428) 2016-09-21 11:27:11 -07:00
Patrice Chalin 36a3ea2c21 docs(user-input): misc fixes (#2430)
- Remove nonexistent `<important>` “element” since it causes problems
for ng2.io. This is probably a typo. It was more likely meant to be an
anchor name than an element name.
- Fix two PENDING links.
2016-09-21 08:48:38 -07:00
Patrice Chalin 8d756808b9 docs(toh-6): remove BrowserClient provider comment (#2431)
Fixes #2347
2016-09-21 08:47:09 -07:00
Jesús Rodríguez fdf517ee6b docs(upgrade): temporary fix broken regions (#2424) 2016-09-21 14:53:43 +02:00
Kapunahele Wong 7252bd1553 docs(animations): update copy (#2379)
* docs(animations): update copy
2016-09-20 14:31:48 -07:00
Ward Bell 55bf126489 docs(testing): explain rationale for stubbed routerLink tests (#2422) 2016-09-20 13:45:50 -07:00
Patrice Chalin 0f99a7c130 docs(cookbook): don't use shredder on intro page (#2418)
Also added missing cookbook AoT chapter placeholders for JS and Dart,
fixing 404s mentioned in #2389.
2016-09-20 10:59:14 -07:00
Patrice Chalin b2c6acf1ad docs(tutorial): fix broken link (#2420)
Fixes #2419
2016-09-20 10:56:38 -07:00
Ward Bell 03680e23bb chore: more "angular2" to "angular" cleanup (#2417) 2016-09-20 11:37:16 +02:00
Jesús Rodríguez 7d45d60c91 docs(overview): update to new organization (#2405) 2016-09-19 21:23:02 -07:00
Jesús Rodríguez 693f6ae462 chore: rename Angular 2 to simply Angular (#2402) 2016-09-19 20:24:40 -07:00
Jesús Rodríguez 730c93b5bd docs(ts-to-js): change angular2 to @angular (#2403) 2016-09-19 20:18:20 -07:00
Patrice Chalin 98efced068 docs(lang/latest): parameterize landing page Jade by language (#2389)
ng2.io preparatory work.
2016-09-19 20:14:31 -07:00
Patrice Chalin 0c678c2355 docs: use Jade include rather than Harp partial (#2392)
No net effect on the generated docs.
Preparatory work for ng2.io.
2016-09-19 20:08:03 -07:00
Ward Bell 7b5244ce87 docs(testing): more scenarios (#2396) 2016-09-19 19:57:59 -07:00
Patrice Chalin e016f3f31e docs(tutorial): don't use shredder for intro page (#2388)
An initial multilang cleanup for ng2.io
2016-09-19 16:56:17 -07:00
Patrice Chalin d26007aa67 docs: fix {ts,dart,js}/latest/_data.json (#2387)
* docs: fix {ts,dart,js}/latest/_data.json

Fixes #2384.
Fixes #2385.

* post-review updates

Addressing #2407.
2016-09-20 00:52:41 +02:00
Mike Reid d07d42873a docs(devguide): add missing app.module.js source in Basics > Forms (#2342)
Add missing app.module.js source example in Basics > Forms dev guide
- File is missing for JavaScript, but present for TypeScript
2016-09-19 09:41:31 -07:00
Jesús Rodríguez 45fec1c135 docs(forms): remove deprecated forms notice for js (#2395) 2016-09-19 18:39:53 +02:00
Jesús Rodríguez c17f8596e5 docs(webpack): move to core-js in testing (#2404) 2016-09-19 18:38:54 +02:00
Martin-Wegner a384065576 docs(webpack): remove unused ts-loader (#2361)
69ae63c4b1 changed `public/docs/_examples/webpack/ts/config/webpack.common.js` and `public/docs/_examples/webpack/ts/config/webpack.test.js` and replaced `ts` with `awesome-typescript-loader`. So we can remove `"ts-loader": "^0.8.1",` from the `public/docs/_examples/webpack/ts/package.webpack.json`.
2016-09-19 13:59:00 +02:00
Maxime 40f320d721 docs(testing): fix small typo (#2401) 2016-09-18 18:54:40 +02:00
John Papa 159b196baf docs(toh): fix spelling of ActivateRoute to ActivatedRoute (#2400)
* fixed spelling of ActivateRoute to ActivatedRoute

* dont do cache
2016-09-18 18:34:32 +02:00
Mike Reid 665c346d8f docs(devguide): fix invalid JavaScript syntax in hero-form.component.js example (#2343)
Fix Unmatched '{' JavaScript syntax error in hero-form.component.js example
2016-09-17 23:58:54 +02:00
Sarun Intaralawan c6cf4dc310 docs(router): add missing backticks (#2366) 2016-09-17 23:56:55 +02:00
Filipe Silva 5bd269484a fix(ngmodule): fix broken anchor (#2373) 2016-09-17 23:56:36 +02:00
Alex Wolfe 8b7c3b6e70 update title on sidenav (#2386) 2016-09-17 23:52:46 +02:00
Ward Bell 84b5297cc2 docs(testing): feedback from Joe Eames/add more scenarios (#2391) 2016-09-17 12:44:34 -07:00
Alex Wolfe e2ec60d8dd udpate colors and contrast for accessibility improvements 2016-09-16 15:58:20 -07:00
Pete Bacon Darwin c787fd2ff0 docs(testing-guide): fix tiny typo (#2381) 2016-09-16 23:41:49 +02:00
Ward Bell 9262f7a234 docs(ngmodule): remove hero.service from module (post-RC6 todo)
also switched to moduleId
2016-09-15 17:44:09 -07:00
Patrice Chalin f0ff5e26bd docs(style-guide): attributes aren't comma separated (#2372)
A fix necessary for ng2.io
2016-09-15 17:18:41 -07:00
Filipe Silva b9826c8ddf chore: update compiler-cli version (#2354) 2016-09-15 04:24:56 +01:00
Filipe Silva 24c61dd7bc chore: here we are (#2353) 2016-09-15 02:41:19 +01:00
Naomi Black 095a36f903 docs(refresh): late bio add and livestream banner 2016-09-14 18:27:02 -07:00
Alex Wolfe 65db6b9268 design(style): Restyle changes from Alex 2016-09-14 17:18:55 -07:00
Jesús Rodríguez d64cb11635 docs(aot): remove typescript instruction 2016-09-14 14:49:25 -07:00
Naomi Black 053ecc2b10 docs(aot): More consistency edits to aot/jit 2016-09-14 13:55:23 -07:00
Brandon Roberts c15a68e591 docs(router): Added and organized more router dev guide content
Moved all heroes functionality into milestone 2
Crisis Center initial functionality is milestone 3
Admin feature module as milestone 4 including route guard examples
Updated milestone 5 to lazy load admin feature module
Added examples for CanLoad, CanActivateChildren guard, component-less routes
Added section on explanation of ActivatedRoute
Added section on animating route components
Added section on relative navigation
2016-09-14 13:46:16 -07:00
Kapunahele Wong 4d46d7c1e4 docs(glossary): copy edit
See #2292 for review history.
closes #2292
2016-09-14 13:38:20 -07:00
Naomi Black bc804322c4 docs(aot): update nav to be consistent with aot hyphenation 2016-09-14 10:55:46 -07:00
Filipe Silva 69ae63c4b1 chore: update examples to TS2.0 (#2329) 2016-09-14 10:15:51 -07:00
Torgeir Helgevold 6813ced018 docs(cookbook - aot compiler) (#2161)
docs(cb-aot-compiler): new cookbook on AoT compiler
2016-09-14 10:10:04 -07:00
Kapunahele Wong 97736ad5ee Security Edits Combined (#2245)
* Security Edits Combined

* Security copy edits

* Fix typo in security

* fixing trailing whitespace
2016-09-14 09:11:53 -07:00
Filipe Silva ba41b2da30 chore(test): remove 03-05 style guide test 2016-09-14 08:50:33 -07:00
Filipe Silva f017102cbc chore(test): fix travis 2016-09-14 07:40:29 -07:00
Benjamin Dopplinger d858ed379a docs(server-communication): fix "app/app.module.ts" typo
closes #2283
2016-09-13 20:52:26 -07:00
Brandon cfba6d1de3 fix(router): Added ModuleWithProviders export to configuration example (#2314) 2016-09-13 20:49:01 -07:00
Deborah Kurata a52d8c3e76 docs(validation): Change to 'Table of Contents'
Same change to NgModules
closes #2315
2016-09-13 20:46:36 -07:00
John Papa 39c5a2b949 Rc5 doc sweep (#2218)
* Removed 03-05, 04-12, 04-15.

Removed style for whitespace in imports.

Removed + sign prefix for routing folders. Updated all code.

Removed style that said to use lazy loading.  There was no value in the style other than use it :)

* renamed componet router to router
2016-09-13 18:51:03 -07:00
Ward Bell 1fb488b4ec docs: delete forms- and router-deprecated, jade + examples (#2328) 2016-09-13 18:49:51 -07:00
Jonathan Persson f2b1bbaba9 Remove a superfluous `.` in HTTP client docs 😄 (#2313) 2016-09-13 16:13:44 -07:00
Jesús Rodríguez ee955a451e docs(quickstart): remove compiler-cli from dependencies (#2285) 2016-09-13 16:11:22 -07:00
Shai Reznik 3c9ff061c6 docs(server-communication): fix small typo (#2312) 2016-09-13 15:58:39 -07:00
Jesús Rodríguez 08ae41019e docs(animation): add callbacks documentation (#2271) 2016-09-13 15:57:58 -07:00
Jesús Rodríguez 2d6c9f5fd7 chore: add upgrade to system.js configs (#2302) 2016-09-13 15:56:35 -07:00
Jesús Rodríguez 70ca1e1aa9 docs(router): remove double html tag (#2286) 2016-09-13 15:55:51 -07:00
Kapunahele Wong c5a1a88042 a1-a2 quick ref copy edits (#2255)
* a1-a2 quick ref copy edits

* copy edits, 2nd pass

* Glossary Edits

* 1-2 quick ref copy edits, pass 2
2016-09-13 14:56:29 -07:00
Ward Bell 07cfce795f docs(testing): testing chapter and samples for RC6 (#2198)
[WIP] docs(testing): new chapter, new samples
2016-09-13 14:39:39 -07:00
Ward Bell c5ad38ee86 docs(ngmodule-faq): eager loaded Routed Feature Module must be imported (#2304)
fixes #2298
2016-09-13 12:27:27 -07:00
Jesús Rodríguez 98e5bc248e docs(ngmodule-faq): fix plunker link (#2277) 2016-09-13 12:27:13 -07:00
jmcgoldrick e1b2f6a2fe docs(ngmodule-faq): correct `BrowserModule` import module (#2269) 2016-09-13 12:24:59 -07:00
Jesús Rodríguez d1987b183b docs(di): remove InjectorMetadata mentions 2016-09-13 09:41:38 -07:00
Jesús Rodríguez 988694bb12 chore: update docs to rc7 2016-09-13 08:48:45 -07:00
Ward Bell 01b211193c docs(browser-support): edits (#2299) 2016-09-09 22:21:40 -04:00
Marc Laval d4a641e553 docs(browser-support): document browser support and polyfills (#2244) 2016-09-09 10:02:02 -07:00
Patrice Chalin 562e99463a chore(cheatsheet): fix double banner issue (#2293)
Each page is designed to have a single banner; adjust the cheatsheet to
follow this convention. Also eliminate the article nested within the
`l-conent` div.

Propagated changes/cleanup to JS and Dart.
2016-09-08 15:01:39 -07:00
Patrice Chalin 3e69d83e68 chore(cheatsheet): use Jade to generate mirror page (#2289)
The page `docs/ts/latest/guide/cheatsheet.html` is a mirror of
`docs/ts/latest/cheatsheet.html`. Use Jade instead of Harp to create
the mirror so that jade2ng can generate the corresponding file.
2016-09-08 13:37:22 -07:00
Patrice Chalin d24ff43728 examples(lifecycle-hooks): update Dart sample to match TS (#2281)
Make equivalent TS code changes to Dart sample.

This sync’s Dart with all #2177 changes pertinent to Dart.

E2E tests pass now for Dart, Suites passed:
-  public/docs/_examples/lifecycle-hooks/ts
2016-09-08 08:38:25 -07:00
Patrice Chalin ec076f842e [WIP] chore(dart): update to beta.21 (#2280) 2016-09-07 16:52:04 -07:00
Patrice Chalin 15c50d76a2 docs(*): fix broken links in glossary and router chapter (#2279)
- Glossary: `#ecmascript=2015` is not a valid fragment.
- Router: `<a name=“…”>` needed to be `<a id=“…”>`.
2016-09-07 16:48:43 -07:00
Patrice Chalin b56e4c6fd3 docs(quickstart): fix broken link to tutorial (#2278) 2016-09-07 13:30:39 -07:00
Kathy Walrath 3fa68cd7ac docs(template-syntax): delete a single character 2016-09-06 10:33:13 -07:00
Peter Fryer-Davis 32ac619fc7 Uwaterloo 210J pfryerda edits (#1968)
* template-syntax - removed word redundancies, consistent bolding rather than italics

* Some (not all) changes from PR.

* remaining changes from pull request
2016-09-06 10:31:25 -07:00
Patrice Chalin 59f6ebe849 docs(*): misc fixes to prose in support of jade2ng (#2266)
Fixes to prose “syntax”. Anomalies detected by jade2ng.
Also updated the main _utils-fn.jade in support of jade2ng as well.
2016-09-06 10:28:24 -07:00
Aristeidis Bampakos b16b05805e docs(quickstart): Minor typo fixes. (#2253) 2016-09-03 18:10:11 -07:00
Jesús Rodríguez a9e7781844 docs(quickstart): remove instruction (#2261) 2016-09-03 18:09:31 -07:00
Jesús Rodríguez 42257e4a22 docs(typescript): fix broken link (#2263) 2016-09-03 13:55:10 -07:00
Ward Bell 6ff9e1a5c1 docs(toh-6): missing create instruction (#2264)
fixes #2231
also addresses `<h1>` issue raised in PR #2256
2016-09-03 13:46:27 -07:00
Ward Bell 38bef16604 docs(ngmodule-faq): stronger, clearer advice on where to register providers (#2262) 2016-09-03 13:26:19 -07:00
Wesley Cho 94a40a1852 fix(quickstart): remove accidental space (#2248)
- Remove accidental space causing URL to be rendered incorrectly
2016-09-03 12:15:03 -07:00
Patrice Delorme 1e0bd22d57 docs(DI): fixed Url of "Should I add providers to the root AppModule or the root AppComponent?"
closes #2251
Fixed url "Should I add providers to the root AppModule or the root AppComponent?" to proper link : NgModule to NgModule-FAQ
2016-09-03 12:08:41 -07:00
Martin-Wegner 1804f485dc since RC5 the webpack prod build is defect (#2200)
* since RC5 the webpack prod build is defect

Issue #10618 recommends 'mangle: { keep_fnames: true, screw_ie8: true } for the webpack UglifyJs plugin

* remove screw_ie8 option

removed the screw_ie8: true option because it is not necessary
2016-09-02 01:13:34 -07:00
Ward Bell 77aeb84bc2 chore: remove testing libs from systemjs.config (#2247)
They belong in the testing shim files
2016-09-02 01:11:27 -07:00
Jesús Rodríguez f823605a22 chore: fix quickstart 2016-09-01 08:40:42 -07:00
Naomi Black 38fe94df81 docs(qs-reboot): edits for the quickstart 2016-09-01 07:10:42 -07:00
Jesús Rodríguez 08b491df7b chore: add systemjs.config.1.js 2016-09-01 15:48:36 +02:00
Ward Bell 9d5bbfca15 chore: update systemjs.configs and plunker-builder/indexHtmlTranslator for RC6 2016-09-01 00:20:58 -07:00
Ward Bell 48a30534b3 docs(ngmodule): drop '_' in '_@NgModule' (#2217) 2016-08-31 18:15:53 -07:00
Ward Bell 18ec087f07 docs(forms): fix css, form validation e2e, other tweaks (#2235) 2016-08-31 18:15:14 -07:00
Filipe Silva 0c962712b3 chore: update to rc6 (#2177) 2016-08-31 18:08:57 -07:00
Rob Wormald b2781d96dc chore(docs): change npmcdn to unpkg 2016-08-31 12:22:19 -07:00
Ward Bell 1212b5147f docs(cb-form-validation): add template2 - a step between template and reactive
Raises questions about what really separates Forms from ReactiveForms
2016-08-31 01:15:05 -07:00
Ward Bell f971685a7c docs(cb-form-validation): ward's tweaks
renamed from cb-validation to cb-form-validation
other refactorings and text changes
2016-08-30 14:53:23 -07:00
Deborah Kurata 3b4a5d533d docs(cb-form-validation): create Form Validation Cookbook 2016-08-30 14:53:23 -07:00
Patrice Chalin a24800aed7 docs(lifecycle-hooks): update to cache file (#2222)
No other changes.
2016-08-30 14:02:19 -07:00
Patrice Chalin aeec881c81 docs(quickstart): adjust recent change for Dart (#2223)
* Update cache

* docs(quickstart): tweak recent change

Tweak to prose so that `AppModule` shows up as `AppComponent` in Dart.
2016-08-30 13:56:00 -07:00
Patrice Chalin f475256124 example(toh-1): fix type error in snippet (#2219)
Fixes #2216.
2016-08-30 11:00:54 -07:00
Kapunahele Wong 2ec07472ea Guide & Features edits (#2180)
* Guide & Features edits

* PR updates & Architecture edits

* a couple we -> you updates

* architecture edits

* copy edits in arch., index, npm-packages

* few copy edits

* some chapter -> page changes
2016-08-29 08:37:39 -07:00
Suguru Inatomi 5fd6ae3099 fix(docs): fix typo 'ngOnit' (#2211) 2016-08-27 01:58:26 -07:00
Ward Bell e25a1111e0 docs(ngmodule): add plunker images (#2209) 2016-08-27 00:45:25 -07:00
Patrice Chalin 3baea41801 chore(toh-5): refresh cache file (#2208)
No other changes.
2016-08-26 15:48:47 -07:00
Patrice Chalin 101d2ef091 chore(toh-6): refresh cache file (#2207)
No other changes.
2016-08-26 15:47:34 -07:00
Patrice Chalin 907f848c95 docs(toh-6): refactoring of 'add, edit, delete heroes' (#2170)
* docs(toh-6/dart): refactoring of 'add, edit, delete heroes'

Refactoring of "add, edit, delete heroes" section of toh-6 from one big
bottom-up step into small independent feature slices, where the user
achieves a "milesone" (i.e., can run the full app) after each feature
section. The section rewrite is shorter and offers a better UX.

Other simplifications:
- Error handling is consistent: in the hero service we log to the
console, everwhere else we just let errors bubble up.
- Hero service methods renamed based on function (create, update)
rather then lower-level implementation (post, put).
- @Output properties have been eliminated (since they weren't
explained).

E2E tests now pass on both the TS and Dart sides.

* docs(toh-6/ts): refactoring of 'add, edit, delete heroes'

Refactoring of "add, edit, delete heroes" section of toh-6 from one big
bottom-up step into small independent feature slices, where the user
achieves a "milesone" (i.e., can run the full app) after each feature
section. The section rewrite is shorter and offers a better UX.

Other simplifications:
- Error handling is consistent: in the hero service we log to the
console, everwhere else we just let errors bubble up.
- Hero service methods renamed based on function (create, update)
rather then lower-level implementation (post, put).
- @Output properties have been eliminated (since they weren't
explained).

E2E tests now pass on both the TS and Dart sides.

Post-Dart-review updates included.

* docs(toh-6): ward tweaks
2016-08-26 14:57:45 -07:00
Patrice Chalin 2bd9946bda example(toh-4,5): getHeroesSlowly() to return getHeroes() (#2152)
* example(dart/toh-4,5): getHeroesSlowly() to return getHeroes()

Have `getHeroesSlowly()` delay and then return the value of
`getHeroes()`. This makes it easier for user’s performing the tutorial
to keep this slower method as they evolve toh-5 into toh-6.

* example(ts/toh-4,5): getHeroesSlowly() to return getHeroes()

Have `getHeroesSlowly()` delay and then return the value of
`getHeroes()`. This makes it easier for user’s performing the tutorial
to keep this slower method as they evolve toh-5 into toh-6.
2016-08-26 14:39:57 -07:00
Ward Bell 320920e1fd docs(ngmodule): replace `export default` with explicit export (#2206)
Because AoT won't support `export default` for RC6.
2016-08-26 13:17:05 -07:00
Ward Bell 82539b69cb chore: replace BaseException with new Error (#2205)
because BaseException removed from A2 public api
2016-08-26 13:00:23 -07:00
Ward Bell 094f63aaf9 docs(ngmodule): improved NgModule summary description
closes #2203
2016-08-26 12:38:15 -07:00
Drew Hintz 5b09914550 chore: better compression of images using zopfli
closes #2196
2016-08-26 10:19:12 -07:00
Trotyl Yu accd74c0a2 docs(server-communication): Fix typo in example (#2199)
* docs(server-communication): Fix typo in example

Clearly we're transforming the response, not the request.

* docs(server-communication): Fix typo in example

Clearly we're transforming the response, not the request.
2016-08-26 10:12:37 -07:00
Jesús Rodríguez 5b64b94540 docs(overview): fix live-example link (#2192) 2016-08-26 10:11:15 -07:00
Ward Bell 8e15829189 docs(ngmodule): fixes for defects discovered by John Papa (#2197)
includes splitting FAQs into its own cookbook.
2016-08-25 19:12:15 -07:00
Ward Bell 8bda4abe7f docs(ngmodule): clarity: FormModule is not in imports array (#2195) 2016-08-25 11:06:28 -07:00
Jesús Rodríguez 5b8df3494a chore: add embedded plunkers functionality (#2194) 2016-08-25 10:44:22 -07:00
Jesús Rodríguez 460e2070af chore: update karma to zone 0.6.15 (#2165)
* chore: update karma to zone 0.6.15

* chore: update karma to zone 0.6.16 (Ward's updates)

* chore: add changes to karma-shim
2016-08-25 09:18:49 -07:00
Jesús Rodríguez 9f0ff2e2a9 docs(attribute-directives): add Renderer to style elements
closes #2164
2016-08-24 23:47:41 -07:00
Jesús Rodríguez d01898f474 docs(style-guide): fix two broken regions
closes #2159
2016-08-24 23:45:55 -07:00
Jesús Rodríguez 00a508aa63 docs(quickstart): fix typo
closes #2158
2016-08-24 23:43:38 -07:00
Jesús Rodríguez 9ec4cbf3a4 docs(component-relative): tweak webpack explanation
closes #2157
Fixes #2156
2016-08-24 23:40:52 -07:00
Trotyl Yu 128915d6c3 docs(server-communication): Fetch API does not belong to ECMAScript
closes #2107
Fetch API is a Web API, has its own specification. ECMAScript is the specification of the JavaScript language, nothing to do with Web API.
2016-08-24 23:39:36 -07:00
Gian Marco Gherardi 172e497fec docs(quickstart/js): app JS files order is not significant
closes #1682
2016-08-24 23:38:03 -07:00
Ward Bell fc2815ff6d docs(ngmodule): updates for clarity; breaks out CoreModule 2016-08-24 23:10:10 -07:00
Patrice Chalin 014883d074 docs(*): fix links to Dart API entries (#2185)
* docs(*): fix links to Dart API entries

* post-review updates
2016-08-24 14:46:06 -07:00
Patrice Chalin fcaf8fa365 docs(forms): add link to Dart sample (#2176)
Contributes to #1598.

Also:
- Trimmed trailing whitespace.
- Fixing user-input (since we don’t need the “Run the” in the link).
2016-08-22 15:41:13 -07:00
Patrice Chalin 9b3614d151 docs(user-input): add link to Dart sample (#2175)
Contributes to #1598.
2016-08-22 15:15:30 -07:00
Patrice Chalin f0daf5d238 docs(lifecycle-hooks): post-RC5 Dart resync (#2141)
* lifecycle-hooks: copy latest to cache

* docs(lifecycle-hooks): post-RC5 Dart resync

- TS prose: removed mention of `routerOnActivate` which no longer
exists in the new router.
- TS improvements to the sample code have also been propagated to the
Dart sample.

Contributes to #2077.
E2E tests pass now.

* post-review updates
2016-08-19 15:07:30 -07:00
Filipe Silva 07f07742cf chore(lint): fix whitespace error (#2151) 2016-08-19 13:50:13 -07:00
Ward Bell 2c8a7982e7 docs: use InMemoryWebApiModule everywhere
closes #2137
2016-08-19 04:26:36 -07:00
Brandon Roberts 5c5c9ca16c fix(toh-5): Fixed issues in tutorial flow
The HeroDetailComponent should be in the module declarations from the beginning.
InMemoryWebApiModule.forRoot(InMemoryDataService) and correct text
2016-08-19 03:43:00 -07:00
Brandon Roberts a35fcb4dfd chore(router): Added ModuleWithProviders to routing exports
closes #2113
2016-08-18 23:57:54 -07:00
Ferdinand Malcher 7972eccb8d docs(ngModule): fixed typos
closes #2143
2016-08-18 23:47:05 -07:00
Patrice Chalin 0a631087fa docs(dart): upgrade to beta.20 (#2142) 2016-08-18 22:47:52 -07:00
Filipe Silva bcf7893e3e chore(toh): fix CI errors 2016-08-18 19:30:34 +01:00
Jesús Rodríguez e9a41bac47 docs(toh): add return types
closes #1983
2016-08-17 22:41:06 -07:00
Cassio Landim fccb32d3f8 chore(system.config.js): remove slash in front of "bundle"
closes #1961
This slash before the bundles path is generating a double slash for the scripts path, e.g. http://localhost:3000/node_modules/@angular/common//bundles/common.umd.js. Some server are not happy with this double slash and redirect to 404 pages like Firebase Hosting.
2016-08-17 21:53:21 -07:00
Filipe Silva 7dc18f83df chore(tests): re-enable webpack test
closes #2061
2016-08-17 17:58:49 -07:00
Daniel Kuczewski fb585fae74 docs(ngmodule): replace "swapped" by "replace"
closes #2076
2016-08-17 17:53:07 -07:00
Patrice Chalin 08dec19447 docs(glossary): general cleanup and fix links (#2100)
* glossary: replace cached by latest before edits

* docs(glossary): general cleanup and fix links

This commit addresses issues with the glossary for all languages (JS, TS, Dart).

Fixes #1123, #1838, #2036.

This was originally started as post-RC5 Dart resync, but since mixing Harp partials with Jade mixins can be problematic, this commit does a general cleanup of the 3 x 2 = 6 glossary files (found in `{ts,js,dart}/latest/{.,guide}`).

This commit builds upon #2098 (which created the first `ts/_cache` copy of the glossary), but doesn't really depend on it.

* post-review updates

* post-review updates
2016-08-17 17:50:42 -07:00
Martin ed37bb4835 docs: update deprecated browserDynamicPlatform to platformBrowserDynamic 2016-08-17 17:48:49 -07:00
Jesús Rodríguez a2d6ea3a97 docs(toh): consistency fix
closes #2087
2016-08-17 17:47:15 -07:00
Trotyl Yu 917bf6f603 docs(ngmodule): Fix typo
closes #2103
Another two `@NgModel` typos.
2016-08-17 17:45:16 -07:00
Trotyl Yu f13b4cc04f docs(ngmodule): Fix typo
closes #2104
Remove redundant `by` word.
2016-08-17 17:43:17 -07:00
Trotyl Yu 51f13b51c9 docs(ngmodule): Fix typo of unneeded underscore
closes #2105
Change the underscore to space since it's normal English statement here.
2016-08-17 17:41:47 -07:00
Trotyl Yu b3244ca496 docs(ngmodule): Fix typo of italic in backquote
closes #2106
The underscore would turn to real underscore character within backquote.
2016-08-17 17:40:45 -07:00
Sarun Intaralawan 565ef073ea docs(webpack): remove deprecated browserDynamicPlatform
closes #2109
2016-08-17 17:38:51 -07:00
Trotyl Yu 604e0a72e6 docs(lifecycle-hooks): Remove statements about router-deprecated hooks
closes #2110
The lifecycle-hooks provided by router-deprecated has already been removed in the router, the router now uses guards rather than lifecycle-hooks to achieve the same work.
2016-08-17 17:37:14 -07:00
Trotyl Yu 4f9bf774ee docs(router): Fix typo of missing symbol
closes #2111
2016-08-17 16:46:52 -07:00
Ward Bell 207b04e264 docs(template-syntax): tweak `[(ngModel)]` section header 2016-08-17 16:42:56 -07:00
Patrice Chalin 6df26b5058 docs(template-syntax): update cache copy from latest + post-RC5 Dart resync
closes #2121
Contributes to #2077.
2016-08-17 16:10:52 -07:00
Drew Hintz e6db3ebadb docs(toh/js): fix typo -.ts should be .js
closes #2127
2016-08-17 15:45:36 -07:00
Jesús Rodríguez 66a36bea05 docs(webpack): update testing for RC5
closes #2133
2016-08-17 15:44:37 -07:00
Karl Herrick 37847f83e3 docs(toh-2): align snippet with final example
Fixes #2135.
2016-08-24 17:45:26 -04:00
Patrice Chalin 44862b95f8 docs(toh-3): fix for empty tab (#2122)
Fixes #2119.
2016-08-17 13:33:11 -07:00
Patrice Chalin 0c0c6f69f3 docs(toh-5): TS/Dart review, and Dart resync (#2115)
* docs(toh-5): review and update/resync Dart

**NOTE: run `gulp add-example-boilerplate` after pulling in the
commit.**

This is preparatory work for #2035.
As part of the the chapter review, the Dart .jade was enhanced to use
Jade extends (#2018).
By the same token it contributed to a post-RC5 resync (#2077). Other
key changes:

Dart and TS code:
- Eliminated `styles.1.css` in favor of docregions in `styles.css`.
- `docregion` tags renamed in a few places.
- **No other code changes**.

TS prose
- Fixed: misnamed variable `routing` -> `appRoutes`.
- All other changes are **minor copy edits**, or changes to support
Dart via Jade extends.

Diff of generated HTML for TS chapter was inspected to ensure only
minor copy edits prevailed (i.e., that the support for Jade extends had
no impact on the generated HTML).

* docs(toh-5): edits after doing tutorial

- Some adjustments following actually doing the tutorial. In some cases code shown (e.g. this is what file foo should look like now) didn't match what the user would have. E.g., lingering @Input on the hero property.
- Fixed some lingering deprecated-router prose elements on TS side (e.g., still referring to a route by the old string names like `HeroDetail`).
- Added extra step to `app.component.ts` creation rather than having a critical-call-out later on.
- Reorder some prose for better harmony between TS and Dart prose (also improves the flow).
- Moved the `styleUrls` call-out to the point of first use.

* post-review changes

* more post-review changes

* toh-6 cache update
2016-08-17 13:31:40 -07:00
Patrice Chalin 9869bf585d docs(toh-6): systemjs.config.json -> systemjs.config.js (#2116)
Copyedit in file tree.
2016-08-17 11:11:50 -07:00
Patrice Chalin 68c15c12e5 docs({quickstart,di}): fix code excerpts and titles (#2118) 2016-08-17 09:21:11 -07:00
Patrice Chalin 160b9d2812 tests(toh-[1-4]): e2e - support space in hero name (#2117) 2016-08-17 09:20:17 -07:00
Patrice Chalin c931b56f4a chore(toh-5): improve e2e test coverage and readability (use async/await) (#2092)
* chore(toh-5): improve e2e test coverage

Improved test coverage. Also updated tests to make use of async/await
(so tests are more readable).

* lint feedback
2016-08-17 09:18:23 -07:00
Patrice Chalin 35b54383c2 docs(toh-5): add file to cache (#2102)
* toh-pt5: cached version before new router was introduced

* toh-pt5: refreshed cached copy from latest (post-RC5)
2016-08-12 13:39:17 -07:00
Patrice Chalin dfd46af604 docs(toh-6): post-RC5 Dart resync and TS fixes (#2095)
* toh-6: trim spaces from cache file to simplify diff

* toh-6: copy latest over cache before editing latest

* docs(toh-6): post-RC5 Dart resync and TS fixes

Contributes to #2077.

TS-side changes include:
- Merged three versions of `app/app.module{,1,2}.ts` into a single file
and used docregions instead.
- Misnamed files:
  - `rxjs-operators.ts` -> `rxjs-extensions.ts`
  - `hero-search.service.html` -> `hero-search.component.html`
- Fixed BAD FILENAME error.

Lint reports no errors and toh-6 e2e tests pass.
2016-08-12 11:21:16 -07:00
Patrice Chalin ea457825b8 docs(router): fix markdown, and example mixin cleanup (#2101)
* docs(router): fix markdown and example mixin cleanup

- Fixed: markdown text not under `:marked` region (and so that text was
not showing up in the generated html).
- Fixed: code excerpt title `constructor` -> `isSelected`.
- Cleanup of all makeExample mixin uses.

This cleanup will help make it easier to record differences with the
deprecated router chapter (which must have app-relative makeExample
paths).

* post-review updates

Found another instance of markdown (a heading) outside of a `:marked` region.
2016-08-12 11:20:44 -07:00
Patrice Chalin a771a6e0d0 chore(ts/cache): add glossary (#2098) 2016-08-12 11:14:44 -07:00
Patrice Chalin 7075cdbefa docs(hierarchical-di): post-RC5 Dart resync (#2080)
Contributes to #2077.
Depends on #2078.
2016-08-11 14:43:59 -07:00
Patrice Chalin 596b6862de docs(template-syntax/dart): enhancements to example code (#2051)
* docs(template-syntax/dart): enhancements to example code

Enhancements to `NgStyle` section in support of its API docs.
- Add feature supporting interactive update of a paragraph’s style.
- Add full type declarations.
- Replace bogus implementation of `getStyles()`.

* dartfmt updates
2016-08-11 11:47:59 -07:00
Patrice Chalin 2ca6d6567b chore(quickstart/dart): refresh ts _cache (#2089)
Cf. #2088 and #2077.
2016-08-11 11:29:19 -07:00
Patrice Chalin 19d06061c5 docs(quickstart): post-RC5 Dart resync (#2078)
* docs(quickstart): post-RC5 Dart resync

- Resync Dart QS prose with TS, post RC5.
- Added to-be-shared Jade `var` definitions to `_util-fns.jade`.
- Delete cached QS jade file.
- Eliminate the stub file `styles.1.css` in favor of a `docregion` in
the main `styles.css`.

This commit requires a `gulp add-example-boilerplate` after pulling it in.
Contributes to #2077.

* post-review edits
2016-08-10 13:32:07 -07:00
Patrice Chalin ccdc8c0cec chore(pipes): disable broken e2e tests (#2068) 2016-08-10 08:00:04 -07:00
Trotyl Yu 16731979a0 docs(glossary): Fix ECMAScript description
closes #2030
ES2016(ES7) has already been officially published.
2016-08-09 22:44:11 -07:00
Fredy Treboux 124a03ae09 docs(lifecycle-hooks): minor typo.
closes #2045
2016-08-09 22:36:55 -07:00
Aysegul Yonet 5de00cc591 docs(rc4-to-rc5):fix npm for angular-cli
closes #2072
2016-08-09 22:35:23 -07:00
Trotyl Yu b7e42e2d32 docs(ngmodule): Fix typo
closes #2073
2016-08-09 22:33:26 -07:00
Ward Bell d412470b38 Update router.jade 2016-08-09 22:29:27 -07:00
Brandon Roberts 420b9ca59e docs(router): Fixed lazy loading initial example
closes #2070
2016-08-09 20:00:08 -07:00
Ward Bell 162b1773be docs(rc4-to-rc5): fix npm for MD
closes #2067
2016-08-09 17:55:32 -07:00
Benjamin Dopplinger c8cc3226cc docs(toh-pt5/dart): remove an already existing line (#2056)
Remove an import statement as the package is already imported at this stage of the tutorial.
2016-08-09 17:17:56 -07:00
Patrice Chalin 1ae7b31f61 chore(e2e): fix user-input test
closes #2065
There seemed to be a timing issue. A simple rewrite using async/await
seems to solve the problem.
2016-08-09 16:51:37 -07:00