mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
🎨
This commit is contained in:
@@ -51,7 +51,7 @@ class TextEditorPresenter
|
||||
# Private: Determines whether {TextEditorPresenter} is currently batching changes.
|
||||
# Returns a {Boolean}, `true` if is collecting changes, `false` if is applying them.
|
||||
isBatching: ->
|
||||
@updating == false
|
||||
@updating is false
|
||||
|
||||
# Private: Executes `fn` if `isBatching()` is false, otherwise sets `@[flagName]` to `true` for later processing. In either cases, it calls `emitDidUpdateState`.
|
||||
# * `flagName` {String} name of a property of this presenter
|
||||
|
||||
Reference in New Issue
Block a user