Skip to content

Commit f58e477

Browse files
committed
Update import paths in documentation and examples to use FEAScript-core
1 parent 691eeb6 commit f58e477

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Thank you for your interest in contributing! FEAScript is in early development,
1616
Before submitting a pull request, test your modifications by running the FEAScript library from a local directory. For example, you can load the library in your HTML file as follows:
1717

1818
```javascript
19-
import { FEAScriptModel, plotSolution, printVersion } from "[USER_DIRECTORY]/FEAScript/src/index.js";
19+
import { FEAScriptModel, plotSolution, printVersion } from "[USER_DIRECTORY]/FEAScript-core/src/index.js";
2020
```
2121

2222
For security reasons, it is still recommended to use a local server to handle CORS policies correctly. You can use a <a href="https://docs.python.org/3/library/http.server.html" target="_blank">Python HTTP Server</a> by executing the following <a href="https://github.com/FEAScript/FEAScript-website/blob/main/corsHttpServer.py" target="_blank">script</a> to start a local server:

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ FEAScript is entirely implemented in pure JavaScript and requires only a simple
1414

1515
```javascript
1616
// Import required modules
17-
import { FEAScriptModel, plotSolution } from "https://feascript.github.io/FEAScript/src/index.js";
17+
import { FEAScriptModel, plotSolution } from "https://feascript.github.io/FEAScript-core/src/index.js";
1818

1919
// Create a new FEAScript model
2020
const model = new FEAScriptModel();
@@ -49,12 +49,12 @@ plotSolution(
4949
);
5050
```
5151

52-
Explore various examples and use cases of FEAScript [here](https://github.com/FEAScript/FEAScript/tree/main/examples).
52+
Explore various examples and use cases of FEAScript [here](https://github.com/FEAScript/FEAScript-core/tree/main/examples).
5353

5454
## Contribute
5555

5656
We warmly welcome contributors to help expand and refine FEAScript. Please see the [CONTRIBUTING.md](./CONTRIBUTING.md) file for detailed guidance on how to contribute.
5757

5858
## License
5959

60-
FEAScript is released under the [MIT license](https://github.com/FEAScript/FEAScript/blob/main/LICENSE). &copy; 2024 FEAScript.
60+
FEAScript is released under the [MIT license](https://github.com/FEAScript/FEAScript-core/blob/main/LICENSE). &copy; 2024 FEAScript.

examples/solidHeatTransferScript/HeatConduction2DFin/HeatConduction2DFin.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ <h1>Heat Conduction in a Two-Dimensional Fin Example</h1>
5252
FEAScriptModel,
5353
plotSolution,
5454
printVersion,
55-
} from "https://feascript.github.io/FEAScript/src/index.js";
55+
} from "https://feascript.github.io/FEAScript-core/src/index.js";
5656

5757
window.addEventListener("DOMContentLoaded", () => {
5858
// Print FEAScript version in the console

0 commit comments

Comments
 (0)