Skip to content

Commit 5da0781

Browse files
niveditcfacebook-github-bot
authored andcommitted
Remove unused var in BlockTree (#1859)
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: facebookarchive/draft-js#1859 Differential Revision: D9762873 fbshipit-source-id: 42dab26c26164d08cda8fb2875a8fa4d6d3d9f1a
1 parent 8b5b91e commit 5da0781

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/model/immutable/BlockTree.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ const {List, Repeat, Record} = Immutable;
2727

2828
const returnTrue = emptyFunction.thatReturnsTrue;
2929

30-
const FINGERPRINT_DELIMITER = '-';
31-
3230
const defaultLeafRange: {
3331
start: ?number,
3432
end: ?number,

0 commit comments

Comments
 (0)