Skip to content

Commit f1719ea

Browse files
committed
jQuery.widget: Don't use map to refer to objects
Closes gh-252
1 parent 4c90f52 commit f1719ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

entries/jQuery.widget.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ _setOptions: function( options ) {
296296
]]></code>
297297
</example>
298298
<argument name="options" type="Object">
299-
<desc>A map of option-value pairs to set.</desc>
299+
<desc>An object containing options to set, with the name of the option as the key and the option value as the value.</desc>
300300
</argument>
301301
</method>
302302
<method name="_setOption">
@@ -341,7 +341,7 @@ _setOption: function( key, value ) {
341341
</argument>
342342
<argument name="handlers" type="Object">
343343
<desc>
344-
A map in which the string keys represent the event type and optional selector for delegation, and the values represent a handler function to be called for the event.
344+
An object in which the keys represent the event type and optional selector for delegation, and the values represent a handler function to be called for the event.
345345
</desc>
346346
</argument>
347347
<example>

0 commit comments

Comments
 (0)