1.1 --- a/rt/vm/src/main/java/org/apidesign/vm4brwsr/ObfuscationLevel.java Thu Mar 21 18:48:46 2013 +0100
1.2 +++ b/rt/vm/src/main/java/org/apidesign/vm4brwsr/ObfuscationLevel.java Mon Mar 25 13:29:42 2013 +0100
1.3 @@ -23,8 +23,19 @@
1.4 * @since 0.5
1.5 */
1.6 public enum ObfuscationLevel {
1.7 + /** Generated JavaScript is (sort of) human readable. Useful for debugging.
1.8 + * Dynamic capabilities of the virtual machine work on all classes.
1.9 + */
1.10 NONE,
1.11 + /** White spaces are removed. Names of external symbols remain unchanged.
1.12 + * Dynamic capabilities of the virtual machine work on all classes.
1.13 + */
1.14 MINIMAL,
1.15 - MEDIUM,
1.16 +// temporarily commented out before merge. not well defined yet:
1.17 +// MEDIUM,
1.18 + /** Aggressive obfuscation of everything. Compact, unreadable "one-liner".
1.19 + * One cannot load classes dynamically. Useful mostly for static compilation
1.20 + * of self contained application.
1.21 + */
1.22 FULL
1.23 }