From 445b6cd670542365491854a41cc34d42380fd1d0 Mon Sep 17 00:00:00 2001 From: zhaoz Date: Mon, 23 Nov 2015 15:21:57 -0800 Subject: [PATCH] Put beforeRegister in the behaviorProperties. Fix a problem where beforeRegister was being copied into the element prototype, causing doBehavior_ to call beforeRegister twice. --- src/micro/behaviors.html | 1 + 1 file changed, 1 insertion(+) diff --git a/src/micro/behaviors.html b/src/micro/behaviors.html index ad4945b033..7c909de173 100644 --- a/src/micro/behaviors.html +++ b/src/micro/behaviors.html @@ -146,6 +146,7 @@ // for calling via doBehavior (e.g. created, ready) Polymer.Base._behaviorProperties = { hostAttributes: true, + beforeRegister: true, registered: true, properties: true, observers: true,