diff --git a/source/Ox/js/JavaScript.js b/source/Ox/js/JavaScript.js index 733d8f34..7a8f4114 100644 --- a/source/Ox/js/JavaScript.js +++ b/source/Ox/js/JavaScript.js @@ -103,7 +103,9 @@ Ox.doc = (function() { inherited = item.inherited ? item.inherited.map(function(v) { return v.properties; }) : []; - return Ox.contains(properties.concat(inherited), property); + return Ox.contains(properties.concat(inherited).map(function(property) { + return property.name; + }), property.name); } var foo = {}; constructors.forEach(function(constructor) {