Skip to content

Commit

Permalink
Use TinyEmitter instead of Emitter, see #975
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed May 17, 2019
1 parent e7b6d56 commit c1eb4c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/util/Color.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
define( function( require ) {
'use strict';

var Emitter = require( 'AXON/Emitter' );
var inherit = require( 'PHET_CORE/inherit' );
var Property = require( 'AXON/Property' );
var scenery = require( 'SCENERY/scenery' );
var TinyEmitter = require( 'AXON/TinyEmitter' );
var Util = require( 'DOT/Util' );

// constants
Expand All @@ -39,7 +39,7 @@ define( function( require ) {
function Color( r, g, b, a ) {

// @public {Emitter}
this.changeEmitter = new Emitter();
this.changeEmitter = new TinyEmitter();

this.set( r, g, b, a );
}
Expand Down

0 comments on commit c1eb4c4

Please sign in to comment.