1.1 --- a/rt/vm/src/main/java/org/apidesign/vm4brwsr/ByteCodeToJavaScript.java Wed Apr 10 10:08:18 2013 +0200
1.2 +++ b/rt/vm/src/main/java/org/apidesign/vm4brwsr/ByteCodeToJavaScript.java Thu Apr 25 16:17:48 2013 +0200
1.3 @@ -30,10 +30,6 @@
1.4 final Appendable out;
1.5 final ObfuscationDelegate obfuscationDelegate;
1.6
1.7 - protected ByteCodeToJavaScript(Appendable out) {
1.8 - this(out, ObfuscationDelegate.NULL);
1.9 - }
1.10 -
1.11 protected ByteCodeToJavaScript(
1.12 Appendable out, ObfuscationDelegate obfuscationDelegate) {
1.13 this.out = out;
1.14 @@ -66,7 +62,7 @@
1.15 return classOperation;
1.16 }
1.17
1.18 - abstract String getVMObject();
1.19 + abstract String getExportsObject();
1.20
1.21 /** Prints out a debug message.
1.22 *
1.23 @@ -243,7 +239,7 @@
1.24 out.append("\n return arguments[0] ? new CLS() : CLS.prototype;");
1.25 out.append("\n};");
1.26
1.27 - obfuscationDelegate.exportClass(out, getVMObject(), className, jc);
1.28 + obfuscationDelegate.exportClass(out, getExportsObject(), className, jc);
1.29
1.30 // StringBuilder sb = new StringBuilder();
1.31 // for (String init : toInitilize.toArray()) {