林炳权 6 tahun lalu
induk
melakukan
c0831bf05a
1 mengubah file dengan 9 tambahan dan 11 penghapusan
  1. 9 11
      docs/manual/en/introduction/WebGL-compatibility-check.html

+ 9 - 11
docs/manual/en/introduction/WebGL-compatibility-check.html

@@ -19,16 +19,14 @@
 			to your javascript and run the following before attempting to render anything.
 			to your javascript and run the following before attempting to render anything.
 		</p>
 		</p>
 
 
-<code>
-if (WEBGL.isWebGLAvailable()) {
-    // Initiate function or other initializations here
-    animate();
-} else {
-    var warning = WEBGL.getWebGLErrorMessage();
-    document.getElementById('container').appendChild(warning);
-}
-</code>
-
-
+		<code>
+		if (WEBGL.isWebGLAvailable()) {
+			// Initiate function or other initializations here
+			animate();
+		} else {
+			var warning = WEBGL.getWebGLErrorMessage();
+			document.getElementById('container').appendChild(warning);
+		}
+		</code>
 	</body>
 	</body>
 </html>
 </html>