|
|
@ -63,7 +63,7 @@ function masonryDefinition( layoutMode, Masonry, getSize ) { |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
this.layout(); |
|
|
|
this.isotope.layout(); |
|
|
|
|
|
|
|
|
|
|
|
delete this.isotope.resizeTimeout; |
|
|
|
delete this.isotope.resizeTimeout; |
|
|
|
}; |
|
|
|
}; |
|
|
@ -76,7 +76,7 @@ function masonryDefinition( layoutMode, Masonry, getSize ) { |
|
|
|
if ( typeof define === 'function' && define.amd ) { |
|
|
|
if ( typeof define === 'function' && define.amd ) { |
|
|
|
// AMD
|
|
|
|
// AMD
|
|
|
|
define( [ |
|
|
|
define( [ |
|
|
|
'../isotope', |
|
|
|
'../layout-mode', |
|
|
|
'masonry/masonry', |
|
|
|
'masonry/masonry', |
|
|
|
'get-size/get-size' |
|
|
|
'get-size/get-size' |
|
|
|
], |
|
|
|
], |
|
|
|