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 @@
Sets one or more options for the <placeholder name="name"/>.
- <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>
- <signature>
+ <signature return="PlainObject">
<desc>Gets an object containing key/value pairs representing the current <placeholder name="title"/> options hash.</desc>
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<method name="widget">
+<method name="widget" return="jQuery">
Returns a <code>jQuery</code> object containing the element.

0 comments on commit e1d02d8

Please sign in to comment.