Commit Graph

1386 Commits

Author SHA1 Message Date
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
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 5a0a0160ce feat(firebase): feed resources page using firebase. Check for approved entries of the resources page 2016-05-16 22:43:32 -04:00
Eric Jimenez 21272435a3 feat(badging): Enum only matches enums, as opposed to Const and Enums. Const matches const, var, and let 2016-05-16 22:41:43 -04: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
Naomi Black d3cad1829b chore(news): add some post-ng-conf news to the site 2016-05-13 11:07:47 -07:00
Naomi Black e7bccbabaf chore: update events 2016-05-13 09:14:11 -07:00
alexwolfe 9c58d28cfe Updated Events Page
The table now is using the table from the style guide and presents the
information in a clearer more attractive way to viewers.
2016-05-13 08:48:27 -07:00
Ward Bell 9b27bfb61e docs(webpack): checkin missing snippets; .js->.ts
closes #1375
2016-05-12 18:18:21 -07:00
Eric Jimenez 024b680e68 fix(copy btn): remove overflow from button. Refactor styles out of inlines within directive 2016-05-12 17:49:33 -07:00
Eric Jimenez b5d2973163 feat(security badge): add a security badge to api docs. Only appears if @security is present in angular2 2016-05-12 17:48:54 -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
Eric Jimenez 54bbbad82d fix(homepage gap): remove margin top from features 2016-05-11 19:46:23 -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
Jesse Palmer 82c2e6b634 docs(books): removes redundant link
closes #1237
2016-05-10 17:05:07 -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
Naomi Black 6d80a42bea chore(hero): remove the ng-conf banner post-event 2016-05-09 23:23:11 -07:00
Rahul 17769df8f5 Typo in all-resources.jade ng-lightning 2016-05-09 23:17:57 -07:00
Terry Moore II f3c83b0869 Rename fodlers to folders 2016-05-09 23:17:57 -07:00
Eric Jimenez 41677017ab docs(resources, home): adjust resources page. Remove https on rangle, fix typo on ng-lightning 2016-05-09 23:17:57 -07:00
Eric Jimenez c0f7818725 fix(docs landing): make docs landing responsive 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
Naomi Black 01aa15830d chore(resources): more additions on resources 2016-05-03 18:47:45 -07: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
Naomi Black 80e542cca9 chore(copyedit): copyedits to feature page text 2016-05-02 17:46:49 -07:00
Eric Jimenez c5309e9195 feat(features: update features section) 2016-05-02 15:41:21 -07:00
Naomi Black f96c0c7d77 chore(hero): update hero banner for ngconf livestream 2016-05-02 15:08:00 -07:00
Eric Jimenez 410b3741f7 feat(images): new frontpage as directed by Alex Wolfe. New images from Fatima Remtullah 2016-05-02 13:03:13 -07:00
Naomi Black 68503b9e41 chore(updates): update resources and livestream hero 2016-05-02 12:02:48 -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