mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 394759 - add a PluralForm setter for backward compatibility. r=gavin
This commit is contained in:
parent
4db9a84e6a
commit
9f27260aec
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user