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

Method init

src/gitment.js:120–127  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

118 }
119
120 init() {
121 return this.createIssue()
122 .then(() => this.loadComments())
123 .then(comments => {
124 this.state.error = null
125 return comments
126 })
127 }
128
129 useTheme(theme = {}) {
130 this.theme = theme

Callers 1

renderCommentsFunction · 0.80

Calls 2

createIssueMethod · 0.95
loadCommentsMethod · 0.95

Tested by

no test coverage detected