Skip to content

Commit

Permalink
convert _.extend to PHET_CORE/merge, phetsims/phet-core#71
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Oct 17, 2019
1 parent eb1947b commit 6112ba2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/waves/view/SineWaveGenerator.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ define( require => {

// modules
const LinearFunction = require( 'DOT/LinearFunction' );
const merge = require( 'PHET_CORE/merge' );
const soundConstants = require( 'TAMBO/soundConstants' );
const SoundGenerator = require( 'TAMBO/sound-generators/SoundGenerator' );
const waveInterference = require( 'WAVE_INTERFERENCE/waveInterference' );
Expand All @@ -35,7 +36,7 @@ define( require => {
* @param {Object} [options]
*/
constructor( frequencyProperty, amplitudeProperty, options ) {
options = _.extend( {
options = merge( {
initialOutputLevel: 0,
oscillatorType: 'sine'
}, options );
Expand Down

0 comments on commit 6112ba2

Please sign in to comment.