From a865872812fe99a9a84d549053749c5d8cedebf7 Mon Sep 17 00:00:00 2001 From: Steve Orvell Date: Mon, 7 Apr 2014 17:53:24 -0700 Subject: [PATCH] bindings are always inspectable/serializable. --- elements/x-inspector/reflection.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/elements/x-inspector/reflection.js b/elements/x-inspector/reflection.js index cac768b8..da8493f8 100644 --- a/elements/x-inspector/reflection.js +++ b/elements/x-inspector/reflection.js @@ -23,9 +23,8 @@ function reflectProperty(element, name, meta) { if (element.publish && element.publish[name] === undefined) { return; } - var v = element[name]; - if (v !== null - && v !== undefined + var v = element[name], binding = Bindings.getBinding(element, name); + if ((binding || (v !== null && v !== undefined)) && typeof v !== 'function' && typeof v !== 'object' //&& element.propertyIsEnumerable(k)