Skip to content

Commit

Permalink
Various cleanup and comment improvement, done as part of code review,…
Browse files Browse the repository at this point in the history
… see #1.
  • Loading branch information
jbphet committed Oct 27, 2014
1 parent c443900 commit 83d6920
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions js/neuron/model/AxonMembraneState.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Copyright 2002-2014, University of Colorado Boulder

/**
* A type that represents the state of the axon membrane, used primarily for record and playback.
*
* @author John Blanco
* @author Sharfudeen Ashraf (for Ghent University)
*/
Expand All @@ -11,8 +13,7 @@ define( function( require ) {
var inherit = require( 'PHET_CORE/inherit' );

/**
*
* @param {TravelingActionPotentialState}travelingActionPotentialState
* @param {TravelingActionPotentialState} travelingActionPotentialState
* @constructor
*/
function AxonMembraneState( travelingActionPotentialState ) {
Expand All @@ -21,13 +22,11 @@ define( function( require ) {

return inherit( Object, AxonMembraneState, {
/**
* Return the state of the traveling action potential. If null, no
* travling action potential exists.
* Return the state of the traveling action potential. If null, no traveling action potential exists.
* @return
*/
getTravelingActionPotentialState: function() {
return this.travelingActionPotentialState;
}
} );

} );

0 comments on commit 83d6920

Please sign in to comment.