Skip to content

Commit d6cb1fc

Browse files
committed
Prepare 7.3.3 release
1 parent cee4adf commit d6cb1fc

File tree

3 files changed

+23
-16
lines changed

3 files changed

+23
-16
lines changed

build/jsroot.js

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ typeof define === 'function' && define.amd ? define(['exports'], factory) :
77

88
/** @summary version id
99
* @desc For the JSROOT release the string in format 'major.minor.patch' like '7.0.0' */
10-
let version_id = '7.3.x';
10+
let version_id = '7.3.3';
1111

1212
/** @summary version date
1313
* @desc Release date in format day/month/year like '14/04/2022' */
14-
let version_date = '2/06/2023';
14+
let version_date = '12/06/2023';
1515

1616
/** @summary version id and date
1717
* @desc Produced by concatenation of {@link version_id} and {@link version_date}
@@ -40362,7 +40362,7 @@ function createSVGRenderer(as_is, precision, doc) {
4036240362
svg_style: {},
4036340363
path_attr: {},
4036440364
accPath: '',
40365-
createElementNS(ns,kind) {
40365+
createElementNS(ns, kind) {
4036640366
if (kind == 'path')
4036740367
return {
4036840368
_wrapper: this,
@@ -40403,24 +40403,31 @@ function createSVGRenderer(as_is, precision, doc) {
4040340403
}
4040440404
};
4040540405

40406-
let originalDocument = globalThis.document;
40407-
globalThis.document = doc_wrapper;
40406+
let originalDocument;
40407+
40408+
if (isNodeJs()) {
40409+
originalDocument = globalThis.document;
40410+
globalThis.document = doc_wrapper;
40411+
}
4040840412

4040940413
let rndr = new SVGRenderer();
4041040414

40411-
globalThis.document = originalDocument;
40415+
if (isNodeJs())
40416+
globalThis.document = originalDocument;
4041240417

4041340418
rndr.doc_wrapper = doc_wrapper; // use it to get final SVG code
4041440419

4041540420
rndr.originalRender = rndr.render;
4041640421

4041740422
rndr.render = function (scene, camera) {
4041840423
let originalDocument = globalThis.document;
40419-
globalThis.document = this.doc_wrapper;
40424+
if (isNodeJs())
40425+
globalThis.document = this.doc_wrapper;
4042040426

4042140427
this.originalRender(scene, camera);
4042240428

40423-
globalThis.document = originalDocument;
40429+
if (isNodeJs())
40430+
globalThis.document = originalDocument;
4042440431
};
4042540432

4042640433
rndr.clearHTML = function() {
@@ -50336,8 +50343,8 @@ const FrameInteractive = {
5033650343
.on('touchend', null, true);
5033750344
} else if (settings.ContextMenu) {
5033850345
this.zoom_curr = arr[0];
50339-
this.getFrameSvg().on('touchcancel', this.endTouchSel.bind(this))
50340-
.on('touchend', this.endTouchSel.bind(this));
50346+
this.getFrameSvg().on('touchcancel', evnt => this.endTouchMenu('', evnt))
50347+
.on('touchend', evnt => this.endTouchMenu('', evnt));
5034150348
evnt.preventDefault();
5034250349
evnt.stopPropagation();
5034350350
}
@@ -74174,14 +74181,14 @@ class TGeoPainter extends ObjectPainter {
7417474181
if (obj.fVolume && obj.fVolume.$geo_painter===this) delete obj.fVolume.$geo_painter;
7417574182
}
7417674183

74177-
if (this._main_painter) {
74184+
if (this._main_painter?._slave_painters) {
7417874185
let pos = this._main_painter._slave_painters.indexOf(this);
7417974186
if (pos >= 0) this._main_painter._slave_painters.splice(pos,1);
7418074187
}
7418174188

74182-
for (let k = 0; k < this._slave_painters.length;++k) {
74189+
for (let k = 0; k < this._slave_painters?.length; ++k) {
7418374190
let slave = this._slave_painters[k];
74184-
if (slave && (slave._main_painter===this)) slave._main_painter = null;
74191+
if (slave && (slave._main_painter === this)) slave._main_painter = null;
7418574192
}
7418674193

7418774194
delete this.geo_manager;

changes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# JSROOT changelog
22

3-
## Changes in 7.3.x
3+
## Changes in 7.3.3
44
1. Fix - failure in normal_cdf calculation
55
2. Fix - check in TTree::Draw for null buffer
66
3. Fix - do not rise exception in treeProcess

modules/core.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11

22
/** @summary version id
33
* @desc For the JSROOT release the string in format 'major.minor.patch' like '7.0.0' */
4-
let version_id = '7.3.x';
4+
let version_id = '7.3.3';
55

66
/** @summary version date
77
* @desc Release date in format day/month/year like '14/04/2022' */
8-
let version_date = '2/06/2023';
8+
let version_date = '12/06/2023';
99

1010
/** @summary version id and date
1111
* @desc Produced by concatenation of {@link version_id} and {@link version_date}

0 commit comments

Comments
 (0)