fixing build; removed debug code
This commit is contained in:
parent
96f408df73
commit
c22303e500
1 changed files with 0 additions and 4 deletions
|
|
@ -180,7 +180,6 @@
|
|||
GridStackEngine.prototype.commit = function(grid) {
|
||||
if (this._updateCounter !== 0) {
|
||||
this._updateCounter = 0;
|
||||
|
||||
_.each(this._batchQueue, function(el) {
|
||||
grid.container.append(el);
|
||||
grid._prepareElement(el, true);
|
||||
|
|
@ -189,7 +188,6 @@
|
|||
grid._triggerChangeEvent(true);
|
||||
});
|
||||
this._batchQueue = [];
|
||||
|
||||
this.float = this._float;
|
||||
this._packNodes();
|
||||
this._notify();
|
||||
|
|
@ -1276,8 +1274,6 @@
|
|||
if (typeof maxHeight != 'undefined') { el.attr('data-gs-max-height', maxHeight); }
|
||||
if (typeof id != 'undefined') { el.attr('data-gs-id', id); }
|
||||
|
||||
|
||||
console.log(this.grid._updateCounter);
|
||||
if (this.grid._updateCounter) {
|
||||
this.grid._batchQueue.push(el);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue