tags:

views:

24

answers:

1
+3  Q: 

.jsm vs .js files

I am creating a javascript module for a firefox extension. I curious if the extension made a difference. In the examples I've seen, it looks like either one it ok and I wanted to make sure.

Thanks

+2  A: 

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.

Victor