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

style: rename functions and improve style #27

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

prieston
Copy link
Contributor

@andreas-trad check it out

Copy link
Member

@alexdor alexdor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks nice : )

Can you also drop the demo/bundle.js and add it to the .gitignore as well?

if (mode === "free") {
this.host.onwheel = this.handlePlainWheel.bind(this);
this.journey = TimeCapsule.startJourney(this.clip);
this.host.addEventListener("touchstart", this._touchstart.bind(this));
this.host.addEventListener("touchmove", this._touchmove.bind(this));
this.host.addEventListener("touchstart", this.touchstart.bind(this));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we also remove all of these listeners on destroy or smth?

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.

None yet

2 participants