Hi Carlos, This was manifesting as a minification problem, but actually that was a bit misleading as the root cause was a compiler bug with localId. I will push a fix for that today which means the release build will work the same as debug build for the module example.
On Thu, Jun 20, 2019 at 7:38 AM Carlos Rovira <[email protected]> wrote: > Hi, > > I continue working on the blog example for modules. I think is almost done > but I have a final issue. It works on debug but not on release > > On release when I hit button and load the module I get the following error > on console: > > [Error] TypeError: undefined is not an object (evaluating 'this.yh.ja') > ja (MainJewelApp.js:393:142) > pd (MainJewelApp.js:393:223) > (función anónima) > Wf (MainJewelApp.js:34:244) > fg (MainJewelApp.js:43:281) > Rf (MainJewelApp.js:36) > (función anónima) (MainJewelApp.js:32) > > Do you have some hint about what could be wrong? > I was thinking that this could be need due to some magnification problem so > I tried for now -js-dynamic-access-unknown-members=true, but this does not > make any change > > Until now, in Basic Modules, it was loading as the ModuleLoader is > addedToParent, in Jewel ModuleLoader I put more control, since the user > normally would want to load the module on demand. > > > > -- > Carlos Rovira > http://about.me/carlosrovira >
