You mean this:

/**
         * constructor.
         *
* <inject_html>
* <link rel="stylesheet" type="text/css" href="
https://cdnjs.cloudflare.com/ajax/libs/dialog-polyfill/0.4.9/dialog-polyfill.min.css
">
* <script src="
https://cdnjs.cloudflare.com/ajax/libs/dialog-polyfill/0.4.9/dialog-polyfill.min.js
"></script>
* </inject_html>
*
         * @langversion 3.0
         * @playerversion Flash 10.2
         * @playerversion AIR 2.6
         * @productversion Royale 0.9.4
         */
        public function Alert()
        {
            super();

            typeNames = "jewel alert";
        }

Alert component uses a polyfill of Dialog and that needs both the js and
the css of that pollyfill that we retrieve from cloud flare.
The inject_html makes that two lines be added to the index.html so it will
be available to use in the application.

thanks


El jue., 10 ene. 2019 a las 20:34, Kessler CTR Mark J
(<mark.kessler....@usmc.mil.invalid>) escribió:

> The 0.9.4 release has a Alert.as [1] file on the ASDOC comment for the
> constructor has a cloudflare referenced CSS.  Is a third party direct
> reference supposed to be in there?
>
>
> [1] projects/Jewel/src/main/royale/jewel/Alert.as
>
> -Mark K
>


-- 
Carlos Rovira
http://about.me/carlosrovira

Reply via email to