Skip to content

Commit

Permalink
one more fix for out of sync style loading
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Mar 20, 2024
1 parent 1a3aa55 commit 7668791
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 16 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
@@ -1,7 +1,10 @@
## 2.39.2
### Bugfix
* fix when CSS is loaded after creation of the terminal (mostly for ReactJS)

## 2.39.1
### Bugfix
* fix visible CMD textarea when page use box-shadow
* fix when CSS is loaded after creation of the terminal

## 2.39.0
### Features
Expand Down
8 changes: 4 additions & 4 deletions js/jquery.terminal-2.39.1.js
Expand Up @@ -41,7 +41,7 @@
*
* broken image by Sophia Bai from the Noun Project (CC-BY)
*
* Date: Tue, 19 Mar 2024 18:49:02 +0000
* Date: Wed, 20 Mar 2024 18:05:21 +0000
*/
/* global define, Map, BigInt */
/* eslint-disable */
Expand Down Expand Up @@ -997,7 +997,7 @@
} else if (window.ResizeObserver) {
resizer = new ResizeObserver(function() {
if (!first) {
handler();
requestAnimationFrame(handler);
}
first = false;
});
Expand Down Expand Up @@ -5305,7 +5305,7 @@
// -------------------------------------------------------------------------
$.terminal = {
version: '2.39.1',
date: 'Tue, 19 Mar 2024 18:49:02 +0000',
date: 'Wed, 20 Mar 2024 18:05:21 +0000',
// colors from https://www.w3.org/wiki/CSS/Properties/color/keywords
color_names: [
'transparent', 'currentcolor', 'black', 'silver', 'gray', 'white',
Expand Down Expand Up @@ -12298,7 +12298,7 @@
}, options);
pixel_resizer.resizer('unbind').resizer(function() {
pixel_density = get_pixel_size();
self.resize();
self.refresh();
}, options);
$('<div class="terminal-font-forcer terminal-hidden">x<div>')
.appendTo(self);
Expand Down
4 changes: 2 additions & 2 deletions js/jquery.terminal-2.39.1.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/jquery.terminal-src.js
Expand Up @@ -997,7 +997,7 @@
} else if (window.ResizeObserver) {
resizer = new ResizeObserver(function() {
if (!first) {
handler();
requestAnimationFrame(handler);
}
first = false;
});
Expand Down Expand Up @@ -12298,7 +12298,7 @@
}, options);
pixel_resizer.resizer('unbind').resizer(function() {
pixel_density = get_pixel_size();
self.resize();
self.refresh();
}, options);
$('<div class="terminal-font-forcer terminal-hidden">x<div>')
.appendTo(self);
Expand Down
8 changes: 4 additions & 4 deletions js/jquery.terminal.js
Expand Up @@ -41,7 +41,7 @@
*
* broken image by Sophia Bai from the Noun Project (CC-BY)
*
* Date: Tue, 19 Mar 2024 18:49:02 +0000
* Date: Wed, 20 Mar 2024 18:05:21 +0000
*/
/* global define, Map, BigInt */
/* eslint-disable */
Expand Down Expand Up @@ -997,7 +997,7 @@
} else if (window.ResizeObserver) {
resizer = new ResizeObserver(function() {
if (!first) {
handler();
requestAnimationFrame(handler);
}
first = false;
});
Expand Down Expand Up @@ -5305,7 +5305,7 @@
// -------------------------------------------------------------------------
$.terminal = {
version: '2.39.1',
date: 'Tue, 19 Mar 2024 18:49:02 +0000',
date: 'Wed, 20 Mar 2024 18:05:21 +0000',
// colors from https://www.w3.org/wiki/CSS/Properties/color/keywords
color_names: [
'transparent', 'currentcolor', 'black', 'silver', 'gray', 'white',
Expand Down Expand Up @@ -12298,7 +12298,7 @@
}, options);
pixel_resizer.resizer('unbind').resizer(function() {
pixel_density = get_pixel_size();
self.resize();
self.refresh();
}, options);
$('<div class="terminal-font-forcer terminal-hidden">x<div>')
.appendTo(self);
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 7668791

Please sign in to comment.