From 5074aa7e6742168f8619d466758e1dafdb443854 Mon Sep 17 00:00:00 2001 From: Richard Davey Date: Sun, 8 Jan 2017 22:23:13 +0000 Subject: [PATCH] Swap to var. --- v3/src/dom/AddEventListener.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v3/src/dom/AddEventListener.js b/v3/src/dom/AddEventListener.js index f1a19b43f..cfb1c8b9e 100644 --- a/v3/src/dom/AddEventListener.js +++ b/v3/src/dom/AddEventListener.js @@ -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;