From 4b06889126e8dee8aa44a98d32e7af605a723bb2 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Tue, 1 Feb 2011 17:48:52 +1100 Subject: [PATCH] Fix abbreviations.get again to survive a hasOwnProperty abbreviation. --- common/content/abbreviations.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/content/abbreviations.js b/common/content/abbreviations.js index 6e505598..a52079aa 100644 --- a/common/content/abbreviations.js +++ b/common/content/abbreviations.js @@ -113,7 +113,7 @@ var Abbreviations = Module("abbreviations", { */ get: function (mode, lhs) { let abbrevs = this._store[mode]; - return abbrevs && abbrevs.hasOwnProperty(lhs) ? abbrevs[lhs] : null; + return abbrevs && set.has(abbrevs, lhs) ? abbrevs[lhs] : null; }, /**