Commit Graph

2892 Commits

Author SHA1 Message Date
Patrice Chalin b992c55e42 chore(cache): helper script enhancements (#2210) 2016-08-26 16:36:13 -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 e4ed1ce5af chore(site): support site build w/o recompiling API docs (#2202)
* chore(site): support site build w/o recompiling API docs

If the site has already been built once, then rebuild the site without
re-harp-compiling the API docs use:
`gulp check-deploy —lang=‘’`

Otherwise specify the languages whose API docs are to be rebuilt; as
usual, omitting the `—lang` flag is equivalent to `—lang=all` which is
equivalent to `—lang=‘ts|js|dart’`.

Other changes to gulp tasks:
- Renamed `serve` to `harp-serve`.
- Removed `check-serve`. Use `harp-compile` followed by `serve-www’
instead.
- `harp-compile` now also defaults to `—lang=all`.

* post-review updates

- Ensure that the deploy prompt can be seen.
2016-08-26 14:58:13 -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
Patrice Chalin fd8fb70f07 chore(travis): anchor Dart SDK version to 1.18.1 (#2204)
Because dartdoc from 1.19.0 has issues -
https://github.com/dart-lang/dartdoc/issues/1233.
2016-08-26 13:19:16 -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
Kathy Walrath 99e1c27de6 Add angular-dart info to README 2016-08-26 10:22:43 -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
Jesús Rodríguez 6962f03f30 chore: add _self target to embedded plunkers (#2201) 2016-08-26 10:09:35 -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
Jesús Rodríguez 40a9b49800 chore: fix live-example for multiple plunkers
closes #2167
2016-08-24 23:36:20 -07:00
Ward Bell fc2815ff6d docs(ngmodule): updates for clarity; breaks out CoreModule 2016-08-24 23:10:10 -07:00
Patrice Chalin 0a45a47c73 docs(api): fix cross-language dropdown menu (#2187)
- Re-enable dropdown on main API page.
- Remove Dart choice from TS & JS API entry pages dropdown.
2016-08-24 14:48:23 -07:00
Patrice Chalin 2fd85d1adc docs(resources): use ng-href to avoid false broken link reports (#2186) 2016-08-24 14:46:54 -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 2fcda45161 chore(api): Dart API source folders renamed (#2181)
- angular2 dartdoc files will be in `doc/api`
- angular2 site examples will be in `example`
2016-08-24 13:54:04 -07:00
Zhimin YE (Rex) 19c46899d0 fix: banner for angularconnect 2016-08-24 17:00:20 +01:00
Zhimin YE (Rex) c307083546 patch: router.jade. 2016-08-24 16:48:24 +01:00
Zhimin YE (Rex) 0cbabe283d fix: quickstart 2016-08-24 15:01:37 +01:00
Zhimin YE (Rex) 1b59799b60 fix: server-communication 2016-08-24 14:51:07 +01:00
Zhimin YE (Rex) 5dfd0e3364 fix: cookbook -> di 2016-08-24 14:42:41 +01:00
Zhimin YE (Rex) 373ba06e05 fix: toh-pt5 2016-08-24 14:25:47 +01:00
Zhimin YE (Rex) c26d6a87a0 fixed: toh-pt6 2016-08-24 14:11:32 +01:00
Zhimin YE (Rex) 90b7c0a475 fix: minor change on wording for JIT 2016-08-24 10:41:18 +01:00
Zhimin YE (Rex) c4d35e568a patch: glossary.jade - new JIT clause. 2016-08-24 10:40:15 +01:00
Zhimin YE (Rex) 4fe7e24f16 fix: web API to Web API 2016-08-24 10:23:22 +01:00
Zhimin YE (Rex) 383b67d262 fix: quickstart format bug. 2016-08-24 10:15:46 +01:00
Patrice Chalin aa439d28c5 chore(travis): report bad code excerpts (BAD FILENAME) in docs (#2154)
* chore(travis): report bad code excerpts (BAD FILENAME)

* Only ignore build dir under dart dir

Have the shredder ignore `**/dart/build/**`.
2016-08-23 10:16:47 -07:00
Zhimin YE (Rex) e1d5af61d2 fix: toh-p5 and p6. 2016-08-23 15:52:39 +01:00
Zhimin YE (Rex) b73cb2e1a1 update router.jade. 2016-08-23 14:20:49 +01:00
Zhimin YE (Rex) 654030f09d Merge remote-tracking branch 'remotes/angular.io/master'
# Conflicts:
#	public/docs/ts/latest/cookbook/dependency-injection.jade
#	public/docs/ts/latest/glossary.jade
#	public/docs/ts/latest/guide/forms.jade
#	public/docs/ts/latest/guide/hierarchical-dependency-injection.jade
#	public/docs/ts/latest/guide/lifecycle-hooks.jade
#	public/docs/ts/latest/guide/server-communication.jade
#	public/docs/ts/latest/guide/template-syntax.jade
#	public/docs/ts/latest/guide/user-input.jade
#	public/docs/ts/latest/guide/webpack.jade
#	public/docs/ts/latest/quickstart.jade
#	public/docs/ts/latest/tutorial/toh-pt2.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
2016-08-23 14:02:54 +01:00
Zhimin YE (Rex) f82232ae05 fix: #57 2016-08-23 10:21:32 +01: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 cc6ed06f78 chore(dartdoc): don't cross link to sources (#2174)
Remove dartdoc `—add-crossdart` flag.
2016-08-22 15:03:50 -07:00