facebookarchive/draft-js

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

オープン

#1,116 opened on 2017/04/03

 (3 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (2,646 件のフォーク)batch import
enhancementgood first issue

Repository metrics

Stars
 (22,554 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド