argh javascript

This commit is contained in:
David Baker 2015-07-17 14:42:36 +01:00
parent 383a958abe
commit 1df8e65cdf
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ var handlers = {
};
module.exports = {
textForEvent(ev) {
textForEvent: function(ev) {
var hdlr = handlers[ev.getType()];
if (!hdlr) return "";
return hdlr(ev);