mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
Use real clock in text-editor-component-spec
This will make it much easier to test asynchronous update logic.
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -220,7 +220,7 @@ class TextEditorComponent
|
||||
@updatesPaused = false
|
||||
if @updateRequestedWhilePaused and @canUpdate()
|
||||
@updateRequestedWhilePaused = false
|
||||
@updateSync()
|
||||
@requestUpdate()
|
||||
|
||||
getTopmostDOMNode: ->
|
||||
@hostElement
|
||||
|
||||
Reference in New Issue
Block a user