Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread External JS does not work in 3.02 b8 but did in 3.01 b4
Mon, Jan 9 2023 7:01 PMPermanent Link

Jose Verger

Cybernav

Avatar

I am calling external Javascript files using an Unit and all works in version 3.01 build 4 but when upgrading to 3.02 build 8, each call responds with NO DECLARED.

Is it needed to do some change on the code ?

Regards
Mon, Jan 9 2023 7:26 PMPermanent Link

erickengelke

Avatar

Jose Verger wrote:

>I am calling external Javascript files using an Unit and all works in version 3.01 build 4 but when upgrading
>  to 3.02 build 8, each call responds with NO DECLARED.

> Is it needed to do some change on the code ?

I don't recall any changes after 3.00 to Javascript handling.  I call a lot of javascript libraries.

Erick
EWB Programming Books and Component Library
http://www.erickengelke.com
Tue, Jan 10 2023 11:13 AMPermanent Link

Jose Verger

Cybernav

Avatar

erickengelke wrote:

Jose Verger wrote:

>I am calling external Javascript files using an Unit and all works in version 3.01 build 4 but when upgrading
>  to 3.02 build 8, each call responds with NO DECLARED.

> Is it needed to do some change on the code ?

I don't recall any changes after 3.00 to Javascript handling.  I call a lot of javascript libraries.

Erick
EWB Programming Books and Component Library
http://www.erickengelke.com

As you wrote of no differences in JS handling, I looked on External Files declaration and I found a difference:

before on version 3.01B4, the external files in the WBC file were separated by sign ;  and now by sign ", for example   AB,CD;EF,GH   and now  "AB,CD","EF,GH"

and doing that change everything worked again..

Thanks
Image