Guest User

Untitled

a guest
Mar 22nd, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. makeCorsRequest(email) {
  2. var xhr = this.createCORSRequest(email);
  3. xhr.send()
  4. xhr.onload = function() {
  5. var text = xhr.responseText;
  6. return text //I want to return this on the makeCorsRequest function after the .send() is done
  7. };
  8.  
  9. }
Add Comment
Please, Sign In to add comment