Update comment based on 'small object' version of code.

This commit is contained in:
Danila Fedorin 2021-07-16 13:53:14 -07:00
parent c620e9c930
commit 3e4314e7f3

View file

@ -42,7 +42,7 @@ export class BaseTextTile extends BaseMessageTile {
get body() { get body() {
const body = this._getBody(); const body = this._getBody();
const format = this._getBodyFormat(); const format = this._getBodyFormat();
// body.string is a string, so we can check for difference by just // body is a string, so we can check for difference by just
// doing an equality check // doing an equality check
// Even if the body hasn't changed, but the format has, we need // Even if the body hasn't changed, but the format has, we need
// to re-fill our cache. // to re-fill our cache.