- Tests that onLayout callback is triggering properly, after animation/transition has completed.
+ Tests that onLayout callback is triggering properly, after animation/transition has completed.
@@ -48,10 +48,11 @@ category: tests
var colors = ['red', 'green', 'blue', 'yellow', 'purple', 'orange', 'white'],
colorI = 0;
- function changeBGColor() {
+ function changeBGColor( $elems, instance ) {
var color = colors[ colorI % colors.length ];
$container.css({ background: color })
colorI++;
+ // console.log( $elems.length, instance.$filteredAtoms.length );
}
function lmk() {
diff --git a/jquery.isotope.js b/jquery.isotope.js
index c6e1b7d..b7f395b 100644
--- a/jquery.isotope.js
+++ b/jquery.isotope.js
@@ -1,5 +1,5 @@
/**
- * Isotope v1.5.17
+ * Isotope v1.5.18
* An exquisite jQuery plugin for magical layouts
* http://isotope.metafizzy.co
*
@@ -664,7 +664,7 @@
for (var i=0, len = callbacks.length; i < len; i++) {
hollaback = callbacks[i];
if ( typeof hollaback === 'function' ) {
- hollaback.call( instance.element, $elems );
+ hollaback.call( instance.element, $elems, instance );
}
}
isCallbackTriggered = true;
diff --git a/jquery.isotope.min.js b/jquery.isotope.min.js
index d1cf091..9cad86e 100644
--- a/jquery.isotope.min.js
+++ b/jquery.isotope.min.js
@@ -1,5 +1,5 @@
/**
- * Isotope v1.5.17
+ * Isotope v1.5.18
* An exquisite jQuery plugin for magical layouts
* http://isotope.metafizzy.co
*
@@ -8,4 +8,4 @@
*
* Copyright 2012 David DeSandro / Metafizzy
*/
-(function(a,b,c){"use strict";var d=a.document,e=a.Modernizr,f=function(a){return a.charAt(0).toUpperCase()+a.slice(1)},g="Moz Webkit O Ms".split(" "),h=function(a){var b=d.documentElement.style,c;if(typeof b[a]=="string")return a;a=f(a);for(var e=0,h=g.length;e