The jquery.swc built from royale-typedefs seems to be working for me.

I added royale-asjs/js/libs/jquery.swc to my project's js-library-path.

I see that the $ symbol is correctly recognized in VSCode, and completion
seems to be working properly.

I also added the following <script> tag to my HTML template (which does not
currently happen automatically, but it potentially could with the new
-js-include-script compiler option that I added recently).

<script src="https://code.jquery.com/jquery-1.12.4.min.js";></script>

I have not tried the JQuery component set built as
royale-asjs/frameworks/libs/JQuery.swc and
royale-asjs/frameworks/js/libs/JQueryJS.swc. I'm assuming that you weren't
trying to use those, but please correct me if I'm wrong.

--
Josh Tynjala
Bowler Hat LLC
https://bowlerhat.dev/


On Wed, Mar 5, 2025 at 12:53 AM Gabe Harbs <harbs.li...@gmail.com> wrote:

> Do we have tests that confirm that jQuery works?
>
> I don’t use jQuery very often, but I have a product which used it and I
> noticed that into longer compiled correctly when jQuery was being used. I
> ended up removing the jQuery dependency because it wasn’t really needed
> very much, but I suspect it no longer works…
>
> Harbs

Reply via email to