Commit Graph

29 Commits

Author SHA1 Message Date
Patrice Chalin 197be09785 chore(dart): update to 2.0.0 (#2680) 2016-10-26 16:36:21 +02:00
Patrice Chalin 64d5b3dc23 docs(dart): upgrade to beta.22 (#2494)
* update to beta.22
* Dart SDK 1.19.0 or later is required
* minor edits to sample app titles to e2e tests pass
  * Renamed “Angular 2” to “Angular” so that shared e2e tests pass.
* Tweak to QS prose.
2016-09-27 13:41:46 -07:00
Patrice Chalin ec076f842e [WIP] chore(dart): update to beta.21 (#2280) 2016-09-07 16:52:04 -07:00
Patrice Chalin 0a631087fa docs(dart): upgrade to beta.20 (#2142) 2016-08-18 22:47:52 -07:00
Patrice Chalin eafd7db119 chore(ng2/dart): update from beta.1x to beta.18 (#1941)
* chore(ng2/dart): update from beta.1x to beta.18

Update made to all `pubspec.yaml` files and to relevant prose.
Note that pipes was back a beta.15; the rest were at beta.17.

* chore(pipes/dart): update ngFor microsyntax and transform method param

Updates to pipe example source code:
- Pipe `transform()` method parameters
- `ngFor` microsyntax, from `#` to `let`
2016-07-20 15:51:23 -07:00
Patrice Chalin e5b11d456c docs(guide/attribute-directives): follow-up to #1654 (#1765)
- Updated Dart code to match TS.
- Ran dartfmt.
- Enabled e2e tests; suites passed:
  - public/docs/_examples/attribute-directives/dart
  - public/docs/_examples/attribute-directives/ts
- Prose copyedits.
2016-06-28 13:15:51 -07:00
Patrice Chalin 82b4657422 chore(dart pubspec.yaml): consistent baseline (#1647) 2016-06-15 14:59:57 -07:00
Patrice Chalin 7db6684886 chore(dart): add/cleanup example hosting config files (#1605) 2016-06-08 08:02:57 -07:00
Patrice Chalin 1c0218bc79 docs(dev guide): attribute-directives - move html excerpt to .html file (#1313)
Jade can’t parse inlined Angular adorned HTML properly, so it is best
to put such source in a file and include with `makeExample`.
2016-05-06 18:18:48 +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 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 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
Kathy Walrath e552239148 chore(dart): update docs/samples to beta.15
closes #1085
2016-04-14 09:26:41 -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
Kathy Walrath a0a2ee6a93 docs(dart): update to beta.13.1
closes #1032
2016-03-31 16:06:24 -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
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 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
Kathy Walrath 469612f50c docs(dart): update Dart examples to beta.9
closes #952
2016-03-10 19:05:42 -08:00
Kathy Walrath 92ca77e3e8 docs(dart): update samples and quickstart to beta.8
closes #910
2016-03-03 16:38:38 -08:00
Ward Bell ad7f172ea5 docs: share 'styles.css' across all samples all langs; fix styles 2016-02-28 12:47:01 -08:00
Kathy Walrath b32b10dfe5 Update dart samples to b7
Note: template-syntax is broken (not caused by this commit)

closes #860
2016-02-22 10:48:38 -08:00
Kathy Walrath 908c0b2986 docs(dart): b3 -> b6
plus make a few outlier pubspec.yamls more consistent

closes #833
2016-02-11 18:02:13 -08:00
Kathy Walrath 7d5a5fdf84 docs(samples): remove unnecessary style.css files
closes #812
2016-02-05 08:59:27 -08:00
Kathy Walrath 2a4ae27754 docs(dart): update Dart examples from b2 to b3
closes #804
2016-02-03 13:49:49 -08:00
Kathy Walrath a7826ee44c docs(dart): update sample code to be more uniform, use b2
closes #766
2016-01-28 20:17:21 -08:00
Ward Bell 6e11cf6a1e docs(attribute directives/TS/Dart): remove `Renderer`; improve text
closes #757
2016-01-27 14:49:16 -08:00
Tom Ingebretsen f0638e3c3e docs(guide/attributes-directives): Dart version of sample
#closes #451
2016-01-25 14:25:43 -08:00