Forgot to rename KeyActionType to keyActionType which I done now.

This commit is contained in:
László Monda
2016-04-08 23:41:47 +02:00
parent 7d17cba390
commit a3b83dfb36
9 changed files with 25 additions and 25 deletions

View File

@@ -21,7 +21,7 @@ class DualRoleKeystrokeAction extends KeyAction {
private longPressAction: LongPressAction;
_fromJsObject(jsObject: any): DualRoleKeystrokeAction {
this.assertKeyActionType(jsObject, KeyActionType.DualRoleKeystrokeAction, 'DualRoleKeystrokeAction');
this.assertKeyActionType(jsObject, keyActionType.DualRoleKeystrokeAction, 'DualRoleKeystrokeAction');
this.scancode = jsObject.scancode;
this.longPressAction = LongPressAction[<string> jsObject.longPressAction];
return this;
@@ -36,7 +36,7 @@ class DualRoleKeystrokeAction extends KeyAction {
_toJsObject(): any {
return {
keyActionType: KeyActionType.DualRoleKeystrokeAction,
keyActionType: keyActionType.DualRoleKeystrokeAction,
scancode: this.scancode,
longPressAction: LongPressAction[this.longPressAction]
};