Skip to content

Commit

Permalink
remove emit and on method from saihubot
Browse files Browse the repository at this point in the history
  • Loading branch information
gasolin committed Aug 17, 2016
1 parent db6bb58 commit 5f8f868
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions saihubot.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,6 @@ SaihuBot.prototype = {
var sendMsg = document.createElement('p');
sendMsg.textContent = charactor + ': ' + msg;
this.chatHistory.push(sendMsg);
},

emit: function(event, data) {
// var event = new CustomEvent(event, { 'detail': data });
// this.inputElement.dispatchEvent(event);
},

on: function(event, callback) {
// this.inputElement.addEventListener(event, callback);
}
};

Expand Down

0 comments on commit 5f8f868

Please sign in to comment.