2
0
mirror of https://github.com/tenrok/axios.git synced 2026-05-30 15:24:11 +03:00
Files
axios/lib
Tomáš Holas ca42bb1d2a In browsers check for XMLHttpRequest, not window
In nodejs testing environment it's possible to use https://github.com/tmpvar/jsdom library to define a window object, but you still want to use node http adapter. Due to those diverse testing environmnents, I propose to test for XMLHttpRequest directly, because window global object is not a sure sign of a browser environment anymore.
2015-07-13 09:42:27 +02:00
..
2015-06-18 21:07:29 -06:00
2015-06-18 21:07:29 -06:00