فهرست منبع

StrucNode: Add missing this keyword

Tristan VALCKE 6 سال پیش
والد
کامیت
c191fc7bd5
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      examples/js/nodes/core/StructNode.js

+ 1 - 1
examples/js/nodes/core/StructNode.js

@@ -49,7 +49,7 @@ StructNode.prototype.generate = function ( builder, output ) {
 
 	} else {
 
-		return builder.format( '( ' + src + ' )', this.getType( builder ), output );
+		return builder.format( '( ' + this.src + ' )', this.getType( builder ), output );
 
 	}