The generated JavaScript files contain a lot of additional functionality used for example for debugging and tracing of JavaScript functions in e.g. Firebug. This makes the JavaScript files larger in size and heavy for productive environments. The xUML Compiler is able to optimize these script files and reduce their size by up to 70%. This is done by removing the trace information statements, removing all unneeded white spaces and comments as well as keeping local variable names as short as possible.

To switch on the compiler flag for optimized JavaScript file output, check the compiler option as shown in the following figure:

  • No labels