ducky/web

Paddy 2015-06-30 Parent:99a43a6d1d30 Child:5d47855181e1

13:d51e39bf909c Go to Latest

ducky/web/index.html

Update our profiles collection to use ampersand-rest-collection. Use ampersand-rest-collection instead of ampersand-collection, so we can take advantage of the excellent "getOrFetch" function to fall back on the server when looking for a member of the collection that isn't downloaded yet. Also, use the correct Authorization header when making profile collection requests. Finally, if the profile collection requests fail due to an expired access token, use the refresh token to acquire a new access token, then retry the request.

History
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <link rel="stylesheet" href="/static/main.css" />
6 </head>
7 <body>
8 </body>
9 <script src="/static/common.js"></script>
10 <script src="/static/bundle.js"></script>
11 </html>