فهرست منبع

Fix undefined parseASCII

Tristan VALCKE 7 سال پیش
والد
کامیت
f28233f50f
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      examples/js/loaders/XLoader.js

+ 2 - 1
examples/js/loaders/XLoader.js

@@ -167,7 +167,8 @@ THREE.XLoader.prototype = {
 
 
 	parseBinary: function ( data ) {
 	parseBinary: function ( data ) {
 
 
-		return parseASCII( String.fromCharCode.apply( null, data ) );
+		var scope = this;
+		return scope.parseASCII( String.fromCharCode.apply( null, data ) );
 
 
 	},
 	},