Skip to content

Commit

Permalink
Merge pull request #11182 from evanw/precedence-fix
Browse files Browse the repository at this point in the history
fix operator precedence bug in WWOBJLoader2.js
  • Loading branch information
mrdoob authored Apr 16, 2017
2 parents c4bd9cd + fbc92ab commit 59d5a95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/js/loaders/WWOBJLoader2.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ THREE.OBJLoader2.WWOBJLoader2 = (function () {
if ( this.dataAvailable ) {

// fast-fail on bad type
if ( ! params.objAsArrayBuffer instanceof Uint8Array ) {
if ( ! ( params.objAsArrayBuffer instanceof Uint8Array ) ) {
throw 'Provided input is not of type arraybuffer! Aborting...';
}

Expand Down

0 comments on commit 59d5a95

Please sign in to comment.