diff --git a/common/components/protocols.js b/common/components/protocols.js index 52b49193..f220023d 100644 --- a/common/components/protocols.js +++ b/common/components/protocols.js @@ -85,7 +85,6 @@ ChromeData.prototype = { }; function Dactyl() { - const self = this; this.wrappedJSObject = this; this.HELP_TAGS = {}; diff --git a/common/content/commandline.js b/common/content/commandline.js index 8fa7309a..8f28ddda 100644 --- a/common/content/commandline.js +++ b/common/content/commandline.js @@ -10,7 +10,6 @@ const CommandWidgets = Class("CommandWidgets", { init: function () { - const self = this; this.elements = {}; this.addElement({ name: "container", diff --git a/common/content/commands.js b/common/content/commands.js index 3a856393..bcb7218f 100644 --- a/common/content/commands.js +++ b/common/content/commands.js @@ -140,7 +140,6 @@ const Command = Class("Command", { (isString(this.deprecated) ? ": " + this.deprecated : "")); } - let self = this; modifiers = modifiers || {}; if (args.count != null && !this.count) diff --git a/common/content/completion.js b/common/content/completion.js index 365ac1fd..7787c8af 100644 --- a/common/content/completion.js +++ b/common/content/completion.js @@ -553,7 +553,6 @@ const CompletionContext = Class("CompletionContext", { }, getItems: function getItems(start, end) { - let self = this; let items = this.items; let step = start > end ? -1 : 1; start = Math.max(0, start || 0); diff --git a/common/content/events.js b/common/content/events.js index e6823b2a..cbb35011 100644 --- a/common/content/events.js +++ b/common/content/events.js @@ -13,8 +13,6 @@ */ const Events = Module("events", { init: function () { - const self = this; - this._fullscreen = window.fullScreen; this._lastFocus = null; this._currentMacro = ""; diff --git a/common/content/javascript.js b/common/content/javascript.js index ae45f81d..4b369df8 100644 --- a/common/content/javascript.js +++ b/common/content/javascript.js @@ -146,8 +146,6 @@ const JavaScript = Module("javascript", { }, _buildStack: function (filter) { - let self = this; - // Todo: Fix these one-letter variable names. this._i = 0; this._c = ""; // Current index and character, respectively.