From 5b799b7f7dbcbdcd3f34220ee057a12f3c7355c3 Mon Sep 17 00:00:00 2001 From: Fabian Vogelsteller Date: Fri, 8 Jan 2016 10:56:49 +0100 Subject: [PATCH] added enumeration to property --- lib/web3/property.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/web3/property.js b/lib/web3/property.js index 7235b78..bb791c9 100644 --- a/lib/web3/property.js +++ b/lib/web3/property.js @@ -81,7 +81,8 @@ Property.prototype.extractCallback = function (args) { */ Property.prototype.attachToObject = function (obj) { var proto = { - get: this.buildGet() + get: this.buildGet(), + enumerable: true }; var names = this.name.split('.');