Skip to content

Commit

Permalink
fix lint errors #972
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Nov 21, 2024
1 parent 424bd56 commit 8a179e7
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 27 deletions.
21 changes: 10 additions & 11 deletions js/jquery.terminal-src.js
Original file line number Diff line number Diff line change
Expand Up @@ -7494,24 +7494,23 @@
var version_string = version_set ? ' v. ' + $.terminal.version : ' ';
// regex is for placing version string aligned to the right
var reg = new RegExp(' {' + version_string.length + '}$');
var name_ver = 'jQuery Terminal Emulator' +
(version_set ? version_string : '');
function small_string(name) {
return '(c) 2011-2024 [[!;;;;https://jcubic.pl/me]' + name + ']';
return '(c) 2011-2024 [[!;;;;https://jcubic.pl/me]' + name + ']';
}
// -----------------------------------------------------------------------
// :: Terminal Signatures
// -----------------------------------------------------------------------
var signatures = [
['jQuery Terminal', small_string('jcubic')],
[' __ ____ ________',
' / // _ /__ ___/__ ___ ______',
' __ / // // / / // _ // _// /',
'/ / // // / / // ___// / / / / /',
'\\___//____ \\ /_//____//_/ /_/ /_/',
' \\/ '
.replace(reg, ' ') + version_string,
small_string('Jakub T. Jankiewicz')],
[
' __ ____ ________',
' / // _ /__ ___/__ ___ ______',
' __ / // // / / // _ // _// /',
'/ / // // / / // ___// / / / / /',
'\\___//____ \\ /_//____//_/ /_/ /_/',
' \\/ '
.replace(reg, ' ') + version_string,
small_string('Jakub T. Jankiewicz')],
[
' _______ ________ __',
' / / _ /_ ____________ _/__ ___/______________ _____ / /',
Expand Down
25 changes: 12 additions & 13 deletions js/jquery.terminal.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
*
* broken image by Sophia Bai from the Noun Project (CC-BY)
*
* Date: Thu, 21 Nov 2024 14:51:40 +0000
* Date: Thu, 21 Nov 2024 14:57:30 +0000
*/
/* global define, Map, BigInt */
/* eslint-disable */
Expand Down Expand Up @@ -5345,7 +5345,7 @@
// -------------------------------------------------------------------------
$.terminal = {
version: 'DEV',
date: 'Thu, 21 Nov 2024 14:51:40 +0000',
date: 'Thu, 21 Nov 2024 14:57:30 +0000',
// colors from https://www.w3.org/wiki/CSS/Properties/color/keywords
color_names: [
'transparent', 'currentcolor', 'black', 'silver', 'gray', 'white',
Expand Down Expand Up @@ -7494,24 +7494,23 @@
var version_string = version_set ? ' v. ' + $.terminal.version : ' ';
// regex is for placing version string aligned to the right
var reg = new RegExp(' {' + version_string.length + '}$');
var name_ver = 'jQuery Terminal Emulator' +
(version_set ? version_string : '');
function small_string(name) {
return '(c) 2011-2024 [[!;;;;https://jcubic.pl/me]' + name + ']';
return '(c) 2011-2024 [[!;;;;https://jcubic.pl/me]' + name + ']';
}
// -----------------------------------------------------------------------
// :: Terminal Signatures
// -----------------------------------------------------------------------
var signatures = [
['jQuery Terminal', small_string('jcubic')],
[' __ ____ ________',
' / // _ /__ ___/__ ___ ______',
' __ / // // / / // _ // _// /',
'/ / // // / / // ___// / / / / /',
'\\___//____ \\ /_//____//_/ /_/ /_/',
' \\/ '
.replace(reg, ' ') + version_string,
small_string('Jakub T. Jankiewicz')],
[
' __ ____ ________',
' / // _ /__ ___/__ ___ ______',
' __ / // // / / // _ // _// /',
'/ / // // / / // ___// / / / / /',
'\\___//____ \\ /_//____//_/ /_/ /_/',
' \\/ '
.replace(reg, ' ') + version_string,
small_string('Jakub T. Jankiewicz')],
[
' _______ ________ __',
' / / _ /_ ____________ _/__ ___/______________ _____ / /',
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 8a179e7

Please sign in to comment.