mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 07:17:59 +01:00
Fix completions, among other things (sorry)
This commit is contained in:
@@ -505,7 +505,7 @@ function Struct()
|
||||
ConStructor.defaultValue = function (key, val)
|
||||
{
|
||||
let i = args.indexOf(key);
|
||||
ConStructor.prototype.__defineGetter__(i, val);
|
||||
ConStructor.prototype.__defineGetter__(i, function () this[i] = val.call(this));
|
||||
ConStructor.prototype.__defineSetter__(i, function (val) {
|
||||
let value = val;
|
||||
this.__defineGetter__(i, function () value);
|
||||
|
||||
Reference in New Issue
Block a user