Skip to content

Commit 2fa5251

Browse files
committed
jQuery.Widget: Fixed return values.
1 parent 2d95d65 commit 2fa5251

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

entries/jQuery.widget.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,12 @@
113113
The public <a href="#method-destroy"><code>destroy()</code></a> method cleans up all common data, events, etc. and then delegates out to <code>_destroy()</code> for custom, widget-specific, cleanup.
114114
</desc>
115115
</method>
116-
<method name="_getCreateEventData" returns="Object">
116+
<method name="_getCreateEventData" return="Object">
117117
<desc>
118118
All widgets trigger the <a href="#event-create"><code>create</code></a> event. By default, no data is provided in the event, but this method can return an object which will be passed as the <code>create</code> event's data.
119119
</desc>
120120
</method>
121-
<method name="_getCreateOptions" returns="Object">
121+
<method name="_getCreateOptions" return="Object">
122122
<desc>
123123
This method allows the widget to define a custom method for defining options during instantiation. This user-provided options override the options returned by this method which override the default options.
124124
</desc>

0 commit comments

Comments
 (0)