docs: Update request.md (#1851)

This commit is contained in:
Scotty Simpson 2017-05-12 09:40:28 -07:00 committed by Pat Cavit
parent 085f5642be
commit dfcbc8e2b3

View file

@ -77,7 +77,7 @@ m.request({
})
```
A call to `m.request` return a [promise](promise.md) and trigger a redraw upon completion of its promise chain.
A call to `m.request` returns a [promise](promise.md) and triggers a redraw upon completion of its promise chain.
By default, `m.request` assumes the response is in JSON format and parses it into a Javascript object (or array).