title: "Bad Masonry element: [object Object]"
body: <p>Trying to incorporate the latest version of Masonry, I'm clueless as to what this error means. In the console, I get this message:</p>
  
  <pre><code>Bad masonry element: [object Object] plugins.js:16
  y plugins.js:16
  n plugins.js:16
  (anonymous function) script.js:24
  c jquery.js:3048
  p.fireWith jquery.js:3160
  x.extend.ready jquery.js:433
  q
  </code></pre>
  
  <p>My script -</p>
  
  <pre><code>var $container = $('#container');
  
  $container.imagesLoaded( function(){
      var msnry = new Masonry( $container, {
          columnWidth: 320,
          itemSelector: '.item'
      });
  });
  </code></pre>
  
  <p>I've made sure to include the imagesLoaded plugin, the same error is displayed even if I rule this out. It seems to be referring to my plugins.js file where I've stored the code for Masonry, but I've not modified anything.</p>