mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-08 01:05:46 +01:00
Add toJSON method to lazy localized strings.
This commit is contained in:
@@ -30,7 +30,8 @@ var Messages = Module("messages", {
|
||||
return self.get(message);
|
||||
}),
|
||||
valueOf: function valueOf() this.message,
|
||||
toString: function toString() this.message
|
||||
toString: function toString() this.message,
|
||||
toJSON: function toJSON() this.message
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user