> On 7 Oct 2019, at 05:12, Shaping <[email protected]> wrote: > > How does PharoJS deal with the JS reuse issue? There are lots of JS widgets > out there that we would just like to use, but we don’t want to read JS if we > don’t have to. There are many wheels to reinvent, or at least recode in DSL, > if I understand the PharoJS scheme correctly, but I may not. > PharoJS allows to reuse existing JS libraries. Just reference constructors as you reference Pharo classes.
Below is a link to an example, where we reuse the physics engine MatterJS https://pharojs.github.io/Demos/MatterJsDemo/ Noury
