| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -125,7 +125,7 @@ export function addCss(cssText: string): void { | |||
| 125 | 125 | } | |
| 126 | 126 | ||
| 127 | 127 | on(orientationChangedEvent, (args: OrientationChangedEventData) => { | |
| 128 | - if (device.orientation != args.newValue) { | ||
| 128 | + if (device.orientation !== args.newValue) { | ||
| 129 | 129 | device.orientation = args.newValue; | |
| 130 | 130 | } | |
| 131 | 131 | }); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -239,7 +239,7 @@ class IOSApplication implements IOSApplicationDefinition { | |||
| 239 | 239 | // device orientation (UIDeviceOrientation) and | |
| 240 | 240 | // interface orientation (UIInterfaceOrientation). | |
| 241 | 241 | ||
| 242 | - // This methods handles the scenarios when: | ||
| 242 | + // This method handles the scenarios when: | ||
| 243 | 243 | // - the device rotates from Portrait through Landscape to PortraitUpsideDown | |
| 244 | 244 | // - the application launches on device PortraitUpsideDown orientation | |
| 245 | 245 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments