From 7b7eb3463e84992a9204d12b0fd905fd1927abec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Sat, 2 May 2020 17:44:29 -0500 Subject: Fix typing errors --- js/assets.js | 2 +- lib/Tools.jsm | 2 +- 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 = { -- cgit v1.2.3