The legacy behavior code sample in the current 3.0 docs is incorrect.
The imports are not correct (they're actually backwards).
Polymer.mixinBehaviors is used when it should be only mixinBehaviors
It is unclear where MyBehavior and MyBehavior2 come from.
This PR fixes the above issues by updating the code sample, with the addition of MyBehavior and MyBehavior2 as imports to help devs who are new to import how a legacy behavior might be used.
The legacy behavior code sample in the current 3.0 docs is incorrect.
Polymer.mixinBehaviors
is used when it should be onlymixinBehaviors
MyBehavior
andMyBehavior2
come from.This PR fixes the above issues by updating the code sample, with the addition of
MyBehavior
andMyBehavior2
as imports to help devs who are new toimport
how a legacy behavior might be used.