Skip to content

Commit

Permalink
Instrument wavelength spectrum, see phetsims/blackbody-spectrum#83
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisklus committed Apr 25, 2019
1 parent ccfcf0d commit fabdeb0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion js/WavelengthSpectrumNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ define( function( require ) {
var inherit = require( 'PHET_CORE/inherit' );
var sceneryPhet = require( 'SCENERY_PHET/sceneryPhet' );
var SpectrumNode = require( 'SCENERY_PHET/SpectrumNode' );
var Tandem = require( 'TANDEM/Tandem' );
var VisibleColor = require( 'SCENERY_PHET/VisibleColor' );

/**
Expand All @@ -25,7 +26,8 @@ define( function( require ) {

options = _.extend( {
minWavelength: VisibleColor.MIN_WAVELENGTH,
maxWavelength: VisibleColor.MAX_WAVELENGTH
maxWavelength: VisibleColor.MAX_WAVELENGTH,
tandem: Tandem.required
}, options );

// validation
Expand Down

0 comments on commit fabdeb0

Please sign in to comment.