[wp-trac] [WordPress Trac] #36774: Wrong JQuery UI AMD support
WordPress Trac
noreply at wordpress.org
Fri May 6 09:08:36 UTC 2016
#36774: Wrong JQuery UI AMD support
----------------------------+------------------------------
Reporter: Andrei Kazakou | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.5.1
Severity: normal | Resolution:
Keywords: | Focuses:
----------------------------+------------------------------
Changes (by swissspidy):
* type: defect (bug) => enhancement
Comment:
Hey there, welcome to trac and thanks for creating a ticket!
These minified JavaScript files are generated during build from the source
files, which already include these lines
(`define(["jquery","./core","./widget"]…)`). The source files are the ones
you could download on the jQuery UI website. We usually try to avoid
editing third-party files.
`jquery-ui-widget` is only the name of the handle needed for
`wp_enqueue_script()`. How would this affect RequireJS? Would you mind
sharing some example code to highlight the problem?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36774#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list