1
0
Эх сурвалжийг харах

Update Controls.js

Add `@deprecated` tag.
Michael Herzog 1 жил өмнө
parent
commit
8ac83758c8

+ 1 - 1
src/extras/Controls.js

@@ -84,7 +84,7 @@ class Controls extends EventDispatcher {
 
 
 		if ( element === undefined ) {
 		if ( element === undefined ) {
 
 
-			console.warn( 'THREE.Controls: connect() now requires an element.' );
+			console.warn( 'THREE.Controls: connect() now requires an element.' ); // @deprecated, the warning can be removed with r185
 			return;
 			return;
 
 
 		}
 		}

粤ICP备19079148号