621 Commits

Author SHA1 Message Date
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
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
Ward Bell
84b5297cc2 docs(testing): feedback from Joe Eames/add more scenarios (#2391) 2016-09-17 12:44:34 -07: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
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
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
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
Brandon
cfba6d1de3 fix(router): Added ModuleWithProviders export to configuration example (#2314) 2016-09-13 20:49:01 -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
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