The PharoJS FAQ page describes this:

    https://pharojs.github.io/faq.html

../Dave
On Oct 7, 2019, 8:41 AM -0400, Noury Bouraqadi <bouraq...@gmail.com>, wrote:
>
>
> > On 7 Oct 2019, at 05:12, Shaping <shap...@uurda.org> 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
>

Reply via email to