From 0a45fcdf5ebfbb011711643690e06e2b67040928 Mon Sep 17 00:00:00 2001 From: Nivedita Chopra Date: Mon, 10 Sep 2018 19:26:20 -0700 Subject: [PATCH] Remove unused var in BlockTree (#1859) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: https://github.com/facebook/draft-js/pull/1859 Differential Revision: D9762873 fbshipit-source-id: 42dab26c26164d08cda8fb2875a8fa4d6d3d9f1a --- src/model/immutable/BlockTree.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/model/immutable/BlockTree.js b/src/model/immutable/BlockTree.js index c35e816df1..8fe68f452e 100644 --- a/src/model/immutable/BlockTree.js +++ b/src/model/immutable/BlockTree.js @@ -27,8 +27,6 @@ const {List, Repeat, Record} = Immutable; const returnTrue = emptyFunction.thatReturnsTrue; -const FINGERPRINT_DELIMITER = '-'; - const defaultLeafRange: { start: ?number, end: ?number,