Bläddra i källkod

Docs: Clean up

Mugen87 6 år sedan
förälder
incheckning
5e38b007f6
1 ändrade filer med 3 tillägg och 3 borttagningar
  1. 3 3
      docs/manual/zh/introduction/WebGL-compatibility-check.html

+ 3 - 3
docs/manual/zh/introduction/WebGL-compatibility-check.html

@@ -14,15 +14,15 @@
 		</p>
 
 		<p>
-			请将[link:https://github.com/mrdoob/three.js/blob/master/examples/js/Detector.js]引入到你的文件,并在尝试开始渲染之前先运行该文件。
+			请将[link:https://github.com/mrdoob/three.js/blob/master/examples/js/WebGL.js]引入到你的文件,并在尝试开始渲染之前先运行该文件。
         	</p>
 
 <code>
-if (Detector.webgl) {
+if (WEBGL.isWebGLAvailable()) {
     // Initiate function or other initializations here
     animate();
 } else {
-    var warning = Detector.getWebGLErrorMessage();
+    var warning = WEBGL.getWebGLErrorMessage();
     document.getElementById('container').appendChild(warning);
 }
 </code>