diff --git a/js/nodes/ImageIO.js b/js/nodes/ImageIO.js index 9048e3dea..89a46d152 100644 --- a/js/nodes/ImageIO.js +++ b/js/nodes/ImageIO.js @@ -39,7 +39,7 @@ define( function( require ) { this.instance.image = im; }, documentation: 'Set the image from a base64 string', - canBeInvokedForReadOnlyInstances: false + invocableForReadOnlyInstances: false } }, { documentation: 'The tandem IO type for the scenery Text node', diff --git a/js/nodes/TextIO.js b/js/nodes/TextIO.js index 0d7bbaf47..a4162b6f2 100644 --- a/js/nodes/TextIO.js +++ b/js/nodes/TextIO.js @@ -68,7 +68,7 @@ define( function( require ) { }, documentation: 'Sets font options for this TextIO instance, e.g. {size: 16, weight: bold}. If increasing the font ' + 'size does not make the text size larger, you may need to increase the maxWidth of the TextIO also.', - canBeInvokedForReadOnlyInstances: false + invocableForReadOnlyInstances: false }, getFontOptions: { @@ -88,7 +88,7 @@ define( function( require ) { }, documentation: 'Sets the maximum width of text box. ' + 'If the text width exceeds maxWidth, it is scaled down to fit.', - canBeInvokedForReadOnlyInstances: false + invocableForReadOnlyInstances: false }, getMaxWidth: {