Use dot notation instead of subscript.

This commit is contained in:
voussoir 2020-06-28 16:55:37 -07:00
parent fcbb128f47
commit 1e4f4441bb

View file

@ -18,10 +18,10 @@ function _request(method, url, callback)
{ {
if (request.status != 0) if (request.status != 0)
{ {
response["completed"] = true; response.completed = true;
response["data"] = JSON.parse(request.responseText); response.data = JSON.parse(request.responseText);
} }
response["meta"] = { response.meta = {
"request_url": url, "request_url": url,
"status": request.status "status": request.status
} }