[Pkg-mozext-commits] [greasemonkey] 29/43: Reference this._description in the scope where it's actually defined.
David Prévot
taffit at moszumanska.debian.org
Sun Feb 22 21:56:11 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository greasemonkey.
commit c4aadf0058823720140dd411f1ce13f1a3b37273
Author: Anthony Lieuallen <arantius at gmail.com>
Date: Wed Jan 7 16:05:30 2015 -0500
Reference this._description in the scope where it's actually defined.
---
modules/script.js | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/modules/script.js b/modules/script.js
index 6732fd5..a7dfce2 100644
--- a/modules/script.js
+++ b/modules/script.js
@@ -160,12 +160,13 @@ function Script_getLocalizedDescription() {
GM_util.getPreferredLocale(), available);
if (!bestMatch) return null;
- return aLocales[bestMatch][aProp] || this._description;
+ return aLocales[bestMatch][aProp];
}
if (!this._localized) {
this._localized = {
- description: getBestLocalization(this._locales, "description"),
+ description: getBestLocalization(this._locales, "description")
+ || this._description,
name: getBestLocalization("name") || this._name
};
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/greasemonkey.git
More information about the Pkg-mozext-commits
mailing list