Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Commit

Permalink
inspect bindings 1 more time.
Browse files Browse the repository at this point in the history
  • Loading branch information
sorvell committed Apr 8, 2014
1 parent dfc3956 commit 1c19472
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions elements/x-inspector/reflection.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@ function reflectProperty(element, name, meta) {
return;
}
var v = element[name];
if (((v !== null && v !== undefined) || Bindings.getBinding(element, name))
if (((v !== null
&& v !== undefined
&& typeof v !== 'function'
&& typeof v !== 'object'
&& typeof v !== 'object')
|| Bindings.getBinding(element, name))
//&& element.propertyIsEnumerable(k)
&& !reflectProperty.blacklist[name]) {
var prop = reflect(element, name, meta);
Expand Down

0 comments on commit 1c19472

Please sign in to comment.