From 1e1eae475836d3a576ca98c56de3dadbec2a6f49 Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Sat, 28 Feb 2015 10:57:32 -0700 Subject: [PATCH] :art: --- src/text-editor-presenter.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/text-editor-presenter.coffee b/src/text-editor-presenter.coffee index 156756feb..70eef98a9 100644 --- a/src/text-editor-presenter.coffee +++ b/src/text-editor-presenter.coffee @@ -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