Opened 11 years ago
Closed 11 years ago
#7760 closed bug (notabug)
$ converts prototype in Firefox
Reported by: | angelfcm | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.core | Version: | 1.8.16 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hi!,
Well, when using setTimeout or setInterval the JQuery is not in variable "$". Below I put a simple example:
setTimeout(function(){console.log($)},100) /* Output: >[] (function JSTH_$(aId) {try {return aJSTerm._window.document.getElementById(aId);} catch (ex) {aJSTerm.console.error(ex.message);}}) */
Note: See
TracTickets for help on using
tickets.
This is Firebug behavior, we can't control it. Firebug defines its own $ and seems to be reverting to it in the timeout.