-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We were still passing in allowNewlines to _formatCall() even though that parameter was no longer used once Piece got the allowChildInState() API. So I removed that. Then I noticed that the switch in _formatCall() could be more cleanly handled by having the cases in format() calculate separate directly. So I did that. That left _formatCall() not actually doing anything useful, so I got rid of it. There are no behavioral change, it's just a code clean-up.
- Loading branch information
1 parent
4e6f44d
commit 4b0f922
Showing
1 changed file
with
10 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters