Skip to content

Commit

Permalink
Merge pull request #6 from jonathonloo/master
Browse files Browse the repository at this point in the history
Living social is alive
  • Loading branch information
Austen Ito committed Jan 10, 2012
2 parents 50fd093 + 3392fb8 commit 15c01a8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion background.html
Expand Up @@ -118,7 +118,7 @@
crawl_json_feed(url,
function(response) {
var entries = response.responseData.feed.entries;
store_deal(deal_source, entries);
store_deal(deal_source, entries);
}
);
})(deal_source, url);
Expand All @@ -137,6 +137,10 @@
var title = entries[index].title;
var link = entries[index].link;

if(deal_source == 'Living Social')
{
title = entries[index].contentSnippet;
}
// If the deal doesn't exist, update the browser icon.
if (deal_titles.indexOf(title) == -1) {
chrome.browserAction.setIcon({"path" : "images/dealios22.png"});
Expand Down

0 comments on commit 15c01a8

Please sign in to comment.