On 7/6/15, 3:43 PM, "Michael Schmalle" <teotigraphix...@gmail.com> wrote:
>I know in the externals, they use @const, I really don't know if that >applies here. Manually adding window.USMapCoords seems to get me past this issue, but I’m not sure that is the pattern we want to use. -Alex > >On Mon, Jul 6, 2015 at 2:35 PM, Alex Harui <aha...@adobe.com> wrote: > >> I spent a few hours on this today. With the latest code where we use >> @export instead of @expose, I am getting into the entry points but now >>get >> errors where the generated code tries to initialize a global variable >>and >> throws an exception. >> >> From my reading, we are using strict mode but just trying to do: >> >> USMapCoords=function(){}; >> >> instead of: >> >> window.USMapCoords=function(){}; >> >> Or pre-declaring: >> >> var USMapCoords; >> >> Does that make sense? What pattern should we use for global variables? >> >> -Alex >> >> On 7/6/15, 6:21 AM, "Erik de Bruin" <e...@ixsoftware.nl> wrote: >> >> >> >> >> > Fixed some issues that were preventing the release code to work. It >> >>still >> >> > doesn't, but we're closer ;-) >> >> > >> >> > Will look further into this tonight. >> >> >> >> Any progress on that ? >> >> >> > >> > >> >Unfortunately not, maybe I'll be able to spend a few hours on it on >> >Wednesday. >> > >> >EdB >> > >> > >> > >> >-- >> >Ix Multimedia Software >> > >> >Jan Luykenstraat 27 >> >3521 VB Utrecht >> > >> >T. 06-51952295 >> >I. www.ixsoftware.nl >> >>