Skip to content

Commit

Permalink
mixin => mixInto() and trait (with added assertions). See phetsims/sc…
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanolson committed Oct 26, 2017
1 parent c256088 commit 39bad4c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ define( function( require ) {
}
} );

Poolable.mixin( ResidualLineAndSquareNode, {
Poolable.mixInto( ResidualLineAndSquareNode, {
constructorDuplicateFactory: function( pool ) {
return function( residualProperty, lineColor, viewBounds, modelViewTransform, lineVisibilityProperty, squareVisibilityProperty ) {
if ( pool.length ) {
Expand Down

0 comments on commit 39bad4c

Please sign in to comment.