Skip to content

Commit b53640f

Browse files
committed
Just return nothing for unknown events
1 parent 00c45e4 commit b53640f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/TextForEvent.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ var handlers = {
6161
module.exports = {
6262
textForEvent(ev) {
6363
var hdlr = handlers[ev.getType()];
64-
if (!hdlr) return "Unknown entry event";
64+
if (!hdlr) return "";
6565
return hdlr(ev);
6666
}
6767
}

0 commit comments

Comments
 (0)