That's normal Javascript; variable "hoisting" means that the variable xx is local to the method or block, and the new xx variable does not have a member called MyClass
John On 11/04/2013 08:18, "fprijate" <[email protected]> wrote: >Hi > >This kind of assignement doesn't work : > >var xx= new xx.MyClass() ; // variable name 'xx' matches the first part >of >namespace > > >This works OK : >var xx1= new xx.MyClass(); // OK > > >regards >FranĨek > > > >-- >View this message in context: >http://qooxdoo.678.n2.nabble.com/Error-forbiden-name-in-constructor-expres >sion-tp7583211.html >Sent from the qooxdoo mailing list archive at Nabble.com. > >-------------------------------------------------------------------------- >---- >Precog is a next-generation analytics platform capable of advanced >analytics on semi-structured data. The platform includes APIs for building >apps and a phenomenal toolset for data science. Developers can use >our toolset for easy data analysis & visualization. Get a free account! >http://www2.precog.com/precogplatform/slashdotnewsletter >_______________________________________________ >qooxdoo-devel mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
