mirror of
https://github.com/Polymer/polymer.git
synced 2025-02-25 18:55:30 -06:00
Put beforeRegister in the behaviorProperties.
Fix a problem where beforeRegister was being copied into the element prototype, causing doBehavior_ to call beforeRegister twice.
This commit is contained in:
parent
8a08c279b6
commit
445b6cd670
@ -146,6 +146,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
||||
// for calling via doBehavior (e.g. created, ready)
|
||||
Polymer.Base._behaviorProperties = {
|
||||
hostAttributes: true,
|
||||
beforeRegister: true,
|
||||
registered: true,
|
||||
properties: true,
|
||||
observers: true,
|
||||
|
Loading…
Reference in New Issue
Block a user