facebookarchive/draft-js
View on GitHubImprove style by removing boolean param in `getCharacterRemovalRange.js`
Open
#1116 opened on Apr 3, 2017
enhancementgood first issue
Description
A recent change added two boolean flag params to getCharacterRemovalRange.js. Boolean params generally make code less readable and maintainable - this is not worth blocking a PR at this time, but it would be great to update this file and the callsites to call two methods instead of passing in different boolean params.