title: setInterval not calling function
body: <pre><code>get_alerts = function(alerts_url) {
      return $.getJSON(alerts_url, function(alerts) {
          return $("#alerts_box").html("" + alerts.length + " Alerts");
      });
  };
  
  window.setInterval(function() {
      return get_alerts($("#alerts_box").data("alerts-url"));
  }, 1000);
  </code></pre>
  
  <p>If I put a breakpoint in the <code>setInterval</code> area, I get notified every second, but the <code>getJSON</code> call is never being executed. Looking at my server logs, there is never a request to the <code>alerts_url</code>.</p>
  
  <p><strong>UPDATE</strong>
  Appears to be an intermittent Chrome problem.  Fired it up on Safari and it worked as expected.  Clearing out Chrome now and I'll try again.</p>