added enumeration to property

This commit is contained in:
Fabian Vogelsteller 2016-01-08 10:56:49 +01:00
parent 5ef460b993
commit 5b799b7f7d
1 changed files with 2 additions and 1 deletions

View File

@ -81,7 +81,8 @@ Property.prototype.extractCallback = function (args) {
*/ */
Property.prototype.attachToObject = function (obj) { Property.prototype.attachToObject = function (obj) {
var proto = { var proto = {
get: this.buildGet() get: this.buildGet(),
enumerable: true
}; };
var names = this.name.split('.'); var names = this.name.split('.');