Skip to content

Commit

Permalink
Removed unused method, see #44
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid authored and zepumph committed Oct 18, 2018
1 parent ae5907a commit 40746c3
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions js/types/scenery/nodes/TNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,6 @@ define( function( require ) {
TObject.call( this, node, phetioID );
assertInstanceOf( node, phet.scenery.Node );
}, {

// TODO: Not working yet at all.
getVisibleProperty: {
// Convert the visibility property to property interface.
// TODO: Do this in scenery so adapters are not necessary here.
returnType: TProperty( TBoolean ),
parameterTypes: [],
implementation: function() {

// TODO: We need some way to unlink this.
var property = new phet.axon.Property( this.instance.visible );
return new TProperty( TBoolean )( property, null );
},
documentation: 'Gets a TProperty indicating whether the node is visible or not.'
},
isVisible: {
returnType: TBoolean,
parameterTypes: [],
Expand Down

0 comments on commit 40746c3

Please sign in to comment.