This commit is contained in:
Nathan Sobo 2015-02-28 10:57:32 -07:00
parent d05fe8a7d8
commit 1e1eae4758

View File

@ -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