diff --git a/src/TextForEvent.js b/src/TextForEvent.js index b3931485d8..a987e388c6 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);