Explorar o código

fix case-sensitive

sunag %!s(int64=7) %!d(string=hai) anos
pai
achega
0373746870
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      examples/js/loaders/NodeMaterialLoader.js

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

@@ -124,7 +124,7 @@ Object.assign( THREE.NodeMaterialLoader.prototype, {
 			
 			
 			case "string":
 			case "string":
 			
 			
-				if (/^\w{8}-\w{4}-\w{4}-\w{4}-\w{12}$/s.test(json)) {
+				if (/^\w{8}-\w{4}-\w{4}-\w{4}-\w{12}$/i.test(json)) {
 					
 					
 					return this.getNode( json );
 					return this.getNode( json );
 					
 					

粤ICP备19079148号