mirror of https://github.com/status-im/web3.js.git
added enumeration to property
This commit is contained in:
parent
5ef460b993
commit
5b799b7f7d
|
@ -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('.');
|
||||
|
|
Loading…
Reference in New Issue