docs(dart): upgrade to beta.22 (#2494)

* update to beta.22
* Dart SDK 1.19.0 or later is required
* minor edits to sample app titles to e2e tests pass
  * Renamed “Angular 2” to “Angular” so that shared e2e tests pass.
* Tweak to QS prose.
This commit is contained in:
Patrice Chalin 2016-09-27 13:41:46 -07:00 committed by Kathy Walrath
parent 5cee3b9b8b
commit 64d5b3dc23
33 changed files with 56 additions and 56 deletions

View File

@ -3,9 +3,9 @@ name: developer_guide_intro
description: Developer Guide Intro
version: 0.0.1
environment:
sdk: '>=1.13.0 <2.0.0'
sdk: '>=1.19.0 <2.0.0'
dependencies:
angular2: 2.0.0-beta.21
angular2: 2.0.0-beta.22
browser: ^0.10.0
dart_to_js_script_rewriter: ^1.0.1
transformers:

View File

@ -3,9 +3,9 @@ name: attribute_directives
description: Attribute directives example
version: 0.0.1
environment:
sdk: '>=1.13.0 <2.0.0'
sdk: '>=1.19.0 <2.0.0'
dependencies:
angular2: 2.0.0-beta.21
angular2: 2.0.0-beta.22
browser: ^0.10.0
dart_to_js_script_rewriter: ^1.0.1
transformers:

View File

@ -3,9 +3,9 @@ name: component_styles
description: Component Styles example
version: 0.0.1
environment:
sdk: '>=1.13.0 <2.0.0'
sdk: '>=1.19.0 <2.0.0'
dependencies:
angular2: 2.0.0-beta.21
angular2: 2.0.0-beta.22
browser: ^0.10.0
dart_to_js_script_rewriter: ^1.0.1
transformers:

View File

@ -3,9 +3,9 @@ name: dependency_injection
description: Dependency injection sample
version: 0.0.1
environment:
sdk: '>=1.13.0 <2.0.0'
sdk: '>=1.19.0 <2.0.0'
dependencies:
angular2: 2.0.0-beta.21
angular2: 2.0.0-beta.22
browser: ^0.10.0
dart_to_js_script_rewriter: ^1.0.1
transformers:

View File

@ -3,9 +3,9 @@ name: displaying_data
description: Displaying Data
version: 0.0.1
environment:
sdk: '>=1.13.0 <2.0.0'
sdk: '>=1.19.0 <2.0.0'
dependencies:
angular2: 2.0.0-beta.21
angular2: 2.0.0-beta.22
browser: ^0.10.0
dart_to_js_script_rewriter: ^1.0.1
transformers:

View File

@ -3,9 +3,9 @@ name: hero_form
description: Form example
version: 0.0.1
environment:
sdk: '>=1.13.0 <2.0.0'
sdk: '>=1.19.0 <2.0.0'
dependencies:
angular2: 2.0.0-beta.21
angular2: 2.0.0-beta.22
browser: ^0.10.0
dart_to_js_script_rewriter: ^1.0.1
transformers:

View File

@ -3,9 +3,9 @@ name: 'hierarchical_di'
description: Hierarchical dependency injection example
version: 0.0.1
environment:
sdk: '>=1.13.0 <2.0.0'
sdk: '>=1.19.0 <2.0.0'
dependencies:
angular2: 2.0.0-beta.21
angular2: 2.0.0-beta.22
browser: ^0.10.0
dart_to_js_script_rewriter: ^1.0.1
transformers:

View File

@ -3,9 +3,9 @@ name: lifecycle_hooks
description: Lifecycle Hooks
version: 0.0.1
environment:
sdk: '>=1.13.0 <2.0.0'
sdk: '>=1.19.0 <2.0.0'
dependencies:
angular2: 2.0.0-beta.21
angular2: 2.0.0-beta.22
browser: ^0.10.0
dart_to_js_script_rewriter: ^1.0.1
transformers:

View File

@ -3,9 +3,9 @@ name: pipe_examples
description: Pipes Example
version: 0.0.1
environment:
sdk: '>=1.13.0 <2.0.0'
sdk: '>=1.19.0 <2.0.0'
dependencies:
angular2: 2.0.0-beta.21
angular2: 2.0.0-beta.22
browser: ^0.10.0
dart_to_js_script_rewriter: ^1.0.1
transformers:

View File

@ -5,7 +5,7 @@ import 'package:angular2/core.dart';
// #docregion metadata
@Component(
selector: 'my-app',
template: '<h1>My First Angular 2 App</h1>')
template: '<h1>My First Angular App</h1>')
// #enddocregion metadata
// #docregion class
class AppComponent {}

