From 203cc88ab8dff124b54d4f41d884b05645333001 Mon Sep 17 00:00:00 2001 From: d Date: Sat, 30 May 2015 16:05:24 -0400 Subject: [PATCH] Include AMD references to jQuery-ui to load properly. --- src/gridstack.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gridstack.js b/src/gridstack.js index 4587c484e..47a6d5a8a 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, _);