Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Defining plugins as object bug #2

Open
abzainuddin opened this issue Aug 14, 2016 · 0 comments
Open

Defining plugins as object bug #2

abzainuddin opened this issue Aug 14, 2016 · 0 comments

Comments

@abzainuddin
Copy link
Contributor

When you define plugins as an object, there are some cases which result in some nasty bugs. The problem lies in the fact that the definition is used to store the state of the plugin with isBound.

When multiple view instances are created, the plugins definition object is shared among those view instances. The isBound no longer applies to a single view instance plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant