facebookarchive/draft-js

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

开放

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

 (3 条评论) (0 个反应) (0 位负责人)JavaScript (2,646 个派生)batch import
enhancementgood first issue

仓库指标

星标
 (22,554 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南