title: pass an object through jquery trigger
body: <p>I'm trying to do something rather simple but I'm getting a strange result.  I have an event trigger that I'm using to pass a json object but when it gets through to the other side it's a function... I alert the result and it shows this:</p>
  
  <p>example of alert sting:</p>
  
  <pre><code>alert('value of lattitude? ' + map.currentLatLng.lat);
  </code></pre>
  
  <p>result:</p>
  
  <blockquote>
    <p>value of lattitude? function () {return this[a];}</p>
  </blockquote>
  
  <p>I've tried setting up the trigger both with and without the array literal wrapper:</p>
  
  <pre><code>$('body').trigger('updateLocation', [{lat:38.905003, lng:-77.066497}]);
  $('body').trigger('updateLocation', {lat:38.905003, lng:-77.066497});
  </code></pre>
  
  <p>What am I doing wrong?</p>