Skip to content

1.12 Upgrade Guide: Document widget mixins #135

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
wants to merge 2 commits into from

Conversation

scottgonzalez
Copy link
Member

No description provided.


New:
```js
$.widget( "demo.widget", [ someMixin, someOtherMixin ], {
Copy link
Member

Choose a reason for hiding this comment

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

This is wrong, the prototype must be inside the array.

@jzaefferer
Copy link
Member

This is missing equivalent documentation on a api.jqueruiy.com

@scottgonzalez
Copy link
Member Author

Fixed the example. I also updated the old example to use a form that actually does the exact same thing as the new form.

@scottgonzalez scottgonzalez deleted the upgrade-mixins branch November 10, 2015 00:52
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.

3 participants