MCPcopy
hub / github.com/imsun/gitment / update

Method update

src/gitment.js:136–143  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

134 }
135
136 update() {
137 return Promise.all([this.loadMeta(), this.loadUserInfo()])
138 .then(() => Promise.all([
139 this.loadComments().then(() => this.loadCommentReactions()),
140 this.loadReactions(),
141 ]))
142 .catch(e => this.state.error = e)
143 }
144
145 markdown(text) {
146 return http.post('/markdown', {

Callers 1

constructorMethod · 0.95

Calls 5

loadMetaMethod · 0.95
loadUserInfoMethod · 0.95
loadCommentsMethod · 0.95
loadCommentReactionsMethod · 0.95
loadReactionsMethod · 0.95

Tested by

no test coverage detected