Skip to content

Commit 3b93f05

Browse files
committed
API Doc: Added spaces to all code in vmouse events
1 parent 0c4d073 commit 3b93f05

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed

entries/vclick.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
<p style="font-style:italic;">The idea behind virtualized mouse events is to translate touch events into mouse events to compensate for the missing mouse event triggers. Developers should be aware that these virtualized mouse events will not prevent any synthetic mouse events from being triggered inside the browser after a touch event. If a mouse-type device is used on the system, the virtualized mouse events are dispatched at the same time as the normal mouse events.</p>
99
<xi:include href="../includes/core-extension-desc.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
1010
<pre><code><![CDATA[
11-
$(document).on("vclick", "p", function(){
12-
$(this).append('<span style="color:#00F;">vmouseup fired.</span>');
11+
$( document ).on( "vclick" , "p" , function(){
12+
$( this ).append( '<span style="color:#00F;">vmouseup fired.</span>' );
1313
});
1414
]]></code></pre>
1515
<p>

entries/vmouseover.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
<p style="font-style:italic;">The idea behind virtualized mouse events is to translate touch events into mouse events to compensate for the missing mouse event triggers. Developers should be aware that these virtualized mouse events will not prevent any synthetic mouse events from being triggered inside the browser after a touch event. If a mouse-type device is used on the system, the virtualized mouse events are dispatched at the same time as the normal mouse events.</p>
99
<xi:include href="../includes/core-extension-desc.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
1010
<pre><code><![CDATA[
11-
$(document).on("vmouseover", "p", function(){
12-
$(this).append('<span style="color:#00F;">vmouseover fired.</span>');
11+
$( document ).on( "vmouseover" , "p" , function(){
12+
$( this ).append( '<span style="color:#00F;">vmouseover fired.</span>' );
1313
});
1414
]]></code></pre>
1515
<p>

entries/vmouseup.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
<p style="font-style:italic;">The idea behind virtualized mouse events is to translate touch events into mouse events to compensate for the missing mouse event triggers. Developers should be aware that these virtualized mouse events will not prevent any synthetic mouse events from being triggered inside the browser after a touch event. If a mouse-type device is used on the system, the virtualized mouse events are dispatched at the same time as the normal mouse events.</p>
99
<xi:include href="../includes/core-extension-desc.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
1010
<pre><code><![CDATA[
11-
$(document).on("vmouseup", "p", function(){
12-
$(this).append('<span style="color:#00F;">vmouseup fired.</span>');
11+
$( document ).on( "vmouseup" , "p" , function(){
12+
$( this ).append( '<span style="color:#00F;">vmouseup fired.</span>' );
1313
});
1414
]]></code></pre>
1515
<p>

resources/vclick/example1.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
<body>
1212
<p>Touch here to see what happens.</p>
1313
<script>
14-
$(function(){
15-
$(document).on("vclick", "p", function(){
16-
$(this).append('<span style="color:#00F;">vclick fired.</span>');
14+
$( function(){
15+
$( document ).on( "vclick" , "p" , function(){
16+
$( this ).append( '<span style="color:#00F;">vclick fired.</span>' );
1717
});
1818
});
1919
</script>

resources/vmouseover/example1.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
<body>
1212
<p>Touch here to see what happens.</p>
1313
<script>
14-
$(function(){
15-
$(document).on("vmouseover", "p", function(){
16-
$(this).append('<span style="color:#00F;">vmouseover fired.</span>');
14+
$( function(){
15+
$( document ).on( "vmouseover" , "p" , function(){
16+
$( this ).append( '<span style="color:#00F;">vmouseover fired.</span>' );
1717
});
1818
});
1919
</script>

resources/vmouseup/example1.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
<body>
1212
<p>Touch here to see what happens.</p>
1313
<script>
14-
$(function(){
15-
$(document).on("vmouseup", "p", function(){
16-
$(this).append('<span style="color:#00F;">vmouseup fired.</span>');
14+
$( function(){
15+
$( document ).on( "vmouseup" , "p" , function(){
16+
$( this ).append( '<span style="color:#00F;">vmouseup fired.</span>' ;
1717
});
1818
});
1919
</script>

0 commit comments

Comments
 (0)