[Uml-devel] [Bug 135540] JJ: Javascript Code Generation creates bad format methods (operations)

Oliver Kellogg okellogg at users.sourceforge.net
Mon Feb 12 14:05:35 UTC 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=135540         
okellogg users sourceforge net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From okellogg users sourceforge net  2007-02-12 15:05 -------
SVN commit 632848 by okellogg:

writeOperations(): Aply attachment 19624 from Antoine Dopffer.
Thanks Antoine for contributing.
BUG:135540


 M  +4 -0      ChangeLog  
 M  +1 -1      umbrello/codegenerators/jswriter.cpp  


--- branches/KDE/3.5/kdesdk/umbrello/ChangeLog #632847:632848
 @ -1,3 +1,7  @
+Version 1.5.7
+* Bugs fixed from http://bugs.kde.org:
+* Javascript Code Generation creates bad format methods (135540)
+
 Version 1.5.61
 
 * Copy/paste of attribute or operation in list view within same class
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/codegenerators/jswriter.cpp #632847:632848
 @ -223,7 +223,7  @
             js << " */" << m_endl;
         }//end if : write method documentation
 
-        js << classname << ".prototype." << cleanName(op->getName()) << " function " << "(";
+        js << classname << ".prototype." << cleanName(op->getName()) << " = function " << "(";
 
         int i = atl.count();
         int j=0;




More information about the umbrello-devel mailing list