引数の順番を揃えた

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@5562 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2009-12-18 12:59:04 +00:00
parent d73b4e8a46
commit f95276a51b

View File

@ -2892,7 +2892,7 @@ TreeStyleTabBrowser.prototype = {
else { else {
this.browser.removeAttribute(this.kALLOW_COLLAPSE); this.browser.removeAttribute(this.kALLOW_COLLAPSE);
this.getTabsArray(this.browser).forEach(function(aTab) { this.getTabsArray(this.browser).forEach(function(aTab) {
this.updateTabIndent(aTab, this.indentTarget, 0, true); this.updateTabIndent(aTab, 0, this.indentTarget, true);
}, this); }, this);
} }
return aValue; return aValue;
@ -3104,7 +3104,7 @@ TreeStyleTabBrowser.prototype = {
Array.slice(aTabs).forEach(function(aTab) { Array.slice(aTabs).forEach(function(aTab) {
if (!aTab.parentNode) return; // ignore removed tabs if (!aTab.parentNode) return; // ignore removed tabs
this.updateTabIndent(aTab, aTarget, indent, aJustNow); this.updateTabIndent(aTab, indent, aTarget, aJustNow);
aTab.setAttribute(this.kNEST, aLevel); aTab.setAttribute(this.kNEST, aLevel);
this.updateTabsIndent(this.getChildTabs(aTab), aLevel+1, aTarget, aJustNow); this.updateTabsIndent(this.getChildTabs(aTab), aLevel+1, aTarget, aJustNow);
}, this); }, this);
@ -3130,7 +3130,7 @@ TreeStyleTabBrowser.prototype = {
updateTabsIndentWithDelayTabs : [], updateTabsIndentWithDelayTabs : [],
updateTabsIndentWithDelayTimer : null, updateTabsIndentWithDelayTimer : null,
updateTabIndent : function(aTab, aTarget, aIndent, aJustNow) updateTabIndent : function(aTab, aIndent, aTarget, aJustNow)
{ {
this.stopTabIndentAnimation(aTab); this.stopTabIndentAnimation(aTab);