Remove comment
This commit is contained in:
parent
455ea37ca9
commit
c7442894fb
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ function slugify(name) {
|
|||
|
||||
function ajax(url, onSuccess, onError) {
|
||||
var xhr = new XMLHttpRequest();
|
||||
xhr.open('GET', url, true); // the third argument is true by default, it means that request will be async
|
||||
xhr.open('GET', url);
|
||||
xhr.onload = function(e) {
|
||||
var responseText = e.target.responseText;
|
||||
if (xhr.status === 200) {
|
||||
|
|
Loading…
Add table
Reference in a new issue