Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

switch to links

  • Loading branch information...
commit 49ef2a784e34978f3d9a4d3ed0e83d2149743223 1 parent 2818a31
Jeffrey Tierney authored

Showing 2 changed files with 4 additions and 4 deletions. Show diff stats Hide diff stats

  1. +2 2 js/script.js
  2. +2 2 manifest.app
4 js/script.js
@@ -6,13 +6,13 @@ $(document).ready(function() {
6 6
7 7 $(function() {
8 8 // be careful with the limit, some people have large datasets ;)
9   - $.getJSON(baseUrl + '/Me/photos/', {'limit':10}, function(data) {
  9 + $.getJSON(baseUrl + '/Me/links/', {'limit':10}, function(data) {
10 10 console.log(data);
11 11 if(!data || !data.length) return;
12 12 var html = "";
13 13 for(var i in data)
14 14 {
15   - html += "<img src='"+data[i].url+"' width='200' /> ";
  15 + html += "<p>"+(data[i].title||"No Title")+"</p>";
16 16 }
17 17 $("#test").html(html);
18 18 });
4 manifest.app
... ... @@ -1,6 +1,6 @@
1 1 {
2   - "title": "Simple Viewer",
  2 + "title": "Link Viewer",
3 3 "desc": "One line description of your viewer",
4   - "viewer": "photos",
  4 + "viewer": "links",
5 5 "static":"true"
6 6 }

0 comments on commit 49ef2a7

Please sign in to comment.
Something went wrong with that request. Please try again.