mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-13 05:55:47 +01:00
Add :hi -link.
--HG-- extra : rebase_source : 9bc26b19eac01350323073212d12a91fd2f31189
This commit is contained in:
@@ -21,6 +21,8 @@ Sheet.liveProperty = function (name) {
|
||||
let i = this.prototype.members[name];
|
||||
this.prototype.__defineGetter__(name, function () this[i]);
|
||||
this.prototype.__defineSetter__(name, function (val) {
|
||||
if (isArray(val) && Object.freeze)
|
||||
Object.freeze(val);
|
||||
this[i] = val;
|
||||
this.enabled = this.enabled;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user