Skip to content

Commit 386c8f0

Browse files
Update the wrong version warnings
Minor revision version changed to 1 version -> revision version
1 parent 12eb958 commit 386c8f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function translationLayer(div, object) {
99
const warning = document.createElement('p');
1010

1111
warning.style.color = 'yellow';
12-
warning.innerText = `The major version of mathics-threejs-backend is 1, but it was expected to be ${versionArray[0]}. Trying to draw the graphics.`;
12+
warning.innerText = `The major revision version of mathics-threejs-backend is 1, but it was expected to be ${versionArray[0]}. Trying to draw the graphics.`;
1313

1414
div.appendChild(warning);
1515
} else if (parseInt(versionArray[1]) < 1) {
@@ -19,7 +19,7 @@ function translationLayer(div, object) {
1919
const warning = document.createElement('p');
2020

2121
warning.style.color = 'yellow';
22-
warning.innerText = `The minor version of mathics-threejs-backend is 0, but it was expected to be ${versionArray[1]}. Trying to draw the graphics.`;
22+
warning.innerText = `The minor revision version of mathics-threejs-backend is 1, but it was expected to be ${versionArray[1]}. Trying to draw the graphics.`;
2323

2424
div.appendChild(warning);
2525
}

0 commit comments

Comments
 (0)