Skip to content

Commit 1fbdab1

Browse files
author
Gabriel Schulhof
committed
jqmRemoveData: Update signature to include argument
Fixes gh-329 Closes gh-330
1 parent c8f37cc commit 1fbdab1

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

entries/jqmRemoveData.xml

+5-9
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,14 @@
11
<?xml version="1.0"?>
22
<entry type="method" name="jqmRemoveData" return="Object">
3-
<title>jqmRemoveData()</title>
3+
<title>.jqmRemoveData()</title>
44
<desc>Remove a previously-stored piece of data.</desc>
55
<signature>
6+
<argument name="prop" type="String">
7+
<desc>A string naming the piece of data to delete.</desc>
8+
</argument>
69
</signature>
710
<longdesc>
8-
<p>When working with jQuery Mobile, jqmRemoveData should be used in place of jQuery core's <code>removeData</code> method (note that this includes <code>$.fn.data</code>, <code>$.fn.removeData</code>, and the <code>$.data</code>, <code>$.removeData</code>, and <code>$.hasData</code> utilities), as they automatically incorporate getting and setting of namespaced data attributes (even if no namespace is currently in use).
9-
</p>
10-
<dd>
11-
<dl>
12-
<dt>Arguments:</dt>
13-
<dd>See <a href="//api.jquery.com/jQuery.removeData/">jQuery's removeData</a> method</dd>
14-
</dl>
15-
</dd>
11+
<p>When working with jQuery Mobile, jqmRemoveData should be used in place of jQuery core's <code>removeData</code> method (note that this includes <code>$.fn.data</code>, <code>$.fn.removeData</code>, and the <code>$.data</code>, <code>$.removeData</code>, and <code>$.hasData</code> utilities), as they automatically incorporate getting and setting of namespaced data attributes (even if no namespace is currently in use).</p>
1612
</longdesc>
1713
<category slug="methods"/>
1814
</entry>

0 commit comments

Comments
 (0)