daily pastebin goal
82%
SHARE
TWEET

Untitled

a guest Jun 13th, 2018 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. send: function(data) {
  2.         var self = this;
  3.  
  4.         this.setupTimeoutTimer(this.timeout);
  5.  
  6.         // IE needs some time to get started...
  7.         // TODO: verify that this is still required for IE.
  8.         if (this.type === TYPE_XDR) {
  9.             // Do not unwrap .send method.
  10.             // Required to run on a separate thread.
  11.             window.setTimeout(function () {
  12.                self.rq.send(data);
  13.             }, IE_SEND_TIMEOUT);
  14.         } else {
  15.             this.rq.send(data);
  16.         }
  17.     }
  18. };
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top