From f69865dcfa9a703267136723585677b2af217365 Mon Sep 17 00:00:00 2001 From: samreid Date: Mon, 20 Nov 2017 09:42:29 -0700 Subject: [PATCH] Cleaned up constructors, see https://github.com/phetsims/faradays-law/issues/86 --- js/faradays-law/FaradaysLawScreen.js | 4 ++++ js/faradays-law/view/MagnetAccessibleDragHandler.js | 1 - js/faradays-law/view/MagnetFieldLines.js | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/js/faradays-law/FaradaysLawScreen.js b/js/faradays-law/FaradaysLawScreen.js index 552a96d1..3342c0db 100644 --- a/js/faradays-law/FaradaysLawScreen.js +++ b/js/faradays-law/FaradaysLawScreen.js @@ -18,6 +18,10 @@ define( function( require ) { var Property = require( 'AXON/Property' ); var Screen = require( 'JOIST/Screen' ); + /** + * @param {Tandem} tandem + * @constructor + */ function FaradaysLawScreen( tandem ) { Screen.call( this, function() { diff --git a/js/faradays-law/view/MagnetAccessibleDragHandler.js b/js/faradays-law/view/MagnetAccessibleDragHandler.js index 3dedc6f9..1d335a9c 100644 --- a/js/faradays-law/view/MagnetAccessibleDragHandler.js +++ b/js/faradays-law/view/MagnetAccessibleDragHandler.js @@ -20,7 +20,6 @@ define( function( require ) { var SPEEDS = [ 5, 10, 15 ]; /** - * * @param {Property} positionProperty * @param {function} startDrag * @param {function} onDrag diff --git a/js/faradays-law/view/MagnetFieldLines.js b/js/faradays-law/view/MagnetFieldLines.js index 9ddcb392..f7c8e55b 100644 --- a/js/faradays-law/view/MagnetFieldLines.js +++ b/js/faradays-law/view/MagnetFieldLines.js @@ -29,7 +29,7 @@ define( function( require ) { ]; /** - * @param magnet - magnet model of 'Faradays Law' simulation + * @param {Magnet} magnet - magnet model * @constructor */ function MagnetFieldLines( magnet ) {