[wp-trac] [WordPress Trac] #16494: Remove "no conflict" mode from bundled jquery
WordPress Trac
wp-trac at lists.automattic.com
Fri Jul 29 20:28:32 UTC 2011
#16494: Remove "no conflict" mode from bundled jquery
--------------------------------+------------------------------
Reporter: lloydbudd | Owner:
Type: enhancement | Status: new
Priority: low | Milestone: Awaiting Review
Component: External Libraries | Version: 3.1
Severity: minor | Resolution:
Keywords: close |
--------------------------------+------------------------------
Comment (by azaozz):
There is another possibility too:
{{{
<script type="text/javascript" src="...jquery.js>
jQuery.noConflict();
</script>
}}}
This would run the noConflict bit after jQuery is loaded in (I think) all
currently supported browsers.
The problem with adding another file (apart from loading a whole file just
for one word) is that we will have to guarantee it is right after jQuery
when queued and concatenated.
The problem with using an action to output inline JS is that it won't be
captured in the concatenated file at the right place (will be printed
later).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16494#comment:32>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list