From 1df8e65cdfb2339daeadf11951acb8d8006c5131 Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 17 Jul 2015 14:42:36 +0100 Subject: [PATCH] argh javascript --- src/TextForEvent.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);