Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Fix incorrect legacy behavior code sample in 3.0 docs #2632

Merged
1 commit merged into from Jun 14, 2018

Conversation

justinribeiro
Copy link
Contributor

The legacy behavior code sample in the current 3.0 docs is incorrect.

  1. The imports are not correct (they're actually backwards).
  2. Polymer.mixinBehaviors is used when it should be only mixinBehaviors
  3. 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.

@justinribeiro justinribeiro requested a review from a user June 12, 2018 20:58
@ghost
Copy link

ghost commented Jun 12, 2018

Thank you!

@ghost ghost merged commit 3e726a7 into Polymer:master Jun 14, 2018
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants