Permalink
Browse files

Added return types to common widget methods.

  • Loading branch information...
1 parent fb0d504 commit e1d02d88b8e851712b0a131df5ec43404b3040e8 @scottgonzalez scottgonzalez committed Aug 24, 2012
Showing with 3 additions and 3 deletions.
  1. +2 −2 includes/widget-method-option.xml
  2. +1 −1 includes/widget-method-widget.xml
@@ -3,13 +3,13 @@
<desc>
Sets one or more options for the <placeholder name="name"/>.
</desc>
- <signature>
+ <signature return="Object">
<desc>Gets the value currently associated with the specified <code>optionName</code>.</desc>
<argument name="optionName" type="String">
<desc>The name of the option to get.</desc>
</argument>
</signature>
- <signature>
+ <signature return="PlainObject">
<desc>Gets an object containing key/value pairs representing the current <placeholder name="title"/> options hash.</desc>
</signature>
<signature>
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<method name="widget">
+<method name="widget" return="jQuery">
<desc>
Returns a <code>jQuery</code> object containing the element.
</desc>

0 comments on commit e1d02d8

Please sign in to comment.