Not sure if there is better for UI Events but for the rest I came across this article [1], that's a long time it has been written, I don't know if it is still valid ?
http://webreflection.blogspot.co.uk/2013/01/5-reasons-to-avoid-closure-compiler-in.html Frédéric THOMAS > From: aha...@adobe.com > To: dev@flex.apache.org > Subject: Re: [FalconJX][FlexJS] Do we still want to use Google Closure > Library? (was Re: [FalconJX] JXEmitter accessors) > Date: Thu, 28 May 2015 17:42:56 +0000 > > > > On 5/28/15, 10:30 AM, "Erik de Bruin" <e...@ixsoftware.nl> wrote: > > >>So maybe it's time for FlexJS to reconsider this dependency... But for > >VFJS I'm planning on using the GC tools to the max, going back to dot > >notation and discarding '@expose'. > > I’d do this in FlexJS as well, but we use the underscore to keep Google > Closure Compiler from complaining, and we are using more @expose than > before so that GCC can handle Object.defineProperties correctly. Once > they fix these things, I’m open to changing back to dot notation and not > using @expose. > > -Alex >