View File

@ -3,9 +3,9 @@ name: angular2_quickstart
description: QuickStart
version: 0.0.1
environment:
sdk: '>=1.13.0 <2.0.0'
sdk: '>=1.19.0 <2.0.0'
dependencies:
angular2: 2.0.0-beta.21
angular2: 2.0.0-beta.22
browser: ^0.10.0
dart_to_js_script_rewriter: ^1.0.1
transformers:

View File

@ -3,9 +3,9 @@ name: server_communication
description: Server Communication
version: 0.0.1
environment:
sdk: '>=1.13.0 <2.0.0'
sdk: '>=1.19.0 <2.0.0'
dependencies:
angular2: 2.0.0-beta.21
angular2: 2.0.0-beta.22
browser: ^0.10.0
dart_to_js_script_rewriter: ^1.0.1
http: ^0.11.3+3

View File

@ -2,7 +2,7 @@
<!-- #docregion -->
<html>
<head>
<title>Angular 2 Http Demo</title>
<title>Angular Http Demo</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="styles.css">

View File

@ -3,9 +3,9 @@ name: structural_directives
description: Structural directives example
version: 0.0.1
environment:
sdk: '>=1.13.0 <2.0.0'
sdk: '>=1.19.0 <2.0.0'
dependencies:
angular2: 2.0.0-beta.21
angular2: 2.0.0-beta.22
browser: ^0.10.0
dart_to_js_script_rewriter: ^1.0.1
transformers:

View File

@ -3,7 +3,7 @@
<html>
<head>
<title>Angular 2 Structural Directives</title>
<title>Angular Structural Directives</title>
<link rel="stylesheet" href="styles.css">
<script defer src="main.dart" type="application/dart"></script>
<script defer src="packages/browser/dart.js"></script>

View File

@ -3,9 +3,9 @@ name: template_syntax
description: Template Syntax
version: 0.0.1
environment:
sdk: '>=1.13.0 <2.0.0'
sdk: '>=1.19.0 <2.0.0'
dependencies:
angular2: 2.0.0-beta.21
angular2: 2.0.0-beta.22
browser: ^0.10.0
dart_to_js_script_rewriter: ^1.0.1
transformers:

View File

@ -3,9 +3,9 @@ name: angular2_tour_of_heroes
description: Tour of Heroes
version: 0.0.1
environment:
sdk: '>=1.13.0 <2.0.0'
sdk: '>=1.19.0 <2.0.0'
dependencies:
angular2: 2.0.0-beta.21
angular2: 2.0.0-beta.22
browser: ^0.10.0
dart_to_js_script_rewriter: ^1.0.1
transformers:

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>Angular 2 Tour of Heroes</title>
<title>Angular Tour of Heroes</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="styles.css">

View File

@ -3,9 +3,9 @@ name: angular2_tour_of_heroes
description: Tour of Heroes
version: 0.0.1
environment:
sdk: '>=1.13.0 <2.0.0'
sdk: '>=1.19.0 <2.0.0'
dependencies:
angular2: 2.0.0-beta.21
angular2: 2.0.0-beta.22
browser: ^0.10.0
dart_to_js_script_rewriter: ^1.0.1
transformers:

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>Angular 2 Tour of Heroes</title>
<title>Angular Tour of Heroes</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="styles.css">

View File

@ -3,9 +3,9 @@ name: angular2_tour_of_heroes
description: Tour of Heroes
version: 0.0.1
environment:
sdk: '>=1.13.0 <2.0.0'
sdk: '>=1.19.0 <2.0.0'
dependencies:
angular2: 2.0.0-beta.21
angular2: 2.0.0-beta.22
browser: ^0.10.0
dart_to_js_script_rewriter: ^1.0.1
transformers:

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>Angular 2 Tour of Heroes</title>
<title>Angular Tour of Heroes</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="styles.css">

View File

@ -3,9 +3,9 @@ name: angular2_tour_of_heroes
description: Tour of Heroes
version: 0.0.1
environment:
sdk: '>=1.13.0 <2.0.0'
sdk: '>=1.19.0 <2.0.0'
dependencies:
angular2: 2.0.0-beta.21
angular2: 2.0.0-beta.22
browser: ^0.10.0
dart_to_js_script_rewriter: ^1.0.1
transformers:

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>Angular 2 Tour of Heroes</title>
<title>Angular Tour of Heroes</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="styles.css">

