Commit Graph

1007 Commits

Author SHA1 Message Date
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
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
Ward Bell f5a9edc68c docs(quickstart): say 'My First Angular 2 App' 2016-05-16 23:16:11 -07:00
Foxandxss 0123076a79 chore: remove typings.d.ts from style guide
closes #1404
2016-05-16 21:50:55 -07:00
Eric Jimenez 0ae7ade9fa feat(shorter lines): encapsulate all doc guides within a 10 sized column, including banners. Use showcase. Adjust for mobile 2016-05-16 15:40:32 -04: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
Foxandxss fca9671680 docs(style-guide): lift main.ts to src folder
closes #1390, #1361
2016-05-15 15:44:32 -07:00
Mike Hartington 738207affd docs(style-guide): added ng2 snippets for vim
closes #1381
2016-05-15 15:29:47 -07:00
dreambo8563 eec5c00fc0 docs(component-communication): remove _ from private _timerComponent 2016-05-15 15:26:04 -07:00
Kyle Roberts c2339c156d docs(glossary): promises point to dead link, update to mozilla link
closes #1365
2016-05-15 14:59:20 -07:00
Ward Bell e9dd6334e4 docs(plunker): use the FrankWallis TS plugin (thx Filipe!) 2016-05-15 14:49:09 -07:00
escardin aa65f0cf44 docs(webpack) missing word 2016-05-13 14:07:57 -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
Ferdinand Malcher aaa927bc43 docs(glossary): export in barrels
closes #1326
The example is about exports, so no imports here
2016-05-11 20:19:40 -07:00
Aristeidis Bampakos cc450ad6e8 docs(npm-packages): Fixed several typos 2016-05-11 20:07:40 -07:00
Aristeidis Bampakos 6a1e6e3bf6 docs(hierarchical-dependency-injection): Fixed typo
closes #1345
Fixed typo with the word "possibility"
2016-05-11 19:33:17 -07:00
Aristeidis Bampakos 9f267ca80f docs(forms): Typo - missing space before "Now we can control"
closes #1343
2016-05-11 19:30:49 -07:00
Dmitri Suvorov 33745ec220 docs(tutorial): fix typo (slowy -> slowly)
closes #1332
2016-05-11 19:24:00 -07:00
Brian McDaniel 064936012f docs(component-styles): fix typo (withing -> within)
closes #1330
2016-05-11 19:22:31 -07:00
Oren Farhi 82a5bfc5bf docs(style-guide): added ng2 snippets for sublime text
closes #1328
2016-05-11 19:20:01 -07:00
Ferdinand Malcher 8b19a5622a docs(glossary): input decorator in same line
closes #1327
According to styleguide the @Input() decorator should be placed in the same line
2016-05-11 19:06:09 -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
Gregor Woiwode f6f407275f References snippets for atom 2016-05-11 18:53:09 -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
Foxandxss c8bdbd5ea9 docs(toh): link to deprecated router
closes #1309
2016-05-10 21:56:19 -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 142ad5dd19 docs(quickstart): fix broken file-listings and reveal some systemjs when not verbose
Closes PRs #1304 and #1324 and issues #1303 and #1321
2016-05-10 21:17:49 -07:00
Kyle Roberts 45b5053fed docs(hierarchical DI): typos "it's" and add commas
closes #1288
2016-05-10 20:24:08 -07:00
Foxandxss 93a8925b10 docs(style-guide): update 10-01 for new router
closes #1281
2016-05-10 20:17:11 -07:00
Foxandxss ba3c0ab7a0 docs(quickstart): fix a numeric typo
closes #1279
2016-05-10 20:13:45 -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
Foxandxss 64babe2a69 docs(displaying-data): add table of contents 2016-05-10 16:22:38 -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
Terry Moore II f3c83b0869 Rename fodlers to folders 2016-05-09 23:17:57 -07:00
Patrice Chalin f30d71a3cc docs(dev guide): cleanup of deprecated Jade mixin (#1322)
Replace uses of `liveExLinks` mixin and then deleted its definition.
2016-05-09 21:13:50 +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
Patrice Chalin ce6c645501 docs(dev guide): structural-directives - ts minor edits, dart first versiondocs(dev guide): structural-directives - ts minor edits, dart first version (#1277)
Copyedits and other minor edits for TS
+ first version of the chapter for Dart
2016-05-04 13:18:38 +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 6dfae3a407 docs(style-guide): fix some typos (missed one) 2016-05-03 16:29:21 -06:00
Foxandxss 8d5d614c42 docs(style-guide): fix some typos
closes #1275
2016-05-03 16:26:40 -06:00
Tero Parviainen da45504907 docs(pipes): change description for parameters to reflect change in beta.16
closes #1197
2016-05-03 16:15:15 -06:00
NFM fea2d1f0f6 docs(quickstart.jade): Modify "Typescript type definition file" link up-to-date url
closes #1262
2016-05-03 16:05:01 -06:00
Michel D'HOOGE 44f63f9907 docs(npm-packages): typo ES6 = ES2015
closes #1263
2016-05-03 16:02:16 -06:00
Dan Smith 59c1e1def4 docs(quickstart): fix misplaced close paren 2016-05-03 17:54:54 -04: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
Robert Messerle 49908bb1b4 converts docs landing template to use layout classnames rather than attribute syntax 2016-05-02 19:55:59 -07:00
Eric Jimenez 5ce56598f5 feat(docs landing): new docs landing 2016-05-02 19:55:59 -07:00
Foxandxss d941353957 docs(style-guide): fix merge issues
closes #1244
2016-05-02 08:57:35 -07:00
Foxandxss 66764fec7e docs: fix a few typos
closes #1239
2016-05-01 16:17:05 -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 ebc022e475 docs: update prose for the `let` change to ngFor 2016-04-28 18:37:45 -07:00
Filipe Silva 216120daba chore: update to beta.17
closes #1213, 1205
2016-04-28 18:31:00 -07:00
Patrice Chalin 1e64d9e57a docs(guide/dart): hierarchical-dependency-injection without copying
closes #1207
This uses a simpler way to render Dart prose from TS prose without
making a copy. This will make it _much_ easier to keep the two in sync.
2016-04-28 17:03:28 -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
Naomi Black 097505b4e8 docs(title): update a parenthetical comment in the title cookbook 2016-04-26 10:55:31 -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
Eric Jimenez 8f158f2241 docs(sidenav reorg): remove glossary and cheatsheet from REFERENCE. Move glossary to BASICS. Rename REFERENCE to API REFERENCE 2016-04-25 14:10:57 -07:00