Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 79dc1f2

Browse files
authored
chore: use common instructions for popping out plunker window-button (#2886)
To see the browser title or address bar changes. Instructions are a little more complicated when the plunker is in embedded style
1 parent cff978a commit 79dc1f2

File tree

7 files changed

+33
-30
lines changed

7 files changed

+33
-30
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
table
2+
tr
3+
td
4+
:marked
5+
To see the URL changes in the browser address bar of the live example,
6+
open it again in the Plunker editor by clicking the icon in the upper right,
7+
then pop out the preview window by clicking the blue 'X' button in the upper right corner.
8+
td
9+
img(src='/resources/images/devguide/plunker-switch-to-editor-button.png' width="200px" height="70px" alt="pop out the window" align="right" )
10+
br
11+
img(src='/resources/images/devguide/plunker-separate-window-button.png' width="200px" height="47px" alt="pop out the window" align="right" )

public/docs/ts/_cache/tutorial/toh-pt5.jade

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,7 @@ figure.image-display
3232
Run the <live-example></live-example> for this part.
3333

3434
+ifDocsFor('ts|js')
35-
.l-sub-section
36-
img(src='/resources/images/devguide/plunker-separate-window-button.png' alt="pop out the window" align="right" style="margin-right:-20px")
37-
38-
:marked
39-
To see the URL changes in the browser address bar,
40-
pop out the preview window by clicking the blue 'X' button in the upper right corner:
35+
include ../../../_includes/_see-addr-bar
4136

4237
.l-main-section
4338
:marked

public/docs/ts/latest/cookbook/set-document-title.jade

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,20 @@ a(id='top')
66
This cookbook explains how to do it.
77
:marked
88
**See the <live-example name="cb-set-document-title"></live-example>**.
9-
.l-sub-section
10-
img(src='/resources/images/devguide/plunker-separate-window-button.png' alt="pop out the window" align="right" style="margin-right:-20px")
11-
:marked
12-
To see the browser Title bar changes,
13-
pop out the preview window by clicking the blue 'X' button in the upper right corner.
9+
10+
table
11+
tr
12+
td
13+
:marked
14+
To see the browser title bar change in the live example,
15+
open it again in the Plunker editor by clicking the icon in the upper right,
16+
then pop out the preview window by clicking the blue 'X' button in the upper right corner.
17+
td
18+
img(src='/resources/images/devguide/plunker-switch-to-editor-button.png' width="200px" height="70px" alt="pop out the window" align="right" )
19+
br
20+
img(src='/resources/images/devguide/plunker-separate-window-button.png' width="200px" height="47px" alt="pop out the window" align="right" )
21+
22+
1423
:marked
1524
## The problem with *&lt;title&gt;*
1625

public/docs/ts/latest/guide/router.jade

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,8 @@ include ../_util-fns
66

77
We cover the router's primary features in this chapter, illustrating them through the evolution
88
of a small application that we can <live-example>run live</live-example>.
9-
.l-sub-section
10-
img(src='/resources/images/devguide/plunker-separate-window-button.png' alt="pop out the window" align="right" style="margin-right:-20px")
11-
:marked
12-
To see the URL changes in the browser address bar,
13-
pop out the preview window by clicking the blue 'X' button in the upper right corner.
9+
10+
include ../../../_includes/_see-addr-bar
1411

1512
.l-main-section
1613
:marked
@@ -1054,10 +1051,9 @@ figure.image-display
10541051
The application still works. Clicking "back" returns to the hero list view.
10551052

10561053
Look at the browser address bar.
1057-
.l-sub-section
1058-
img(src='/resources/images/devguide/plunker-separate-window-button.png' alt="pop out the window" align="right" style="margin-right:-20px")
1059-
:marked
1060-
When running in plunker, pop out the preview window by clicking the blue 'X' button in the upper right corner.
1054+
1055+
include ../../../_includes/_see-addr-bar
1056+
10611057
:marked
10621058
It should look something like this, depending on where you run it:
10631059

@@ -2048,10 +2044,7 @@ a#fragment
20482044
For our updated *Crisis Admin* component we'll feed the `Observable` directly into our template using the `AsyncPipe`, which
20492045
will handle _unsubscribing_ from the `Observable` for us when the component is destroyed.
20502046

2051-
.l-sub-section
2052-
img(src='/resources/images/devguide/plunker-separate-window-button.png' alt="pop out the window" align="right" style="margin-right:-20px")
2053-
:marked
2054-
When running in plunker, pop out the preview window by clicking the blue 'X' button in the upper right corner.
2047+
include ../../../_includes/_see-addr-bar
20552048

20562049
:marked
20572050
Following the steps in this process, we can click on the *Admin* button, that takes us to the *Login*

public/docs/ts/latest/tutorial/toh-pt5.jade

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,7 @@ figure.image-display
3232
Run the <live-example></live-example> for this part.
3333

3434
+ifDocsFor('ts|js')
35-
.l-sub-section
36-
img(src='/resources/images/devguide/plunker-separate-window-button.png' alt="pop out the window" align="right" style="margin-right:-20px")
37-
38-
:marked
39-
To see the URL changes in the browser address bar,
40-
pop out the preview window by clicking the blue 'X' button in the upper right corner:
35+
include ../../../_includes/_see-addr-bar
4136

4237
.l-main-section
4338
:marked
Loading
Loading

0 commit comments

Comments
 (0)