Use dot notation instead of subscript.
This commit is contained in:
parent
fcbb128f47
commit
1e4f4441bb
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