2015-11-25 17:28:12 +08:00

19 lines
370 B
JavaScript

/**
* Created by nuintun on 2015/11/24.
*/
'use strict';
module.exports = function (Terminal){
Terminal.prototype.destroy = function (){
this.readable = false;
this.writable = false;
this.handler = function (){};
this.write = function (){};
if (this.element.parentNode) {
this.element.parentNode.removeChild(this.element);
}
};
};