Skip to content

Commit 9d3e008

Browse files
committed
Merge remote-tracking branch 'origin/2.0' into 2.0
# Conflicts: # ionic/components/toast/toast.ts
2 parents 25a4341 + 4cc2459 commit 9d3e008

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@
8080
All methods have been documented in the API docs:
8181
http://ionicframework.com/docs/v2/api/components/slides/Slides/
8282

83+
* **platform:** `platform.versions()` no longer accepts an optional parameter for platform name
84+
and now returns only an object containing all of the platforms and their versions.
8385

8486
<a name="2.0.0-beta.4"></a>
8587
# [2.0.0-beta.4](https://github.com/driftyco/ionic/compare/v2.0.0-beta.3...v2.0.0-beta.4) (2016-04-07)

demos/toast/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class ApiPage {
3535

3636
showToastWithCloseButton() {
3737
const toast = Toast.create({
38-
message: 'Your internet connection appears to be offline. Data integrity is not gauranteed.',
38+
message: 'Your internet connection appears to be offline. Data integrity is not guaranteed.',
3939
showCloseButton: true,
4040
closeButtonText: 'Ok'
4141
});

ionic/components/action-sheet/action-sheet.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ import {ViewController} from '../nav/view-controller';
122122
* this.nav.present(actionSheet);
123123
* ```
124124
*
125-
* It's important to note that the the handler returns `false`. A feature of
125+
* It's important to note that the handler returns `false`. A feature of
126126
* button handlers is that they automatically dismiss the action sheet when their button
127127
* was clicked, however, we'll need more control regarding the transition. Because
128128
* the handler returns `false`, then the action sheet does not automatically dismiss

ionic/components/alert/alert.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ import {ViewController} from '../nav/view-controller';
175175
* this.nav.present(alert);
176176
* ```
177177
*
178-
* It's important to note that the the handler returns `false`. A feature of
178+
* It's important to note that the handler returns `false`. A feature of
179179
* button handlers is that they automatically dismiss the alert when their button
180180
* was clicked, however, we'll need more control regarding the transition. Because
181181
* the handler returns `false`, then the alert does not automatically dismiss

ionic/components/label/label.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import {Directive, ElementRef, Renderer, Input, Optional, Attribute} from 'angul
77
* Labels are placed inside of an `ion-item` element and can be used
88
* to describe an `ion-input`, `ion-toggle`, `ion-checkbox`, and more.
99
*
10-
* @property [fixed] - a persistant label that sits next the the input
11-
* @property [floating] - a label that will float about the input if the input is empty of looses focus
12-
* @property [stacked] - A stacked label will always appear on top of the input
10+
* @property [fixed] - A persistant label that sits next the input.
11+
* @property [floating] - A label that will float about the input if the input is empty of looses focus.
12+
* @property [stacked] - A stacked label will always appear on top of the input.
1313
1414
*
1515
* @usage

ionic/components/nav/nav-controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1399,7 +1399,7 @@ export class NavController extends Ion {
13991399
}
14001400
this._views.length = 0;
14011401

1402-
if (this.parent) {
1402+
if (this.parent && this.parent.unregisterChildNav) {
14031403
this.parent.unregisterChildNav(this);
14041404
}
14051405
}

ionic/platform/platform.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,7 @@ export class Platform {
152152
* }
153153
* ```
154154
*
155-
* @param {string} [platformName] optional platformName
156-
* @returns {object} An object with various platform info
157-
*
155+
* @returns {object} An object containing all of the platforms and their versions.
158156
*/
159157
versions(): {[name: string]: PlatformVersion} {
160158
// get all the platforms that have a valid parsed version

0 commit comments

Comments
 (0)