From 080829b925aba27c3596e2e730fca3ee911d83a6 Mon Sep 17 00:00:00 2001 From: Anne-Gaelle Colom Date: Tue, 24 Mar 2015 16:28:43 +0000 Subject: [PATCH] VMouseDown: Fixed mistakes in entry and include --- entries/vmousedown.xml | 2 +- includes/core-extension-desc.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/entries/vmousedown.xml b/entries/vmousedown.xml index 594b1f34..c9a8bd69 100644 --- a/entries/vmousedown.xml +++ b/entries/vmousedown.xml @@ -3,7 +3,7 @@ vmousedown Virtualized mousedown event handler. -

We provide a set of "virtual" mouse events that attempt to abstract away mouse and touch events. This allows the developer to register listeners for the basic mouse events, such as mousedown, mousemove, mouseup, and click, and the plugin will take care of registering the correct listeners behind the scenes to invoke the listener at the fastest possible time for that device. In touch environments, the plugin retains the order of event firing that is seen in traditional mouse environments, so for example, vmouseup is always dispatched before vmousedown, and vmousedown before vclick, etc. The virtual mouse events also normalize how coordinate information is extracted from the event, so in touch based environments, coordinates are available from the pageX, pageY, screenX, screenY, clientX, and clientY properties, directly on the event object.

+

We provide a set of "virtual" mouse events that attempt to abstract away mouse and touch events. This allows the developer to register listeners for the basic mouse events, such as mousedown, mousemove, mouseup, and click, and the plugin will take care of registering the correct listeners behind the scenes to invoke the listener at the fastest possible time for that device. In touch environments, the plugin retains the order of event firing that is seen in traditional mouse environments, so for example, vmousedown is always dispatched before vmouseup, and vmouseup before vclick, etc. The virtual mouse events also normalize how coordinate information is extracted from the event, so in touch based environments, coordinates are available from the pageX, pageY, screenX, screenY, clientX, and clientY properties, directly on the event object.

The jQuery Mobile vmousedown event handler simulates the "onmousedown" event handler on mobile devices.

diff --git a/includes/core-extension-desc.xml b/includes/core-extension-desc.xml index 7eec109c..8914a91f 100644 --- a/includes/core-extension-desc.xml +++ b/includes/core-extension-desc.xml @@ -1,2 +1,2 @@ -

This plugin extends jQuery's built-in method. If jQuery UI is not loaded, calling the .() method may not fail directly, as the method still exists. However, the expected behavior will not occur.

+

This plugin extends jQuery's built-in method. If jQuery Mobile is not loaded, calling the .() method may not fail directly, as the method still exists. However, the expected behavior will not occur.