[wp-trac] [WordPress Trac] #23285: Implement an AMD JavaScript loader in WordPress
WordPress Trac
noreply at wordpress.org
Fri Jan 25 00:37:35 UTC 2013
#23285: Implement an AMD JavaScript loader in WordPress
-------------------------------+------------------------------
Reporter: auniquename | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: reporter-feedback |
-------------------------------+------------------------------
Comment (by scribu):
Since jQuery hardcodes the module name as 'jquery', I don't see how AMD
would help with having two versions loaded separately.
From the ticket you mention:
> With jQuery there is a better way to do this: let the WordPress jQuery
load first, then load your desired version in the footer or right before
it's needed, load jQuery UI or any other plugins you want to use
http://core.trac.wordpress.org/ticket/22896#comment:30
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23285#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list