Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit a41c2ce

Browse files
author
Robert Gregor
committed
fixed typos and added @deprecated note to the $.mobile.addResolutionBreakpoints method
1 parent e81e3b1 commit a41c2ce

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/api/methods.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ <h1>Methods</h1>
216216
<dd>The port specified within the URL. Most URLs rely on the default port for the protocol used, so this may be an empty string most of the time.</dd>
217217
<dt><code>protocol</code></dt>
218218
<dd>The protocol for the URL including the trailing ':' character.</dd>
219-
<dt><code>search<</code>/dt>
219+
<dt><code>search</code></dt>
220220
<dd>The query component of the URL including the leading '?' character.</dd>
221221
</dl>
222222
<p>But it also contains additional properties that provide access to additional components as well as some common forms of the URL developers access:</p>
@@ -481,7 +481,9 @@ <h1>Methods</h1>
481481

482482

483483
<dt><code>$.mobile.addResolutionBreakpoints</code> (<em>method</em>)</dt>
484-
<dd>Add width breakpoints to the min/max width classes that are added to the HTML element.</dd>
484+
<dd>
485+
<p class="ui-bar-e ui-body"><strong>Note: This feature is deprecated in beta, and will be removed after that. We recommend using CSS3 Media Queries instead.</strong></p>
486+
Add width breakpoints to the min/max width classes that are added to the HTML element.</dd>
485487
<dd>
486488
<dl>
487489
<dt><code>&#183;</code> Arguments:</dt>

0 commit comments

Comments
 (0)