Browse Source

XRManager: Fix typo in getBinding jsdoc (#31656)

Vincent Fretin 4 months ago
parent
commit
d8a9927b16
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/renderers/common/XRManager.js

+ 2 - 2
src/renderers/common/XRManager.js

@@ -592,12 +592,12 @@ class XRManager extends EventDispatcher {
 
 
 	/**
-	 * Return the current XR binding.
+	 * Returns the current XR binding.
 	 *
 	 * Creates a new binding if needed and the browser is
 	 * capable of doing so.
 	 *
-	 * @return {?XRWebGLBinding} The XR binding. Returns `null` if a binding cannot be crated.
+	 * @return {?XRWebGLBinding} The XR binding. Returns `null` if one cannot be created.
 	 */
 	getBinding() {
 

粤ICP备19079148号