https://bugzilla.wikimedia.org/show_bug.cgi?id=30825
--- Comment #8 from Neil Kandalgaonkar <[email protected]> 2011-09-09 18:38:30 UTC --- Okay, the Word of God (aka John Resig) on this jQuery behaviour: > When a script node is inserted into the document it is also executed (by > jQuery). To avoid re-executing it later (this happens a lot, as it turns > out) the script is simply removed from the document. -- http://markmail.org/message/gy3tzbnqaxdcnqus So, I think we can safely do what we like to work around this behaviour. It is not a workaround for some other strange browser bug; it's an optimization because developers tend to re-add the same script tags over and over. We have ResourceLoader to make sure that never happens. That said, the scripts in question are being added to the page with the legacy importScript(). -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
