Skip to content

Make cleaner#241

Open
cntgfy90 wants to merge 4 commits into
pixelcog:masterfrom
cntgfy90:make-cleaner
Open

Make cleaner#241
cntgfy90 wants to merge 4 commits into
pixelcog:masterfrom
cntgfy90:make-cleaner

Conversation

@cntgfy90

Copy link
Copy Markdown

Tried to shorten a little bit the code and therefore make it more concise.

@dhoshya dhoshya 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.

Looks good, one minor change.

Comment thread parallax.js
} else {
this.positionX = parseInt(this.positionX);
}
isNaN(parseInt(this.positionX)) ?

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

all of this can be in one line.

Comment thread parallax.js
} else {
this.positionY = parseInt(this.positionY);
}
isNaN(parseInt(this.positionY)) ?

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

same as above

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.

2 participants