Skip to content

Commit

Permalink
fix assertion, #222
Browse files Browse the repository at this point in the history
zepumph committed Apr 19, 2019
1 parent 03324f4 commit 403b5f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/Action.js
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit 403b5f0

Please sign in to comment.