diff --git a/app/assets/javascripts/discourse/models/post.js.es6 b/app/assets/javascripts/discourse/models/post.js.es6 index 00f60bb358c..2e3681c5c62 100644 --- a/app/assets/javascripts/discourse/models/post.js.es6 +++ b/app/assets/javascripts/discourse/models/post.js.es6 @@ -69,7 +69,8 @@ const Post = RestModel.extend({ return postNumber === 1 ? `${baseUrl}/1` : baseUrl; }, - @computed("username") usernameUrl: userPath, + @computed("username") + usernameUrl: userPath, topicOwner: propertyEqual("topic.details.created_by.id", "user_id"), diff --git a/app/assets/javascripts/discourse/models/user.js.es6 b/app/assets/javascripts/discourse/models/user.js.es6 index 21603e8ed96..fee74ec56b8 100644 --- a/app/assets/javascripts/discourse/models/user.js.es6 +++ b/app/assets/javascripts/discourse/models/user.js.es6 @@ -205,13 +205,17 @@ const User = RestModel.extend({ return suspendedTill && moment(suspendedTill).isAfter(); }, - @computed("suspended_till") suspendedForever: isForever, + @computed("suspended_till") + suspendedForever: isForever, - @computed("silenced_till") silencedForever: isForever, + @computed("silenced_till") + silencedForever: isForever, - @computed("suspended_till") suspendedTillDate: longDate, + @computed("suspended_till") + suspendedTillDate: longDate, - @computed("silenced_till") silencedTillDate: longDate, + @computed("silenced_till") + silencedTillDate: longDate, changeUsername(new_username) { return ajax(userPath(`${this.username_lower}/preferences/username`), { diff --git a/lib/javascripts/widget-hbs-compiler.js.es6 b/lib/javascripts/widget-hbs-compiler.js.es6 index fc2280a3357..907ca443271 100644 --- a/lib/javascripts/widget-hbs-compiler.js.es6 +++ b/lib/javascripts/widget-hbs-compiler.js.es6 @@ -191,9 +191,7 @@ class Compiler { const attrString = `{${attributes.join(", ")}}`; instructions.push( - `${parentAcc}.push(virtualDom.h('${ - node.tag - }', ${attrString}, ${innerAcc}));` + `${parentAcc}.push(virtualDom.h('${node.tag}', ${attrString}, ${innerAcc}));` ); } else { instructions.push(