👕 Fix lint issue

This commit is contained in:
Jan Oberhauser
2019-07-25 19:15:41 +02:00
parent 6a1857af16
commit 0ace7ca423
3 changed files with 5 additions and 5 deletions

View File

@@ -26,7 +26,7 @@ export const nodeBase = mixins(nodeIndex).extend({
}
return false;
},
isMacOs(): boolean {
isMacOs (): boolean {
return /(ipad|iphone|ipod|mac)/i.test(navigator.platform);
},
isReadOnly (): boolean {
@@ -280,7 +280,7 @@ export const nodeBase = mixins(nodeIndex).extend({
});
},
isCtrlKeyPressed(e: MouseEvent | KeyboardEvent): boolean {
isCtrlKeyPressed (e: MouseEvent | KeyboardEvent): boolean {
if (this.isMacOs) {
return e.metaKey;
}