requireJS with JQuery, Masonry, & ImagesLoaded: Object [object Object] has no method 'imagesLoaded'
问题 RequireJS newbie here. Trying to convert some JQuery code I had working fine in the old way to work w/ RequireJS. Header of my page loads three JS files via script tags -- require.js itself, my require.cfg.js, and boot/main.js with the site-specific functionality. Relevant require.cfg.js excerpt: ,paths: { 'boot': 'src/boot' ,'jquery': 'lib/jquery.min' ,'jquery.masonry': 'lib/plugins/masonry.pkgd.min' ,'jquery.imagesloaded': 'lib/plugins/imagesloaded.pkgd.min' } ,shim: { 'jquery': { exports: