mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 15:12:18 +00:00
Swap to var.
This commit is contained in:
parent
3eb78fdfea
commit
5074aa7e67
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue