Hi,

A heads-up in case your application uses <inject_html>. Due to a bug [1] that 
was found when loading modules on IE <inject_html> was deprecated in favor of 
<inject_script>. So if you’ve used <inject_html> to add html elements to your 
application, please convert it to add js instead.

For example,


         * <inject_html>
         * <script 
src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
         * <link rel="stylesheet" 
href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/atom-one-dark.min.css">
         * </inject_html>

Should be converted to be

         * <inject_script>
         * var script = document.createElement("script");
         * script.setAttribute("src", 
"https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js";);
                                * document.head.appendChild(script);
         * var link = document.createElement("link");
         * link.setAttribute("rel", "stylesheet");
         * link.setAttribute("type", "text/css");
         * link.setAttribute("href", 
"https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/atom-one-dark.min.css";);
         * document.head.appendChild(link);
         * </inject_script>

Thanks,
Yishay

[1] https://github.com/apache/royale-asjs/issues/826

Reply via email to