Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Fix block decorations spec in text editor presenter - #10933

Merged
maxbrunsfeld merged 2 commits into
masterfrom
mb-fix-block-decorations-spec
Feb 23, 2016
Merged

maxbrunsfeld merged 2 commits into
masterfrom
mb-fix-block-decorations-spec

Conversation

@maxbrunsfeld

Copy link
Copy Markdown
Contributor

Fixes #10840

blockDecoration3 = addBlockDecorationBeforeScreenRow(7)
blockDecoration4 = null

waitsForStateToUpdate presenter, blockDecoration4 = addBlockDecorationAfterScreenRow(7)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This lil' block decoration was being passed as the callback argument to waitsForStateToUpdate, which was silently accepting it because of the fn?() syntax.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for tracking this down!

maxbrunsfeld pushed a commit that referenced this pull request Feb 23, 2016
Fix block decorations spec in text editor presenter
@maxbrunsfeld
maxbrunsfeld merged commit 3bc9eb6 into master Feb 23, 2016
@maxbrunsfeld
maxbrunsfeld deleted the mb-fix-block-decorations-spec branch February 23, 2016 01:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants