lint docs
This commit is contained in:
parent
7718ef4c81
commit
8c9cc0e1f4
4 changed files with 17 additions and 15 deletions
|
|
@ -59,10 +59,10 @@ m.jsonp({
|
|||
And sometimes, you just want to take advantage of HTTP caching for GET requests for rarely-modified data:
|
||||
|
||||
```javascript
|
||||
//this request is always called with the same querystring, and therefore it is cached
|
||||
// this request is always called with the same querystring, and therefore it is cached
|
||||
m.jsonp({
|
||||
url: "https://api.github.com/users/lhorie"
|
||||
callbackName: "__callback"
|
||||
url: "https://api.github.com/users/lhorie",
|
||||
callbackName: "__callback",
|
||||
})
|
||||
.run(function(response) {
|
||||
console.log(response.data.login) // logs "lhorie"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue