Browse files

switch to links

  • Loading branch information...
1 parent 2818a31 commit 49ef2a784e34978f3d9a4d3ed0e83d2149743223 @jeffreytierney committed Oct 26, 2011
Showing with 4 additions and 4 deletions.
  1. +2 −2 js/script.js
  2. +2 −2 manifest.app
View
4 js/script.js
@@ -6,13 +6,13 @@ $(document).ready(function() {
$(function() {
// be careful with the limit, some people have large datasets ;)
- $.getJSON(baseUrl + '/Me/photos/', {'limit':10}, function(data) {
+ $.getJSON(baseUrl + '/Me/links/', {'limit':10}, function(data) {
console.log(data);
if(!data || !data.length) return;
var html = "";
for(var i in data)
{
- html += "<img src='"+data[i].url+"' width='200' /> ";
+ html += "<p>"+(data[i].title||"No Title")+"</p>";
}
$("#test").html(html);
});
View
4 manifest.app
@@ -1,6 +1,6 @@
{
- "title": "Simple Viewer",
+ "title": "Link Viewer",
"desc": "One line description of your viewer",
- "viewer": "photos",
+ "viewer": "links",
"static":"true"
}

0 comments on commit 49ef2a7

Please sign in to comment.