Skip to content

Commit

Permalink
Added units in TNumber typeName, see #41
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid authored and zepumph committed Oct 18, 2018
1 parent 5b08dc2 commit b07f02d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/types/TNumber.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ define( function( require ) {
values: null // null | {Number[]} if it can only take certain possible values, specify them here, like [0,2,8]
}
);
return phetioInherit( TObject, 'TNumber', function( instance, phetioID ) {
return phetioInherit( TObject, 'TNumber(' + units + ')', function( instance, phetioID ) {
TObject.call( this, instance, phetioID );
assertTypeOf( instance, 'number' );
}, {}, {
Expand Down

0 comments on commit b07f02d

Please sign in to comment.