Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Sep 28, 2018
2 parents 28483cd + fa137c9 commit 62b64e7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion js/nodes/ImageIO.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
4 changes: 2 additions & 2 deletions js/nodes/Node.js
Original file line number Diff line number Diff line change
Expand Up @@ -4958,8 +4958,6 @@ define( function( require ) {
return this;
}

this.initializePhetioObject( { phetioType: NodeIO }, options );

assert && assert( Object.getPrototypeOf( options ) === Object.prototype,
'Extra prototype on Node options object is a code smell' );

Expand Down Expand Up @@ -4989,6 +4987,8 @@ define( function( require ) {
}
} );

this.initializePhetioObject( { phetioType: NodeIO }, options );

return this; // allow chaining
},

Expand Down
4 changes: 2 additions & 2 deletions js/nodes/TextIO.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand All @@ -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: {
Expand Down

0 comments on commit 62b64e7

Please sign in to comment.