Skip to content

Commit

Permalink
Add docs, see #92
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Feb 4, 2019
1 parent 9b01e4e commit 96cef72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/phet-software-design-patterns.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ const MyTrait = {

/**
* Adds MyTrait methods to the prototype.
* @param {function} myClass
* @param {function} myClass - must be a subtype of SuperClass
*/
mixInto: myClass => {
assert && assert( _.includes( inheritance( myClass ), SuperClass ), 'Only SuperClass classes should mix MyTrait' );
Expand Down

0 comments on commit 96cef72

Please sign in to comment.