mirror of
https://github.com/nuintun/command-manager.git
synced 2025-12-19 18:06:11 +08:00
update files
This commit is contained in:
@@ -8,8 +8,11 @@ module.exports = function (Terminal){
|
||||
Terminal.prototype.destroy = function (){
|
||||
this.readable = false;
|
||||
this.writable = false;
|
||||
this._events = {};
|
||||
this.handler = function (){};
|
||||
this.write = function (){};
|
||||
|
||||
if (this.element.parentNode) {
|
||||
this.element.parentNode.removeChild(this.element);
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user