Commit Graph

366 Commits

Author SHA1 Message Date
Zhicheng Wang 41d9204727 Merge branch 'master' of github.com:angular/angular.io
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2016-04-21 22:48:35 +08: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
Zhicheng Wang c8041a0bf2 Merge branch 'master' of github.com:angular/angular.io
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2016-04-19 23:15:18 +08: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
Zhicheng Wang cb964960ab merge from origin 2016-04-15 22:32:57 +08: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
Zhicheng Wang 5f56e08434 merge from origin/master 2016-04-14 13:49:09 +08: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
Andres Araujo ec392ab7a2 docs(guide): add dart version of hierarchical dependency injection
closes #683
2016-01-13 10:20:49 -08:00
Ward Bell 0f5294e32c docs(template-syntax): sample/devmode fix + text updates
closes #692
2016-01-13 00:54:03 -08:00
Tom Ingebretsen 3e18dd1203 docs(samples): update Dart user-input sample to match TS
closes #447
2016-01-11 15:05:14 -08:00
Jay Traband 3460f35a9f chore(testing): updated jasmine.Reporter
See #670
2016-01-08 18:47:14 -08:00
Ward Bell 59b55794a7 docs(style-guide): repair missing JSON examples 2016-01-08 15:48:57 -08:00
Tom Ingebretsen 7421312a7b docs(guide): add _examples/displaying-data/dart
closes #434
2016-01-05 17:11:43 -08:00
Kathy Walrath b8063a814e docs(guide): update Dart forms example & text
closes #654
2016-01-05 16:57:28 -08:00