Closed AlexNolasco closed 13 years ago
Hmm, in Chrome 8 and Safari 5.0.3 I don't see this issue. "this" inside the makeshift callback always refers to the XHR.
Regardless I will patch it with your suggestion as a) it passes the tests and b) actually reduces the minified code by 3 bytes!
Still curious though, what browser are you seeing this in?
Committed btw: 9da343a225c86595eefaaa6d25a44498ef21ab85
filmaj,
I noticed this issue in Safari 5.0.3 and iPhone 3.1.2
https://github.com/xui/xui/blob/master/src/js/xhr.js line 114
Should it be this instead?