Some typos fixed

This commit is contained in:
vakrilov
2015-08-03 17:13:56 +03:00
parent 117be96d5c
commit fe84ff0097
3 changed files with 5 additions and 5 deletions

View File

@ -68,7 +68,7 @@ class IOSApplication implements definition.iOSApplication {
this.addNotificationObserver(UIApplicationDidEnterBackgroundNotification, this.didEnterBackground);
this.addNotificationObserver(UIApplicationWillTerminateNotification, this.willTerminate);
this.addNotificationObserver(UIApplicationDidReceiveMemoryWarningNotification, this.didReceiveMemoryWarning);
this.addNotificationObserver(UIDeviceOrientationDidChangeNotification, this.oreintationDidChange);
this.addNotificationObserver(UIDeviceOrientationDidChangeNotification, this.orientationDidChange);
}
get nativeApp(): UIApplication {
@ -162,7 +162,7 @@ class IOSApplication implements definition.iOSApplication {
exports.notify({ eventName: definition.lowMemoryEvent, object: this, android: undefined, ios: UIApplication.sharedApplication() });
}
private oreintationDidChange(notification: NSNotification) {
private orientationDidChange(notification: NSNotification) {
var orientation = UIDevice.currentDevice().orientation;
if (this._currentOrientation !== orientation) {