Skip to content

commented code issue fix by commenting single line.#1125

Open
Pratham-Taikar wants to merge 1 commit into
juliangarnier:masterfrom
Pratham-Taikar:1124/comment-syntax-error
Open

commented code issue fix by commenting single line.#1125
Pratham-Taikar wants to merge 1 commit into
juliangarnier:masterfrom
Pratham-Taikar:1124/comment-syntax-error

Conversation

@Pratham-Taikar

Copy link
Copy Markdown

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.

@KerYagciHTL KerYagciHTL left a comment

Copy link
Copy Markdown

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