Use dot notation instead of subscript.
This commit is contained in:
parent
6cfa83e2d8
commit
b817a7e8b9
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue