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

Fix several issues with behaviors #158

Merged
merged 14 commits into from
Nov 15, 2016
Merged

Fix several issues with behaviors #158

merged 14 commits into from
Nov 15, 2016

Conversation

brianpeiris
Copy link
Contributor

  • Add type properties to all behaviors so that they can be retrieved with getBehaviorByType
  • Account for parent scale and rotation in the Drag behavior, making it more robust to varied use cases
  • Properly dispose event handlers in Drag and HoverColor behaviors
  • Fix removeAllBehaviors so that actually removes behaviors
  • Add unit tests for behavior system
  • Fix default config in HoverScale behavior
  • Add configuration options to the Bob behavior
  • Add a functional test that demonstrates several behaviors
  • Add npm scripts for building JS and docs
  • Miscellaneous cleanup
  • Whitespace cleanup

@brianpeiris brianpeiris merged commit 545d879 into master Nov 15, 2016
@brianpeiris brianpeiris deleted the bug/behaviors branch November 18, 2016 13:25
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

Successfully merging this pull request may close these issues.

1 participant