plantuml / plantuml.js

PlantUML that runs completely on javascript without needing java/servers
https://plantuml.github.io/plantuml.js/
MIT License
188 stars 25 forks source link

Move stdlib files somewhere else #28

Closed arnaudroques closed 1 year ago

arnaudroques commented 1 year ago

Right now, files are under root. And this is hard coded in Java/JS here

I suggest that me make this configurable by adding an argument in the main() function during init

Some we change this line into something like

await cheerpjRunMain("net.sourceforge.plantuml.wasm.RunEmpty",${cheerpjPath}/plantuml-wasm.jar, "/app/plantuml-wasm/stdlib/")

This way, this will be more flexible.

arnaudroques commented 1 year ago

This is implemented in last commit. The jar file has also been slightly reduced.

sakirtemel commented 1 year ago

Moved everything under plantuml-wasm, right now it's more compact: https://github.com/plantuml/plantuml-wasm/tree/main/plantuml-wasm