mirror of
https://github.com/nuintun/command-manager.git
synced 2025-12-17 16:34:25 +08:00
update files
This commit is contained in:
@@ -10,21 +10,12 @@ module.exports = function (Terminal){
|
||||
*/
|
||||
Terminal.prototype.close = function (){
|
||||
this.lines = [];
|
||||
this.children = [];
|
||||
this.screen = '';
|
||||
this.screenLines = [];
|
||||
this.readable = false;
|
||||
this.writable = false;
|
||||
this.write = function (){};
|
||||
this.handler = function (){};
|
||||
this.handlerTitle = function (){};
|
||||
|
||||
if (this.element) {
|
||||
var parent = this.element.parentNode;
|
||||
|
||||
if (parent) {
|
||||
parent.removeChild(this.element);
|
||||
}
|
||||
|
||||
this.element = null;
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user