Skip to content

Commit

Permalink
Merge pull request #6 from psawaya/master
Browse files Browse the repository at this point in the history
rm symlink
  • Loading branch information
lloyd committed Jan 7, 2013
2 parents 0e3bb26 + 748e5b0 commit fbe957e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 0 additions & 1 deletion infobar

This file was deleted.

5 changes: 5 additions & 0 deletions lib/stop_infobar.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
(function() {
var infobarStopper = function(request, sender, sendResponse) {
if (!request.uniqueId) {
// this event listener will get fired by events unrelated to infobars.
// so, make sure there's a uniqueId before we detach the listener.
return;
}
// this event listener should be invoked no more than once
chrome.extension.onMessage.removeListener(infobarStopper);

Expand Down

0 comments on commit fbe957e

Please sign in to comment.