aharui commented on issue #36: Slow Compiler Build Time URL: https://github.com/apache/royale-compiler/issues/36#issuecomment-377038542 Any existing JS that has a prototype for new instances can be left untouched and treated as a class/library in Royale. You can create what we refer to as "typedefs" or "externs" that represent the API surface of the JS code. If you think about, the airglobal.swc and/or playerglobal.swc allows you to use the C code in the Flash/AIR runtimes from ActionScript. This is essentially the same thing. So, if your JSFL doesn't actually manipulate the body of any methods, then it might be easier to create typedefs instead. That way, if you re-export from Animate you don't have to run JSFL again. The typedef can remain untouched unless you changed the API surface. Post at least a snippet of the Animate JS and we can discuss how typedefs might help.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
