607 Commits

Author SHA1 Message Date
Ward Bell
1fb488b4ec docs: delete forms- and router-deprecated, jade + examples (#2328) 2016-09-13 18:49:51 -07:00
Jesús Rodríguez
ee955a451e docs(quickstart): remove compiler-cli from dependencies (#2285) 2016-09-13 16:11:22 -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
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
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
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
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
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
f475256124 example(toh-1): fix type error in snippet (#2219)
Fixes #2216.
2016-08-30 11:00:54 -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
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
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
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
Ward Bell
fc2815ff6d docs(ngmodule): updates for clarity; breaks out CoreModule 2016-08-24 23:10:10 -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
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
Martin
ed37bb4835 docs: update deprecated browserDynamicPlatform to platformBrowserDynamic 2016-08-17 17:48:49 -07:00
Sarun Intaralawan
565ef073ea docs(webpack): remove deprecated browserDynamicPlatform
closes #2109
2016-08-17 17:38:51 -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
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
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
160b9d2812 tests(toh-[1-4]): e2e - support space in hero name (#2117) 2016-08-17 09:20:17 -07:00