[Gutter] Add ::getDomNode method to all 'components'

This commit is contained in:
Jess Lin
2015-04-18 16:23:30 -07:00
parent 5dfa6b3e1e
commit 79b460a0ca
10 changed files with 45 additions and 24 deletions

View File

@@ -17,6 +17,9 @@ class HighlightsComponent
insertionPoint.setAttribute('select', '.underlayer')
@domNode.appendChild(insertionPoint)
getDomNode: ->
@domNode
updateSync: (state) ->
newState = state.content.highlights
@oldState ?= {}