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.
This commit is contained in:
parent
ed4689fd2d
commit
0ba3d5d8d6
|
@ -1,5 +1,4 @@
|
||||||
// #docregion
|
// #docregion , import
|
||||||
// #docregion import
|
|
||||||
import 'package:angular2/core.dart';
|
import 'package:angular2/core.dart';
|
||||||
// #enddocregion import
|
// #enddocregion import
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# #docregion
|
# #docregion
|
||||||
name: angular2_getting_started
|
name: angular2_quickstart
|
||||||
description: QuickStart
|
description: QuickStart
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
environment:
|
environment:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
// #docregion
|
// #docregion
|
||||||
import 'package:angular2/platform/browser.dart';
|
import 'package:angular2/platform/browser.dart';
|
||||||
|
|
||||||
import 'package:angular2_getting_started/app_component.dart';
|
import 'package:angular2_quickstart/app_component.dart';
|
||||||
|
|
||||||
void main() {
|
void main() {
|
||||||
bootstrap(AppComponent);
|
bootstrap(AppComponent);
|
||||||
|
|
|
@ -167,7 +167,7 @@ block server-watching
|
||||||
|
|
||||||
block project-file-structure
|
block project-file-structure
|
||||||
.filetree
|
.filetree
|
||||||
.file angular2-quickstart
|
.file angular2_quickstart
|
||||||
.children
|
.children
|
||||||
.file lib
|
.file lib
|
||||||
.children
|
.children
|
||||||
|
|
|
@ -27,7 +27,7 @@ p Run the #[+liveExampleLink2('', 'toh-5')] for this part.
|
||||||
and hero detail component. If not, we’ll need to go back and follow the previous chapters.
|
and hero detail component. If not, we’ll need to go back and follow the previous chapters.
|
||||||
|
|
||||||
.filetree
|
.filetree
|
||||||
.file angular2-tour-of-heroes
|
.file angular2_tour_of_heroes
|
||||||
.children
|
.children
|
||||||
.file lib
|
.file lib
|
||||||
.children
|
.children
|
||||||
|
@ -659,7 +659,7 @@ p.
|
||||||
|
|
||||||
:marked
|
:marked
|
||||||
.filetree
|
.filetree
|
||||||
.file angular2-tour-of-heroes
|
.file angular2_tour_of_heroes
|
||||||
.children
|
.children
|
||||||
.file lib
|
.file lib
|
||||||
.children
|
.children
|
||||||
|
|
|
@ -91,7 +91,7 @@ block review
|
||||||
|
|
||||||
block filetree
|
block filetree
|
||||||
.filetree
|
.filetree
|
||||||
.file angular2-tour-of-heroes
|
.file angular2_tour_of_heroes
|
||||||
.children
|
.children
|
||||||
.file lib
|
.file lib
|
||||||
.children
|
.children
|
||||||
|
|
|
@ -94,9 +94,10 @@ h2#create-and-configure Step 1: Create and configure the project
|
||||||
|
|
||||||
h3 (a) Create the project folder
|
h3 (a) Create the project folder
|
||||||
|
|
||||||
|
- var _ = _docsFor == 'dart' ? '_' : '-';
|
||||||
code-example(language="sh").
|
code-example(language="sh").
|
||||||
mkdir angular2-quickstart
|
mkdir angular2!{_}quickstart
|
||||||
cd angular2-quickstart
|
cd angular2!{_}quickstart
|
||||||
|
|
||||||
h3#add-config-files (b) Add #{_package_and_config_files}
|
h3#add-config-files (b) Add #{_package_and_config_files}
|
||||||
block package-and-config-files
|
block package-and-config-files
|
||||||
|
|
Loading…
Reference in New Issue