Skip to content
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

Use jQuery Widget Factory #17

Closed
martindsouza opened this issue Mar 15, 2016 · 2 comments

Comments

@martindsouza
Copy link
Contributor

commented Mar 15, 2016

Instead of having functions and global variables that are unique to each instance of this plugin it may be better to have one JS package of code to handle everything. Thankfully there's a great framework to do this call the jQuery Widget Factory It's what all the jQuery UI widgets are built on.

If you've never used it before it can be a bit intimidating. This site should help get you started.

@jeffreykemp

This comment has been minimized.

Copy link
Owner

commented Mar 15, 2016

I do intend to look into using the widget factory, looks doable. In the meantime I've reduced the footprint a great deal by refactoring almost all the javascript out to a single js file loaded once per page.

@jeffreykemp jeffreykemp self-assigned this Mar 15, 2016

@jeffreykemp

This comment has been minimized.

Copy link
Owner

commented Jul 17, 2019

This has been done in v1.0. The plugin now supports a range of API calls as well.

@jeffreykemp jeffreykemp added this to the 1.0 milestone Jul 17, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.