Comparing version 0.9.2 to 0.9.3
{ | ||
"name": "muuri", | ||
"version": "0.9.2", | ||
"version": "0.9.3", | ||
"description": "Responsive, sortable, filterable and draggable layouts", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -1391,2 +1391,4 @@ /** | ||
itemsToLayout.push(item); | ||
} else { | ||
--counter; | ||
} | ||
@@ -1405,5 +1407,9 @@ } | ||
this._emit(EVENT_LAYOUT_START, layout.items.slice(0), instant === true); | ||
// Let's make sure that the current layout process has not been overridden | ||
// in the layoutStart event, and if so, let's stop processing the aborted | ||
// layout. | ||
if (this._layout.id !== layout.id) return; | ||
} | ||
function tryFinish() { | ||
var tryFinish = function () { | ||
if (--counter > 0) return; | ||
@@ -1425,3 +1431,3 @@ | ||
} | ||
} | ||
}; | ||
@@ -1428,0 +1434,0 @@ if (!itemsToLayout.length) { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1004771
24519