mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-27 20:25:44 +00:00
Bug 394759 - add a PluralForm setter for backward compatibility. r=gavin
This commit is contained in:
parent
0276fdceae
commit
aa3b0f3593
@ -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