title: Zurb Foundation 6 jQuery error
body: <p>Since I use Foundation 6 (6.1.2) I'm getting an error with my JavaScript/jQuery.</p>
  
  <p>A simple</p>
  
  <pre><code>$(document).foundation({
  
  accordion: {
      callback : function (accordion) {
          // do something
      }
  }
  
  });
  </code></pre>
  
  <p>doesn't work anymore and suddenly leads to an error:</p>
  
  <p><i>Uncaught TypeError: We're sorry, 'object' is not a valid parameter. You must use a string representing the method you wish to invoke.</i></p>
  
  <p>What am I doing wrong? I don't get it. Unfortunately, the Foundation 6 documentation is not the best and I wasn't able to find out how to handle this in Foundation 6...</p>