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
Jesús Rodríguez
825c416f8a
chore: bump router on plunker
...
closes #1927
2016-07-19 22:18:56 -07:00
Brandon Roberts
2e3f3e7fb1
docs(router): Minor dev guide fixes
...
closes #1932
2016-07-19 22:15:21 -07:00
Torgeir Helgevold
0387b810c6
docs(toh-6): remove throw
...
closes #1930
2016-07-19 17:20:15 -07:00
Ward Bell
ce2e14e4ae
docs(toh-pt6): bind to a component method rather than a RxJS Subject
...
updated text accordingly
2016-07-19 12:26:14 -07:00
Ward Bell
72efdc5e5b
chore: add tslint to example package.json
...
closes #1926
Not sure how it disappeared.
2016-07-19 11:28:23 -07:00
Torgeir Helgevold
f50dff818a
docs(toh-pt6): add observables to HTTP tutorial chapter
...
closes #1528
2016-07-18 23:12:44 -07:00
Brandon Roberts
f056a2d5d2
docs(router): Added content updates to developer guide
...
closes #1905
Added section for RouterLinkActive
Added section for global query params and fragments
Added section for RouterState
Added wildcard route to example configuration
Updated code samples
Renamed .guard files to .service
Renamed interfaces.ts to can-deactivate-guard.service.ts
Removed unused files
2016-07-18 15:21:09 -07:00
Zhicheng Wang
e140256358
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# README.md
2016-07-17 20:40:12 +08:00
Torgeir Helgevold
a19c2ce726
docs(toh-6): use consistent header syntax
...
closes #1903
2016-07-16 19:10:41 -07:00
Zhimin YE (Rex)
0e14785cba
Merge remote-tracking branch 'angular.io/master'
...
# Conflicts:
# README.md
# public/_includes/_footer.jade
# public/_includes/_hero-home.jade
# public/docs/ts/latest/cookbook/a1-a2-quick-reference.jade
# public/docs/ts/latest/glossary.jade
# public/docs/ts/latest/guide/architecture.jade
# public/docs/ts/latest/guide/dependency-injection.jade
# public/docs/ts/latest/guide/forms.jade
# public/docs/ts/latest/guide/router.jade
# public/docs/ts/latest/guide/style-guide.jade
# public/docs/ts/latest/testing/first-app-tests.jade
# public/docs/ts/latest/testing/jasmine-testing-101.jade
# public/docs/ts/latest/tutorial/toh-pt5.jade
2016-07-15 15:52:34 +01:00
Chris Grieger
08d051d2f6
docs(testing): refer to 'lite-server' instead of 'live-server'.
...
closes #1737
Since the QuickStart uses 'lite-server', this should also be used for
the testing guide.
2016-07-14 14:39:59 -07:00
Foxandxss
abd860c3ca
chore: update testing example to RC4
...
closes #1839
2016-07-14 14:11:02 -07:00
Foxandxss
8ddc93d211
docs(style-guide): create a route redirection
...
closes #1857
2016-07-14 14:09:19 -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
Sekib Omazic
f15b40f513
fix(package.webpack.json): add angular2-template-loader
...
closes #1864
Add missing angular2-template-loader dependency
2016-07-11 22:02:20 -07:00
Foxandxss
961f5c8994
chore: make animation test wait a bit longer
...
closes #1844
2016-07-11 22:00:04 -07:00
Brandon Roberts
5104470558
docs(router): Removed refs to deprecated router; lowerCamelCase constants
...
closes #1834
2016-07-11 21:44:12 -07:00
Patrice Chalin
761f857f13
docs(architecture/dart): proofread, updated Dart/TS app and jade
...
closes #1807
- e2e tests now also cover the tax calculator.
- Dart app updated to match TS (it had no sales tax calculator).
- TS sample source cleanup (e.g. removed many unnecessary `docregions`).
- Prose updated to include @kwalrath's revisions from a while ago, Ward's comments, and
some of my edits as well.
Contributes to #1598 and #1508 .
2016-07-11 20:35:06 -07:00
Zhicheng Wang
273a0fd1e8
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# public/docs/ts/latest/guide/displaying-data.jade
# public/docs/ts/latest/guide/style-guide.jade
# public/docs/ts/latest/guide/typescript-configuration.jade
# public/docs/ts/latest/guide/webpack.jade
2016-07-11 08:32:56 +08:00
Ward Bell
0664a271ba
docs(style-guide): spell const variables in lower camel case
...
Changes previous guidance on const which insisted on UPPER_SNAKE_CASE
2016-07-07 22:41:04 -07:00
Ward Bell
2c5f0dbd9a
docs(router): more little fixes from #1808
2016-07-07 18:51:36 -07:00
Patrice Chalin
801ac76da0
docs(guide/displaying-data): proofread ( #1819 )
...
* docs(displaying-data/dart): proofread
- Dart prose simplified by removing discussion of "additions to
pubspec.yaml" which are no longer necessary given the current state of
QuickStart.
- E2e suites passed:
public/docs/_examples/displaying-data/dart
public/docs/_examples/displaying-data/ts
Contributes to #1598 and #1508 .
* docs(displaying-data/ts): proofread
- TS prose updated to include @kwalrath's revisions from a while ago,
with some of my edits as well.
- E2e suites passed:
public/docs/_examples/displaying-data/dart
public/docs/_examples/displaying-data/ts
* docs(displaying-data/ts): post-review edits
2016-07-07 14:00:19 -07:00
Zhicheng Wang
0303a18020
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# README.md
# public/docs/ts/latest/guide/attribute-directives.jade
# public/docs/ts/latest/guide/component-styles.jade
# public/docs/ts/latest/guide/dependency-injection.jade
# public/docs/ts/latest/guide/hierarchical-dependency-injection.jade
# public/docs/ts/latest/guide/lifecycle-hooks.jade
# public/docs/ts/latest/guide/pipes.jade
# public/docs/ts/latest/guide/security.jade
# public/docs/ts/latest/guide/server-communication.jade
# public/docs/ts/latest/guide/structural-directives.jade
# public/docs/ts/latest/quickstart.jade
# public/docs/ts/latest/testing/testing-an-angular-pipe.jade
# public/docs/ts/latest/tutorial/index.jade
# public/docs/ts/latest/tutorial/toh-pt1.jade
# public/docs/ts/latest/tutorial/toh-pt2.jade
# public/docs/ts/latest/tutorial/toh-pt3.jade
# public/docs/ts/latest/tutorial/toh-pt4.jade
# public/docs/ts/latest/tutorial/toh-pt5.jade
# public/docs/ts/latest/tutorial/toh-pt6.jade
2016-07-07 08:15:51 +08:00
Ward Bell
d1dd2b82f4
docs(router): changes suggested by Deb Kurata in #1808
2016-07-06 01:11:34 -07:00
Foxandxss
da58ff45c7
docs(style-guide): update style-guide samples to use v3 router
...
closes #1828
2016-07-05 23:29:29 -07:00
Foxandxss
341f32d7f6
docs(webpack): add angular2-template-loader
...
closes #1825
2016-07-05 23:25:07 -07:00
Ward Bell
e4c5fe32e7
docs(forms): fix import in sample HeroFormsComponent - @angular/common -> @angular/forms
2016-07-04 15:07:12 -07:00
Zhicheng Wang
711a173606
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# public/docs/ts/latest/guide/router.jade
2016-07-03 15:27:10 +08:00
Ward Bell
dba3a8f9c9
docs: replace xxx.filter(...)[0] with xxx.find(...)
...
see #1801
2016-07-02 16:13:32 -07:00
Zhicheng Wang
3c5a045633
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# public/docs/ts/latest/guide/router.jade
2016-07-02 19:16:00 +08:00
Foxandxss
1900eb1c70
docs: replace terminal with pathMatch, base href with '/'
...
closes #1799
2016-07-01 16:32:39 -07:00
Patrice Chalin
0ba3d5d8d6
docs(dart/{quickstart,toh-[56]}): fix project names ( #1773 )
...
- Renamed `angular2_getting_started` to `angular2_quickstart` (to match
TS).
- s/-/_/g in project names elsewhere (only toh-5 & -6 needed to be
updated).
Fixes #378 .
2016-07-01 11:05:45 -07:00
Foxandxss
4774f4861e
chore: update router to beta 2
2016-07-01 08:00:50 -07:00
Zhicheng Wang
0dd2932a2e
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# public/_data.json
# public/docs/ts/latest/_data.json
# public/docs/ts/latest/guide/router.jade
# public/docs/ts/latest/guide/security.jade
# public/docs/ts/latest/guide/template-syntax.jade
# public/news.jade
# public/resources/_data.json
# public/resources/index.ejs
# public/resources/js/controllers/resources-controller.js
2016-07-01 08:38:54 +08:00
Zhicheng Wang
21fe9dc1d2
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# README.md
# public/docs/js/latest/cookbook/ts-to-js.jade
# public/docs/ts/latest/cookbook/a1-a2-quick-reference.jade
# public/docs/ts/latest/guide/architecture.jade
# public/docs/ts/latest/guide/attribute-directives.jade
# public/docs/ts/latest/guide/forms.jade
# public/docs/ts/latest/guide/lifecycle-hooks.jade
# public/docs/ts/latest/guide/router.jade
# public/docs/ts/latest/guide/server-communication.jade
# public/docs/ts/latest/guide/style-guide.jade
# public/docs/ts/latest/guide/template-syntax.jade
# public/docs/ts/latest/testing/first-app-tests.jade
# public/docs/ts/latest/tutorial/toh-pt5.jade
# public/docs/ts/latest/tutorial/toh-pt6.jade
# public/news.jade
2016-07-01 08:24:23 +08:00
Patrice Chalin
705d8c50fd
docs(security): proofread prose, app now shows good and bad
...
- App now shows how Angular handles untrusted URLs and resources
- E2e test covered new functionality
- Copyedits to prose
- Updated provider expressions to use latest syntax
The original security feature tracker:
https://github.com/angular/angular/issues/8511
2016-06-30 13:04:55 -07:00
Foxandxss
909f230cc7
update router to beta.1
2016-06-30 13:04:04 -07:00
Foxandxss
10de4c5753
update in memory web api
2016-06-30 13:03:44 -07:00
Foxandxss
2379e8b86e
update plunkers versions
2016-06-30 12:40:59 -07:00
Foxandxss
6a34dce5e0
remove linting for spec file
2016-06-30 12:40:59 -07:00
Foxandxss
94f5609506
add rc4 versions
2016-06-30 12:40:59 -07:00
Foxandxss
55af9fee49
fix upgrade tests to not use deprecated API
2016-06-30 12:40:01 -07:00
Filipe Silva
aa8ab52937
chore: update to rc.4
2016-06-30 12:40:01 -07:00
Filipe Silva
387f7c6dd2
chore(deps): update in-memory-web-api
2016-06-30 11:50:43 -07:00
Karan Gandhi
461213996e
docs(toh-5/ts): Minor error fixed.
...
There are no leading slashes in the path.
2016-06-30 11:49:52 -07:00
Filipe Silva
e7bddeb5f9
chore(examples): revert back to stable TS
...
The new router once required TS1.9 but it doesn't anymore. It's best to revert our examples to TS 1.8 since that is what we tell users to install, and we want to be testing on the current setup.
2016-06-29 12:28:45 -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
f8e6b5d1f7
docs(toh-5/dart): make dashboard more robust ( #1688 )
...
Originally the dashboard TS expression ``heroes.slice(1, 5))` had been
written as:
> _heroService.getHeroes().getRange(1, 5)
which is brittle; it fails if there are not enough heroes. Slice
doesn't fail; an equivalent express
ion in Dart is
> _heroService.getHeroes().skip(1).take(4)
This is now used.
Other changes:
- Fix in css (missed TS-side update).
- Ran `dartfmt` on `heroes_component.dart`.
2016-06-28 13:15:29 -07:00
Patrice Chalin
eda47f64e8
docs(guide/lifecycle-hooks): follow-up to #1654 ( #1768 )
...
Mainly Dart-side review, following #1654 :
- Updates to follow style guide
- Enabled e2e tests
- Fixes to ensure tests pass: in after_view_component.dart and
after_content_component.dart
- Changed test over comment field in template to be:
*ngIf="comment.isNotEmpty"
- Suites passed:
public/docs/_examples/lifecycle-hooks/dart
public/docs/_examples/lifecycle-hooks/ts
2016-06-28 13:13:58 -07:00
Patrice Chalin
f06398cd89
docs(toh-6/dart): first edition of prose and example code ( #1687 )
...
* docs(toh-6/dart): first edition of prose and example code
NOTE: this PR depends on #1686 .
Dart prose and example match TS except that:
- No child-to-parent event emission occurs.
- Support for Add Hero is added as an unconditional feature of the
Heroes view.
- http `_post` takes only a name
- http `delete` takes only a hero id.
- The Dart in-memory-data-service has been dropped in favor of an
implementation based on the "standard" `http.testing.MockClient` class.
* post-review changes
2016-06-28 13:12:49 -07:00
Brandon Roberts
97fbda0d76
docs(toh-6/ts): Upgraded http tutorial to use new router
2016-06-28 13:03:04 -07:00
Filipe Silva
58d20e57b5
chore: update ngSwitchWhen to ngSwitchCase
...
See https://github.com/angular/angular/commit/e1fcab7
2016-06-28 12:52:47 -07:00
Brandon Roberts
f3189546a6
docs(toh-5): Upgraded tutorial to new router
2016-06-28 12:52:47 -07:00
Foxandxss
c02b942008
chore: update to router alpha.8
2016-06-28 12:52:47 -07:00
Foxandxss
c380d69ea1
chore: lock router-deprecated to rc.2 for plunkers
2016-06-28 12:52:47 -07:00
Patrice Chalin
283195685f
docs(guide/user-input): follow-up to #1654 ( #1770 )
...
Mainly Dart-side review, following #1654 :
- Updates to follow style guide
- Suites passed:
public/docs/_examples/user-input/dart
public/docs/_examples/user-input/ts
Note: the click-me2 component is not mentioned in the prose, maybe it
should be.
2016-06-28 08:25:12 -07:00
Patrice Chalin
3510f96620
docs(guide/pipes): follow-up to #1654 ( #1769 )
...
Mainly Dart-side review, following #1654 :
- Updates to follow style guide
- Suites passed:
public/docs/_examples/pipes/dart
- Suites failed (known issue - #1761 ):
public/docs/_examples/pipes/ts
2016-06-28 08:22:53 -07:00
Patrice Chalin
bacc4bcbac
docs(guide/{di,ts,toh-[23]}): follow-up to #1654 ( #1767 )
...
Mainly Dart-side review, following #1654 .
dependency-injection:
- Renamed components in providers_component.dart
- E2e suites passed:
- public/docs/_examples/dependency-injection/dart
- public/docs/_examples/dependency-injection/ts
template-syntax:
- Removed unused global variable.
- Suites passed:
public/docs/_examples/template-syntax/dart
public/docs/_examples/template-syntax/ts
toh-2 & 3:
- Clean-up.
2016-06-28 08:16:59 -07:00
Zhicheng Wang
d7a71ccf59
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# public/docs/ts/latest/cookbook/_data.json
# public/docs/ts/latest/guide/_data.json
# public/docs/ts/latest/guide/security.jade
# public/docs/ts/latest/tutorial/toh-pt6.jade
2016-06-28 09:40:49 +08:00
Patrice Chalin
3fe0fb077c
docs(toh-6/ts): minor edits and enhancements ( #1686 )
...
* docs(toh-6/ts): minor edits and enhancements
Changes to prose:
- Complete TODO item of displaying `heroes.component` errors.
- Mainly copyedits.
- Add of blocks statements so that prose can be used on Dart side.
- Show excerpt and briefly explain of changes (previously missing):
- `app/hero-detail.component.html`
- `app/heroes.component.ts` error handling
- Add missing file to changed/added files listing and makeTabs
- `toh-6/ts/app/in-memory-data.service.ts,
- `toh-6/ts/sample.css`
Code changes:
- Mainly copyedits
- Renamed `heroes.component.ts` `delete` to `deleteHero` to match
naming of other methods
* remove unnecessary change relative to toh-5
2016-06-27 11:23:27 -07:00
Zhicheng Wang
bb9adc3eba
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# README.md
# public/docs/ts/latest/_data.json
# public/docs/ts/latest/cookbook/_data.json
# public/docs/ts/latest/cookbook/dynamic-form.jade
# public/docs/ts/latest/guide/_data.json
# public/docs/ts/latest/guide/forms.jade
# public/docs/ts/latest/guide/style-guide.jade
2016-06-23 08:48:57 +08:00
Ricardo Torres
e4f2a22014
fix(docs) router-deprecated still in rc.2
2016-06-22 15:20:44 -07:00
Torgeir Helgevold
e41da11444
docs(forms): upgrading forms guide to new api
...
This PR upgrades the existing forms to the new API,
while leaving a copy for existing users.
The current forms will be the default until RC4, at
which point we will switch the default to the new API
but still retain a link to the old forms API.
After RC5 the old API docs will be completely removed.
2016-06-22 15:15:12 -07:00
Filipe Silva
31d0c757d7
chore(style-guide): remove routing styles
...
Routing styles were breaking CI and are out of date, since we're using the 3.0.0 router.
We should remove them until we have recommendations.
2016-06-21 18:11:54 -07:00
Filipe Silva
7848feaeaa
chore: update to rc3
2016-06-22 01:51:57 +01:00
Martin Probst
fb179d9690
docs(security): Add security documentation.
...
Substantially rewritten, based on original content by Brian Clarkio and
Ward Bell and contributions from Naomi Black.
2016-06-21 10:51:25 -07:00
Filipe Silva
212183bbb7
fix(plunkers): fix form plunkers
2016-06-21 04:36:07 +01:00
Filipe Silva
9e1e5a1ef8
chore: add forms, update router
2016-06-20 19:57:16 -07:00
Torgeir Helgevold
3cb219c5ab
docs(dynamic-cookbook): upgrade to use new forms api
...
convert exiting to use deprecated name
converted to new api
text
warnings
fix plunker
text
test weak
text
space
text
lint
order
tweak
2016-06-20 21:02:28 -04:00
Brandon Roberts
4e7318552d
docs(router): Updated docs to reflect alpha 7 release
2016-06-20 16:55:07 -07:00
Filipe Silva
3db8642113
fix(quickstart): add styles.css to js quickstart
...
Fix #1684
While looking at this, I saw that plunkers were getting some unintended unit testing files and added them to the default plunker builder ignore.
2016-06-19 22:52:59 -07:00
Zhicheng Wang
0aa207bbac
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# public/docs/ts/latest/guide/_data.json
2016-06-19 10:17:03 +08:00
Filipe Silva
61c85a92a4
chore: add async/await support to e2e tests
2016-06-17 10:43:16 -07:00
Filipe Silva
643c59a15e
fix(e2e): update broken node typings
2016-06-17 13:52:30 +01: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
Zhimin YE (Rex)
e8a462435c
Merge remote-tracking branch 'remotes/angular.io/master'
...
# Conflicts:
# public/docs/ts/latest/_data.json
# public/docs/ts/latest/cheatsheet.jade
# public/news.jade
2016-06-16 09:03:59 +01: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
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
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
Zhimin(Rex) YE
b5f0eadfa0
Merge remote-tracking branch 'remotes/angular.io/master'
...
# Conflicts:
# public/docs/ts/latest/_data.json
# public/docs/ts/latest/glossary.jade
2016-06-15 21:58:10 +01: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
Zhicheng Wang
6a5f4a0fc2
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# public/docs/ts/latest/tutorial/toh-pt5.jade
2016-06-15 23:10:41 +08:00
Patrice Chalin
6e5d8e6491
docs(toh-5/dart): review edits and code cleanup ( #1643 )
2016-06-15 07:46:26 -07:00
Zhimin YE (Rex)
466f69d30a
Merge remote-tracking branch 'remotes/angular.io/master'
...
# Conflicts:
# public/docs/ts/latest/cookbook/_data.json
# tools/api-builder/angular.io-package/templates/class.template.html
2016-06-15 12:01:54 +01: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
Zhicheng Wang
7995cb4897
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# public/docs/ts/latest/guide/style-guide.jade
# public/docs/ts/latest/tutorial/toh-pt1.jade
# public/docs/ts/latest/tutorial/toh-pt2.jade
# public/docs/ts/latest/tutorial/toh-pt3.jade
# public/docs/ts/latest/tutorial/toh-pt4.jade
# public/docs/ts/latest/tutorial/toh-pt5.jade
2016-06-14 14:04:30 +08: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
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
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
Zhicheng Wang
e338333e2f
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# public/docs/ts/latest/cookbook/dynamic-form.jade
# public/docs/ts/latest/guide/attribute-directives.jade
2016-06-13 16:39:34 +08:00
Foxandxss
074a33a622
chore: tslint sweep done
2016-06-13 02:40:28 +02:00
Zhicheng Wang
6b8e09bf2b
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# public/docs/ts/latest/guide/dependency-injection.jade
2016-06-10 13:34:18 +08: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
Zhicheng Wang
80c36ac7f5
Merge remote-tracking branch 'origin/master'
2016-06-08 17:01:20 +08:00
Zhicheng Wang
f2dbdb3163
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# public/docs/_examples/cb-component-communication/e2e-spec.ts
# public/docs/_examples/cb-component-communication/ts/app/app.component.ts
# public/docs/_examples/dependency-injection/ts/app/main.1.ts
# public/docs/ts/latest/tutorial/toh-pt1.jade
# public/docs/ts/latest/tutorial/toh-pt2.jade
# public/docs/ts/latest/tutorial/toh-pt3.jade
# public/docs/ts/latest/tutorial/toh-pt4.jade
# public/docs/ts/latest/tutorial/toh-pt5.jade
2016-06-08 10:02:24 +08: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
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
Zhimin(Rex) YE
5198a7b915
Merge remote-tracking branch 'remotes/angular.io/master'
2016-06-06 22:28:17 +01: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
Zhimin(Rex) YE
633964ac2f
Merge remote-tracking branch 'remotes/angular.io/master'
...
# Conflicts:
# public/docs/ts/latest/cookbook/dependency-injection.jade
# public/docs/ts/latest/guide/component-styles.jade
# public/docs/ts/latest/guide/dependency-injection.jade
# public/docs/ts/latest/guide/upgrade.jade
2016-06-04 17:52:51 +01:00
Zhimin(Rex) YE
5ae026ced3
Merge remote-tracking branch 'remotes/angular.io/master'
...
# Conflicts:
# public/docs/_examples/dependency-injection/ts/app/main.1.ts
# public/docs/ts/latest/guide/dependency-injection.jade
2016-06-04 16:45:10 +01: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
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
Zhimin YE (Rex)
dd4e887b47
Merge remote-tracking branch 'remotes/angular.io/master'
...
# Conflicts:
# public/docs/ts/latest/cookbook/component-communication.jade
# public/docs/ts/latest/guide/style-guide.jade
# public/docs/ts/latest/guide/upgrade.jade
2016-06-02 08:58:19 +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
743540363d
docs(style-guide): rename validator to validate
...
closes #1489
2016-06-01 10:57:11 -07:00
Zhimin YE (Rex)
72efc8f055
Merge remote-tracking branch 'remotes/angular.io/master'
...
# Conflicts:
# README.md
# public/contribute.jade
# public/docs/_examples/cb-component-communication/e2e-spec.ts
# public/docs/ts/latest/glossary.jade
# public/docs/ts/latest/guide/architecture.jade
# public/docs/ts/latest/guide/forms.jade
# public/docs/ts/latest/guide/npm-packages.jade
# public/docs/ts/latest/guide/template-syntax.jade
# public/docs/ts/latest/guide/webpack.jade
# public/docs/ts/latest/quickstart.jade
# public/docs/ts/latest/tutorial/toh-pt5.jade
2016-06-01 09:51:27 +01: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
Zhicheng Wang
752a152731
Merge remote-tracking branch 'origin/master'
...
upgrade.jade的附录没有翻译
# Conflicts:
# public/docs/ts/latest/guide/_data.json
# public/docs/ts/latest/guide/npm-packages.jade
# public/docs/ts/latest/guide/upgrade.jade
# public/docs/ts/latest/quickstart.jade
# public/index.jade
2016-05-30 21:46:16 +08: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
Zhimin(Rex) YE
399df5ae59
基础知识的DI-校对一半了
2016-05-28 23:10:39 +01: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
Zhimin(Rex) YE
cbea511cad
Merge remote-tracking branch 'remotes/angular.io/master'
...
# Conflicts:
# public/docs/ts/latest/guide/template-syntax.jade
2016-05-26 23:48:22 +01: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