Skip to content

Commit 818288f

Browse files
committed
Update FEAScript library import to use the bundled ESM version
1 parent 81c071b commit 818288f

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

tutorials/SolidificationFront2D.html

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -224,23 +224,14 @@ <h2 id="results"><a name="Results"></a>Results</h2>
224224

225225
<script type="module">
226226
// Import FEAScript library from GitHub
227-
// import {
228-
// FEAScriptModel,
229-
// plotSolution,
230-
// printVersion,
231-
// } from "https://core.feascript.com/dist/feascript.esm.js";
232-
// The bundled ESM version is not working... Need to Check it
233227
import {
234228
FEAScriptModel,
235229
plotSolution,
236230
printVersion,
237-
} from "https://core.feascript.com/src/index.js";
231+
} from "https://core.feascript.com/dist/feascript.esm.js";
232+
// } from "https://core.feascript.com/src/index.js";
238233
// Import FEAScript library from a local directory
239-
// import {
240-
// FEAScriptModel,
241-
// plotSolution,
242-
// printVersion,
243-
// logSystem,
234+
// } from "../../FEAScript-core/dist/feascript.esm.js";
244235
// } from "../../FEAScript-core/src/index.js";
245236

246237
window.addEventListener("DOMContentLoaded", () => {

0 commit comments

Comments
 (0)