Skip to content

Commit

Permalink
test(tabs): fix navCtrl reference
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdbradley committed Aug 5, 2016
1 parent 63bc41d commit 8eb0667
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/tabs/test/advanced/tab1page2.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<ion-content padding>

<p><button (click)="push()">Go to Tab 1, Page 3</button></p>
<p><button id="backToTab1Page1" (click)="nav.pop()">Back to Tab 1, Page 1</button></p>
<p><button id="backToTab1Page1" (click)="navCtrl.pop()">Back to Tab 1, Page 1</button></p>
<f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f>
<f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f>

Expand Down
2 changes: 1 addition & 1 deletion src/components/tabs/test/advanced/tab1page3.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<ion-content padding>

<p><button (click)="nav.pop()">Back to Tab 1, Page 2</button></p>
<p><button (click)="navCtrl.pop()">Back to Tab 1, Page 2</button></p>
<f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f>
<f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f>

Expand Down
2 changes: 1 addition & 1 deletion src/components/tabs/test/advanced/tab2page2.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<ion-content padding>

<p><button (click)="push()">Go to Tab 2, Page 3 (no navbar)</button></p>
<p><button (click)="nav.pop()">Back to Tab 2, Page 1</button></p>
<p><button (click)="navCtrl.pop()">Back to Tab 2, Page 1</button></p>
<f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f>
<f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f>

Expand Down
2 changes: 1 addition & 1 deletion src/components/tabs/test/advanced/tab2page3.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ <h2>Tab 2, Page 3</h2>

<p>No Header.</p>

<p><button (click)="nav.pop()">Back to Tab 2, Page 2</button></p>
<p><button (click)="navCtrl.pop()">Back to Tab 2, Page 2</button></p>
<f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f>
<f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f><f></f>

Expand Down

0 comments on commit 8eb0667

Please sign in to comment.