Skip to content

Commit 8b74014

Browse files
committed
Entries: Mark deprecated options
Fixes gh-261
1 parent da33579 commit 8b74014

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

entries/dialog.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
<desc>Specifies the text for the close button. Note that the close text is visibly hidden when using a standard theme.</desc>
142142
<type name="String" />
143143
</option>
144-
<option name="dialogClass" default='""' example-value='"alert"'>
144+
<option name="dialogClass" default='""' example-value='"alert"' deprecated="1.12">
145145
<desc>The specified class name(s) will be added to the dialog, for additional theming.</desc>
146146
<type name="String" />
147147
</option>

entries/droppable.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<desc>A function that will be called for each draggable on the page (passed as the first argument to the function). The function must return <code>true</code> if the draggable should be accepted.</desc>
3030
</type>
3131
</option>
32-
<option name="activeClass" type="String" default="false" example-value='"ui-state-highlight"'>
32+
<option name="activeClass" type="String" default="false" example-value='"ui-state-highlight"' deprecated="1.12">
3333
<desc>If specified, the class will be added to the droppable while an acceptable draggable is being dragged.</desc>
3434
</option>
3535
<option name="addClasses" type="Boolean" default="true" example-value="false">
@@ -43,7 +43,7 @@
4343
<option name="greedy" type="Boolean" default="false" example-value="true">
4444
<desc>By default, when an element is dropped on nested droppables, each droppable will receive the element. However, by setting this option to <code>true</code>, any parent droppables will not receive the element. The <code>drop</code> event will still bubble normally, but the <code>event.target</code> can be checked to see which droppable received the draggable element.</desc>
4545
</option>
46-
<option name="hoverClass" type="String" default="false" example-value='"drop-hover"'>
46+
<option name="hoverClass" type="String" default="false" example-value='"drop-hover"' deprecated="1.12">
4747
<desc>If specified, the class will be added to the droppable while an acceptable draggable is being hovered over the droppable.</desc>
4848
</option>
4949
<option name="scope" type="String" default='"default"' example-value='"tasks"'>

entries/tooltip.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
<type name="Object" />
8484
</option>
8585
<xi:include href="../includes/widget-option-show.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
86-
<option name="tooltipClass" default="null" example-value='"custom-tooltip-styling"'>
86+
<option name="tooltipClass" default="null" example-value='"custom-tooltip-styling"' deprecated="1.12">
8787
<desc>
8888
A class to add to the widget, can be used to display various tooltip types, like warnings or errors.
8989
<p>This may get replaced by the <a href="http://bugs.jqueryui.com/ticket/7053">classes option</a>.</p>

0 commit comments

Comments
 (0)