Include AMD references to jQuery-ui to load properly.
This commit is contained in:
parent
2e0dbc1e6a
commit
203cc88ab8
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
(function (factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
define(['jquery', 'lodash'], factory);
|
||||
define(['jquery', 'lodash', 'jquery-ui/core', 'jquery-ui/widget', 'jquery-ui/mouse', 'jquery-ui/draggable', 'jquery-ui/resizable'], factory);
|
||||
}
|
||||
else {
|
||||
factory(jQuery, _);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue