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

Method loadComments

src/gitment.js:198–205  ·  view source on GitHub ↗
(page = this.state.currentPage)

Source from the content-addressed store, hash-verified

196 }
197
198 loadComments(page = this.state.currentPage) {
199 return this.getIssue()
200 .then(issue => http.get(issue.comments_url, { page, per_page: this.perPage }, ''))
201 .then((comments) => {
202 this.state.comments = comments
203 return comments
204 })
205 }
206
207 loadUserInfo() {
208 if (!this.accessToken) {

Callers 3

initMethod · 0.95
updateMethod · 0.95
gotoMethod · 0.95

Calls 1

getIssueMethod · 0.95

Tested by

no test coverage detected