Skip to content

Commit

Permalink
Reformat files with trailing spaces, see phetsims/chipper#734
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Sep 28, 2019
1 parent 5c0055e commit 8cb8d73
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions js/XYDataSeriesNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Node that depicts an XYDataSeries as a line on a canvas. There is no reason to create this outside of griddle,
* it is created internally by XYPlot.
*
*
* @author Sam Reid (PhET Interactive Simulations)
* @author Sharfudeen Ashraf (for Ghent University)
* @author Aadish Gupta
Expand Down Expand Up @@ -105,7 +105,7 @@ define( require => {
/**
* Set the scale factor for the x coordinates - before drawing, x points in the XYDataSeries will be multiplied by
* this factor.
*
*
* @param {number} scaleFactor
*/
setXScaleFactor( scaleFactor ) {
Expand All @@ -115,7 +115,7 @@ define( require => {
/**
* Set the scale factor for the y coordinates - before drawing, y points in the XYDataSeries will by multiplied
* by this factor.
*
*
* @param {} scaleFactor
*/
setYScaleFactor( scaleFactor ) {
Expand Down Expand Up @@ -162,7 +162,7 @@ define( require => {

if ( dataPointsLength > 0 ) {
if ( this.plotStyle === PlotStyle.LINE ) {
this.drawDataLine( context, xPoints, yPoints, dataPointsLength );
this.drawDataLine( context, xPoints, yPoints, dataPointsLength );
}
else if ( this.plotStyle === PlotStyle.SCATTER ) {
this.drawDataScatter( context, xPoints, yPoints, pointStyles, dataPointsLength );
Expand All @@ -175,7 +175,7 @@ define( require => {

/**
* Draw the data as a continuous line over all points in the XYDataSeries.
*
*
* @param {CanvasRenderingContext2D}
* @param {Array.<number>} xPoints
* @param {Array.<number>} yPoints
Expand Down Expand Up @@ -255,7 +255,7 @@ define( require => {

if ( visible ) {
context.beginPath();
context.arc( xPos, yPos, radius, 0, 2 * Math.PI, false);
context.arc( xPos, yPos, radius, 0, 2 * Math.PI, false );
context.fill();

if ( strokeStyle ) {
Expand Down

0 comments on commit 8cb8d73

Please sign in to comment.