Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2349443

Browse files
committed
fix closure comiler warnings
1 parent 6ffdf30 commit 2349443

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

dist/gridstack.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,16 +62,16 @@
6262

6363
var id_seq = 0;
6464

65-
var GridStackEngine = function(width, onchange, float, height, items) {
65+
var GridStackEngine = function(width, onchange, float_mode, height, items) {
6666
this.width = width;
67-
this.float = float || false;
67+
this['float'] = float_mode || false;
6868
this.height = height || 0;
6969

7070
this.nodes = items || [];
7171
this.onchange = onchange || function() {};
7272

7373
this._update_counter = 0;
74-
this._float = this.float;
74+
this._float = this['float'];
7575
};
7676

7777
GridStackEngine.prototype.batch_update = function() {

0 commit comments

Comments
 (0)