Commit Graph

573 Commits

Author SHA1 Message Date
Foxandxss c2c3177545 chore: convert all e2e specs to typescript 2016-06-01 16:17:06 -07:00
Foxandxss 3c3b83a34b chore(e2e): append errors after a failed spec
closes #1579
2016-06-01 11:20:35 -07:00
Foxandxss 6fd62e9baf docs(style-guide): make style guide code compliant with itself
closes #1578
2016-06-01 11:15:57 -07:00
Foxandxss 743540363d docs(style-guide): rename validator to validate
closes #1489
2016-06-01 10:57:11 -07:00
Vikash 8569479423 docs: fix numerous typos in many doc files.
closes #1509
2016-06-01 01:08:56 -07:00
Christopher Thorne 3d868da4b7 docs(toh-pt5): change getHero to match toh-pt6 getHero
closes #1551
2016-05-31 22:31:04 -07:00
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
Foxandxss 9b2c54e77f chore: disable ngAnimate for ng1 protractor tests
closes #1543
2016-05-29 14:34:15 -07:00
Foxandxss 39408f8f8d docs(style-guide): remove dead code at 04-10
closes #1501
2016-05-29 12:44:46 -07:00
Foxandxss 0047919e2d docs(quickstart): update guide systemjs.config.js
closes #1542
2016-05-29 11:03:33 -07:00
Foxandxss f5614e858d docs(style-guide): add more tests
closes #1532
2016-05-28 09:41:15 -07:00
Tero Parviainen 4acbef19a8 docs(upgrade): add ngUpgrade guide version 2
closes #1538
This is a major reorganization of the Upgrade guide.

* Compatible with the new version of the AngularJS 1 PhoneCat
  tutorial.
* No longer switching Angular 1 code to SystemJS for PhoneCat,
  to allow beginning Angular 2 migration with fewer preparation
  steps. SystemJS switch now happens simultaneously with upgrade.
  (This is based on input from @joeeames)
* Testing moved to an appendix to make the main narrative
  shorter and easier to follow.
* Use component methods to do phone filtering and ordering
  instead of introducing pipes to replace filterFilter and orderByFilter.
* Cover issue with camelCase inputs on downgraded components.

For authors:

* All examples now fully integrated with the example boilerplate. Uses the
  same Angular 2 version as all other guides. E2E tests are executed
  along with all the others.
* Reduced number of PhoneCat versions from five to three.
* Each directory has a README explaining how to run it and what might
  be peculiar about it.

