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)
{
response["completed"] = true;
response["data"] = JSON.parse(request.responseText);
response.completed = true;
response.data = JSON.parse(request.responseText);
}
response["meta"] = {
response.meta = {
"request_url": url,
"status": request.status
}