diff --git a/src/gridstack.js b/src/gridstack.js index 4afdcfc6b..af58c3e21 100644 --- a/src/gridstack.js +++ b/src/gridstack.js @@ -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, _);