View File

@ -3,9 +3,9 @@ name: angular2_tour_of_heroes
description: Tour of Heroes
version: 0.0.1
environment:
sdk: '>=1.13.0 <2.0.0'
sdk: '>=1.19.0 <2.0.0'
dependencies:
angular2: 2.0.0-beta.21
angular2: 2.0.0-beta.22
browser: ^0.10.0
dart_to_js_script_rewriter: ^1.0.1
transformers:

View File

@ -7,7 +7,7 @@
<!-- For testing in WebStorm use: -->
<!-- base href="/dart/web/" -->
<!-- #enddocregion base-href -->
<title>Angular 2 Tour of Heroes</title>
<title>Angular Tour of Heroes</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- #enddocregion head -->

View File

@ -4,10 +4,10 @@ name: angular2_tour_of_heroes
description: Tour of Heroes
version: 0.0.1
environment:
sdk: '>=1.13.0 <2.0.0'
sdk: '>=1.19.0 <2.0.0'
# #docregion additions
dependencies:
angular2: 2.0.0-beta.21
angular2: 2.0.0-beta.22
# #enddocregion additions
browser: ^0.10.0
dart_to_js_script_rewriter: ^1.0.1

View File

@ -3,7 +3,7 @@
<html>
<head>
<base href="/">
<title>Angular 2 Tour of Heroes</title>
<title>Angular Tour of Heroes</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="styles.css">

View File

@ -3,9 +3,9 @@ name: user_input
description: User input example
version: 0.0.1
environment:
sdk: '>=1.13.0 <2.0.0'
sdk: '>=1.19.0 <2.0.0'
dependencies:
angular2: 2.0.0-beta.21
angular2: 2.0.0-beta.22
browser: ^0.10.0
dart_to_js_script_rewriter: ^1.0.1
transformers:

View File

@ -4,7 +4,7 @@
"title": "Angular Docs",
"subtitle": "Dart",
"menuTitle": "Docs Home",
"banner": "Angular release is <b>beta.21</b>. View the <a href='https://github.com/dart-lang/angular2/blob/master/CHANGELOG.md' target='_blank'>change log</a> to see enhancements, fixes, and breaking changes."
"banner": "Angular release is <b>beta.22</b>. View the <a href='https://github.com/dart-lang/angular2/blob/master/CHANGELOG.md' target='_blank'>change log</a> to see enhancements, fixes, and breaking changes."
},
"quickstart": {

View File

@ -30,7 +30,7 @@ block package-and-config-files
packages as dependencies, as well as the `angular2` transformer.
It can also specify other packages and transformers for the app to use,
such as [dart_to_js_script_rewriter](https://pub.dartlang.org/packages/dart_to_js_script_rewriter).
Angular 2 is still changing, so provide an exact version: **2.0.0-beta.21**.
Angular 2 is still changing, so provide an exact version: **2.0.0-beta.22**.
[pubspec]: https://www.dartlang.org/tools/pub/pubspec.html
@ -79,7 +79,7 @@ block run-app
block build-app
.alert.is-important
:marked
If you don't see **My First Angular 2 App**, make sure you've entered all the code correctly,
If you don't see **My First Angular App**, make sure you've entered all the code correctly,
in the [proper folders](#wrap-up),
and run `pub get`.

View File

@ -290,7 +290,7 @@ p.
The **template** specifies the component's companion template,
written in an enhanced form of HTML that tells Angular how to render this component's view.
>Our template is a single line of HTML announcing "*My First Angular 2 App*".
>Our template is a single line of HTML announcing "*My First Angular App*".
>A more advanced template could contain data bindings to component properties
and might identify other application components which have their own templates.
@ -556,7 +556,7 @@ block build-app
:marked
## Make some changes
Try changing the message to "My SECOND Angular 2 app".
Try changing the message to "My SECOND Angular app".
block server-watching
:marked
The TypeScript compiler and `lite-server` are watching.

View File

@ -2,9 +2,9 @@ name: angular2_io
description: Angular 2 for Dart Website
version: 0.0.1
environment:
sdk: '>=1.13.0 <2.0.0'
sdk: '>=1.19.0 <2.0.0'
dependencies:
angular2: 2.0.0-beta.21
angular2: 2.0.0-beta.22
browser: ^0.10.0
dart_to_js_script_rewriter: ^1.0.1
transformers: