Destroys the current instance of the Author app.
You would want to use this method so that you can remove all of the Author API DOM elements from the page in your single page application, for example.
This will also restore the empty container element which was used to first initialize the app.
When re-initializing Author API, you would call the
destroy() method followed by the
// Reset the instance of Author API authorApp.destroy(); // Re-initialize the Author API var authorApp = window.LearnosityAuthor.init(...);