From a4c3dbb7b6fb2e9443d123f3dd674ff2551754c4 Mon Sep 17 00:00:00 2001 From: samreid Date: Sat, 12 Nov 2016 23:01:39 -0700 Subject: [PATCH] Cleaned up comments, see https://github.com/phetsims/balloons-and-static-electricity/issues/201 --- .../model/BalloonsAndStaticElectricityModel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/balloons-and-static-electricity/model/BalloonsAndStaticElectricityModel.js b/js/balloons-and-static-electricity/model/BalloonsAndStaticElectricityModel.js index bc0a123a..48c9ca60 100644 --- a/js/balloons-and-static-electricity/model/BalloonsAndStaticElectricityModel.js +++ b/js/balloons-and-static-electricity/model/BalloonsAndStaticElectricityModel.js @@ -22,7 +22,6 @@ define( function( require ) { function BalloonsAndStaticElectricityModel( width, height ) { - // Properties of the model. All user settings belong in the model, whether or not they are part of the physical model // @public {string} - charge visibility setting this.showChargesProperty = new Property( 'all' ); @@ -109,6 +108,7 @@ define( function( require ) { this.wall.reset(); this.oldTime = Date.now(); }, + //check if balloon outside world borders and return it to border if outside checkBalloonRestrictions: function( position, objWidth, objHeight ) { var rightBound = this.width;