diff --git a/background.html b/background.html index d3492c616..a91a5c510 100644 --- a/background.html +++ b/background.html @@ -212,7 +212,6 @@ - diff --git a/background_test.html b/background_test.html index 67a5b7fbd..5302bfbd1 100644 --- a/background_test.html +++ b/background_test.html @@ -214,7 +214,6 @@ - diff --git a/js/views/last_seen_indicator_view.js b/js/views/last_seen_indicator_view.js deleted file mode 100644 index de475aff5..000000000 --- a/js/views/last_seen_indicator_view.js +++ /dev/null @@ -1,36 +0,0 @@ -/* global Whisper, i18n */ - -// eslint-disable-next-line func-names -(function() { - 'use strict'; - - window.Whisper = window.Whisper || {}; - - Whisper.LastSeenIndicatorView = Whisper.View.extend({ - className: 'module-last-seen-indicator', - templateName: 'last-seen-indicator-view', - initialize(options = {}) { - this.count = options.count || 0; - }, - - increment(count) { - this.count += count; - this.render(); - }, - - getCount() { - return this.count; - }, - - render_attributes() { - const unreadMessages = - this.count === 1 - ? i18n('unreadMessage', [this.count]) - : i18n('unreadMessages', [this.count]); - - return { - unreadMessages, - }; - }, - }); -})(); diff --git a/test/index.html b/test/index.html index 4c7caafd8..7565763c9 100644 --- a/test/index.html +++ b/test/index.html @@ -249,7 +249,6 @@ - @@ -288,7 +287,6 @@ -