mirror of
https://github.com/Kong/insomnia.git
synced 2026-05-19 06:12:37 -04:00
Add Prettier
This commit is contained in:
@@ -3,12 +3,12 @@ var data = null;
|
||||
var xhr = new XMLHttpRequest();
|
||||
xhr.withCredentials = true;
|
||||
|
||||
xhr.addEventListener("readystatechange", function () {
|
||||
xhr.addEventListener('readystatechange', function() {
|
||||
if (this.readyState === this.DONE) {
|
||||
console.log(this.responseText);
|
||||
}
|
||||
});
|
||||
|
||||
xhr.open("GET", "https://mockbin.com/har");
|
||||
xhr.open('GET', 'https://mockbin.com/har');
|
||||
|
||||
xhr.send(data);
|
||||
|
||||
Reference in New Issue
Block a user