@lightningjs/blits
Advanced tools
Comparing version 1.14.0 to 1.14.1
# Changelog | ||
## v1.14.1 | ||
_8 jan 2025_ | ||
- Fixed `undefined`-error with intercept method, when no input object is specified on root App component | ||
## v1.14.0 | ||
@@ -4,0 +11,0 @@ |
{ | ||
"name": "@lightningjs/blits", | ||
"version": "1.14.0", | ||
"version": "1.14.1", | ||
"description": "Blits: The Lightning 3 App Development Framework", | ||
@@ -5,0 +5,0 @@ "bin": "bin/index.js", |
@@ -62,3 +62,6 @@ /* | ||
// intercept key press if specified in main Application component | ||
if (this[symbols.inputEvents].intercept !== undefined) { | ||
if ( | ||
this[symbols.inputEvents] !== undefined && | ||
this[symbols.inputEvents].intercept !== undefined | ||
) { | ||
e = await this[symbols.inputEvents].intercept.call(this, e) | ||
@@ -65,0 +68,0 @@ // only pass on the key press to focused component when keyboard event is returned |
642838
13263
535
95
6
9
59