Typedefs are not required to be .js files. The Royale compiler knows how to
compile .as files with @externs metadata. In fact, that's what was already
happening when dialogPolyfill was located in the Jewel project. You should
be able to set up a project in royale-typedefs that is built similarly to
Jewel and the other framework projects that contain .as files.

--
Josh Tynjala
Bowler Hat LLC <https://bowlerhat.dev>


On Thu, Jul 25, 2019 at 12:47 PM Carlos Rovira <[email protected]>
wrote:

> Hi Josh,
>
> trying to move dialogPolyfill to royale-typedefs: I only see *.js classes.
> I can't find any *.as class in that repo. This means I need to transform
> dialogPolyfill to js? In fact some weeks ago dialogPolifyll was in that
> format in missing.js...
>
> El jue., 25 jul. 2019 a las 21:21, Carlos Rovira (<[email protected]
> >)
> escribió:
>
> > Hi Josh,
> >
> > ok, I suppose dialogPolyfill could go to typedefs and hljs to the example
> > project, but just posted a problem I just found trying to do so with the
> > later
> >
> > El jue., 25 jul. 2019 a las 21:19, Josh Tynjala (<
> > [email protected]>) escribió:
> >
> >> dialogPolyfill and hljs are not in any wayt related to each other,
> except
> >> the fact that they're both used in Jewel. With that in mind, I think
> that
> >> they belong in separate libraries.
> >>
> >> I also think that we should add these libraries to royale-typedefs
> instead
> >> of royale-asjs.
> >>
> >> --
> >> Josh Tynjala
> >> Bowler Hat LLC <https://bowlerhat.dev>
> >>
> >>
> >> On Thu, Jul 25, 2019 at 11:56 AM Carlos Rovira <[email protected]
> >
> >> wrote:
> >>
> >> > Hi,
> >> >
> >> > as we already discussed, we have some @extern classes in Jewel that
> >> should
> >> > be located in its own library for @extern classes, since can be used
> for
> >> > Jewel or many other code that does not need Jewel.
> >> >
> >> > So I want to ask for a name for that library where we can add this
> >> classes
> >> > (for now dialogPolyfill and hljs) and other that will be needed in the
> >> > future.
> >> > I'm thinking in call that library "Externs" (Externs.swc).
> >> >
> >> > Let me know what you think
> >> >
> >> > thanks
> >> >
> >> > --
> >> > Carlos Rovira
> >> > http://about.me/carlosrovira
> >> >
> >>
> >
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
> >
> >
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>

Reply via email to