Commit Graph

192 Commits

Author SHA1 Message Date
Kathy Walrath a595eb81ef docs(dart): update BASICS intro (#1410)
Also copy edited the TS version a bit.
2016-05-18 13:43:02 -07:00
Kathy Walrath 2810218b88 docs(quickstart): edit Dart & TS QuickStarts
closes #1411
2016-05-17 14:17:43 -07:00
Eric Jimenez 0ae7ade9fa feat(shorter lines): encapsulate all doc guides within a 10 sized column, including banners. Use showcase. Adjust for mobile 2016-05-16 15:40:32 -04:00
Patrice Chalin fedc39dd52 docs(quickstart-ts/dart): updated prose and example code; consolidate for TS&Dart
closes #1396
2016-05-15 19:26:45 -07:00
Patrice Chalin ad95b04e69 docs(dev guide): pipes - new Dart prose, update Dart and Ts code (#1353)
+ guide/pipes/ts: update docs and example code

+ guide/pipes/dart: new prose, updated example code

+ fix platform_directives reference; html cleanup

+ enable pipes e2e testing
For `e2e-spec.js`: If the async test is executed too early it will fail
(simply because the async message hasn’t been received yet).

+ follow new constants naming convention
2016-05-13 21:44:14 +01:00
Patrice Chalin c1440e7eff [review-pending] docs(dev guide): server-communication - new prose
New Dart prose, update Dart and Ts code

+ guide/server-communication/ts: update to docs and example code
+ guide/server-communication/dart: new prose, update example code
+ ignore all npm-debug.logs
+ make Jade ul li TOC elements more compact.
2016-05-13 21:32:54 +01:00
Foxandxss 96238bbfab docs(cb-webpack): add guide chapter about webpack 2016-05-12 17:22:14 -07:00
Ward Bell 19bf5f6689 docs(router-deprecated): fix example links that weren't to deprecated code
closes #1340
2016-05-10 21:40:09 -07:00
Patrice Chalin ef66e38e54 docs(dev guide): Update 'Component Styles' prose (#1320)
Reowork Ts prose and add Dart prose/code

+ Updates to docs and example code

(Starting point for Dart code was taken from #1171.)
2016-05-10 08:51:23 +01:00
Patrice Chalin f30d71a3cc docs(dev guide): cleanup of deprecated Jade mixin (#1322)
Replace uses of `liveExLinks` mixin and then deleted its definition.
2016-05-09 21:13:50 +01:00
Patrice Chalin e958be24bf docs(dev guide): attribute-directives - updated dart/ts code and new dart prose
Mainly copyedits and prep for extension

+ example code cleanup & bug fix
+ fix bug in default color initialization
2016-05-06 15:42:01 +01:00
Patrice Chalin ac92e77611 docs(dev guide): lifecycle-hooks - updated dart/ts code and new dart prose
Mainly copyedits, but also

- Dart .jade extends TS .jade file with minor overrides
- Significant update of example code (so it matches the ts example in its
appearance and behavior).
- Tweaks to Dart code.
- A few extra/corrected mixin definitions in `_util-fns.jade`.
2016-05-06 14:17:34 +01:00
Patrice Chalin ce6c645501 docs(dev guide): structural-directives - ts minor edits, dart first versiondocs(dev guide): structural-directives - ts minor edits, dart first version (#1277)
Copyedits and other minor edits for TS
+ first version of the chapter for Dart
2016-05-04 13:18:38 +01:00
Ward Bell 2ccdd867d2 docs(router): samples and doc for new router (phase 1) 2016-05-03 09:18:18 -06:00
Foxandxss 3f50248940 docs(style-guide): revisions for New World (repack)
closes #1260
2016-05-03 00:42:02 -06:00
Ward Bell 3d5302adce chore: update to rc.0 2016-05-02 19:57:28 -07:00
Eric Jimenez 5ce56598f5 feat(docs landing): new docs landing 2016-05-02 19:55:59 -07:00
Patrice Chalin ff20b55975 chore(dart & ts): update to beta.17
Change `ngFor=“#…”` to `ngFor=“let…` in code. All are .dart files
except for `app_component.html` which also has changes for:
- `<inpuf var-foo…`> to `<input ref-foo…>`
- `#docregion` tag name updates from var-foo to ref-foo.
- Other misc updates to minimize diffs with TS version of file,
whitespace differences were ignored.

+ Minor update to sync up Dart prose with TS prose.

+ Used
https://github.com/angular/angular/wiki/Angular-2-Dart-Transformer#resol
ved_identifiers to solve
https://github.com/angular/angular.io/issues/1033

Guide/pipes not updated as it will be rolled back to
beta.15 in PR #1220.
2016-04-30 15:01:16 +01:00
Patrice Chalin 1e64d9e57a docs(guide/dart): hierarchical-dependency-injection without copying
closes #1207
This uses a simpler way to render Dart prose from TS prose without
making a copy. This will make it _much_ easier to keep the two in sync.
2016-04-28 17:03:28 -07:00
Patrice Chalin 0557c728d7 chore(dart): updating to beta.16
closes #1192

Updated docs and samples to beta.16.

For this first time, among other things, I payed particular attention
to the changes that were made on the `ts` side of things
(https://github.com/angular/angular.io/pull/1178). Since I wrote it up
in my notes, here is the check list of `ts` updates with notes about
how there might be corresponding changes on the Dart side:

- public/docs/_examples/cb-dependency-injection/ts/app/main.ts
- public/docs/_examples/cb-ts-to-js/ts/app/main.ts
  - cb not in Dart docs yet.
- public/docs/_examples/dependency-injection/ts/app/car/car-injector.ts
-
public/docs/_examples/dependency-injection/ts/app/injector.component.ts
  - Updated Dart example code to avoid null argument.
- public/docs/_examples/homepage-hello-world/ts/index.1.html
- public/docs/_examples/homepage-tabs/ts/index.1.html
- public/docs/_examples/homepage-todo/ts/index.1.html
- public/docs/_examples/package.json
  - N/A for Dart.
- public/docs/_examples/pipes/ts/app/app.component.html
- public/docs/_examples/pipes/ts/app/app.component.ts
- public/docs/_examples/pipes/ts/app/exponential-strength.pipe.ts
- public/docs/_examples/pipes/ts/app/fetch-json.pipe.ts
- public/docs/_examples/pipes/ts/app/random-pipe.component.ts
  - Dart version of sample code is incomplete, but did run in beta.15.
  - Example no longer runs, see
https://github.com/angular/angular/issues/8258
- public/docs/_examples/quickstart/js/package.1.json
- public/docs/_examples/quickstart/ts/package.1.json
- public/docs/_examples/router/ts/app/main.2.ts
- public/docs/_examples/testing/ts/app/mock-router.ts
  - N/A for Dart.
- public/docs/js/latest/_data.json
- public/docs/ts/latest/_data.json
  - Dart equivalent updated.
- public/docs/ts/latest/guide/dependency-injection.jade
  - No need to update since it imports the TS version.
- public/docs/ts/latest/guide/pipes.jade
  - Not in Dart prose yet.
- tools/plunker-builder/indexHtmlTranslator.js
  - N/A for Dart.
2016-04-28 15:32:16 -07:00
Eric Jimenez 8f158f2241 docs(sidenav reorg): remove glossary and cheatsheet from REFERENCE. Move glossary to BASICS. Rename REFERENCE to API REFERENCE 2016-04-25 14:10:57 -07:00
Kathy Walrath 7a0d2f6956 docs(dart): proposed text for linking to Dart samples
This PR uses hierarchical-dependency-injection as the guinea pig. The text is similar to what's used in copyedited TS pages such as https://angular.io/docs/ts/latest/guide/displaying-data.html.
2016-04-25 02:48:08 -07:00
Ben Nadel c9d405062d docs(cb-set-document-title): new "Set Title" cookbook chapter
closes #1069
2016-04-23 14:56:56 -07:00
Foxandxss 4097c67b59 chore: rename Elvis to safe navigation operator
closes #1139
2016-04-23 14:22:57 -07:00
Patrice Chalin 9ec291d63d docs(guide/dart): hierarchical-dependency-injection
* A full first version of the prose. Makes use of Dart example, of
course.
* Tweaks to Dart example code; manually tested in Dartium under checked
mode.

closes #1142
2016-04-22 16:56:27 -07:00
Naomi Black 6d13db472a chore(links): make links to API docs relative 2016-04-19 17:44:38 -07:00
Kathy Walrath 3547e4cc15 docs(toh/dart): convert toh-4 to Dart
closes #1091
2016-04-14 16:28:28 -07:00
Kathy Walrath e552239148 chore(dart): update docs/samples to beta.15
closes #1085
2016-04-14 09:26:41 -07:00
Ward Bell f2f5d9f9ae docs(ts): update to beta.15
also restore accidentally deleted router sample files
2016-04-13 19:26:48 -07:00
John Papa bd079369f3 docs(style-guide): add A2 styleguide - v1 2016-04-12 20:08:09 -07:00
Kathy Walrath 1cdd1e681c docs(toh/dart): a few small tweaks
closes #1080
2016-04-12 17:37:03 -07:00
Alberto Jiménez López 8e7c552452 docs: Remove double 'the' & missing dashes in several files
closes #1073
2016-04-11 21:53:28 -07:00
Kathy Walrath adb4093af7 docs(dart): convert toh-3 to Dart
closes #1071
2016-04-11 09:52:52 -07:00
Kathy Walrath cac5c8977f docs(toh/dart): convert toh-2 to dart (#1065) 2016-04-08 15:10:37 -07:00
Kathy Walrath a678d572ce docs(dart/toh): add intro & toh-1 pages (#1063) 2016-04-07 21:11:13 -07:00
Kathy Walrath 8bc3d2e9e5 chore: update dart to b.14
Downrated server-communication to b6; it stopped working in b.9 (or possibly b.8 or b.7).

Closes #1059
2016-04-07 14:19:31 -07:00
Filipe Silva 0ef63166f8 chore: update to beta.14 2016-04-07 21:31:40 +01:00
Tero Parviainen 6f945b7c38 docs(component-styles): add chapter about styling components
closes #1047
2016-04-06 10:02:23 -07:00
Torgeir Helgevold c1f2c397ff docs: add DI cookbook 2016-04-05 10:15:18 -07:00
Kathy Walrath ed4e450497 chore(typo): quide -> guide in cheatsheets
closes #1039
2016-04-01 15:50:09 -07:00
Kathy Walrath a0a2ee6a93 docs(dart): update to beta.13.1
closes #1032
2016-03-31 16:06:24 -07:00
Kathy Walrath 2e3af5c55a docs(dart/quickstart): merge 2 examples into 1
closes #1031
2016-03-31 15:00:24 -07:00
Ward Bell 082932a210 docs: update to beta.13 2016-03-31 13:22:46 -07:00
Kathy Walrath 24a50a91a6 docs(dart): tweak homepage banner
closes #1016
2016-03-30 10:50:22 -07:00
Kathy Walrath 2144b8e5b6 docs(dart): change imports from bootstrap.dart to platform/browser.dart
closes #1013
2016-03-28 14:56:22 -07:00
Tero Parviainen 7f11a6ce05 docs(cb-ts-to-js): add cookbook about applying TypeScript examples to ES5
closes #893
2016-03-27 23:36:51 -07:00
Kathy Walrath 185f9a7049 docs(dart): update to b12
Also update dart_to_js_script_rewriter dependency to ^1.0.1,
and change most angular2.dart imports to be core.dart instead.

The pipes example broke without the angular2.dart import, so I let it be.

The server-communication sample has never worked for me,
so I changed it but might have broken it further.

closes #1007
2016-03-25 17:40:23 -07:00
Kathy Walrath 10877bdbfc docs(dependency-injection): add Dart version, tweak TS version
closes #972
2016-03-25 15:21:11 -07:00
Kathy Walrath b2ae14b2e9 docs(dart): b10 -> b11
closes #986
2016-03-18 16:15:46 -07:00
Kathy Walrath 051c4603a4 docs(dart): update b9 -> b10 in all samples and quickstart
closes #979
2016-03-17 17:16:24 -07:00