Bug 394759 - add a PluralForm setter for backward compatibility. r=gavin

This commit is contained in:
Paul O'Shannessy 2009-04-23 20:51:01 +02:00
parent 0276fdceae
commit aa3b0f3593

View File

@ -128,11 +128,15 @@ __defineGetter__("gPrefService", function() {
});
__defineGetter__("PluralForm", function() {
delete this.PluralForm
delete this.PluralForm;
var tmpScope = {};
Cu.import("resource://gre/modules/PluralForm.jsm", tmpScope);
return this.PluralForm = tmpScope.PluralForm;
});
__defineSetter__("PluralForm", function (val) {
delete this.PluralForm;
return this.PluralForm = val;
});
let gInitialPages = [
"about:blank",