aboutsummaryrefslogtreecommitdiff
path: root/ext/fg/js/source.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/fg/js/source.js')
-rw-r--r--ext/fg/js/source.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/fg/js/source.js b/ext/fg/js/source.js
index 409e81aa..69d8197d 100644
--- a/ext/fg/js/source.js
+++ b/ext/fg/js/source.js
@@ -25,19 +25,19 @@ const IGNORE_TEXT_PATTERN = /\u200c/;
*/
class TextSourceRange {
- constructor(range, content, imposter) {
+ constructor(range, content, imposterContainer) {
this.range = range;
this.content = content;
- this.imposter = imposter;
+ this.imposterContainer = imposterContainer;
}
clone() {
- return new TextSourceRange(this.range.cloneRange(), this.content, this.imposter);
+ return new TextSourceRange(this.range.cloneRange(), this.content, this.imposterContainer);
}
cleanup() {
- if (this.imposter !== null && this.imposter.parentNode !== null) {
- this.imposter.parentNode.removeChild(this.imposter);
+ if (this.imposterContainer !== null && this.imposterContainer.parentNode !== null) {
+ this.imposterContainer.parentNode.removeChild(this.imposterContainer);
}
}