diff --git a/src/TextForEvent.js b/src/TextForEvent.js index b3931485..a987e388 100644 --- a/src/TextForEvent.js +++ b/src/TextForEvent.js @@ -59,7 +59,7 @@ var handlers = { }; module.exports = { - textForEvent(ev) { + textForEvent: function(ev) { var hdlr = handlers[ev.getType()]; if (!hdlr) return ""; return hdlr(ev);