diff --git a/js/FaucetNode.ts b/js/FaucetNode.ts index d6646efbd..5d778785b 100644 --- a/js/FaucetNode.ts +++ b/js/FaucetNode.ts @@ -341,7 +341,7 @@ export default class FaucetNode extends AccessibleSlider( Node, 0 ) { documentation: 'Faucet that emits fluid, typically user-controllable', supertype: Node.NodeIO, events: [ 'startTapToDispense', 'endTapToDispense' ] - } ) + } ); } type ShooterNodeOptions = { diff --git a/js/SpectrumNode.ts b/js/SpectrumNode.ts index 10ec49801..934140c4f 100644 --- a/js/SpectrumNode.ts +++ b/js/SpectrumNode.ts @@ -41,7 +41,7 @@ export default class SpectrumNode extends Node { public static DEFAULT_VALUE_TO_COLOR = ( value: number ) => { assert && assert( value >= 0 && value <= 1, `value is out of range [0,1]: ${value}` ); return new Color( 255 * value, 255 * value, 255 * value ); - } + }; public constructor( providedOptions?: SpectrumNodeOptions ) {