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

Commit 86ab894

Browse files
committed
Merge pull request #2522 from bobbravo2/patch-1
fixed typos and added @deprecated note to the $.mobile.addResolutionBreak. Thanks bobbravo2!
2 parents 1477950 + a41c2ce commit 86ab894

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)