Fix linting errors
This commit is contained in:
parent
6f4b490b37
commit
6ad0426a7d
|
@ -170,12 +170,12 @@ class DOMNavigator {
|
||||||
this.elements = {};
|
this.elements = {};
|
||||||
// Create hotkeys map.
|
// Create hotkeys map.
|
||||||
this.keys = {};
|
this.keys = {};
|
||||||
this.options.down.forEach(key => this.keys[key] = DOMNavigator.DIRECTION.down);
|
this.options.down.forEach(key => (this.keys[key] = DOMNavigator.DIRECTION.down));
|
||||||
this.options.end.forEach(key => this.keys[key] = DOMNavigator.DIRECTION.end);
|
this.options.end.forEach(key => (this.keys[key] = DOMNavigator.DIRECTION.end));
|
||||||
this.options.home.forEach(key => this.keys[key] = DOMNavigator.DIRECTION.home);
|
this.options.home.forEach(key => (this.keys[key] = DOMNavigator.DIRECTION.home));
|
||||||
this.options.left.forEach(key => this.keys[key] = DOMNavigator.DIRECTION.left);
|
this.options.left.forEach(key => (this.keys[key] = DOMNavigator.DIRECTION.left));
|
||||||
this.options.right.forEach(key => this.keys[key] = DOMNavigator.DIRECTION.right);
|
this.options.right.forEach(key => (this.keys[key] = DOMNavigator.DIRECTION.right));
|
||||||
this.options.up.forEach(key => this.keys[key] = DOMNavigator.DIRECTION.up);
|
this.options.up.forEach(key => (this.keys[key] = DOMNavigator.DIRECTION.up));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue
Block a user