From b07f02d7864f39b381b60b597f33d03350fcc50f Mon Sep 17 00:00:00 2001 From: samreid Date: Thu, 16 Jun 2016 14:57:29 -0600 Subject: [PATCH] Added units in TNumber typeName, see #41 --- js/types/TNumber.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/types/TNumber.js b/js/types/TNumber.js index 0664d7b0..ba745c57 100644 --- a/js/types/TNumber.js +++ b/js/types/TNumber.js @@ -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' ); }, {}, {