Swap to var.

This commit is contained in:
Richard Davey 2017-01-08 22:23:13 +00:00
parent 3eb78fdfea
commit 5074aa7e67

View file

@ -1,8 +1,8 @@
function AddEventListener (target, event, listener, useCapture)
var AddEventListener = function (target, event, listener, useCapture)
{
if (useCapture === undefined) { useCapture = false; }
target.addEventListener(event, listener, useCapture);
}
};
module.exports = AddEventListener;