Commit Graph

58 Commits

Author SHA1 Message Date
Ward Bell 8a5df4cfa9 chore: support e2e-specs written in TypeScript
Update gulpfile and project to add a tsconfig to protractor test folders
Change all sample e2e-spec.js -> e2e-spec.ts
Split typings between e2e-spec & app code
Use same config for all e2e tests
Only 1/3 e2e specs truly converted.
Most don't pass because they fail TS transpile by Protractor due to missing type annotations
2016-05-31 22:03:13 -07:00
Ward Bell ae2d8f2730 docs(template-syntax): add brief example of HTML sanitization in binding.
Also clarified interpolation v. property binding example for PR #1564
2016-05-31 18:36:22 -07:00
Patrice Chalin a664f46231 docs(template-syntax): review and update Dart to new doc design (#1465)
* ts template-syntax.jade without docregion tags
* update guide/template-syntax for dart and ts
* clarify style property naming in Dart
2016-05-25 15:09:45 -07:00
Ward Bell ba02c40b56 docs: switch from es6-shim to core-js shim 2016-05-19 16:37:54 -07:00
Ward Bell e99e9185ba docs(index.html) remove extra space in `System.import`line. 2016-05-11 18:42:31 -07:00
Foxandxss 596825a8b1 docs: update all docs to partially comply the style-guide 2016-05-03 12:42:44 -06:00
Ward Bell 3d5302adce chore: update to rc.0 2016-05-02 19:57:28 -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
Filipe Silva 216120daba chore: update to beta.17
closes #1213, 1205
2016-04-28 18:31:00 -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
Foxandxss 4097c67b59 chore: rename Elvis to safe navigation operator
closes #1139
2016-04-23 14:22:57 -07:00
Kathy Walrath 9b9e6ddf0f samples(dart): tweak template-syntax sample
closes #1130
2016-04-20 11:28:42 -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
Thibault Sottiaux 6ccc9adac6 samples(dart): add link to documentation chapter
closes #1019
2016-03-29 16:42:22 -07:00
Thibault Sottiaux ac5bc9db92 samples(dart): add info file for dart-doc-syncer to template-syntax
closes #1018
2016-03-29 15:50:13 -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
Thibault Sottiaux 8e904f3a7f docs(dart/template-syntax): remove redundant and unused assets from sample
closes #954
2016-03-17 09:24:36 -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
Kathy Walrath e725136d98 docs(template-syntax): publish Dart version, tweak TypeScript version
closes #875
2016-03-01 21:19:34 -08:00
Thibault Sottiaux d9b55cb9ac samples(template-syntax/dart): fix sample & make it comply with style guidelines
closes #879
2016-03-01 13:49: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
Ward Bell 524ff05373 chore: add shims_for_IE.js to all index.html 2016-02-25 14:04:37 -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
Ward Bell 157d6d48cc docs(template syntax): improvements based on review feedback Feb 16
closes #851
2016-02-19 00:38:17 -08:00
Ward Bell ee5a4e131a docs(template-syntax): add TOC, NgSwitch, and NgForTrackBy - TS/Dart 2016-02-16 11:03:02 -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 3d87360432 docs(template-syntax): get closer to a Dart version of template-syntax
Add doc regions to the TS version.
Update the Dart sample.
Publish a hidden draft of the Dart version.

Closes #758.
2016-02-09 20:49:49 -08:00
Ward Bell 030653cef3 chore: add "mobile-optimized" <meta> tag to all sample index.html 2016-02-03 15:59:46 -08:00
Ward Bell 593167eb79 docs(template-syntax): typos found by Deb K 2016-01-30 13:28:18 -08:00
Kathy Walrath dd0d822cbc docs(guide/template-syntax): copy edit TypeScript version
Also update some samples. This PR replaces #734 & #756.
2016-01-28 18:31:01 -08:00
Ward Bell 79d3d9f0ad docs(samples): convert boot.ts -> main.ts
plus router text fix and missed beta.2 update to QS.js
closes #773
2016-01-28 17:32:38 -08:00
Ward Bell 7c2cd81949 docs(template-syntax): delete button crosses out hero name
closes #765
2016-01-27 18:59:41 -08:00
Tom Ingebretsen 14de4228fc docs(guide/template-syntax): Dart version of the sample
closes #377
2016-01-25 13:29:17 -08:00
Ward Bell 034a5a6943 docs(template-syntax): Clarify input/output aliasing syntax
closes #722
2016-01-19 00:01:31 -08:00
Ward Bell 7ed0fce10d docs: add IE polyfills to all samples; update QS and Router to explain
closes #712
2016-01-17 20:32:59 -08:00
Ward Bell 0f5294e32c docs(template-syntax): sample/devmode fix + text updates
closes #692
2016-01-13 00:54:03 -08:00
Jay Traband 872064e12e feat(e2e testing): testing framework + initial tests
close #604
2015-12-30 17:58:09 -08:00
Ward Bell 0b466a239d docs(*) migrate index.htmls for release
closes #528
2015-12-15 12:19:30 -08:00
Ward Bell 0c1d7ca3cb docs(router): new chapter
Ward and Jeremy
Todo: EXCLUDE Old router doc for reference while re-writing
2015-12-15 11:35:11 -08:00
Ward Bell 6dc9e5d10b docs(Template Syntax): correct minor oversights in a.53 update
closes #494
2015-12-13 22:31:33 -08:00
Ward Bell 7cf097ea68 docs(Template Syntax): update to a.53 (kebab work)
closes #493
2015-12-13 20:15:52 -08:00
Jay Traband 296b501483 chore(devguide-tooling): add enforce-example-boilerplate gulp task
closes #485 and 479
removal all package.json from _example subdirs and add an example-config.json to each. Update add-example-symlinks to use new fns
updated gitignore, package.json
add tests to QuickStart
2015-12-12 13:57:18 -08:00
Ward Bell 9fc5143dc9 chore: .gitignore of all TS samples should exclude all .js files
closes #467
2015-12-10 08:27:14 -08:00
Jay Traband 0018e75d01 chore(devguide-tooling): node_modules symlink support for _examples and subdirs
closes #450.  READ COMMENTS IN PR450 FOR INSTRUCTIONS ON USAGE
We'll put these instructions some place better soon.

Also replace globule with globby ( perf issues) and explicitly exclude node_modules where possible.
Updated _examples/package.json for latest 3rd party libs (e.g. alpha.48) and
updated template-syntax/ts/package.json to be a prototypical example
2015-12-08 14:27:39 -08:00