Skip to content

Commit 9c01f02

Browse files
committed
build dist
1 parent 907464c commit 9c01f02

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

dist/gridstack.js

+2-6
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,6 @@
8787
return n != this.node && Utils.isIntercepted(n, this.nn);
8888
},
8989

90-
_didCollideFloat: function(bn) {
91-
return this.n != bn &&
92-
Utils.isIntercepted({x: this.n.x, y: this.newY, width: this.n.width, height: this.n.height}, bn);
93-
},
94-
9590
_didCollide: function(bn) {
9691
return Utils.isIntercepted({x: this.n.x, y: this.newY, width: this.n.width, height: this.n.height}, bn);
9792
},
@@ -108,7 +103,7 @@
108103
if (!match) {
109104
throw new Error('Invalid height');
110105
}
111-
heightUnit = match[2];
106+
heightUnit = match[2] || 'px';
112107
height = parseFloat(match[1]);
113108
}
114109
return {height: height, unit: heightUnit};
@@ -1450,6 +1445,7 @@
14501445
scope.GridStackUI = GridStack;
14511446

14521447
scope.GridStackUI.Utils = Utils;
1448+
scope.GridStackUI.Engine = GridStackEngine;
14531449

14541450
$.fn.gridstack = function(opts) {
14551451
return this.each(function() {

0 commit comments

Comments
 (0)