mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 23:42:27 +01:00
whitespace fixes
This commit is contained in:
@@ -102,15 +102,15 @@ liberator.Bookmarks = function () //{{{
|
|||||||
}
|
}
|
||||||
|
|
||||||
var observer = {
|
var observer = {
|
||||||
onBeginUpdateBatch: function() {},
|
onBeginUpdateBatch: function () {},
|
||||||
onEndUpdateBatch: function() {},
|
onEndUpdateBatch: function () {},
|
||||||
onItemVisited: function() {},
|
onItemVisited: function () {},
|
||||||
/* FIXME: Should probably just update the given bookmark. */
|
/* FIXME: Should probably just update the given bookmark. */
|
||||||
onItemMoved: flush,
|
onItemMoved: flush,
|
||||||
onItemAdded: flush,
|
onItemAdded: flush,
|
||||||
onItemRemoved: flush,
|
onItemRemoved: flush,
|
||||||
onItemChanged: flush,
|
onItemChanged: flush,
|
||||||
QueryInterface: function(iid) {
|
QueryInterface: function (iid) {
|
||||||
if (iid.equals(Components.interfaces.nsINavBookmarkObserver) || iid.equals(Components.interfaces.nsISupports))
|
if (iid.equals(Components.interfaces.nsINavBookmarkObserver) || iid.equals(Components.interfaces.nsISupports))
|
||||||
return this;
|
return this;
|
||||||
throw Components.results.NS_ERROR_NO_INTERFACE;
|
throw Components.results.NS_ERROR_NO_INTERFACE;
|
||||||
@@ -492,7 +492,7 @@ liberator.Bookmarks = function () //{{{
|
|||||||
liberator.commandline.echo(list, liberator.commandline.HL_NORMAL, liberator.commandline.FORCE_MULTILINE);
|
liberator.commandline.echo(list, liberator.commandline.HL_NORMAL, liberator.commandline.FORCE_MULTILINE);
|
||||||
},
|
},
|
||||||
|
|
||||||
destroy: function()
|
destroy: function ()
|
||||||
{
|
{
|
||||||
bookmarksService.removeObserver(observer, false);
|
bookmarksService.removeObserver(observer, false);
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user