浏览代码

ObjLoader: Change double quotes.

Jonne Nauha 9 年之前
父节点
当前提交
f855c88b1a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      examples/js/loaders/OBJLoader.js

+ 1 - 1
examples/js/loaders/OBJLoader.js

@@ -469,7 +469,7 @@ THREE.OBJLoader.prototype = {
 			} else {
 			} else {
 
 
 				// Handle null terminated files without exception
 				// Handle null terminated files without exception
-				if (line === "\0")
+				if (line === '\0')
 					continue;
 					continue;
 
 
 				throw new Error( "Unexpected line: '" + line  + "'");
 				throw new Error( "Unexpected line: '" + line  + "'");