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
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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:
Guidelines for using jQuery plugins and their dependencies