Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Commit

Permalink
Remove unused var in BlockTree (#1859)
Browse files Browse the repository at this point in the history
Summary:
**Summary**

This variable is unused & caused a lint warning.

**Test Plan**
Old (with warning):
```
> npm run lint

> draft-js@0.10.5 lint /Users/niveditc/draft-js
> eslint .

/Users/niveditc/draft-js/src/model/immutable/BlockTree.js
  30:7  warning  'FINGERPRINT_DELIMITER' is assigned a value but never used. Allowed unused vars must match /^_/  no-unused-vars

✖ 1 problem (0 errors, 1 warning)
```

New:
```
> npm run lint

> draft-js@0.10.5 lint /Users/niveditc/draft-js
> eslint .
```
Pull Request resolved: #1859

Differential Revision: D9762873

fbshipit-source-id: 42dab26c26164d08cda8fb2875a8fa4d6d3d9f1a
  • Loading branch information
niveditc authored and facebook-github-bot committed Sep 11, 2018
1 parent b962974 commit 0a45fcd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/model/immutable/BlockTree.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ const {List, Repeat, Record} = Immutable;

const returnTrue = emptyFunction.thatReturnsTrue;

const FINGERPRINT_DELIMITER = '-';

const defaultLeafRange: {
start: ?number,
end: ?number,
Expand Down

0 comments on commit 0a45fcd

Please sign in to comment.