aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2020-05-02 17:44:29 -0500
committerJesús <heckyel@hyperbola.info>2020-05-02 17:44:29 -0500
commit7b7eb3463e84992a9204d12b0fd905fd1927abec (patch)
tree896167806ff3c0f8e8546e45daa2a7e637b82a9d
parentc9532aa9677a920d46dad57d1fa87c7c20778264 (diff)
downloadematrix-7b7eb3463e84992a9204d12b0fd905fd1927abec.tar.lz
ematrix-7b7eb3463e84992a9204d12b0fd905fd1927abec.tar.xz
ematrix-7b7eb3463e84992a9204d12b0fd905fd1927abec.zip
Fix typing errors
-rw-r--r--js/assets.js2
-rw-r--r--lib/Tools.jsm2
2 files changed, 2 insertions, 2 deletions
diff --git a/js/assets.js b/js/assets.js
index 82b08a5..484c4ef 100644
--- a/js/assets.js
+++ b/js/assets.js
@@ -588,7 +588,7 @@
};
let onRemoteContentError = function (details, tries) {
- let text = detail.statusText;
+ let text = details.statusText;
if (details.statusCode === 0) {
text = 'network error';
}
diff --git a/lib/Tools.jsm b/lib/Tools.jsm
index 6db8cfd..c57a5eb 100644
--- a/lib/Tools.jsm
+++ b/lib/Tools.jsm
@@ -28,7 +28,7 @@ var EXPORTED_SYMBOLS = ['Tools'];
var LineIterator = function (text, offset) {
this.text = text;
this.textLen = this.text.length;
- this offset = offset || 0;
+ this.offset = offset || 0;
};
LineIterator.prototype = {