Skip to content

Commit 0949147

Browse files
author
Gabriel Schulhof
committed
All: Remove deprecated entries
Fixes gh-395 Closes gh-396
1 parent 5ab70a8 commit 0949147

26 files changed

+0
-902
lines changed

entries/button.xml

-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ $( "[type='submit']" ).button();
8181
</desc>
8282
<type name="Boolean" />
8383
</option>
84-
<xi:include href="../includes/widget-option-initSelector.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
8584
<option name="inline" default="null (false)">
8685
<desc>If set to <code>true</code>, this will make the <placeholder name="name"/> act like an inline <placeholder name="name"/> so the width is determined by the <placeholder name="name"/>'s text. By default, this is null (false) so the <placeholder name="name"/> is full width, regardless of the feedback content. Possible values: true, false.
8786
<p>This option is also exposed as a data attribute: <code>data-inline="true"</code>.</p>

entries/buttonMarkup.xml

-290
This file was deleted.

entries/checkboxradio.xml

-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,6 @@
208208
</desc>
209209
<type name="String" />
210210
</option>
211-
<xi:include href="../includes/widget-option-initSelector.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
212211
<xi:include href="../includes/widget-option-mini.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
213212
<option name="wrapperClass" default="null" example-value='"custom-class"'>
214213
<desc>It is difficult to write custom CSS for the wrapper <code>div</code> around the native <code>input</code> element generated by the framework. This option allows you to specify one or more space-separated class names to be added to the wrapper <code>div</code> element by the framework.

entries/collapsible.xml

-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,6 @@
194194
</desc>
195195
<type name="String" />
196196
</option>
197-
<xi:include href="../includes/widget-option-initSelector.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
198197
<option name="inset" default="true" example-value="false">
199198
<desc>By setting this option to false the element will get a full width appearance without corners.
200199
<p>If the value is unset for an individual collapsible container, but that container is part of a collapsible set, then the value is inherited from the parent collapsible set.</p>

entries/collapsibleset.xml

-20
Original file line numberDiff line numberDiff line change
@@ -120,25 +120,6 @@
120120
</desc>
121121
<type name="String" />
122122
</option>
123-
<option name="initSelector" default="null" deprecated="1.4.0">
124-
<desc>
125-
<p>The default <code>initSelector</code> for the <placeholder name="name" /> widget is:</p>
126-
<pre><code>
127-
"<placeholder name="init-selector"/>"
128-
</code></pre>
129-
<p><strong>This option is deprecated in 1.4.0 and will be removed in 1.5.0.</strong></p>
130-
<p><strong>The old value of the <placeholder name="name" /> widget's <code>initSelector</code> option (<code>":jqmData(role='collapsible-set')"</code>) is deprecated.</strong> As of jQuery Mobile 1.5.0, only widgets that have the attribute <code>data-role="collapsibleset"</code> will be enhanced as <placeholder name="name"/> widgets.</p>
131-
<p>As of jQuery Mobile 1.4.0, the <code>initSelector</code> is no longer a widget option. Instead, it is declared directly on the widget prototype. Thus, you may specify a custom value by handling the <code>mobileinit</code> event and overwriting the <code>initSelector</code> on the prototype:</p>
132-
<pre><code>
133-
$( document ).on( "mobileinit", function() {
134-
$.mobile.<placeholder name="name"/>.prototype.initSelector = "div.custom";
135-
});
136-
</code></pre>
137-
<p><strong>Note:</strong> Remember to attach the <code>mobileinit</code> handler after you have loaded jQuery, but before you load jQuery Mobile, because the event is triggered as part of jQuery Mobile's loading process.</p>
138-
<p>The value of this option is a jQuery selector string. The framework selects elements based on the value of this option and instantiates <placeholder name="name" /> widgets on each of the resulting list of elements.</p>
139-
</desc>
140-
<type name="String" />
141-
</option>
142123
<option name="inset" default="true" example-value="false">
143124
<desc>By setting this option to false the collapsibles will get a full width appearance without corners. If the value is false for an individual collapsible container, but that container is part of a <placeholder name="name"/> widget, then the value is inherited from the parent <placeholder name="name"/> widget.
144125
<p>This option is also exposed as a data attribute: <code>data-inset="true"</code>.</p>
@@ -151,7 +132,6 @@
151132
</desc>
152133
<type name="Boolean" />
153134
</option>
154-
<xi:include href="../includes/widget-option-initSelector.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
155135
</options>
156136
<events>
157137
<xi:include href="../includes/widget-event-create.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>

entries/controlgroup.xml

-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
</desc>
4646
<type name="Boolean" />
4747
</option>
48-
<xi:include href="../includes/widget-option-initSelector.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
4948
<xi:include href="../includes/widget-option-mini.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
5049
<option name="shadow" default="false" example-value="true">
5150
<desc>

entries/dialog.xml

-169
This file was deleted.

entries/fieldcontain.xml

-13
This file was deleted.

entries/jQuery.mobile.activePage.xml

-10
This file was deleted.

0 commit comments

Comments
 (0)