Commit Graph

1579 Commits

Author SHA1 Message Date
Filipe Silva 643c59a15e fix(e2e): update broken node typings 2016-06-17 13:52:30 +01:00
Naomi Black 787c0a2f36 docs(router): Hide deprecated router docs 2016-06-16 16:43:05 -07:00
Naomi Black da3d8f7f73 style(images): add image best practices to styleguide doc 2016-06-16 16:06:13 -07:00
Kathy Walrath 511ee3d8ed [WIP] Add link to AngularDart API docs 2016-06-16 13:37:44 -07:00
Brandon Roberts c61d8195f3 docs(router): update developer guide to new v.3 router 2016-06-16 13:24:49 -07:00
Foxandxss 3b4b79aeeb docs(animations): use our heroes 2016-06-16 18:55:17 +02:00
Foxandxss 30609c8f9c chore: update quickstart for rc2 2016-06-15 16:48:30 -07:00
Foxandxss 70b98176dd latest touches 2016-06-15 16:48:14 -07:00
Naomi Black 5b4da0c4e2 chore(news): updates for june 2016-06-15 16:45:17 -07:00
Naomi Black a35e0fd4ef chore(docs): bump version to RC on boilerplate 2016-06-15 16:14:50 -07:00
Foxandxss 761ec00d02 chore: update in-memory-web-api 2016-06-15 15:15:35 -07:00
Foxandxss fcb3b447f8 chore: update webpack guide to RC2 2016-06-15 15:15:14 -07:00
Foxandxss 6821f89a1c docs(quickstart): add a section to installing typings manually 2016-06-15 15:15:00 -07:00
Foxandxss 8664463c3a remove future features for now 2016-06-15 15:14:45 -07:00
Foxandxss 34447904b9 make the example lintable 2016-06-15 15:14:45 -07:00
Foxandxss c0edf369f4 fix e2e specs 2016-06-15 15:14:45 -07:00
Tero Parviainen bead3620df docs(animate): add animations documentation 2016-06-15 15:14:45 -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
Filipe Silva e9cf2a539f chore: update to rc2 2016-06-15 12:21:06 -07:00
Patrice Chalin cd970c21ad docs(toh-3/dart): copyedits and new snake_case glossary entry (#1629) 2016-06-15 10:49:42 -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 86084260e6 example(dart/quickstart): use <script defer> rather than async (#1665) 2016-06-14 15:37:58 -07:00
Deborah Kurata e7f3fc61ce docs(cb-vs2015) new cookbook for Visual Studio 2015 QuickStart
closes #1502
2016-06-13 23:55:14 -07:00
Filipe Silva c50954d5b8 chore: separate lint in travis 2016-06-14 01:01:34 +01:00
Patrice Chalin ca2e5c5d1d docs(toh-4/ts): copyedits
closes #1638
2016-06-13 11:40:30 -07:00
Patrice Chalin 5adbfb9502 chore(ignored/boilerplate files): cleanup
closes #1646
2016-06-13 11:33:12 -07:00
Foxandxss b1419f48ba chore: fix regions for e2e specs
closes #1657
2016-06-13 11:21:14 -07:00
Helmi 7f256eea75 Fix typo in 'Simulating the web api' section.
closes #1655
2016-06-13 11:05:15 -07:00
Foxandxss 61ad427319 docs(toh): add missing snippets
closes #1649
2016-06-13 10:46:53 -07:00
Patrice Chalin fd46bf4970 docs(toh-5/ts): minor edits
closes #1644
2016-06-13 10:45:23 -07:00
Foxandxss 4dcea96b6d chore: better protractor task
closes #1641
2016-06-13 10:39:51 -07:00
Foxandxss ffbdcd2b9c chore: fix systemjs semicolons
closes #1632
2016-06-13 10:37:20 -07:00
Patrice Chalin 070cb5a193 docs(toh-3/ts): copyedits
closes #1630
2016-06-13 10:36:04 -07:00
Patrice Chalin 16848fc822 docs(toh-2/ts): copyedits
closes #1622
2016-06-13 10:34:19 -07:00
Patrice Chalin 59408b1784 test(toh-1): add e2e for Dart and TS
closes 1620
Contributes to #1619.
2016-06-13 10:30:18 -07:00
Patrice Chalin 2fc7e5ab50 docs(toh-1/ts): minor edits
closes #1615
- Fixed HTML.
- Removed unnecessary snippet since it is in the code.
- Copyedit: (Hero property) -> (hero property).
2016-06-13 10:28:04 -07:00
Brian Olore ce05f9b4f9 docs(style-guide): make each style clickable for easier referencing 2016-06-13 10:24:58 -07:00
Foxandxss 074a33a622 chore: tslint sweep done 2016-06-13 02:40:28 +02:00
Patrice Chalin 1cc5284cc2 docs(toh-2/dart): copyedits (#1621) 2016-06-08 16:24:56 -07:00
Patrice Chalin 3c77a7fcd1 docs(basics/di): minor edits following TS switch to provider object literal (#1600)
Minor edits:
- Dart side adjustments following #1594.
- Renamed example '3a' to just '3' and tweaked the logger message
- Removed obsolete Dart block.
2016-06-08 09:25:48 -07:00
Patrice Chalin 7db6684886 chore(dart): add/cleanup example hosting config files (#1605) 2016-06-08 08:02:57 -07:00
Foxandxss fb49cbe33f docs(cli-quickstart): add cli 5 min quickstart
closes #1606
2016-06-07 18:51:27 -07:00
Foxandxss f3205f5beb chore: first sweep on linting the codebase
closes #1616
2016-06-07 16:45:13 -07:00
Patrice Chalin 7e52648ee7 docs(toh): update live example links (#1602) 2016-06-07 15:51:25 -07:00
Patrice Chalin afee8dbe7e docs(toh-1/dart): minor edits (#1614)
- Fixed HTML.
- Removed unnecessary snippet since it is in the code.
- Copyedit (Hero Property) -> (Hero property).
2016-06-07 14:59:41 -07:00
jevonearth f7cf6fde9f docs(toh-6): Fix typo in 'Add/Delete in the HeroesComponent' section.
closes #1603
2016-06-06 17:28:07 -07:00
Ward Bell 06f8002417 docs(pipes): minor text updates
closes #1611
2016-06-06 17:17:50 -07:00
Foxandxss 21d74d531a chore: update all packages to latest versions
closes #1607
2016-06-06 12:24:25 -07:00
Georgios Kalpakas 2492ea6874 docs(upgrade): restrict component directive to elements
The `heroDetail` directive is shown as an example of a component directive, such as those built using the `.component()` helper in v1.5+. In order for the directive to be functionaly equivalent with the component directive created with `.component`, it needs to be restricted to elements only. (If the `restrict` is omitted, it defaults to `'AE'`, which would also match attributes.)

/cc @teropa
2016-06-05 14:59:19 +03:00
Foxandxss 885aa04cc9 docs(webpack): add missing fake-async-test
closes #1571
2016-06-04 01:44:21 -07:00
Foxandxss c185c3548c chore: use the provide object literal
closes #1594
replace `provide(...{use:...})` with `{provide: ..., use...}` syntax
2016-06-04 01:33:36 -07:00
twinssbc 6f02f76fc2 docs: remove duplicated words in toh-pt6.jade
closes #1575
2016-06-04 01:25:41 -07:00
Anastasia Kozaeva 2f3cb405e8 Fix typo in 'Error Handling' section
closes #1592
Remove duplicate 'to'
2016-06-04 01:24:00 -07:00
Zhimin YE(Rex) d5650500c8 Removed @View Decorator
closes #1590
2016-06-04 01:22:09 -07:00
Foxandxss 1d294a831c docs(upgrade): escape script tags
closes #1584
2016-06-04 01:17:27 -07:00
Foxandxss 8fe68f414a docs(style-guide): fix 03-03 css class
closes #1582
2016-06-04 01:15:13 -07:00
Ward Bell 7edc32f350 docs(testing): more samples 2016-06-04 00:52:36 -07:00
Patrice Chalin 05864c2584 docs(dependency-injection): revised Dart and TS code and prose (#1573)
docs(dependency-injection): revise Dart and TS code and prose
2016-06-03 11:16:46 -07:00
Patrice Chalin 7570dc53ea chore(dart/api): remove generated files (#1587) 2016-06-02 10:44:51 -07:00
Patrice Chalin b48cde3a43 chore(_util-fns): generalize makeExample, drop makeProjExample (#1510)
+ Rename adjustExample{Path|Title} to adjustTsExample*4Dart
+ `makeExample` can now work with both doc folder relative and project
relative paths.
2016-06-02 17:06:03 +01:00
Ward Bell 41947cbd1f chore: fix gulp serve-and-sync tasks and many broken example links
The serve-and-sync tasks wait for `_copy-example-boilerplate` to finish
Differentiates app compile, spec compile, and test failures
StyleGuide (for documentators) up-to-date
2016-06-01 16:17:06 -07:00
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 0a0f78f144 docs(style-guide): make barrels a consider
closes #1482
2016-06-01 10:59:41 -07:00
Foxandxss 743540363d docs(style-guide): rename validator to validate
closes #1489
2016-06-01 10:57:11 -07:00
NFM 3d27aa656c docs(style-guide): add the image width attribute
closes #1366
Adjust width 100% to 80%
2016-06-01 10:54:48 -07:00
Anderson 301aadddde docs(toh-pt6): fix filename typo 2016-06-01 01:19:37 -07:00
Vikash 8569479423 docs: fix numerous typos in many doc files.
closes #1509
2016-06-01 01:08:56 -07:00
Zhimin YE(Rex) eb48a71351 docs(architecture): fixed missing `` mark.
closes #1514
2016-06-01 01:03:51 -07:00
Ward Bell 2f115a3425 chore: fix broken devguide links as of May 31
Did not fix broken Dart and API links
2016-06-01 00:52:22 -07:00
Maksims Muižininkas 613d53e152 docs(architecture): correct link to testing
closes #1536
2016-05-31 23:23:54 -07:00
Christopher Thorne 2d27097d55 docs(toh-pt6): correct DetailHeroComponent to HeroDetailComponent
closes #1550
2016-05-31 22:32:55 -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
Patrice Chalin 5e50b2ef10 chore(util-fns): minor cleanup and refactoring (#1562)
This only impacts language dependent variable and path definitions:
- Removed deprecated variable.
- Hoisted useful variable definitions from quickstart into _util-fns.
- Minor fix in regexp of path translation function
2016-05-31 15:25:59 -07:00
Foxandxss 2bc166c34f docs(toh): fix some header extensions
closes #1549
2016-05-29 14:36:10 -07:00
Foxandxss 9b2c54e77f chore: disable ngAnimate for ng1 protractor tests
closes #1543
2016-05-29 14:34:15 -07:00
Foxandxss 888dcf362a chore: remove note against node 6
closes #1540
2016-05-29 12:46:55 -07:00
Foxandxss 39408f8f8d docs(style-guide): remove dead code at 04-10
closes #1501
2016-05-29 12:44:46 -07:00
Foxandxss b962383193 chore: re-title webpack guide to emphasize "Webpack", not "Intro"
closes #1492
2016-05-29 12:27:44 -07:00
Foxandxss 0047919e2d docs(quickstart): update guide systemjs.config.js
closes #1542
2016-05-29 11:03:33 -07:00
Jeremy Wilken f9211fde33 docs(index) grammatical and message improvement on marketing speak.
closes #1527
2016-05-28 12:49:59 -07:00
Jesse Palmer 03f346b988 chore: removes past events
closes #1529
2016-05-28 09:43:21 -07:00
Foxandxss f5614e858d docs(style-guide): add more tests
closes #1532
2016-05-28 09:41:15 -07:00
Foxandxss c2c6096bec docs(server-communication): fix anchor link
closes #1537
2016-05-28 09:38:26 -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
Eric Jimenez a0a0e8f35c docs: align badges vertically within their container, remove shadow from content area 2016-05-26 09:22:25 -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
Patrice Chalin ed16d82335 chore(dart/_util-fns): make adjustTsExamplePath4Dart idempotent (#1515)
Fixes #1513.
2016-05-25 11:43:06 -07:00
Vikash Verma 551ac6dc9d docs: Fix typo (#1504) 2016-05-25 12:17:02 +01: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
Shai Reznik 6475b5efab docs(style-guide): added the one more why on 02-02
closes #1473
2016-05-22 20:18:01 -07:00
Massimiliano Sartoretto 990a80ec9c docs(cheatsheet): remove outdated beta warning
closes #1472
2016-05-22 19:56:38 -07:00
Kyle Roberts 4ab05a9355 docs(Component relative paths): ofter -> often and colon
closes #1471
2016-05-22 19:54:47 -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 81ebdfb8ef docs: add strong advice on node and npm versions 2016-05-21 15:56:09 -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
Foxandxss 33b5829b25 docs(toh): put a bit of clarification
closes #1352
2016-05-20 23:40:55 -07:00
Foxandxss 156b6f42ee docs(style-guide): fix example on 02-04
closes #1452
2016-05-20 22:55:37 -07:00
NFM 5a91b5442b docs(server-communication): Modify file name 'rxjs-operators'
Modify file name 'add-rxjs-operators.ts' to 'rxjs-operators.ts', according to real file name.
Ref: https://angular.io/resources/live-examples/server-communication/ts/plnkr.html
2016-05-20 22:52:44 -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
Patrice Chalin 6d2d52c588 docs(dart): cleanup 'live example' links (#1449)
This fixes various issues such as:
- missing space in Dart version between the live demo and demo source
links.
- Live example link directing to Plunker for Dart.

The main mixins (`liveExampleLink`*) used to support the generation of
links now assume reasonable default values for their arguments, and in
most cases the defaults are used.

* Dart example links: use http vs https

As agree to with @kwalrath.
2016-05-20 16:18:58 -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
Ramzi Samman feec37b784 docs(webpack): fix a typo in the dev guide
closes #1431
2016-05-19 19:24:29 -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
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
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
Albert Pai d152ea293e docs(cb-dependency-injection): Fix typos
closes #1421
2016-05-18 00:25:57 -07:00
Eric Jimenez 91bb9d80ff fix(resources): use title key from firebase. Adjust layout a bit 2016-05-17 19:15:57 -04:00
Kathy Walrath 2810218b88 docs(quickstart): edit Dart & TS QuickStarts
closes #1411
2016-05-17 14:17:43 -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