I have this in compile-app-config.xml
<royale-config>
<js-output-optimization>
<optimization>skipFunctionCoercions</optimization>
</js-output-optimization>
<compiler>
<js-external-library-path append="true">
<path-element>../../../../../../js/libs/ace-1.2.3.swc</path-element>
</js-external-library-path>
</compiler>
</royale-config>
When I change ace-1.2.3.swc to a different name that doesn’t exist then I get
an error that the file can’t be opened. So I’m assuming the typedefs lib is
loaded.
From: Alex Harui<mailto:[email protected]>
Sent: Sunday, February 18, 2018 10:18 AM
To: [email protected]<mailto:[email protected]>
Subject: Re: Need help with CSS class selector (font-family is always Arial)
How do you know the typedefs are being read by the example?
Did you specify the SWC on the js-external-library-path? See
RoyaleStore_jquery for how to use Jquery typedefs in Royale.
HTH,
-Alex
On 2/17/18, 11:07 PM, "yishayw" <[email protected]> wrote:
>The issue is that the typedefs (ace-1.2.3.swc) is being read by the
>example
>app, but I can't import ace.Editor in the code.
>
>
>
>--
>Sent from:
>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-roy
>ale-development.20373.n8.nabble.com%2F&data=02%7C01%7Caharui%40adobe.com%7
>C05ea9f09b5b740754ad908d5769e4901%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7
>C0%7C636545344584454151&sdata=ncTxKRoJxn6cNBbToZUE5Ww1x0Ig7kIDYZtvRzzp%2BG
>c%3D&reserved=0