Skip to content

Commit

Permalink
fix lint error #892
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Aug 2, 2023
1 parent f962b55 commit 1195f78
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 18 deletions.
10 changes: 5 additions & 5 deletions js/jquery.terminal-2.37.0.js
Expand Up @@ -41,7 +41,7 @@
*
* broken image by Sophia Bai from the Noun Project (CC-BY)
*
* Date: Wed, 02 Aug 2023 15:54:41 +0000
* Date: Wed, 02 Aug 2023 16:00:14 +0000
*/
/* global define, Map */
/* eslint-disable */
Expand Down Expand Up @@ -5278,7 +5278,7 @@
// -------------------------------------------------------------------------
$.terminal = {
version: 'DEV',
date: 'Wed, 02 Aug 2023 15:54:41 +0000',
date: 'Wed, 02 Aug 2023 16:00:14 +0000',
// colors from https://www.w3.org/wiki/CSS/Properties/color/keywords
color_names: [
'transparent', 'currentcolor', 'black', 'silver', 'gray', 'white',
Expand Down Expand Up @@ -7321,13 +7321,13 @@
}
// -----------------------------------------------------------------------
function have_custom_font(term) {
var font = $(term).css('--font');
if (!font) {
var custom_font = $(term).css('--font');
if (!custom_font) {
return false;
}
var fonts = Array.from(document.fonts.keys());
var font = fonts.find(function(face) {
return face.family === font;
return face.family === custom_font;
});
return !!font;
}
Expand Down
4 changes: 2 additions & 2 deletions js/jquery.terminal-2.37.0.min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions js/jquery.terminal-src.js
Expand Up @@ -7321,13 +7321,13 @@
}
// -----------------------------------------------------------------------
function have_custom_font(term) {
var font = $(term).css('--font');
if (!font) {
var custom_font = $(term).css('--font');
if (!custom_font) {
return false;
}
var fonts = Array.from(document.fonts.keys());
var font = fonts.find(function(face) {
return face.family === font;
return face.family === custom_font;
});
return !!font;
}
Expand Down
10 changes: 5 additions & 5 deletions js/jquery.terminal.js
Expand Up @@ -41,7 +41,7 @@
*
* broken image by Sophia Bai from the Noun Project (CC-BY)
*
* Date: Wed, 02 Aug 2023 15:54:41 +0000
* Date: Wed, 02 Aug 2023 16:00:14 +0000
*/
/* global define, Map */
/* eslint-disable */
Expand Down Expand Up @@ -5278,7 +5278,7 @@
// -------------------------------------------------------------------------
$.terminal = {
version: 'DEV',
date: 'Wed, 02 Aug 2023 15:54:41 +0000',
date: 'Wed, 02 Aug 2023 16:00:14 +0000',
// colors from https://www.w3.org/wiki/CSS/Properties/color/keywords
color_names: [
'transparent', 'currentcolor', 'black', 'silver', 'gray', 'white',
Expand Down Expand Up @@ -7321,13 +7321,13 @@
}
// -----------------------------------------------------------------------
function have_custom_font(term) {
var font = $(term).css('--font');
if (!font) {
var custom_font = $(term).css('--font');
if (!custom_font) {
return false;
}
var fonts = Array.from(document.fonts.keys());
var font = fonts.find(function(face) {
return face.family === font;
return face.family === custom_font;
});
return !!font;
}
Expand Down
4 changes: 2 additions & 2 deletions js/jquery.terminal.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/jquery.terminal.min.js.map

Large diffs are not rendered by default.

0 comments on commit 1195f78

Please sign in to comment.