🔥 Avoid mounting the container in ctor

...as it will be mounted anyways when updateSync gets called
This commit is contained in:
Antonio Scandurra
2015-09-15 17:50:21 +02:00
parent 346c7d9b37
commit 398fb1f62d

View File

@@ -70,8 +70,6 @@ class TextEditorComponent
@scrollViewNode.classList.add('scroll-view')
@domNode.appendChild(@scrollViewNode)
@mountGutterContainerComponent() if @presenter.getState().gutters.length
@hiddenInputComponent = new InputComponent
@scrollViewNode.appendChild(@hiddenInputComponent.getDomNode())