update files

This commit is contained in:
nuintun
2015-11-25 17:28:12 +08:00
parent d871c2b302
commit 092961802c
5 changed files with 21 additions and 11 deletions

View File

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