Skip to content

Commit

Permalink
Put beforeRegister in the behaviorProperties.
Browse files Browse the repository at this point in the history
Fix a problem where beforeRegister was being copied into the element prototype, causing doBehavior_ to call beforeRegister twice.
  • Loading branch information
zhaoz committed Nov 23, 2015
1 parent 8a08c27 commit 445b6cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/micro/behaviors.html
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 445b6cd

Please sign in to comment.