fixed docs for the default namespace (blank string)

This commit is contained in:
scottjehl 2011-03-26 08:39:12 -04:00
parent caedd81cfd
commit 9fc1f9828b

View file

@ -69,8 +69,8 @@ $(document).bind("mobileinit", function(){
<p>The following defaults are configurable via the <code>$.mobile</code> object:</p>
<dl>
<dt>ns (<em>string</em>, default: "jq-"):</dt>
<dd>The namespaced used in data- attributes, for example, data-role. Can be set to anything, including a blank string.</dd>
<dt>ns (<em>string</em>, default: ""):</dt>
<dd>The namespaced used in data- attributes, for example, data-role. Can be set to anything, including a blank string which is the default. When using, it's clearest if you include a trailing dash, such as "mynamespace-" which maps to <code>data-mynamespace-foo="..."</code>.</dd>
<dt>subPageUrlKey (<em>string</em>, default: "ui-page"):</dt>
<dd>The url parameter used for referencing widget-generated sub-pages (such as those generated by nested listviews). Translates to to <em>example.html<strong>&ui-page=</strong>subpageIdentifier</em>. The hash segment before &ui-page= is used by the framework for making an Ajax request to the URL where the sub-page exists.</dd>