Skip to content

Commit 94a65eb

Browse files
gineadaigkatsev
gineadai
authored andcommitted
Fix typo with highlight, fixes #498 (#499)
1 parent e8eade2 commit 94a65eb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

common/content/style.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -231,13 +231,13 @@ function Highlights(name, store) {
231231
return base != this.class && base in highlight ? highlight[base] : null;
232232
});
233233

234-
let hightlightKeys = [];
234+
let highlightKeys = [];
235235
for ([k, v] in this)
236-
hightlightKeys.push(k + ": " + util.escapeString(v || "undefined"));
237-
Highlight.prototype.toString = function () "Highlight(" + this.class + ")\n\t" + hightlightKeys.join("\n\t");
236+
highlightKeys.push(k + ": " + util.escapeString(v || "undefined"));
237+
Highlight.prototype.toString = function () "Highlight(" + this.class + ")\n\t" + highlightKeys.join("\n\t");
238238

239239
function keys() {
240-
return Object.keys(hightlight).sort();
240+
return Object.keys(highlight).sort();
241241
}
242242

243243
this.__iterator__ = function () iter(keys().map(v => highlight[v]));
@@ -811,7 +811,7 @@ Module("highlight", {
811811
literal: 1,
812812
options: [[["-append", "-a"], commands.OPTION_NOARG]],
813813
serial: function () {
814-
return Array.from(iter(hightlight))
814+
return Array.from(iter(highlight))
815815
.filter(v => v.value != v.default)
816816
.map(v => ({
817817
command: this.name,

0 commit comments

Comments
 (0)