Browse Source

style guide-based changes

Daniel Taub 11 years ago
parent
commit
28349538cd
1 changed files with 3 additions and 3 deletions
  1. 3 3
      examples/js/controls/TransformControls.js

+ 3 - 3
examples/js/controls/TransformControls.js

@@ -822,7 +822,7 @@
 					scope.object.position.copy( oldPosition );
 					scope.object.position.add( point );
 
-				} 
+				}
 
 				if ( scope.space == "world" || scope.axis.search("XYZ") != -1 ) {
 
@@ -961,7 +961,7 @@
 
 		function onPointerUp( event ) {
 
-			if (_dragging){
+			if ( _dragging ) {
 				clickDoneEvent.mode = _mode;
 				scope.dispatchEvent( clickDoneEvent )
 			}
@@ -989,4 +989,4 @@
 
 	THREE.TransformControls.prototype = Object.create( THREE.Object3D.prototype );
 
-}());
+}());