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

Loaders: Improve code quality #12168

Merged
merged 1 commit into from Sep 11, 2017
Merged

Loaders: Improve code quality #12168

merged 1 commit into from Sep 11, 2017

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Sep 11, 2017

This PR improves the code quality of most loaders. So minor things like better code style, added missing semicolons and correct spaces/indentations (according to Mr.doob's Code Style™).

@mrdoob mrdoob merged commit 9a64599 into mrdoob:dev Sep 11, 2017
@mrdoob
Copy link
Owner

mrdoob commented Sep 11, 2017

Many thanks!

@Mugen87 Mugen87 deleted the dev3 branch September 13, 2017 13:48
@@ -4061,7 +4065,6 @@
// The first three data sizes depends on version.
var endOffset = ( version >= 7500 ) ? reader.getUint64() : reader.getUint32();
var numProperties = ( version >= 7500 ) ? reader.getUint64() : reader.getUint32();
var propertyListLen = ( version >= 7500 ) ? reader.getUint64() : reader.getUint32();
Copy link
Collaborator

@takahirox takahirox Sep 20, 2017

Choose a reason for hiding this comment

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

Why have you removed this line?
I don't think we should remove...

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ah, probably you did that because propertyListLen is unused, correct?
But the line is necessary to move the pointer forward in the binary file.

Copy link
Owner

Choose a reason for hiding this comment

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

Uh oh! I'll revert.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

But the line is necessary to move the pointer forward in the binary file.

Sry guys! I've overlooked that...

Copy link
Owner

Choose a reason for hiding this comment

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

No worries! 😊

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

3 participants