Commit Graph

803 Commits

Author SHA1 Message Date
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
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
Filipe Silva 7decccfe1b docs(upgrade): update NgUpgrade with AoT, router, unit tests (#2803)
Followup from #2781
2017-02-13 16:45:37 +00:00
Jesús Rodríguez b3f8add5bb chore: lock jasmine types (#3236) 2017-02-11 12:35:11 +01:00
Ward Bell f24b830c8a docs(template-syntax/structural-directives): refresh both guides for style, accuracy, understanding (#3110)
Move details of structural directives from template-syntax to structural-directives guide
Add <ng-container> to structural-directives
Fix samples in both guides
Touch up glossary
Better conformance to google doc guidelines: we->you
closes #2303, #2885
2017-02-06 19:06:13 -08:00
Jesús Rodríguez 5fd1d21680 docs(reactive-forms): fix plunkers (#3203) 2017-02-06 18:56:45 -08:00
Nuri Hodges 968fe62e6c docs(toh-6): fix tsconfig-aot.json indentation. (#3192) 2017-02-06 18:51:43 -08:00
Ward Bell b2f4148472 chore(quickstart): restore app.module and main (#3166)
We seemed to create more confusion by omitting app.module (and main) in QS than we gained in simplicity of QS
Every other example requires these files.
This PR restores them to QS _but doesn't talk about them_ in QS, leaving _that_ to the Setup guide.
2017-02-06 18:35:49 -08:00
Indri Muska 6732babf23 docs(webpack): missing commas in snippet code (#3196) 2017-02-05 16:43:11 +01:00
Jesús Rodríguez 502767fb2b chore: lock to Angular 2.4.5 (#3188) 2017-02-04 18:12:47 -08:00
Filipe Silva 1101f07ef2 refactor: add src folder (#3171)
* boilerplate, gulpfile, quickstart

* move ts files up to cookbooks

* move rest of ts files

* fix tsconfig, default build task, json file

* fix js examples

* fix webpack example

* remove a2docs.css references

* fix aot examples

* fix webpack run task

* fix cb-i18n

* fix upgrade examples

* fix unit tests

* fix comment in deployment index

* removed unused typings.json

* fix plunkers

* fix js example paths

* fix ts quickstart/setup prose

* add src folder note to setup

* broadly replace app/ -> src/app/

* broadly replace main.ts

* broadly replaced index.html

* broadly replace tsconfig

* replace systemjs

* fix filetrees

* Minor prose fixes to aot, i18n cookbooks

* remove char harp was complaining about

* update new reactive forms example

* fix quickstart jade error

* fix mistakes uncovered by CI

* fix bad filename errors

* edit style guide 04-06 rule to use src

* add changelog

* Incorporate Jesus's feedback

* fix snippet headers in toh1/2

* chore: tweak changelog and setup text
2017-02-02 19:38:17 +01:00
Charles Park 46363d18d6 docs: fix typos (#3155) 2017-02-01 22:58:04 +01:00
Kapunahele Wong 452c16dce2 docs(reactive-forms): add reactive forms guide (#2835) 2017-01-31 17:36:32 -08:00
Ward Bell adec6ac6ce chore(hierarchical-dependency-injection): Subscriber -> Observer (#3097) 2017-01-31 17:32:36 -08:00
Jesús Rodríguez 8811094954 docs(testing): fix plunkers shim (#3176) 2017-01-31 12:52:43 -08:00
Jesús Rodríguez 1b78cc4f35 chore: add base href to all examples (#3157) 2017-01-28 00:38:34 +01:00
Lukas Elmer 75c943f179 docs: fix indentation (#3109) 2017-01-26 22:57:42 -08:00
Filipe Silva 8a537b1225 feat(deployment): add deployment chapter (#3043)
This PR adds the Deployment Chapter.
2017-01-27 00:40:10 +00:00
Patrice Chalin 806c658253 docs(forms): copyedits (#3149)
* - Copyedits, some from Kathy (from an early revision of the forms page).
- Removed side note detailing ngModel; now referring reader to
template-syntax page instead.

* post-review edits
2017-01-26 22:15:35 +00:00
Jesús Rodríguez b968cabe34 chore: rename files in ngUpgrade (#3146) 2017-01-26 15:24:10 +01:00
Ward Bell de4903be56 chore: Angular 1 -> AngularJS / Angular 2 -> Angular (#3143)
* chore: Angular 1 -> AngularJS / Angular 2 -> Angular

* Jesus' tweaks
2017-01-26 12:26:11 +01:00
Torgeir Helgevold 969f169eb1 docs(cb-dynamic-component-loading): add dynamic component loading cookbook (#2896)
s

s

s

s

s

s

s

s

s

s

s

s

s

s

s
2017-01-25 13:44:17 -10:00
Filipe Silva 0143d8f454 feat(cli-quickstart): add updated cli-quickstart (#3112)
* feat(cli-quickstart): add updated cli-quickstart

* incorporate Ward's feedback
2017-01-23 23:44:55 +00:00
Jesús Rodríguez 9fb5e0ad24 docs(webpack): update to webpack 2 (#3108)
* docs(webpack): update to webpack 2
2017-01-22 12:51:02 +01:00
Patrice Chalin 457412ae29 example(security): display video URL (#3122)
Simplify the example by just displaying the videoUrl (the string value
of which is contained in `dangerousVideoUrl`). We don’t need the URL to
be changeable anymore than we need the dangerousUrl to be editable.

Fixes #3121
2017-01-20 16:40:51 +00:00
Patrice Chalin 276867e899 examples: consistently quote event binding expressions (#3118)
Note how the `user-input/ts/app/little-tour.component.ts` click binding
had no quotes whatsoever.

Cf. https://github.com/dart-lang/site-webdev/issues/285
2017-01-20 16:39:14 +00:00
Ward Bell a4015abc9e docs(aot-cookbook): workflow suggestion; show how to run with JIT 2017-01-16 22:47:17 -08:00
Ward Bell 60b4287a38 chore(aot-cookbook): gitignore gen'd css and skip rollup warn on 'this' 2017-01-16 22:47:17 -08:00
Marcin Mazurek a5204e7009 docs(style-guide): replace incorrect use of `styleUrls` with `styles` (#3105) 2017-01-16 22:43:07 -08:00