Skip to content

Clarify that many of the widget methods return undefined through instanc... #431

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

tjvantoll
Copy link
Member

...e invocation.

@@ -44,11 +44,20 @@ $( ".selector" ).dialog( "instance" ).close();

### Return Types

Most methods invoked through the widget's plugin will return a `jQuery` object so the method call can be chained with additional jQuery methods.
Most methods invoked through the widget's plugin will return a `jQuery` object so the method call can be chained with additional jQuery methods. This is even true even of methods that return `undefined` when invoked on the instance. This is shown in the example below.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"even true even"

@scottgonzalez
Copy link
Member

Other than the one typo, this looks great. Thanks.

@tjvantoll
Copy link
Member Author

Landed in 8cc59c2.

@tjvantoll tjvantoll closed this Sep 23, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants