From b2e4d8ffd8fbf19d907f24c9a3349514cf38fa62 Mon Sep 17 00:00:00 2001 From: Ziad El Khoury Hanna Date: Thu, 18 Jan 2018 14:25:35 +0100 Subject: [PATCH] Fix typos in the event names. 'mousenter' -> 'mouseenter' (ref)[https://developer.mozilla.org/en-US/docs/Web/Events/mouseenter] 'loadedmetadat' -> 'loadedmetadata' (ref)[https://developer.mozilla.org/en-US/docs/Web/Events/loadedmetadata] --- lib/event-listener-props.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/event-listener-props.js b/lib/event-listener-props.js index 6774c8c..e1262d4 100644 --- a/lib/event-listener-props.js +++ b/lib/event-listener-props.js @@ -25,7 +25,7 @@ module.exports = { onDragStart: 'dragstart', onDrop: 'drop', onMouseDown: 'mousedown', - onMouseEnter: 'mousenter', + onMouseEnter: 'mouseenter', onMouseLeave: 'mouseleave', onMouseMove: 'mousemove', onMouseOut: 'mouseout', @@ -47,7 +47,7 @@ module.exports = { onEnded: 'ended', onError: 'error', onLoadedData: 'loadeddata', - onLoadedMetadata: 'loadedmetadat', + onLoadedMetadata: 'loadedmetadata', onLoadStart: 'loadstart', onPause: 'pause', onPlay: 'play',