Skip to content

Commit 448fd4f

Browse files
chalinwardbell
authored andcommitted
docs(quickstart): show qs files via code-tabs for Dart (angular#2839)
1 parent 79375ca commit 448fd4f

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

public/docs/dart/latest/quickstart.jade

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,6 @@ block create-your-app
4646
:marked
4747
Let's create a folder to hold our application and add a super-simple Angular component.
4848

49-
block annotation-fields
50-
:marked
51-
The call to the `@Component` constructor has two
52-
named parameters, `selector` and `template`.
53-
5449
block create-main
5550
p.
5651
Now we need something to tell Angular to load the root component.
@@ -196,6 +191,8 @@ block project-file-structure
196191
other directories and dotfiles.
197192

198193
block project-files
194+
:marked
195+
Try the <live-example></live-example>, or view the files here:
199196
+makeTabs(`
200197
quickstart/ts/app/app.component.ts,
201198
quickstart/ts/app/main.ts,

public/docs/ts/_cache/quickstart.jade

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ block includes
55
- var _angular_browser_uri = '@angular/platform-browser-dynamic'
66
- var _angular_core_uri = '@angular/core'
77
- var _stepInit = 4 // Step # after NgModule step
8-
- var _quickstartSrcURL='https://github.com/angular/quickstart/blob/master/README.md'
98

109
//- TS/Dart shared step counter
1110
- var step = _stepInit
@@ -43,7 +42,7 @@ h1 Build this application!
4342
- [Step !{step++}](#index): Define the web page that hosts the application.
4443
- [Step !{step++}](#build-and-run): Build and run the application.
4544
- [Step !{step++}](#make-changes): Make some live changes.
46-
- [Wrap up and Next Steps](#wrap-up)
45+
- [Wrap up and next steps](#wrap-up)
4746

4847
- var step = _stepInit // reinitialize step counter for headers to come
4948

@@ -360,8 +359,10 @@ block project-file-structure
360359
.file styles.css
361360
.file systemjs.config.js
362361
.file tsconfig.json
363-
:marked
364-
To see the file contents, open the <live-example></live-example>.
362+
363+
block project-files
364+
:marked
365+
To see the file contents, open the <live-example></live-example>.
365366

366367
.l-main-section
367368
:marked

public/docs/ts/latest/quickstart.jade

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ h1 Build this application!
4242
- [Step !{step++}](#index): Define the web page that hosts the application.
4343
- [Step !{step++}](#build-and-run): Build and run the application.
4444
- [Step !{step++}](#make-changes): Make some live changes.
45-
- [Wrap up and Next Steps](#wrap-up)
45+
- [Wrap up and next steps](#wrap-up)
4646

4747
- var step = _stepInit // reinitialize step counter for headers to come
4848

@@ -359,8 +359,10 @@ block project-file-structure
359359
.file styles.css
360360
.file systemjs.config.js
361361
.file tsconfig.json
362-
:marked
363-
To see the file contents, open the <live-example></live-example>.
362+
363+
block project-files
364+
:marked
365+
To see the file contents, open the <live-example></live-example>.
364366

365367
.l-main-section
366368
:marked

0 commit comments

Comments
 (0)