update files

This commit is contained in:
nuintun
2015-11-26 21:43:25 +08:00
parent d3b1f33b9f
commit 4f037c405f
6 changed files with 18 additions and 68 deletions

View File

@@ -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;
}
};
};