Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- makeCorsRequest(email) {
- var xhr = this.createCORSRequest(email);
- xhr.send()
- xhr.onload = function() {
- var text = xhr.responseText;
- return text //I want to return this on the makeCorsRequest function after the .send() is done
- };
- }
Add Comment
Please, Sign In to add comment