jquery-mobile/experiments/api-viewer/docs/jQuery.noop/index.html
scottjehl f9f236fb8b Big update:
In starting markup, pages should now be identified with the attribute data-role="page".  This allows us to then add ui-page programatically, hiding all non-active pages, and apply ui-page-active to one page at a time to show it.

mobile.js is updated to find pages by this attribute now, instead of ui-page class.

fixes issue 32
2010-09-18 12:20:35 -04:00

25 lines
No EOL
1.1 KiB
HTML

<!DOCTYPE html>
<html lang='en'><head><meta http-equiv='content-type' content='text/html; charset=UTF-8' /></head><body>
<div data-role="page">
<div class="ui-header">
<h1>jQuery.noop()</h1>
</div>
<div class="ui-content ui-body ui-body-c" id="jQuery.noop1">
<h2 class="jq-clearfix roundTop section-title">
<span class="name">jQuery.noop()</span> <span class="returns">Returns: <a class="return" href="http://docs.jquery.com/Types#Function">Function</a></span>
</h2>
<div class=" entry-details">
<p class="desc"><strong>Description: </strong>An empty function.</p>
<ul class="signatures"><li class="signature" id="jQuery.noop"><h4 class="name">
<span class="versionAdded">version added: <a href="/category/version/1.4/">1.4</a></span>jQuery.noop()</h4></li></ul>
<div class="longdesc">
<p>You can use this empty function when you wish to pass around a function that will do nothing.</p>
<p>This is useful for plugin authors who offer optional callbacks; in the case that no callback is given, something like <code>jQuery.noop</code> could execute.</p>
</div>
</div>
</div>
</div>
</body></html>