I think this is just a "Best Practices" question, but I was wondering if it is ok to make a jQuery extension that does not depend solely on jQuery, but also on another jQuery extension.
Thanks for your answers! =D
I think this is just a "Best Practices" question, but I was wondering if it is ok to make a jQuery extension that does not depend solely on jQuery, but also on another jQuery extension.
Thanks for your answers! =D
yes, of course. you should of couse point the user to the dependencies :-)
As long as you make it very clear to the user that this is a requirement, I don't see any major issue with this. The same is required with jQuery UI often.
Also, make getting your required extension as easy as possible.
Yes, many jquery plugins do this.
The main thing is that in the documentation you tell the user that they exist and that you follow the existing conventions regarding where you place the files.
This post may help as well: