From 39bad4ceb04019514eb26a0728f65e096b501e15 Mon Sep 17 00:00:00 2001 From: Jonathan Olson Date: Thu, 26 Oct 2017 14:25:31 -0600 Subject: [PATCH] mixin => mixInto() and trait (with added assertions). See https://github.com/phetsims/scenery/issues/700 --- js/least-squares-regression/view/ResidualLineAndSquareNode.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/least-squares-regression/view/ResidualLineAndSquareNode.js b/js/least-squares-regression/view/ResidualLineAndSquareNode.js index 1354fb9..af3a70b 100644 --- a/js/least-squares-regression/view/ResidualLineAndSquareNode.js +++ b/js/least-squares-regression/view/ResidualLineAndSquareNode.js @@ -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 ) {