Skip to content

Commit 2ff9ad6

Browse files
committed
Merge pull request jquery#69 from robertbosse/master
API Doc: Updated hashtag title
2 parents 4fda203 + 4e9e737 commit 2ff9ad6

File tree

7 files changed

+16
-16
lines changed

7 files changed

+16
-16
lines changed

entries/hashchange.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0"?>
22
<?xml-stylesheet type="text/xsl" href="../entries2html.xsl" ?>
33
<entry name="hashchange" type="event" return="jQuery">
4-
<title>.hashchange()</title>
4+
<title>hashchange</title>
55
<desc>Enables bookmarkable #hash history.</desc>
66
<longdesc>
77
<p>The jQuery Mobile <code>.hashchange()</code> event handler enables very basic bookmarkable #hash history by providing a callback function bound to the window.onhashchange event. The onhashchange event fires when a window's hash changes.</p>

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)