Hello,
I'm currently using this library to wrap Http requests: HttpRequest.js
Usage:
var HttpRequest = require('/lib/HttpRequest'); var xhr = new HttpRequest('http://www.google.com'); xhr.get(<myHtmlParserFunction>);I'm trying to accomplish the same with coffeescript, this is the library: HttpRequestBeta.coffee
But "onload" never executes. The log always stops at "xhr.onreadystatechange = HEADERS_RECEIVED"
Do you understand why?
1 Answer
25
Your Answer
Think you can help? Login to answer this question!