Skip to content

Commit 184b115

Browse files
authored
Use printVersion instead of VERSION (#45)
1 parent 74158a9 commit 184b115

File tree

10 files changed

+15
-15
lines changed

10 files changed

+15
-15
lines changed

dist/feascript.cjs.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/feascript.cjs.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/feascript.esm.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/feascript.esm.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/feascript.umd.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/feascript.umd.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/frontPropagationScript/SolidificationFront2D/SolidificationFront2D.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ import * as math from "mathjs";
1313
global.math = math;
1414

1515
// Import FEAScript library
16-
import { FEAScriptModel, VERSION } from "feascript";
16+
import { FEAScriptModel, printVersion } from "feascript";
1717

18-
console.log("FEAScript Version:", VERSION);
18+
console.log("FEAScript Version:", printVersion);
1919

2020
// Create a new FEAScript model
2121
const model = new FEAScriptModel();

examples/solidHeatTransferScript/HeatConduction1DWall/HeatConduction1DWall.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ import * as math from "mathjs";
1313
global.math = math;
1414

1515
// Import FEAScript library
16-
import { FEAScriptModel, VERSION } from "feascript";
16+
import { FEAScriptModel, printVersion } from "feascript";
1717

18-
console.log("FEAScript Version:", VERSION);
18+
console.log("FEAScript Version:", printVersion);
1919

2020
// Create a new FEAScript model
2121
const model = new FEAScriptModel();

examples/solidHeatTransferScript/HeatConduction2DFin/HeatConduction2DFin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ import * as math from "mathjs";
1313
global.math = math;
1414

1515
// Import FEAScript library
16-
import { FEAScriptModel, VERSION } from "feascript";
16+
import { FEAScriptModel, printVersion } from "feascript";
1717

18-
console.log("FEAScript Version:", VERSION);
18+
console.log("FEAScript Version:", printVersion);
1919

2020
// Create a new FEAScript model
2121
const model = new FEAScriptModel();

examples/solidHeatTransferScript/HeatConduction2DFin/HeatConduction2DFinGmsh.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ import * as math from "mathjs";
1818
global.math = math;
1919

2020
// Import FEAScript library
21-
import { FEAScriptModel, importGmshQuadTri, VERSION } from "feascript";
21+
import { FEAScriptModel, importGmshQuadTri, printVersion } from "feascript";
2222

23-
console.log("FEAScript Version:", VERSION);
23+
console.log("FEAScript Version:", printVersion);
2424

2525
// Get directory name for the current file
2626
const __dirname = path.dirname(fileURLToPath(import.meta.url));

0 commit comments

Comments
 (0)