Skip to content

Commit

Permalink
add readonly to public static fields, phetsims/tandem#278
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Dec 1, 2022
1 parent ae80af4 commit c69529d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions js/common/model/CountingObjectType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ import countingCommon from '../../countingCommon.js';
import EnumerationValue from '../../../../phet-core/js/EnumerationValue.js';

class CountingObjectType extends EnumerationValue {
public static DOG = new CountingObjectType();
public static APPLE = new CountingObjectType();
public static BUTTERFLY = new CountingObjectType();
public static BALL = new CountingObjectType();
public static PAPER_NUMBER = new CountingObjectType();
public static readonly DOG = new CountingObjectType();
public static readonly APPLE = new CountingObjectType();
public static readonly BUTTERFLY = new CountingObjectType();
public static readonly BALL = new CountingObjectType();
public static readonly PAPER_NUMBER = new CountingObjectType();

public static enumeration = new Enumeration( CountingObjectType );
public static readonly enumeration = new Enumeration( CountingObjectType );
}

countingCommon.register( 'CountingObjectType', CountingObjectType );
Expand Down

0 comments on commit c69529d

Please sign in to comment.