Skip to content

Commit

Permalink
Change casing on IO Type, see phetsims/tandem#188
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Sep 11, 2020
1 parent 0b9c0f1 commit 38e7b5b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions js/charges-and-fields/model/ChargedParticleIO.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2017-2020, University of Colorado Boulder

/**
* IO type for ChargedParticle
* IO Type for ChargedParticle
*
* @author Sam Reid (PhET Interactive Simulations)
* @author Andrew Adare (PhET Interactive Simulations)
Expand Down Expand Up @@ -56,7 +56,7 @@ ChargedParticleIO.methods = {
ChargedParticleIO.documentation = 'A Charged Particle';
ChargedParticleIO.validator = { isValidValue: v => v instanceof phet.chargesAndFields.ChargedParticle };
ChargedParticleIO.typeName = 'ChargedParticleIO';
ObjectIO.validateSubtype( ChargedParticleIO );
ObjectIO.validateIOType( ChargedParticleIO );

chargesAndFields.register( 'ChargedParticleIO', ChargedParticleIO );
export default ChargedParticleIO;
4 changes: 2 additions & 2 deletions js/charges-and-fields/model/ElectricPotentialLineIO.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2017-2020, University of Colorado Boulder

/**
* IO type for ElectricPotentialLine
* IO Type for ElectricPotentialLine
*
* @author Sam Reid (PhET Interactive Simulations)
*/
Expand Down Expand Up @@ -39,7 +39,7 @@ class ElectricPotentialLineIO extends ModelElementIO {
ElectricPotentialLineIO.documentation = 'The vector that shows the charge strength and direction.';
ElectricPotentialLineIO.validator = { isValidValue: v => v instanceof phet.chargesAndFields.ElectricPotentialLine };
ElectricPotentialLineIO.typeName = 'ElectricPotentialLineIO';
ObjectIO.validateSubtype( ElectricPotentialLineIO );
ObjectIO.validateIOType( ElectricPotentialLineIO );

chargesAndFields.register( 'ElectricPotentialLineIO', ElectricPotentialLineIO );
export default ElectricPotentialLineIO;
4 changes: 2 additions & 2 deletions js/charges-and-fields/model/ModelElementIO.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2017-2020, University of Colorado Boulder

/**
* IO type for ModelElement
* IO Type for ModelElement
*
* @author Sam Reid (PhET Interactive Simulations)
* @author Andrew Adare (PhET Interactive Simulations)
Expand Down Expand Up @@ -44,7 +44,7 @@ class ModelElementIO extends ObjectIO {
ModelElementIO.validator = { isValidValue: e => e instanceof phet.chargesAndFields.ModelElement };
ModelElementIO.documentation = 'A Model Element';
ModelElementIO.typeName = 'ModelElementIO';
ObjectIO.validateSubtype( ModelElementIO );
ObjectIO.validateIOType( ModelElementIO );

chargesAndFields.register( 'ModelElementIO', ModelElementIO );
export default ModelElementIO;

0 comments on commit 38e7b5b

Please sign in to comment.