From 403b5f0bc54476bec21fa83b0387ee2d970c5de4 Mon Sep 17 00:00:00 2001 From: zepumph Date: Thu, 18 Apr 2019 18:17:50 -0800 Subject: [PATCH] fix assertion, #222 --- js/Action.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/Action.js b/js/Action.js index 347c7dc8..49b19a97 100644 --- a/js/Action.js +++ b/js/Action.js @@ -120,7 +120,7 @@ define( require => { !phetioTypeSupplied && Object.freeze( options.validators ); } - assert && assert( typeof this._action === 'function', 'action should be a function' ); + assert && assert( typeof action === 'function', 'action should be a function' ); // @private {function} this._action = action;