ありがとう、数時間後、石積みの新しいコードで問題を解決することができました。$('#page').masonry('reload');
私はコンソールに乗ります:
cannot call methods on masonry prior to initialization; attempted to call method 'reload'
したがって、私のために機能しているファイナルは、次のような新しい組積造コードです。
$(document).on('page:load', function(){
$('#page').waitForImages(function(){
finished: function() {
var $container;
$container = $("#page");
$container.imagesLoaded(function() {
return $container.masonry({
.
.
//options here
});
});
},
waitForAll: true
});
});
ここから縮小されたwaitForImagesプラグインをダウンロードできます。
https://raw.github.com/alexanderdickson/waitForImages/master/dist/jquery.waitforimages.min.js
これはwaitForImagesページです:
https://github.com/alexanderdickson/waitForImages