mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
[Gutter] Add ::getDomNode method to all 'components'
This commit is contained in:
@@ -17,6 +17,9 @@ class HighlightsComponent
|
||||
insertionPoint.setAttribute('select', '.underlayer')
|
||||
@domNode.appendChild(insertionPoint)
|
||||
|
||||
getDomNode: ->
|
||||
@domNode
|
||||
|
||||
updateSync: (state) ->
|
||||
newState = state.content.highlights
|
||||
@oldState ?= {}
|
||||
|
||||
Reference in New Issue
Block a user