Skip to content

Commit f055e7f

Browse files
committed
Fixed a value spelling mistake
1 parent 97f5db9 commit f055e7f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

util/gh-pages/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -181,15 +181,15 @@ <h4 class="list-group-item-heading">
181181
}
182182
}
183183

184-
function searchLint(lint, therm) {
184+
function searchLint(lint, term) {
185185
for (const field in lint.docs) {
186186
// Continue if it's not a property
187187
if (!lint.docs.hasOwnProperty(field)) {
188188
continue;
189189
}
190190

191191
// Return if not found
192-
if (lint.docs[field].toLowerCase().indexOf(therm) !== -1) {
192+
if (lint.docs[field].toLowerCase().indexOf(term) !== -1) {
193193
return true;
194194
}
195195
}
@@ -247,13 +247,13 @@ <h4 class="list-group-item-heading">
247247

248248
// Search the description
249249
// The use of `for`-loops instead of `foreach` enables us to return early
250-
let therms = searchStr.split(" ");
251-
for (index = 0; index < therms.length; index++) {
252-
if (lint.id.indexOf(therms[index]) !== -1) {
250+
let terms = searchStr.split(" ");
251+
for (index = 0; index < terms.length; index++) {
252+
if (lint.id.indexOf(terms[index]) !== -1) {
253253
continue;
254254
}
255255

256-
if (searchLint(lint, therms[index])) {
256+
if (searchLint(lint, terms[index])) {
257257
continue;
258258
}
259259

0 commit comments

Comments
 (0)