aboutsummaryrefslogtreecommitdiff
path: root/src/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/index.js b/src/index.js
index c4c14ed..0c3e47d 100644
--- a/src/index.js
+++ b/src/index.js
@@ -96,10 +96,9 @@ function tokenizeModifierGenerator(oldParser, config) {
function token(eat, value, silent) {
// This we call the old tokenize
const self = this;
- let eaten = oldParser.call(self, eat, value, silent);
+ const eaten = oldParser.call(self, eat, value, silent);
let index = 0;
- const {length} = value;
if (!eaten || !eaten.position ||
!eaten.children || eaten.children.length <= 0) {