[EHPweb] jQuery and lib.js

Scott Haefner shaefner at usgs.gov
Mon Mar 7 22:17:31 UTC 2011


Hi web devs,

On both ehpdevel and ehpstage:

1. I updated jQuery to 1.5.1. We have been running jQuery 1.5 on ehpdevel for several weeks now.
2. I removed lib.js from the <head> and added its functions to a new file called master.js that's included in the foot section.

If your apps use jQuery and/or functions like hasClass or addEvent from lib.js, you should check to be sure they still work properly. Because the functions from lib.js are now included at the bottom of the page, inline javascripts relying on these functions will break. If you're following "best practices" (and not including javascript inline) these changes will not likely affect you.

We will push these changes to earthquake on Wednesday, Mar 9.

Scott


More information about the EHPweb mailing list