Skip to content

Commit

Permalink
instrument on the drag handler for RoboticArmNode, other aspects of t…
Browse files Browse the repository at this point in the history
…his node are not part of the API, #58

Signed-off-by: Chris Malley <[email protected]>
  • Loading branch information
pixelzoom committed Jun 15, 2018
1 parent 065bd5e commit a7009d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/common/view/RoboticArmNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,8 @@ define( function( require ) {
assert && assert( !options.children, 'RoboticArmNode sets children' );
options.children = [ armNode, redBox, gradientBox, draggableNode ];

Node.call( this, options );
// Do not pass tandem to the supertype, since this Node is not part of the PhET-iO API. See #58.
Node.call( this, _.omit( options, [ 'tandem' ] ) );
}

hookesLaw.register( 'RoboticArmNode', RoboticArmNode );
Expand Down

0 comments on commit a7009d4

Please sign in to comment.