jpillora / xdomain

A pure JavaScript CORS alternative
https://jpillora.com/xdomain/
3.12k stars 270 forks source link

fix bug where setting timeout too low would not trigger timeout event #118

Closed rcambrj closed 9 years ago

rcambrj commented 9 years ago

I'm unsure why there are changes with _this, something to do with my grunt-source builder?

Anyway, the checks var should still trigger the timeout if it's greater than the max.