title: Error while using exit(0) in javascript
body: <pre><code>var inDoubleTap = false; // Shared across all bound elements
  return $list.live('touchstart', function(e) {
      if (e.originalEvent.touches.length === 1) {
          if (!inDoubleTap) {
              inDoubleTap = true;
              setTimeout(function() { inDoubleTap = false }, delay);
          } else {
              inDoubleTap = false;
              callback.call(this, e);
              exit(0);
          }
      }
  });
  </code></pre>
  
  <p>The above code shows an error if i use exit(0) in mobile browsers (iphone, ipad)</p>