Skip to content

Commit f6f7ce4

Browse files
committed
Make gridstack work with jquery-ui with new exports
1 parent 20fa324 commit f6f7ce4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/gridstack.jQueryUI.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
} else if (typeof exports !== 'undefined') {
1717
try { jQuery = require('jquery'); } catch (e) {}
1818
try { _ = require('lodash'); } catch (e) {}
19-
try { GridStackUI = require('gridstack'); } catch (e) {}
20-
factory(jQuery, _, GridStackUI, exports);
19+
try { gridstack = require('gridstack'); } catch (e) {}
20+
factory(jQuery, _, gridstack.GridStackUI, exports);
2121
} else {
2222
factory(jQuery, _, GridStackUI, window);
2323
}

0 commit comments

Comments
 (0)