FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: a tslint error · NativeScript/NativeScript@3e7c24a · GitHub

Commit 3e7c24a

Browse files
committed
fix: a tslint error
1 parent e547866 commit 3e7c24a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎tns-core-modules/application/application-common.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export function addCss(cssText: string): void {
125125
}
126126

127127
on(orientationChangedEvent, (args: OrientationChangedEventData) => {
128-
if (device.orientation != args.newValue) {
128+
if (device.orientation !== args.newValue) {
129129
device.orientation = args.newValue;
130130
}
131131
});

‎tns-core-modules/application/application.ios.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ class IOSApplication implements IOSApplicationDefinition {
239239
// device orientation (UIDeviceOrientation) and
240240
// interface orientation (UIInterfaceOrientation).
241241

242-
// This methods handles the scenarios when:
242+
// This method handles the scenarios when:
243243
// - the device rotates from Portrait through Landscape to PortraitUpsideDown
244244
// - the application launches on device PortraitUpsideDown orientation
245245

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL