-
Couldn't load subscription status.
- Fork 54
Open
Labels
Description
In previous (v0.49-) version, the puppet reset action was triggered by the 'reset' event.
Before (v0.49-)
In order to reset the puppet, what we need to do is:
puppet.emit('reset', 'this will reset the puppet')the puppet.reset() is protected (not public) and will not be called by the user.
After (v0.51+)
In order to reset the puppet, it's straightforward to call the reset() method (which has been changed to public)
puppet.reset('this will reset the puppet')