Skip to content

Commit a5dc1d1

Browse files
committed
Fix several problems, discovered by "use strict" directive
1 parent 33559f9 commit a5dc1d1

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

changes.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# JSROOT changelog
22

3+
## Changes in 5.2.2
4+
1. Fix several problems, discovered by "use strict" directive
5+
6+
37
## Changes in 5.2.1
48
1. Fix - correctly handle new TF1 parameter coding convention (#132)
59
2. Fix - Check if pad name can be used as element id (#133)

scripts/JSRootCore.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
}
9090
} (function(JSROOT) {
9191

92-
JSROOT.version = "5.2.1 27/07/2017";
92+
JSROOT.version = "5.2.x 2/08/2017";
9393

9494
JSROOT.source_dir = "";
9595
JSROOT.source_min = false;

scripts/JSRootPainter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11587,7 +11587,7 @@
1158711587

1158811588
if (this.start_without_browser) browser_kind = "";
1158911589

11590-
if (status || browser_kind) prereg = "jq2d;" + prereq;
11590+
if (status || browser_kind) prereq = "jq2d;" + prereq;
1159111591

1159211592
this._topname = GetOption("topname");
1159311593

scripts/JSRootPainter.more.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3870,7 +3870,7 @@
38703870
}
38713871

38723872
var cmd = "M" + xp[iminus] + "," + yp[iminus];
3873-
for (i = iminus+1;i<=iplus;++i)
3873+
for (var i=iminus+1;i<=iplus;++i)
38743874
cmd += "l" + (xp[i] - xp[i-1]) + "," + (yp[i] - yp[i-1]);
38753875
if (fillcolor !== 'none') cmd += "Z";
38763876

0 commit comments

Comments
 (0)