Skip to content

Conversation

@Pratham-Taikar
Copy link

This PR fixes the bug of the commented block of code at https://github.com/juliangarnier/anime/blob/master/src/events/scroll.js#L749-L768

Fixes #1124

Before

/* Old implementation to get offset and targetSize before fixing https://github.com/juliangarnier/anime/issues/1021

After

// Old implementation to get offset and targetSize before fixing https://github.com/juliangarnier/anime/issues/1021

This code ensures that the commented block never goes into execution.

Copy link

@KerYagciHTL KerYagciHTL left a comment

Choose a reason for hiding this comment

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

This commit appears to introduce only stylistic changes such as switching single quotes to double quotes and adjusting comment whitespace. There does not seem to be a functional fix despite what the commit message suggests.

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.

[BUG] Comment syntax error causing a crash

2 participants