Skip to content

Commit

Permalink
icon updates
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitry committed Sep 6, 2011
1 parent b89a907 commit 511ba8f
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 2 deletions.
Binary file added images/icon128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/icon16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/icon48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 6 additions & 1 deletion js/bookmarks.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,14 @@ window.RecentBookmarks = function() {
},

parseRecent : function(recentBookmarks) {
var l = recentBookmarks.length;
if (l === 0) {
$('#loading').text('There are no bookmarks.');
return;
}
$('#loading').remove();
var ul = $('<ul></ul>').appendTo($('body')), date, html;
for (var i=0, l=recentBookmarks.length; i<l; i++) {
for (var i=0; i<l; i++) {
date = new Date(recentBookmarks[i].dateAdded);
html = '<a href="' + recentBookmarks[i].url + '">' + recentBookmarks[i].title + '</a><br>';
html += '<small class="date" title="' + date.toISOString() + '">' + jQuery.timeago(date) + '</small><br>';
Expand Down
4 changes: 3 additions & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
"version": "0.2",
"description": "Display last 25 bookmarks",
"icons": {
"16": "images/icon16.png"
"16": "images/icon16.png",
"48": "images/icon48.png",
"128": "images/icon128.png"
},
"browser_action": {
"default_icon": "images/icon16.png"
Expand Down

0 comments on commit 511ba8f

Please sign in to comment.