I am creating a javascript module for a firefox extension. I’m curious if the extension makes a difference. In the examples I’ve seen, it looks like either one is ok and I wanted to make sure.
Thanks
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.
No difference at all.
I guess it is just convenient to know which files are “modules” at a glance, but anyway there is no such thing as a formal javascript module, it is all convention.