Skip to content

Commit

Permalink
misc jsdoc fixes, #78
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Apr 24, 2017
1 parent b6c119c commit 494e872
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
4 changes: 3 additions & 1 deletion js/linegame/model/BaseChallengeFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ define( function( require ) {
* @param {Range} graphXRange
* @param {Range} graphYRange
* @returns {Vector2}
* @public
* @static
*/
choosePointForSlope: function( slope, graphXRange, graphYRange ) {
Expand All @@ -104,11 +105,12 @@ define( function( require ) {
* Picks a point (x1,x2) on the graph that results in the slope indicator (x2,y2) being off the graph.
* This forces the user to invert the slope.
*
* @static
* @param {Fraction} slope
* @param {Range} graphXRange
* @param {Range} graphYRange
* @returns {Vector2}
* @public
* @static
*/
choosePointForSlopeInversion: function( slope, graphXRange, graphYRange ) {

Expand Down
2 changes: 1 addition & 1 deletion js/linegame/view/ChallengeNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ define( function( require ) {
var tryAgainString = require( 'string!VEGAS/tryAgain' );

/**
* Constructor
* @param {Challenge} challenge the challenge
* @param {LineGameModel} model the game model
* @param {Dimension2} challengeSize dimensions of the view rectangle that is available for rendering the challenge
* @param {GameAudioPlayer} audioPlayer the audio player, for providing audio feedback during game play
* @constructor
*/
function ChallengeNode( challenge, model, challengeSize, audioPlayer ) {

Expand Down
3 changes: 3 additions & 0 deletions js/slopeintercept/model/SlopeInterceptModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ define( function( require ) {
var PointSlopeModel = require( 'GRAPHING_LINES/pointslope/model/PointSlopeModel' );
var SlopeInterceptParameterRange = require( 'GRAPHING_LINES/slopeintercept/model/SlopeInterceptParameterRange' );

/**
* @constructor
*/
function SlopeInterceptModel() {
PointSlopeModel.call( this, Line.createSlopeIntercept( 2, 3, 1, GLColors.INTERACTIVE_LINE ), new SlopeInterceptParameterRange() );
}
Expand Down
3 changes: 3 additions & 0 deletions js/slopeintercept/model/SlopeInterceptParameterRange.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ define( function( require ) {
var PointSlopeParameterRange = require( 'GRAPHING_LINES/pointslope/model/PointSlopeParameterRange' );
var Range = require( 'DOT/Range' );

/**
* @constructor
*/
function SlopeInterceptParameterRange() {
PointSlopeParameterRange.call( this );
}
Expand Down

0 comments on commit 494e872

Please sign in to comment.