1
0
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:
Kris Maglione
2014-05-09 20:42:42 -07:00
parent 22deef8d45
commit e9ddc34035

View File

@@ -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]],