mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-06 20:44:11 +01:00
Fix breakage in :style, and other code that relies on Struct#bound.
This commit is contained in:
@@ -1283,6 +1283,7 @@ var StructBase = Class("StructBase", Array, {
|
||||
|
||||
clone: function struct_clone() this.constructor.apply(null, this.slice()),
|
||||
|
||||
bound: Class.Property(Object.getOwnPropertyDescriptor(Class.prototype, "bound")),
|
||||
closure: Class.Property(Object.getOwnPropertyDescriptor(Class.prototype, "closure")),
|
||||
|
||||
get: function struct_get(key, val) this[this.members[key]],
|
||||
|
||||
Reference in New Issue
Block a user