Last active
June 4, 2017 23:20
-
-
Save brunopulis/9f046725acf76bf24b9e835da36fa9fd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var httpRequest; | |
// Mozilla, Safari | |
if (window.XMLHttpRequest) | |
httpRequest = new XMLHttpRequest(); | |
else if (window.ActiveXObject) | |
// IE | |
httpRequest = new ActiveXObject("Microsoft.XMLHTTP"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment