You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2019/06/16 23:31:27 UTC
[GitHub] [royale-asjs] Harbs commented on issue #427: inject_html does not
work in modules
Harbs commented on issue #427: inject_html does not work in modules
URL: https://github.com/apache/royale-asjs/issues/427#issuecomment-502494758
I've been wondering whether `inject_html` is really the best way to load JS code for Framework code.
The problem with `inject_html` is that the URL for the js code is hardcoded. That prevents the user from specifying their own source for the code. This is an issue if a customized version of the code is needed, or trying to do offline work.
`loadJavascript` can be an alternate approach.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services