Lint cleanups.

This commit is contained in:
Ian Gulliver
2015-12-27 21:21:23 -08:00
parent 076238eb99
commit 17d7c470fd

View File

@@ -82,11 +82,17 @@ hogfather.PublicChat.prototype.Shutdown = function() {
};
/**
* @return {string}
*/
hogfather.PublicChat.prototype.getID = function() {
return this.id_;
};
/**
* @return {Array.<Cosmopolite.typeMessage>}
*/
hogfather.PublicChat.prototype.getMessages = function() {
var messages = this.cosmo_.getMessages(this.subject_);
var ret = [];
@@ -106,6 +112,10 @@ hogfather.PublicChat.prototype.getMessages = function() {
};
/**
* @param {!*} message
* @return {Promise}
*/
hogfather.PublicChat.prototype.sendMessage = function(message) {
return this.cosmo_.sendMessage(this.subject_, {
type: 'message',