summaryrefslogtreecommitdiff
path: root/ext/fg/js/document.js
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2019-08-15 15:28:30 +0300
committersiikamiika <siikamiika@users.noreply.github.com>2019-08-15 15:28:30 +0300
commit0a9b673e27de04c499e06680d36e804a6a43f673 (patch)
treec4da0948583d010c628375572c02ae21c0183abe /ext/fg/js/document.js
parent658e5ddff13f4ec392dc110004635e22d468525a (diff)
reimplement ignored chars inside source.js only
Diffstat (limited to 'ext/fg/js/document.js')
-rw-r--r--ext/fg/js/document.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fg/js/document.js b/ext/fg/js/document.js
index 0697edb3..f58a64fc 100644
--- a/ext/fg/js/document.js
+++ b/ext/fg/js/document.js
@@ -116,7 +116,7 @@ function docSentenceExtract(source, extent) {
const sourceLocal = source.clone();
const position = sourceLocal.setStartOffset(extent);
sourceLocal.setEndOffset(position + extent);
- const {text: content} = sourceLocal.text();
+ const content = sourceLocal.text();
let quoteStack = [];