From 5a3673608fbc233af6d2ea2e7988040f29b2f6e2 Mon Sep 17 00:00:00 2001 From: cel Date: Sun, 5 Nov 2017 22:18:09 -0500 Subject: Disable rating rendering --- lib/render-msg.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/render-msg.js b/lib/render-msg.js index 5cd6e2d..9153178 100644 --- a/lib/render-msg.js +++ b/lib/render-msg.js @@ -459,8 +459,10 @@ var knownAboutProps = { startDateTime: true, endDateTime: true, location: true, + /* rating: true, ratingType: true, + */ } RenderMsg.prototype.about = function (cb) { @@ -533,13 +535,17 @@ RenderMsg.prototype.about = function (cb) { src: this.render.imageUrl(img), alt: ' ', })) : '', + /* this.c.rating != null ? this.aboutRating() : '', + */ extras ? this.valueTable(extras, 1, done()) : '' ], elCb) done(cb) } +/* + * disabled until it's clearer how to do this -cel RenderMsg.prototype.aboutRating = function (cb) { var rating = Number(this.c.rating) var type = this.c.ratingType || '★' @@ -554,6 +560,7 @@ RenderMsg.prototype.aboutRating = function (cb) { } return el } +*/ RenderMsg.prototype.contact = function (cb) { var self = this -- cgit v1.2.3