Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 203cc88

Browse files
author
d
committed
Include AMD references to jQuery-ui to load properly.
1 parent 2e0dbc1 commit 203cc88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gridstack.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
(function (factory) {
77
if (typeof define === 'function' && define.amd) {
8-
define(['jquery', 'lodash'], factory);
8+
define(['jquery', 'lodash', 'jquery-ui/core', 'jquery-ui/widget', 'jquery-ui/mouse', 'jquery-ui/draggable', 'jquery-ui/resizable'], factory);
99
}
1010
else {
1111
factory(jQuery, _);

0 commit comments

Comments
 (0)