Skip to content

Commit 1195f78

Browse files
committed
fix lint error #892
1 parent f962b55 commit 1195f78

File tree

6 files changed

+18
-18
lines changed

6 files changed

+18
-18
lines changed

js/jquery.terminal-2.37.0.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
*
4242
* broken image by Sophia Bai from the Noun Project (CC-BY)
4343
*
44-
* Date: Wed, 02 Aug 2023 15:54:41 +0000
44+
* Date: Wed, 02 Aug 2023 16:00:14 +0000
4545
*/
4646
/* global define, Map */
4747
/* eslint-disable */
@@ -5278,7 +5278,7 @@
52785278
// -------------------------------------------------------------------------
52795279
$.terminal = {
52805280
version: 'DEV',
5281-
date: 'Wed, 02 Aug 2023 15:54:41 +0000',
5281+
date: 'Wed, 02 Aug 2023 16:00:14 +0000',
52825282
// colors from https://www.w3.org/wiki/CSS/Properties/color/keywords
52835283
color_names: [
52845284
'transparent', 'currentcolor', 'black', 'silver', 'gray', 'white',
@@ -7321,13 +7321,13 @@
73217321
}
73227322
// -----------------------------------------------------------------------
73237323
function have_custom_font(term) {
7324-
var font = $(term).css('--font');
7325-
if (!font) {
7324+
var custom_font = $(term).css('--font');
7325+
if (!custom_font) {
73267326
return false;
73277327
}
73287328
var fonts = Array.from(document.fonts.keys());
73297329
var font = fonts.find(function(face) {
7330-
return face.family === font;
7330+
return face.family === custom_font;
73317331
});
73327332
return !!font;
73337333
}

js/jquery.terminal-2.37.0.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/jquery.terminal-src.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7321,13 +7321,13 @@
73217321
}
73227322
// -----------------------------------------------------------------------
73237323
function have_custom_font(term) {
7324-
var font = $(term).css('--font');
7325-
if (!font) {
7324+
var custom_font = $(term).css('--font');
7325+
if (!custom_font) {
73267326
return false;
73277327
}
73287328
var fonts = Array.from(document.fonts.keys());
73297329
var font = fonts.find(function(face) {
7330-
return face.family === font;
7330+
return face.family === custom_font;
73317331
});
73327332
return !!font;
73337333
}

js/jquery.terminal.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
*
4242
* broken image by Sophia Bai from the Noun Project (CC-BY)
4343
*
44-
* Date: Wed, 02 Aug 2023 15:54:41 +0000
44+
* Date: Wed, 02 Aug 2023 16:00:14 +0000
4545
*/
4646
/* global define, Map */
4747
/* eslint-disable */
@@ -5278,7 +5278,7 @@
52785278
// -------------------------------------------------------------------------
52795279
$.terminal = {
52805280
version: 'DEV',
5281-
date: 'Wed, 02 Aug 2023 15:54:41 +0000',
5281+
date: 'Wed, 02 Aug 2023 16:00:14 +0000',
52825282
// colors from https://www.w3.org/wiki/CSS/Properties/color/keywords
52835283
color_names: [
52845284
'transparent', 'currentcolor', 'black', 'silver', 'gray', 'white',
@@ -7321,13 +7321,13 @@
73217321
}
73227322
// -----------------------------------------------------------------------
73237323
function have_custom_font(term) {
7324-
var font = $(term).css('--font');
7325-
if (!font) {
7324+
var custom_font = $(term).css('--font');
7325+
if (!custom_font) {
73267326
return false;
73277327
}
73287328
var fonts = Array.from(document.fonts.keys());
73297329
var font = fonts.find(function(face) {
7330-
return face.family === font;
7330+
return face.family === custom_font;
73317331
});
73327332
return !!font;
73337333
}

js/jquery.terminal.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/jquery.terminal.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)