Skip to content

Commit

Permalink
Added JSDoc, see #86
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Nov 21, 2017
1 parent a71d301 commit eb33adf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion js/faradays-law/view/MagnetNodeWithField.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,11 @@ define( function( require ) {
model.magnet.positionProperty.linkAttribute( this, 'translation' );
}

// Create single MagnetNode View
/**
* Creates the magnet node
* @param {Magnet} magnet
* @returns {MagnetNode}
*/
var createMagnetNode = function( magnet ) {
return new MagnetNode( magnet.flippedProperty.get(), {
width: magnet.width,
Expand Down

0 comments on commit eb33adf

Please sign in to comment.