[Jslib] include JSLib in extension
spam at gemal.dk
Fri Jun 18 11:50:00 EDT 2004
My extension Launchy is using JSLib functions. So JSLib needs to be
installed for Launchy to work.
But since Launchy got listed on update.mozilla.org I got some complains
about Launchy doesn't work. This is of cause because people dont have
Now I like to include JSLib inside of Launchy. Can I do that and what's
the smartest way?
I've got it working by including a jslib directory inside my extension's
jar file. The jslib directory contains the files that I use, mainly
So instead of:
I also had to change JS_LIB_PATH in jslib.js from:
To be fair I also changed JS_LIB_VERSION in jslib.js from:
Is this the best way to do it? Help!
Mozilla Blog with news, devinfo, links, etc:
More information about the Jslib