Skip to content

Commit 963b91c

Browse files
committed
SVGLoader: Clean up.
1 parent f63031d commit 963b91c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

examples/js/loaders/SVGLoader.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -809,9 +809,10 @@ THREE.SVGLoader.prototype = {
809809
for ( var tIndex = transformsTexts.length - 1; tIndex >= 0; tIndex -- ) {
810810

811811
var transformText = transformsTexts[ tIndex ].trim();
812-
if (transformText == "")
813-
continue;
814-
var openParPos = transformText.indexOf( "(" );
812+
813+
if ( transformText === '' ) continue;
814+
815+
var openParPos = transformText.indexOf( '(' );
815816
var closeParPos = transformText.length;
816817

817818
if ( openParPos > 0 && openParPos < closeParPos ) {

0 commit comments

Comments
 (0)