Skip to content

Commit

Permalink
Use 2 space indention.
Browse files Browse the repository at this point in the history
  • Loading branch information
philikon committed Mar 22, 2011
1 parent 7a1e86f commit b95ec09
Show file tree
Hide file tree
Showing 3 changed files with 896 additions and 896 deletions.
8 changes: 4 additions & 4 deletions content/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Components.utils.import("resource://bartab/prototypes.js");
// constructors have already been called. That means we can't listen
// to the DOMContentLoaded event.
window.addEventListener("load", function() {
window.removeEventListener("load", arguments.callee, false);
BarTabUtils.migratePrefs();
var tabbrowser = document.getElementById("content");
(new BarTabHandler).init(tabbrowser);
window.removeEventListener("load", arguments.callee, false);
BarTabUtils.migratePrefs();
var tabbrowser = document.getElementById("content");
(new BarTabHandler).init(tabbrowser);
}, false);
12 changes: 6 additions & 6 deletions content/preferences.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ var BarTabPreferences = {
var whitelist = BarTabUtils.getWhitelist();
var self = this;
list.selectedItems.forEach(function (item) {
var entry = item.getAttribute("label");
var index = whitelist.indexOf(entry);
if (index == -1) {
return;
}
whitelist.splice(index, 1);
var entry = item.getAttribute("label");
var index = whitelist.indexOf(entry);
if (index == -1) {
return;
}
whitelist.splice(index, 1);
});
BarTabUtils.setWhitelist(whitelist);
},
Expand Down
Loading

0 comments on commit b95ec09

Please sign in to comment.