From e9ddc340354959a85547ae0aafb06e60065341fb Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Fri, 9 May 2014 20:42:42 -0700 Subject: [PATCH] Fix breakage in :style, and other code that relies on Struct#bound. --- common/modules/base.jsm | 1 + 1 file changed, 1 insertion(+) diff --git a/common/modules/base.jsm b/common/modules/base.jsm index f2a2adbf..40d49d66 100644 --- a/common/modules/base.jsm +++ b/common/modules/base.jsm @@ -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]],