facebookarchive/draft-js

Improve style by removing boolean param in `getCharacterRemovalRange.js`

Open

#1,116 创建于 2017年4月3日

在 GitHub 查看
 (3 评论) (0 反应) (0 负责人)JavaScript (22,554 star) (2,646 fork)batch import
enhancementgood first issue

描述

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.

贡献者指南

Improve style by removing boolean param in `getCharacterRemovalRange.js` · facebookarchive/draft-js#1116 | Good First Issue