| 332 | } |
| 333 | |
| 334 | function render(state, instance) { |
| 335 | const container = document.createElement('div') |
| 336 | container.lang = "en-US" |
| 337 | container.className = 'gitment-container gitment-root-container' |
| 338 | container.appendChild(instance.renderHeader(state, instance)) |
| 339 | container.appendChild(instance.renderComments(state, instance)) |
| 340 | container.appendChild(instance.renderEditor(state, instance)) |
| 341 | container.appendChild(instance.renderFooter(state, instance)) |
| 342 | return container |
| 343 | } |
| 344 | |
| 345 | export default { render, renderHeader, renderComments, renderEditor, renderFooter } |