Hi, On 23.09.2013 11:28, dbrec wrote: > Hi all, > > I have a problem when generating the build. With source is all OK, but the > build not. > The error I receive is "q is not a constructor" in a portion of code where I > receivce the name of the class to create the instance (using > "qx.Class.getByName"): >
Is "q" the value of the string argument passed to getByName when it throws? And what does the method return? Try setting your browser's dev tools to "pause on uncaught exceptions" to find out. > > > There is a limitation because the build class names differs from those of > the source? > I can change the code by receiving a "mnemonic" string and, using a switch, > create the class instance, but if possible I would prefer to let it as it is > as (in my opinion) is much "clean". > Class.getByName should work in the build version as well. From your description, it sounds like the global symbol "q" is overloaded by something that's not a function. Regards, Daniel > BR, dbRec > > > > -- > View this message in context: > http://qooxdoo.678.n2.nabble.com/Source-vs-Build-and-qx-Class-getByName-tp7584636.html > Sent from the qooxdoo mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! > 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint > 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes > Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. > http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
