Parcourir la source

Fix implicit variable declaration in css3d_molecules.html

Tristan Valcke il y a 8 ans
Parent
commit
aa664b49fb
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      examples/css3d_molecules.html

+ 1 - 1
examples/css3d_molecules.html

@@ -368,7 +368,7 @@
 
 						}
 
-						colorSprite = colorSpriteMap[ element ];
+						var colorSprite = colorSpriteMap[ element ];
 
 						var atom = document.createElement( 'img' );
 						atom.src = colorSprite;