Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@andrewgryan
Copy link
Owner

No description provided.

let tileSize = null;
const text = el.getAttribute("tile-size");
const number = parseInt(text);
if (isNaN(number)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

could we use a ternary operator instead?

@andrewgryan andrewgryan merged commit 56aba4d into master Jan 2, 2025
2 checks passed
@andrewgryan andrewgryan deleted the feature/tile-size branch January 2, 2025 15:47
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.

3 participants