Closes angular/angular#8622
Relates to angular/angular.js#14416
Relates to angular/angular-phonecat#326
2016-05-28 09:33:06 -07:00
Ward Bell bd6d788ccb docs(chore): update samples to angular-in-mem-web-api v.0.0.11
Has RegExp query option needed for ToH 7: Http+Observables
2016-05-28 08:54:21 -07:00
Filipe Silva 6c797d752a chore(travis): add Travis CI
closes #1526
2016-05-25 16:47:30 -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
Patrice Chalin e8f84cfc04 test(e2e/dart): enable Basics chapter e2e testing (#1524) 2016-05-25 13:12:36 -07:00
Thibault Sottiaux df87178ef4 Update .docsync.json to make the JSON valid. 2016-05-24 22:19:39 +01:00
Torgeir Helgevold 1644673d6c docs(dependency-injection): show providers using map literals 2016-05-23 19:07:59 -07:00
Foxandxss 7f1412ca97 docs(style-guide): close the button at 09-01
closes #1490
2016-05-23 12:38:58 -07:00
Foxandxss 3a671bc912 docs(style-guide): add spaces at 04-10
closes #1488
2016-05-23 12:37:10 -07:00
Foxandxss 9784c2fa16 docs(style-guide): clean 05-15
closes #1487
2016-05-23 12:36:03 -07:00
Foxandxss 9ed12f465f docs(style-guide): rename toast selector
closes #1486
2016-05-23 12:35:18 -07:00
Foxandxss 7a43e0a548 docs(style-guide): use input at 05-12 for consistency
closes #1485
2016-05-23 12:33:13 -07:00
Foxandxss 915de49863 docs(style-guide): rename avoid template at 05-03
closes #1484
2016-05-23 12:32:26 -07:00
Foxandxss 9f3517529d docs(style-guide): remove non used examples
closes -1483
2016-05-23 12:28:41 -07:00
Foxandxss 020abd810f docs(style-guide): a service doesn't have a folder
closes #1481
2016-05-23 12:27:32 -07:00
Foxandxss 0e13763943 docs(style-guide): 03-02 pluralize villain
closes #1479
2016-05-23 12:20:25 -07:00
Foxandxss 508b779a41 docs(toh): add instructions to add the goBack method
closes #1478
2016-05-23 12:18:46 -07:00
Foxandxss 129b34c77e docs(toh): update HTTP chapter with style guide conventions
closes #1477
2016-05-23 12:15:10 -07:00
Foxandxss 4371465f4e docs(style-guide): add e2e tests 2016-05-22 16:40:40 +02:00
Foxandxss a775675ab8 docs(typings): update typings snippets for the guides 2016-05-22 01:59:40 +02:00
Ward Bell b25950090d docs(typings): install into globalDependencies, not globalDevDependencies 2016-05-21 16:49:00 -07:00
Ward Bell 60eeb0123a docs(typings): update typings chapter + update lingering old package references 2016-05-21 16:26:54 -07:00
Foxandxss 899bae64a9 docs(style-guide): add testing harness 2016-05-21 15:04:08 -07:00
Foxandxss 10b0cde8c0 docs(webpack): update typings 2016-05-21 23:49:05 +02:00
Ward Bell 4b104d7cc9 docs(testing): update testing setup to use systemjs.config.js 2016-05-21 14:31:22 -07:00
Ward Bell 650a4d17e8 docs(samples): package.json and typings updates 2016-05-21 14:15:48 -07:00
Ward Bell e188e472f1 docs(e2e-tests): improve gulp e2e tasks and fix samples that were failing 2016-05-20 20:33:38 -07:00
Ward Bell f9fea00824 docs(component-relative-paths): new cookbook 2016-05-20 20:33:38 -07:00
Patrice Chalin da48db3c77 docs(server-communication): cleanup, mainly for Dart (#1455)
- Dart code: fix issues raised by @thso during review.
- Dart code: remove "show x" clauses from imports.
- Dart add docsync config file.
- Prose: make consistent use of _Http variables; otherwise use "HTTP".
- Prose: add links to the demos list.

* _heroesUrl as static const
2016-05-20 17:14:37 -07:00
Ward Bell 12984fda55 docs(testing): update samples & test config to RC1 2016-05-20 01:09:45 -07:00
Ward Bell 02767419ed chore: fix missed in-mem-web-api to v.0.0.9
closes #1447
2016-05-19 23:25:12 -07:00
Ward Bell 3423ad8491 chore: more conversion of es6-shim to core-js 2016-05-19 23:18:18 -07:00
Ward Bell 6e0f80c673 docs: update api-in-mem-web-api to v.0.0.8 2016-05-19 21:50:26 -07:00
Foxandxss efbe3bbdfd docs(quickstart): fix broken region
closes #1438
2016-05-19 19:22:45 -07:00
Foxandxss bd52aa3f34 docs: complete es6-shim to core-js migration
closes #1442
2016-05-19 19:12:14 -07:00
Ward Bell 3324bd944d docs(toh-6): fix broken 'Add Hero' and fill in instructional gaps 2016-05-19 19:00:20 -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 29511831cd docs(server-communication): heavily refactored (TS & Dart) 2016-05-19 02:48:43 -07:00
Ward Bell a4bc455030 docs(toh): remove unneeded directive from heroes.component 2016-05-19 00:57:35 -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
Ward Bell 31fe01e01f docs: SystemJS to use @angular umd bundles 2016-05-18 16:20:24 -07:00
Patrice Chalin 5b1a84be4c chore(docs): revise makeExcerpt mixin, add makeProjExample mixin
Be more DRY when referencing examples and excerpts. E.g.,
```jade
+makeExcerpt('quickstart/ts/app/app.component.ts', 'import',
'app/app.component.ts (import)')
```
can now be just
```jade
+makeExcerpt('app/app.component.ts', 'import')
```
Defined new mixin for examples named `makeProjExample` using this new
scheme.
The original `makeExample` has been left untouched.

Applied new mixins to quickstart.

closes #1420
2016-05-18 10:27:51 -07:00
Patrice Chalin 6751f779d0 test(e2e/dart): add support for Dart e2e testing
closes #1369
Add `--lang` option whose values are any combo of `(ts|js|dart)`
default is `(ts|js)`
`--lang=all` runs all language tests;
2016-05-17 10:31:49 -07:00
Ward Bell 594079970c docs(http): remove status 200 guard and add RxJS operators individually 2016-05-17 01:45:52 -07:00
Foxandxss 0123076a79 chore: remove typings.d.ts from style guide
closes #1404
2016-05-16 21:50:55 -07:00
Tero Parviainen ba47da0d70 docs(upgrade): bring phonecat up to speed with rc.1. Use router-deprecated.
closes #1357
2016-05-15 19:48:13 -07: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
Foxandxss a3400d035c docs(webpack): use rimraf to clean dist
closes #1393
2016-05-15 16:16:40 -07:00
Foxandxss 0c49b50cbe docs(webpack): fix tests sourcemaps / clarify logo image download
closes #1399, 1395
2016-05-15 16:08:38 -07:00
Ward Bell e9dd6334e4 docs(plunker): use the FrankWallis TS plugin (thx Filipe!) 2016-05-15 14:49:09 -07:00
Foxandxss 81a87c2bfb docs(webpack): remove barrel
closes #1389
2016-05-13 14:05:20 -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
Ward Bell 9b27bfb61e docs(webpack): checkin missing snippets; .js->.ts
closes #1375
2016-05-12 18:18:21 -07:00
Foxandxss 96238bbfab docs(cb-webpack): add guide chapter about webpack 2016-05-12 17:22:14 -07:00
blAck PR 5eb0dbc517 docs(style-guide): fix #1289 BAD FILENAME
closes #1290, #1289
Change structure to match style-04-06 as proposed by mrkiffie; fix double back slash
2016-05-11 18:58:21 -07:00
Ferdinand Malcher 1674f10a00 docs(styleguide): typo "hightlight"
closes #1287
2016-05-11 18:50:39 -07:00
Ward Bell e99e9185ba docs(index.html) remove extra space in `System.import`line. 2016-05-11 18:42:31 -07:00
Ward Bell 19b50c82f6 docs(plunker): revise systemjs.config for plunker to load fewer files 2016-05-11 18:42:13 -07:00
Ward Bell 2e486cc046 docs(typings): add typings.d.ts for module.id and __moduleName; update docs
closes #1355 and #1312
2016-05-11 13:20:42 -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
Foxandxss 14262e3b6a docs(router-deprecated): link doc to deprecated examples
closes #1291
2016-05-10 21:34:07 -07:00
Foxandxss 93a8925b10 docs(style-guide): update 10-01 for new router
closes #1281
2016-05-10 20:17:11 -07:00
Foxandxss 039f54d9e2 docs(server-communication): fix broken example 2016-05-10 20:10:18 -07:00
rexebin 89f9ea146c Update question-control.service.ts
closes #1095
control value now will be initialized with 'question.value', regardless if the control has validation of 'required' or not.
2016-05-10 16:40:53 -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 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 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
Foxandxss 81209a1d0b docs(quickstart): update to new world 2016-05-03 17:34:48 -06:00
Ward Bell b4f567458e docs(ts/js): update to rc1 2016-05-03 17:29:00 -06:00
Ward Bell 2842058a30 docs(router): document new router and samples - phase 2 2016-05-03 15:51:24 -06:00
Foxandxss 596825a8b1 docs: update all docs to partially comply the style-guide 2016-05-03 12:42:44 -06:00
Ward Bell 2ccdd867d2 docs(router): samples and doc for new router (phase 1) 2016-05-03 09:18:18 -06:00
Ward Bell f513ee83c7 docs(samples): removed unused typings excludes from tsconfig 2016-05-03 01:45:27 -06:00
Foxandxss 3f50248940 docs(style-guide): revisions for New World (repack)
closes #1260
2016-05-03 00:42:02 -06:00
Ward Bell cadd6c9823 docs: switch to commonjs module generation 2016-05-03 00:01:55 -06:00
Ward Bell 3d5302adce chore: update to rc.0 2016-05-02 19:57:28 -07:00
John Papa bbd7d79a76 docs(style-guide): add style-guide - v.6 2016-05-01 16:08:45 -07:00
Foxandxss f4223c7049 docs(lifecycle-hooks): update directive selector to camelCase
closes #1236
2016-05-01 15:19:12 -07:00
Foxandxss 6c0c6357a9 docs: rename heros to heroes 2016-05-01 23:04:47 +02:00
John Papa ddfbbb5ebb docs(style-guide): add style-guide - v.5 2016-04-30 23:03:19 -07:00
Patrice Chalin 3aa533f61b chore(dart): pipes example rolled back to beta.15
The pipes example stopped working in beta.16; roll it back to the
last known working version. 

See earlier commit for code changes necessary in support of beta.16:
https://github.com/angular/angular.io/commit/0557c728d75e519bc6846b37492
414dff540c6ee
2016-04-30 15:06:00 +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
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
John Papa d5e909bde0 docs(style-guide): add style-guide - v.4 2016-04-28 00:52:20 -07:00
Ward Bell b5ffe70579 docs(testing): simplify extracting directive 2016-04-26 22:03:07 -07:00
Ward Bell 4bbaac127d docs(testing) adapt sample code to beta.16 breaking changes 2016-04-26 21:38:02 -07:00
Ward Bell 1dd9c6bfc5 docs(samples): add lodash to samples package.json 2016-04-26 09:45:52 -07:00
Filipe Silva 0a606a1b41 chore(ts): updating to beta.16 2016-04-26 00:22:25 -07:00
John Papa 3bc94147a7 docs(style-guide): add style-guide - v.3
closes #1170
2016-04-25 22:24:37 -07:00
Ward Bell 269269a54d chore: revert `sendKeys` change from e1862887
closes #1175
2016-04-25 15:49:38 -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
Ward Bell e1862887ae docs(testing): more testing samples and infrastructure setup
added wallaby config; revised karma-test-shim
2016-04-22 13:24:44 -07:00
Foxandxss e039c6f718 docs(toh): remove @Input decorator in part 5 2016-04-20 13:15:14 -07:00
Kathy Walrath 9b9e6ddf0f samples(dart): tweak template-syntax sample
closes #1130
2016-04-20 11:28:42 -07:00
thso 42ba93d6ec samples(dart): add a `docsync` file to the displaying-data example
closes #1113
2016-04-18 13:48:58 -07:00
thso 2a078d08f4 samples(dart): add a `docsync` file to the user-input example
closes #1114
2016-04-18 13:47:07 -07:00
thso bea2ba7a6d Add a `docsync` file to the forms example. (#1115) 2016-04-18 13:45:32 -07:00
thso 0d362e196b Add a `docsync` file to the dependency-injection example. (#1116) 2016-04-18 13:44:48 -07:00
thso bc7b097291 samples(dart): add a `docsync` file to the architecture example.
closes #1112
2016-04-18 13:32:27 -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
Ward Bell 353abff084 docs(server-communication): fix http after testing chapter discoveries 2016-04-13 14:02:48 -07:00
Ward Bell dd7b5176a8 docs(testing): add tests that involve Angular 2 2016-04-13 14:02:36 -07:00
John Papa bd079369f3 docs(style-guide): add A2 styleguide - v1 2016-04-12 20:08:09 -07:00
Ward Bell 555ec46be3 docs(e2e): workaround comp-comm interval timer tests
closes #1081
Note how `browser.get('?e2e')` enables app to know it is running under protractor
2016-04-12 18:51:17 -07:00
Tero Parviainen ec4c1edff4 docs(upgrade): add E2E tests, update PhoneCat dependencies
closes #1070
Separates UpgradeAdapter reference guide examples from the PhoneCat tutorial examples
and update dependencies for phonecat upgrade examples
2016-04-11 12:40:09 -07:00
Filipe Silva 1ba1407385 fix(quickref-cookbook): fix date test to work in any timezone
closes #1062
2016-04-11 12:23:30 -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
Samuli Ulmanen 9370113b9d docs(todo app): replace remaining tasks reduce func with filter.length
closes #1050
2016-04-06 10:24:29 -07:00
Tero Parviainen 6f945b7c38 docs(component-styles): add chapter about styling components
closes #1047
2016-04-06 10:02:23 -07:00
Brendan Wyse 9c73527eb5 docs(unit-testing): fix the path to node_modules & steps for adding a new spec
closes #1043
2016-04-05 10:57:50 -07:00
Filipe Silva 803414ae80 docs(testing): update testing to use toh-5
closes #1003
2016-04-05 10:39:19 -07:00
Ward Bell 7fdb40caa3 chore: replace VSCode-specific settings.json with broadly recommended .editorconfig
closes #1022
2016-04-05 10:15:27 -07:00
Torgeir Helgevold c1f2c397ff docs: add DI cookbook 2016-04-05 10:15:18 -07:00
Filipe Silva 3ec0e7147b fix(e2e): fix race condition 2016-04-02 15:08:48 -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
Chris Story 3b768a341c docs(toh-1): remove public access modifiers
closes #1009
Remove public access modifier on AppComponent properties to be
consistent throughout code tutorial
2016-03-29 17:06:34 -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
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
Foxandxss 5f73911eaf chore(toh): change inputs array for input decorator/hero now a class 2016-03-25 16:51:46 -07:00
Kathy Walrath 10877bdbfc docs(dependency-injection): add Dart version, tweak TS version
closes #972
2016-03-25 15:21:11 -07:00
Ward Bell a2cb80330a docs: update to beta-12 2016-03-23 21:39:13 -07:00
joeeames 5b27178083 docs(pipes) clarify impure pipes; explain missing filter/orderBy pipes
adds flying-heroes example and its test
adds random-pipe example
2016-03-23 00:02:04 -07:00
Ward Bell 639ca37de5 docs: update to beta-11
closes #987
also updated lifecycle-hooks/e2e-spec for changed hook calling sequence (not a bug; just a change)
2016-03-18 19:22:00 -07:00
Kathy Walrath b2ae14b2e9 docs(dart): b10 -> b11
closes #986
2016-03-18 16:15:46 -07:00
Foxandxss b2f2fb87ec docs(toh): make a few corrections
closes #967
2016-03-17 21:09:54 -07:00
Filipe Silva 11160f09ab chore(testing): add testing files to examples 2016-03-17 21:00:32 -07:00
Torgeir Helgevold dc00a9fb1a docs(cb-dynamic-form): Converted divs to labels in form 2016-03-17 20:43:39 -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
Luis Vargas a48b307aed docs(toh/dart): add toh-5 sample files and link to them
closes #971
2016-03-16 19:56:56 -07:00
Torgeir Helgevold db7fba867c docs(cb-dynamic-form): new cookbook on dyn form gen with NgFormModel 2016-03-16 04:14:31 -07:00
Foxandxss b3eb189ec3 docs(quickstart): make a few corrections
closes #956
2016-03-16 02:26:50 -07:00
Filipe Silva b5ea1d8f68 docs(lifecycle-hooks): add hook sections, revise sample, add DoCheck & tests 2016-03-16 01:52:11 -07:00
Ward Bell 2929255bb4 chore: update es6-shim to v.0.35.0 per A2 issue #7618 2016-03-15 11:45:39 -07:00
Foxandxss 6ca1ac2c45 docs: instrucs for "download-and-go" development with quickstart source repo 2016-03-14 12:44:25 -07:00
Kathy Walrath 469612f50c docs(dart): update Dart examples to beta.9
closes #952
2016-03-10 19:05:42 -08:00
Ward Bell 1c6594b3c8 docs(quickstart): update package.1.json versions 2016-03-09 18:20:16 -08:00
Ward Bell 5f2148b4f4 docs(ts): update to A2 beta.9 2016-03-09 17:44:47 -08:00
Foxandxss 2c9decceea docs(toh5): normalize indentation
closes #937
2016-03-08 16:56:38 -08:00
Foxandxss 3692d05c34 docs(toh5): fix indentation on a method
closes #921
2016-03-08 15:15:44 -08:00
Foxandxss af1eaae873 docs(toh5): add better explanations for templateUrl
closes #929
2016-03-08 15:07:00 -08:00
Ward Bell 513e919be5 docs(comp comm cookbook): add #localvar alternative for parent calling child
also fixes glossary decorator-flag bug
2016-03-07 14:12:48 -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 17aa278ddb docs: update to beta-8 2016-03-03 11:22:41 -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
Tero Parviainen 2f2d7b8841 docs(upgrade): switch file naming scheme, update dependencies, remove unnecessary providers.
Switch to the component.type.ts naming scheme in the PhoneCat tutorial.
Update Angular 2 to beta.7 and Angular 1 to 1.5.0.
Remove the unneeded ROUTER_DIRECTIVES entry from bootstrap providers.

Closes #878
2016-02-29 12:57:43 -08:00
Mike Buhot 52f0ea5ddd docs(examples): Fix deprecation warning in example package.json start scripts.
closes #898
Stop the example start scripts from outputting deprecation warnings.
As suggested, replace `concurrent rnpm run` with `concurrently npm run`.
2016-02-29 11:23:17 -08:00
Adão Júnior 240b0a2f70 docs(server-communication/dart): add sample
closes #829
2016-02-29 10:59:25 -08:00
Ward Bell c3ce451637 docs(router): replace princess w/ procrastination; update images 2016-02-28 17:59:57 -08:00
Ward Bell 12500ebc29 docs(router): fix plunker preview image; move plunker link to top 2016-02-28 13:55:37 -08:00
Ward Bell d59b05adde docs(quickstart): quickstart revised with verbose mode toggle button 2016-02-28 13:10:15 -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 5a5122a7e7 docs(cb-a1-a2): fixes suggested by Georgios Kalpakas + add newlines
closes #885
2016-02-25 14:11:37 -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
Ward Bell 9a7294c25b docs:update sample to TS v.1.8.2 2016-02-25 13:20:11 -08:00
Deborah Kurata e78a04522b docs(cookbook/a1-a2): new Angular-1 map to Angular-2 cookbook chapter 2016-02-24 11:39:16 -08:00
UnJavaScripter 4ad2d26b2e docs(bugfix):fix class name on todo list sample
fixes #880
2016-02-23 12:36:45 -05: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
Tero Parviainen 2a057a5bd1 docs(upgrade) switch from TSD to Typings
closes #873
Also switch Protractor back to JS for now. Conversion not worth it because
of ambient type conflicts, until Protractor ships with its own typings.

Also remove some unneeded type <reference>s from examples and guide.
2016-02-22 10:33:58 -08:00
Ward Bell 823950b936 docs(cookbook/component-communication): clear interval timer in OnDestroy 2016-02-22 02:40:57 -08:00
Novak Istvan ef102e2cd3 docs(server-communication): e2e tests added
closes #823
2016-02-22 00:54:49 -08:00
Novak Istvan daae4f1429 docs(cookbook/component-communication): first of the cookbook series
closes #824
2016-02-21 23:19:40 -08:00
Justin Santa Barbara 1010034249 docs(http): fix typo: send the server -> send the error
Closes #868
2016-02-21 23:16:23 -08:00
Ward Bell ed23074c24 doos(quickstart): tiny tweaks to package.1.json 2016-02-20 19:53:26 -08:00
Ward Bell 8dbb31de9f docs(quickstart): correct typings instructions per PR #849
closes #859
2016-02-20 19:32:57 -08:00
Ward Bell 8abb7085d5 docs(ts): update to beta.7 2016-02-20 19:17:14 -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
Andreas Wissel 99caf75d3d docs(http): fix typos, clarify endpoints and in-mem web api usage
closes #850

'until you've observables a chance' -> 'until you give observables a chance'
'method adds the the search box value' -> 'method adds the search box value'

Ward piggy backed the other updates.
2016-02-19 00:25:42 -08:00
Kathy Walrath 4d9daf3493 docs(dependency-injection): copy edit the TypeScript version
Also fix print style

closes #826
2016-02-18 14:59:30 -08:00
luis 1ac9316171 docs(dependency-injection): add Dart sample
closes #817
2016-02-16 13:58:29 -08:00
Ward Bell ee5a4e131a docs(template-syntax): add TOC, NgSwitch, and NgForTrackBy - TS/Dart 2016-02-16 11:03:02 -08:00
Ward Bell d4914eed26 devguide(router): child route rename - "CrisisCenter" -> "CrisisList" 2016-02-16 10:24:46 -08:00
Ward Bell 3d992384c3 chore(devguide/ts): to beta.6 + typings + related doc updates 2016-02-12 00:56:22 -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
Naomi Black 91551e8a35 docs(beta-4): update quickstart ts to include typings 2016-02-10 14:58:05 -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
Kathy Walrath 0f5ea46590 samples(dart pipes): update to b3 and latest TS UI
Based on #821 by tomplusplus.

Closes #827.
2016-02-09 14:32:25 -08:00
Kathy Walrath 096b99f2ae docs(displaying-data): convert Dart chapter to match newish TypeScript version
closes #666
2016-02-08 11:33:57 -08:00
John Papa 1365d82527 docs(tutorial): add part 5-routing 2016-02-08 11:01:29 -08:00
Kathy Walrath 7d5a5fdf84 docs(samples): remove unnecessary style.css files
closes #812
2016-02-05 08:59:27 -08:00
Tero Parviainen e221d8b418 docs(upgrade): update examples to beta.3 and make necessary edits to guide.
closes #808

Also fixes some minor issues in code style and unit tests.
2016-02-04 10:54:55 -08:00
Ward Bell 16704e9063 docs(http): from Observable.create to Subject, per Rob W 2016-02-03 23:45:27 -08:00
Ward Bell 00d06ca50a chore: update to A2 beta.3
closes #805
2016-02-03 16:00:28 -08:00
Ward Bell 030653cef3 chore: add "mobile-optimized" <meta> tag to all sample index.html 2016-02-03 15:59:46 -08:00
Kathy Walrath 2a4ae27754 docs(dart): update Dart examples from b2 to b3
closes #804
2016-02-03 13:49:49 -08:00
Ward Bell 8960b6729f docs(http): refine observables story
closes #799
2016-02-02 15:04:48 -08:00
Ward Bell 705a5d9e93 chore: update version of in-mem web api in samples package.json 2016-02-02 03:04:27 -08:00
Ward Bell d8f8da2628 docs(http): heavily revise jsonp discussion 2016-02-02 02:27:52 -08:00
Ward Bell f2051d9cf6 docs(http): discuss headers for POST 2016-02-01 19:52:14 -08:00
Ward Bell b2b025aab7 docs(server): add `do` to peek at results in console 2016-02-01 16:57:31 -08:00
Ward Bell b0ebc3897c docs(devguide/forms): add "new hero" with form reset workaround and msg hiding
closes #792
2016-02-01 14:13:51 -08:00
Ward Bell 593167eb79 docs(template-syntax): typos found by Deb K 2016-01-30 13:28:18 -08:00
Christoph Burgdorf 8a5bcb4da7 docs(server-communication): discuss promises; refine prose
closes #767
2016-01-29 00:05:57 -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 e258e0f346 docs(template-syntax): minor tweaks to improve text
closes #775
2016-01-28 19:09:09 -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 312516d12e docs: beta-2 upgrade - missed homepage index.1.html files
closes #774
2016-01-28 18:08:32 -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 e52cf35da7 Remove broken, disused, quickstart unit tests 2016-01-28 15:36:45 -08:00
Ward Bell 9f692ffb27 Update from beta.0 to beta.1 2016-01-28 15:35:53 -08:00
Ward Bell 7c2cd81949 docs(template-syntax): delete button crosses out hero name
closes #765
2016-01-27 18:59:41 -08:00
Ward Bell 6e11cf6a1e docs(attribute directives/TS/Dart): remove `Renderer`; improve text
closes #757
2016-01-27 14:49:16 -08:00
Ward Bell ab6d362650 docs(dependency injection): minor tweaks
closes #755
2016-01-26 02:54:53 -08:00
Ward Bell 12d4e17f94 docs(forms-js): fix to run local and in plunker, pass tests
closes #754
2016-01-26 00:25:20 -08:00
Pascal Precht 76a8d022a7 docs(dependency-injection): added DI examples; update/expand text
closes #748
2016-01-25 23:34:40 -08:00
Christoph Burgdorf 77db0755c8 docs(guide/server-communication): adds http chapter
closes #662
2016-01-25 23:28:36 -08:00
Ward Bell 17fe05b73d docs(homepage): examples conform to std + e2e tests
closes #740
2016-01-25 23:15:19 -08:00
Tom Ingebretsen f0638e3c3e docs(guide/attributes-directives): Dart version of sample
#closes #451
2016-01-25 14:25:43 -08:00
Tom Ingebretsen 14de4228fc docs(guide/template-syntax): Dart version of the sample
closes #377
2016-01-25 13:29:17 -08:00
Adão Júnior c4ae1f1b1b docs(guide/lifecycle-hooks): add Dart version of example
NOTE: The Dart version generates fewer lifecycle events than the TS version.
See angular/angular#6498 for details.

closes #733
2016-01-21 16:34:17 -08:00
Adão Júnior 6ee3756989 docs(guide/structural-directives): add Dart version of example
closes #701
2016-01-21 13:45:41 -08:00
Kathy Walrath cca9d5a1c5 docs(user-guide): update Dart text to match new TS text
also update the Dart sample a bit

closes #677
2016-01-19 10:20:17 -08:00
Ward Bell 034a5a6943 docs(template-syntax): Clarify input/output aliasing syntax
closes #722
2016-01-19 00:01:31 -08:00
Adão Júnior 6f1d2e9cd7 docs(structural-directives): change "JavaScript cycle" to "browser event loop"
closes #710

It makes more sense since where gonna use it in Typescript and Dart as well.
2016-01-18 01:07:35 -08:00
Ward Bell a01e0cc6e2 docs(quickstart): JS IE Polyfill; change ES6->ES2015
closes #715, incorporates #684
2016-01-17 22:33:14 -08:00
Wojciech Krzystek 44f84daadc docs(architecture): Typo fix
closes #680
2016-01-17 21:47:14 -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 c7f58ee459 docs(router): incorporate Brian's comments; other fixes
closes #712
2016-01-17 20:32:15 -08:00