| Index: lib/utils.js |
| =================================================================== |
| --- a/lib/utils.js |
| +++ b/lib/utils.js |
| @@ -71,7 +71,7 @@ |
| get appLocale() |
| { |
| var locale = ext.i18n.getMessage("@@ui_locale").replace(/_/g, "-"); |
| - this.__defineGetter__("appLocale", function() {return locale}); |
| + Object.defineProperty(this, "appLocale", {value: locale, enumerable: true}); |
| return this.appLocale; |
| }, |
| generateChecksum: function(lines) |