ライブラリ更新

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@6807 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2010-07-02 08:56:28 +00:00
parent 850fe1a9a2
commit 891242cfc2
3 changed files with 4 additions and 4 deletions

View File

@ -693,7 +693,7 @@ TreeStyleTabService.overrideExtensionsOnInitAfter = function TSTService_override
// Focus Last Selected Tab 0.9.5.x
// http://www.gozer.org/mozilla/extensions/
this.extensions.checkAvailable('focuslastselectedtab@gozer.org', { ok : function() {
this.extensions.isAvailable('focuslastselectedtab@gozer.org', { ok : function() {
TreeStyleTabService.registerTabFocusAllowance(function(aTabBrowser) {
return !aTabBrowser.selectedTab.hasAttribute('lastselected');
});
@ -1099,7 +1099,7 @@ TreeStyleTabService.overrideExtensionsOnInitAfter = function TSTService_override
// Remove New Tab Button
// https://addons.mozilla.org/firefox/addon/10535
this.extensions.checkAvailable('remove-new-tab-button@forerunnerdesigns.com', { ok : function() {
this.extensions.isAvailable('remove-new-tab-button@forerunnerdesigns.com', { ok : function() {
document.documentElement.setAttribute(TreeStyleTabService.kHIDE_NEWTAB, true);
}});

View File

@ -1796,7 +1796,7 @@ TreeStyleTabBrowser.prototype = {
this.getPref('extensions.informationaltab.thumbnail.position') < 100
) {
let self = this;
this.extensions.checkAvailable('informationaltab@piro.sakura.ne.jp', {
this.extensions.isAvailable('informationaltab@piro.sakura.ne.jp', {
ok : function() {
aStyle = 'retro';
self.setTabbrowserAttribute(self.kTWISTY_STYLE, aStyle);

View File

@ -92,7 +92,7 @@ if (typeof window == 'undefined') {
return addon;
},
_formatCallbacks : function()
_formatCallbacks : function(aOKCallback, aNGCallback)
{
var callbacks = {
ok : aOKCallback,