Skip to content

Commit f9ac6f0

Browse files
committed
build
1 parent 0ed7b90 commit f9ac6f0

6 files changed

+30
-30
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
[![npm](https://img.shields.io/badge/npm-DEV-blue.svg)](https://www.npmjs.com/package/jquery.terminal)
99
![bower](https://img.shields.io/badge/bower-DEV-yellow.svg)
1010
[![Build and test](https://github.com/jcubic/jquery.terminal/actions/workflows/build.yaml/badge.svg?branch=devel&event=push)](https://github.com/jcubic/jquery.terminal/actions/workflows/build.yaml)
11-
[![Coverage Status](https://coveralls.io/repos/github/jcubic/jquery.terminal/badge.svg?branch=devel&e637f705f0dc86afeff501b675fef37c)](https://coveralls.io/github/jcubic/jquery.terminal?branch=devel)
11+
[![Coverage Status](https://coveralls.io/repos/github/jcubic/jquery.terminal/badge.svg?branch=devel&998c1c8b8a57dd88c9cf5a40049e8bf2)](https://coveralls.io/github/jcubic/jquery.terminal?branch=devel)
1212
![NPM Downloads](https://img.shields.io/npm/dm/jquery.terminal.svg?style=flat)
1313
[![jsDelivr Downloads](https://data.jsdelivr.com/v1/package/npm/jquery.terminal/badge?style=rounded&n=1)](https://www.jsdelivr.com/package/npm/jquery.terminal)
1414
[![Paid Support](https://img.shields.io/badge/paid-support-354465.svg)](https://support.jcubic.pl/)

js/jquery.terminal-2.37.2.js

+12-12
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, 31 Jan 2024 13:30:30 +0000
44+
* Date: Tue, 13 Feb 2024 11:53:46 +0000
4545
*/
4646
/* global define, Map, BigInt */
4747
/* eslint-disable */
@@ -283,13 +283,13 @@
283283
clone_object: function(object) {
284284
var tmp = {};
285285
if (typeof object === 'object') {
286-
if ($.isArray(object)) {
286+
if (Array.isArray(object)) {
287287
return this.clone_array(object);
288288
} else if (object === null) {
289289
return object;
290290
} else {
291291
for (var key in object) {
292-
if ($.isArray(object[key])) {
292+
if (Array.isArray(object[key])) {
293293
tmp[key] = this.clone_array(object[key]);
294294
} else if (typeof object[key] === 'object') {
295295
tmp[key] = this.clone_object(object[key]);
@@ -625,7 +625,7 @@
625625
if (value === undefined || value === null) {
626626
return null;
627627
}
628-
var result = this.regex.exec(jQuery.trim(value.toString()));
628+
var result = this.regex.exec(value.toString().trim());
629629
if (result[2]) {
630630
var num = parseInt(result[1], 10);
631631
var mult = this.powers[result[2]] || 1;
@@ -637,7 +637,7 @@
637637
add: function(element, interval, label, fn, times, belay) {
638638
var counter = 0;
639639

640-
if (jQuery.isFunction(label)) {
640+
if (typeof label === 'function') {
641641
if (!times) {
642642
times = fn;
643643
}
@@ -5286,7 +5286,7 @@
52865286
// -------------------------------------------------------------------------
52875287
$.terminal = {
52885288
version: 'DEV',
5289-
date: 'Wed, 31 Jan 2024 13:30:30 +0000',
5289+
date: 'Tue, 13 Feb 2024 11:53:46 +0000',
52905290
// colors from https://www.w3.org/wiki/CSS/Properties/color/keywords
52915291
color_names: [
52925292
'transparent', 'currentcolor', 'black', 'silver', 'gray', 'white',
@@ -7107,7 +7107,7 @@
71077107
};
71087108
}
71097109
function validJSONRPC(response) {
7110-
return $.isNumeric(response.id) &&
7110+
return typeof response.id === 'number' &&
71117111
(typeof response.result !== 'undefined' ||
71127112
typeof response.error !== 'undefined');
71137113
}
@@ -8102,7 +8102,7 @@
81028102
object = {
81038103
interpreter: make_basic_json_rpc(user_intrp, login)
81048104
};
8105-
if ($.isArray(settings.completion)) {
8105+
if (Array.isArray(settings.completion)) {
81068106
object.completion = settings.completion;
81078107
}
81088108
finalize(object);
@@ -9410,7 +9410,7 @@
94109410
// will be used internaly since users know
94119411
// when login success (they decide when
94129412
// it happen by calling the callback -
9413-
// this funtion)
9413+
// this function)
94149414
if (is_function(next)) {
94159415
next();
94169416
}
@@ -9611,7 +9611,7 @@
96119611
} else {
96129612
save_state.push(self.export_view());
96139613
}
9614-
if (!$.isArray(hash_commands)) {
9614+
if (!Array.isArray(hash_commands)) {
96159615
hash_commands = [];
96169616
}
96179617
if (command !== undefined && !ignore_hash) {
@@ -9665,7 +9665,7 @@
96659665
}
96669666
var d = exec_settings.deferred;
96679667
cmd_ready(function ready() {
9668-
if ($.isArray(command)) {
9668+
if (Array.isArray(command)) {
96699669
(function recur() {
96709670
var cmd = command.shift();
96719671
if (cmd) {
@@ -11237,7 +11237,7 @@
1123711237
// result is object with interpreter and completion properties
1123811238
interpreters.push($.extend({}, ret, push_settings));
1123911239
if (push_settings.completion === true) {
11240-
if ($.isArray(ret.completion)) {
11240+
if (Array.isArray(ret.completion)) {
1124111241
interpreters.top().completion = ret.completion;
1124211242
} else if (!ret.completion) {
1124311243
interpreters.top().completion = false;

js/jquery.terminal-2.37.2.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/jquery.terminal.js

+12-12
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, 31 Jan 2024 13:30:30 +0000
44+
* Date: Tue, 13 Feb 2024 11:53:46 +0000
4545
*/
4646
/* global define, Map, BigInt */
4747
/* eslint-disable */
@@ -283,13 +283,13 @@
283283
clone_object: function(object) {
284284
var tmp = {};
285285
if (typeof object === 'object') {
286-
if ($.isArray(object)) {
286+
if (Array.isArray(object)) {
287287
return this.clone_array(object);
288288
} else if (object === null) {
289289
return object;
290290
} else {
291291
for (var key in object) {
292-
if ($.isArray(object[key])) {
292+
if (Array.isArray(object[key])) {
293293
tmp[key] = this.clone_array(object[key]);
294294
} else if (typeof object[key] === 'object') {
295295
tmp[key] = this.clone_object(object[key]);
@@ -625,7 +625,7 @@
625625
if (value === undefined || value === null) {
626626
return null;
627627
}
628-
var result = this.regex.exec(jQuery.trim(value.toString()));
628+
var result = this.regex.exec(value.toString().trim());
629629
if (result[2]) {
630630
var num = parseInt(result[1], 10);
631631
var mult = this.powers[result[2]] || 1;
@@ -637,7 +637,7 @@
637637
add: function(element, interval, label, fn, times, belay) {
638638
var counter = 0;
639639

640-
if (jQuery.isFunction(label)) {
640+
if (typeof label === 'function') {
641641
if (!times) {
642642
times = fn;
643643
}
@@ -5286,7 +5286,7 @@
52865286
// -------------------------------------------------------------------------
52875287
$.terminal = {
52885288
version: 'DEV',
5289-
date: 'Wed, 31 Jan 2024 13:30:30 +0000',
5289+
date: 'Tue, 13 Feb 2024 11:53:46 +0000',
52905290
// colors from https://www.w3.org/wiki/CSS/Properties/color/keywords
52915291
color_names: [
52925292
'transparent', 'currentcolor', 'black', 'silver', 'gray', 'white',
@@ -7107,7 +7107,7 @@
71077107
};
71087108
}
71097109
function validJSONRPC(response) {
7110-
return $.isNumeric(response.id) &&
7110+
return typeof response.id === 'number' &&
71117111
(typeof response.result !== 'undefined' ||
71127112
typeof response.error !== 'undefined');
71137113
}
@@ -8102,7 +8102,7 @@
81028102
object = {
81038103
interpreter: make_basic_json_rpc(user_intrp, login)
81048104
};
8105-
if ($.isArray(settings.completion)) {
8105+
if (Array.isArray(settings.completion)) {
81068106
object.completion = settings.completion;
81078107
}
81088108
finalize(object);
@@ -9410,7 +9410,7 @@
94109410
// will be used internaly since users know
94119411
// when login success (they decide when
94129412
// it happen by calling the callback -
9413-
// this funtion)
9413+
// this function)
94149414
if (is_function(next)) {
94159415
next();
94169416
}
@@ -9611,7 +9611,7 @@
96119611
} else {
96129612
save_state.push(self.export_view());
96139613
}
9614-
if (!$.isArray(hash_commands)) {
9614+
if (!Array.isArray(hash_commands)) {
96159615
hash_commands = [];
96169616
}
96179617
if (command !== undefined && !ignore_hash) {
@@ -9665,7 +9665,7 @@
96659665
}
96669666
var d = exec_settings.deferred;
96679667
cmd_ready(function ready() {
9668-
if ($.isArray(command)) {
9668+
if (Array.isArray(command)) {
96699669
(function recur() {
96709670
var cmd = command.shift();
96719671
if (cmd) {
@@ -11237,7 +11237,7 @@
1123711237
// result is object with interpreter and completion properties
1123811238
interpreters.push($.extend({}, ret, push_settings));
1123911239
if (push_settings.completion === true) {
11240-
if ($.isArray(ret.completion)) {
11240+
if (Array.isArray(ret.completion)) {
1124111241
interpreters.top().completion = ret.completion;
1124211242
} else if (!ret.completion) {
1124311243
interpreters.top().completion = false;

js/jquery.terminal.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/jquery.terminal.min.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)