summaryrefslogtreecommitdiff
path: root/ext/fg/js/source-element.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-08-20 19:32:50 -0700
committerAlex Yatskov <alex@foosoft.net>2016-08-20 19:32:50 -0700
commit8416c9d633ed15f679c9871b9940731fb9a7b386 (patch)
tree1c951a141d1135266e8867d2b5ac1f5d442bf7a2 /ext/fg/js/source-element.js
parent18fc8d9865406a74dbea47f49ac959a543035ec7 (diff)
More cleanup
Diffstat (limited to 'ext/fg/js/source-element.js')
-rw-r--r--ext/fg/js/source-element.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fg/js/source-element.js b/ext/fg/js/source-element.js
index 3110ed53..d3cc42a1 100644
--- a/ext/fg/js/source-element.js
+++ b/ext/fg/js/source-element.js
@@ -71,6 +71,6 @@ class TextSourceElement {
}
equals(other) {
- return other.element && other.textRaw() == this.textRaw();
+ return other.element && other.textRaw() === this.textRaw();
}
}