Browse Source

Fix implicit variable declaration in css3d_molecules.html

Tristan Valcke 8 years ago
parent
commit
aa664b49fb
1 changed files with 1 additions and 1 deletions
  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;