Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
Viewer.prototype.destroy = function() {
// table destroy
Table.prototype.destroy.call(this);
// dom detach
domRemove(this.container);
};