Commit Graph

38 Commits

Author SHA1 Message Date
Patrice Chalin ff46ee0282 tests(toh-4): e2e tests
closes #1940
Note: tests are identical to those of toh-2.

Contributes to #1619.
Supersedes #1785.

Suites passed:
- public/docs/_examples/toh-4/dart
- public/docs/_examples/toh-4/ts
2016-07-20 18:22:23 -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 738b5509f8 examples(tutorial): misc fixes to issues from failed e2e
Misc fixes to problems with the tutorial examples, as detected by the new e2e tests. Now the toh-4 index.html is identical to those of the previous parts.

Fixes #1609.
2016-07-20 08:34:32 -07:00
Thomas Shafer b669e30187 docs(toh-4): change var keyword to const for HEROES constant
closes #1858
HEROES is a `const` and is defined as a `const` originally: https://github.com/angular/angular.io/blob/master/public/docs/_examples/toh-2/ts/app/app.component.ts#L10
2016-07-11 22:07:41 -07:00
Patrice Chalin 82b4657422 chore(dart pubspec.yaml): consistent baseline (#1647) 2016-06-15 14:59:57 -07:00
Patrice Chalin 25dc59daac docs(toh-3/dart): copyedits (#1637) 2016-06-15 14:58:05 -07:00
Patrice Chalin 6e5d8e6491 docs(toh-5/dart): review edits and code cleanup (#1643) 2016-06-15 07:46:26 -07:00
Patrice Chalin ca2e5c5d1d docs(toh-4/ts): copyedits
closes #1638
2016-06-13 11:40:30 -07:00
Patrice Chalin 7db6684886 chore(dart): add/cleanup example hosting config files (#1605) 2016-06-08 08:02:57 -07:00
Foxandxss f3205f5beb chore: first sweep on linting the codebase
closes #1616
2016-06-07 16:45:13 -07:00
Ward Bell ba02c40b56 docs: switch from es6-shim to core-js shim 2016-05-19 16:37:54 -07:00
Kathy Walrath 2dc60188c2 docs(dart): convert toh-5 to Dart (#1426)
Some issues remain (see #1426 review comments), but this is much better than nothing.
2016-05-19 08:03:23 -07:00
Ward Bell e91659ac13 docs(tutorial/ts): delete tutorial sample in favor of toh-6 2016-05-19 00:30:30 -07:00
Torgeir Helgevold e4db340464 docs:(TOH chapter on Http) New Tour of Hero Chapter on Http 2016-05-18 23:38:08 -07: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
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
Kathy Walrath 3547e4cc15 docs(toh/dart): convert toh-4 to Dart
closes #1091
2016-04-14 16:28:28 -07:00
Foxandxss 5f73911eaf chore(toh): change inputs array for input decorator/hero now a class 2016-03-25 16:51:46 -07:00
Foxandxss b2f2fb87ec docs(toh): make a few corrections
closes #967
2016-03-17 21:09:54 -07: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
Ward Bell 44ec77c34a docs:remove many generated js files and prevent with .gitignore 2016-02-25 13:46:25 -08:00
John Papa 1365d82527 docs(tutorial): add part 5-routing 2016-02-08 11:01:29 -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 e258e0f346 docs(template-syntax): minor tweaks to improve text
closes #775
2016-01-28 19:09:09 -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
Christoph Burgdorf 77db0755c8 docs(guide/server-communication): adds http chapter
closes #662
2016-01-25 23:28:36 -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
John Papa f4c69b6ad0 docs(tutorial): update css and related fixes
closes #603
2015-12-23 09:36:16 -08:00
Ward Bell 5bec58577f docs(Tutorial): minor repairs to toh-4
close #602
John's comments
Fix for https://github.com/johnpapa/angular2-tour-of-heroes/issues/41
2015-12-23 09:05:59 -08:00
John Papa 7e86e9411b docs(tutorial): add ToH part 4
closes #589
2015-12-19 14:27:59 -08:00
Ward Bell 82383bc673 docs(tutorial): part 3 + revisions to intro, 1 & 2
closes #573
2015-12-16 18:08:38 -08:00
John Papa ab5390a51e docs(tutorial): combines all 4 sections + revisions/updates to a.53, hides 3&4
closes #488

ToH History (oldest-to-latest):
----------------------------
created code example/snippets files for use with +makeExample, replace usage of  "pre.prettyprint.lang-bash" with this:  code-example(format="." language="bash").
fixed spelling errors in examples file path used by +makeExample
changed usage of "code-example" to "+makeExample"
adding code example/snippets files used in toh 1
fixed example file paths, replaced "pre.prettyprint.lang-bash" with "code-example. "
(docs) toh-pt3 initial state
created code examples for display in jade, starting conversion of Google doc and trying +makeExample rendering
all text copied from doc to jade, still some styling and formatting to perform
completed conversion and styling, moved toh3 example files to "tutorial" folder under _examples
created specific code example files for chapter toh 3 and re-pathed references in +makeExample
minor edit
docs) toh combined - initial combined commit
updated ToH for a.52
tons of changes, including de-kebab-ing, removed src folder, updated tsconfig too
fixing snippets using incorrect ending input tag
using inline html and css for the app.component.
ToH Part 1 Code: updated the imports, removed obsolete directive delcarations
ToH Code Part 1: updated to use imports, interface. will hit others soon
toh part 1: ngModel fix
toh part1: removed obsolete story that referred to how we used to have to import and declare all directives we used. yay!
ToH Part 1: updated to use `boot.ts` and `app.component.ts`. this affected the partials, snippets, and the story.
toh part 1: using `npm run go`
toh parts 1 -4: modified all places to use `npm run go`
toh part 1: refactor for jade
toh part 1: fixing the code samples
toh part 2: seeping through the story
toh part 2: fixing snippets.
toh part 2: replaced ngClass with class.selected
toh part 2: removed whitespace
toh part 2: added final state to the code
toh: fixing paths
toh part 4: fixing src/app path to app
toh part 3: fixing folder path
toh part 2: fixed typo
toh part 2: typo on ngModel
toh part 2: added ngif
toh part 2: removed old hero property. moved the details lower, where we need it
toh index: updated hero list image to show consistent styling as the other images here
QS spelling error (targes -> targets)
tweeks: space and ngIF
2015-12-14 19:57:55 -08:00