Explorar o código

Minor code clean up

Mr.doob %!s(int64=13) %!d(string=hai) anos
pai
achega
b4625ae41f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/core/EventTarget.js

+ 1 - 1
src/core/EventTarget.js

@@ -24,7 +24,7 @@ THREE.EventTarget = function () {
 
 	this.dispatchEvent = function ( event ) {
 
-		for ( var i = 0; i < listeners[ event.type ].length; i++ ) {
+		for ( var i = 0; i < listeners[ event.type ].length; i ++ ) {
 
 			listeners[ event.type ][ i ]( event );