Explorar el Código

StrucNode: Add missing this keyword

Tristan VALCKE hace 6 años
padre
commit
c191fc7bd5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 );
 
 	}