HI Hugo,

I think you are on the right track. As far as I remember there is no easy 
guaranteed way to serialize code injection in JS.

Yishay

From: Hugo Ferreira<mailto:[email protected]>
Sent: Friday, October 2, 2020 11:11 AM
To: Apache Royale Development<mailto:[email protected]>
Subject: 2 JS libraries

Hi,

I have 2 JS libraries to inject as externs.
Library 1 has no dependecies.
Library 2 depends on library 1.

If I inject library 1 and then library 2, I get an error on console.

The workaround that I find was:
On my JS injections block:
Add library 1
On window.onload = function() add library 2.

This is thw way to go or there is a better way to do this ?

Reply via email to