Skip to content

Commit b7c7b3b

Browse files
committed
fix
1 parent 5472f95 commit b7c7b3b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/gridstack.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@
88
define(['jquery', 'lodash', 'jquery-ui/core', 'jquery-ui/widget', 'jquery-ui/mouse', 'jquery-ui/draggable',
99
'jquery-ui/resizable'], factory);
1010
}
11-
else if(typeof exports !== 'undefined') {
12-
var _ = require("lodash");
11+
else if (typeof exports !== 'undefined') {
1312
try { jQuery = require('jquery'); } catch(e) {}
14-
factory(jQuery, _);
13+
factory(jQuery, require("lodash"));
1514
}
1615
else {
1716
factory(jQuery, _);

0 commit comments

Comments
 (0)