From 96e25d943b4ae292e411ef1d8ba415416d295364 Mon Sep 17 00:00:00 2001 From: piro Date: Fri, 25 Dec 2009 18:48:07 +0000 Subject: [PATCH] XPathResult => nsIDOMXPathResult git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@5632 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- modules/utils.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/utils.js b/modules/utils.js index d60c23ec..a1e26092 100644 --- a/modules/utils.js +++ b/modules/utils.js @@ -409,22 +409,22 @@ var TreeStyleTabUtils = { if (!tab || !this.hasChildTabs(tab)) return false; var expression = 'ancestor-or-self::*[@class="'+this.kTWISTY+'"]'; - if (this.shouldExpandTwistyArea && !this._expandTwistyAreaBlockeds.length) + if (this.shouldExpandTwistyArea && !this._expandTwistyAreaBlockers.length) expression += ' | ancestor-or-self::*[@class="tab-icon" and ancestor::xul:tabbrowser[@'+this.kMODE+'="vertical"]]'; return this.evaluateXPath( expression, aEvent.originalTarget || aEvent.target, - XPathResult.BOOLEAN_TYPE + Ci.nsIDOMXPathResult.BOOLEAN_TYPE ).booleanValue; }, registerExpandTwistyAreaBlocker : function TSTUtils_registerExpandTwistyAreaBlocker(aBlocker) /* PUBLIC API */ { - if (this._expandTwistyAreaBlockeds.indexOf(aBlocker) < 0) - this._expandTwistyAreaBlockeds.push(aBlocker); + if (this._expandTwistyAreaBlockers.indexOf(aBlocker) < 0) + this._expandTwistyAreaBlockers.push(aBlocker); }, - _expandTwistyAreaBlockeds : [], + _expandTwistyAreaBlockers : [], registerExpandTwistyAreaAllowance : function TSTUtils_registerExpandTwistyAreaAllowance(aAllowance) /* PUBLIC API, obsolete, for backward compatibility */ {