From 17d7c470fd988c8bc89955b2bd4a3b4afde5f5af Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Sun, 27 Dec 2015 21:21:23 -0800 Subject: [PATCH] Lint cleanups. --- static/hogfather.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/static/hogfather.js b/static/hogfather.js index 93a51f5..317988e 100644 --- a/static/hogfather.js +++ b/static/hogfather.js @@ -82,11 +82,17 @@ hogfather.PublicChat.prototype.Shutdown = function() { }; +/** + * @return {string} + */ hogfather.PublicChat.prototype.getID = function() { return this.id_; }; +/** + * @return {Array.} + */ 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',