Remove ? guard from ::oldState and ::newState references

Esse commit está contido em:
Nathan Sobo
2015-02-03 12:20:22 -07:00
commit 75652e36d9
+1 -1
Ver Arquivo
@@ -66,7 +66,7 @@ LinesComponent = React.createClass
componentDidUpdate: ->
{visible, presenter} = @props
@removeLineNodes() unless @oldState?.indentGuidesVisible is @newState?.indentGuidesVisible
@removeLineNodes() unless @oldState.indentGuidesVisible is @newState.indentGuidesVisible
@updateLineNodes()
@measureCharactersInNewLines() if visible and not @newState.scrollingVertically