Hi Kenny,

I understand that you are not using "window" object, but you're talking
about "tags" in htjs.as. You refer to <inject_html>?

ITOH, for example If I remove the stub as3 classes for hljs and
dialogPolyfill in Jewel library and try to compile I get this:

/Users/carlosrovira/Dev/Royale/Source/royale-asjs/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Alert.as(225):
col: 7 Access of possibly undefined property dialogPolyfill.


dialogPolyfill.registerDialog(dialog);

So in Alert.as this is failing:

if (!("showModal" in dialog))
                    {
                        dialogPolyfill.registerDialog(dialog); <----- line
225
                    }





El lun., 3 jun. 2019 a las 20:07, Piotr Zarzycki (<[email protected]>)
escribió:

> Hi Kenny,
>
> I think it may not be necessary in your app when you build to JS only.
>
> If there is any different type of compilation - now to swf - you need to
> surround your JS related code with COMPILE::JS
>
> Thanks,
> Piotr
>
>
> On Mon, Jun 3, 2019, 7:37 PM Kenny Lerma <[email protected]> wrote:
>
> > Looking at the demo, I noticed you added @externs and COMPILE::JS?  Is
> this
> > necessary?
> > I'm just curious since the ActionsScript I've done for creating external
> JS
> > code completion and SWC files too, I'm not adding these.
> >
> > Kenny
> >
> > On Mon, Jun 3, 2019 at 12:25 PM Carlos Rovira <[email protected]>
> > wrote:
> >
> > > Hi Andrew!
> > >
> > > just finished the last blog example, could you please take a look and
> fix
> > > whatever aggression against the English language that may have been
> > > committed? :)
> > >
> > >
> > >
> >
> https://royale.codeoscopic.com/using-external-javascript-libraries-in-apache-royale/
> > >
> > > To the rest of folks: please let me know if you thing something is
> wrong
> > or
> > > must be modified in some way.
> > >
> > > thanks in advance
> > >
> > >
> > > --
> > > Carlos Rovira
> > > http://about.me/carlosrovira
> > >
> >
>


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

Reply via email to