Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

[12:50:43 CDT(-0500)] <EricDalquist> so uPortal and all portlet's use jQuery in noconflict mode

[12:50:59 CDT(-0500)] <EricDalquist> https://wiki.jasig.org/display/PLT/JavaScript+Best+Practices

[12:51:08 CDT(-0500)] <EricDalquist> uPortal's jQuery instance lives at "up.jQuery"

[12:51:38 CDT(-0500)] <EricDalquist> what you should do is wrap javascript that needs a reference to jQuery with:

[12:51:42 CDT(-0500)] <EricDalquist> (function($) {

[12:51:46 CDT(-0500)] <EricDalquist> JSHERE

[12:51:54 CDT(-0500)] <EricDalquist> })(up.jQuery);