1.1 --- a/javaquery/api/src/main/java/org/apidesign/bck2brwsr/htmlpage/api/Canvas.java Thu May 23 15:33:14 2013 +0200
1.2 +++ b/javaquery/api/src/main/java/org/apidesign/bck2brwsr/htmlpage/api/Canvas.java Fri May 24 07:37:46 2013 +0200
1.3 @@ -17,9 +17,9 @@
1.4 */
1.5 package org.apidesign.bck2brwsr.htmlpage.api;
1.6
1.7 -import org.apidesign.bck2brwsr.htmlpage.HTML5GraphicsEnvironment;
1.8 import net.java.html.canvas.GraphicsContext;
1.9 import org.apidesign.bck2brwsr.core.JavaScriptBody;
1.10 +import org.apidesign.bck2brwsr.htmlpage.HTML5GraphicsEnvironment;
1.11 import static org.apidesign.bck2brwsr.htmlpage.api.Element.getAttribute;
1.12
1.13 /**
1.14 @@ -30,7 +30,6 @@
1.15
1.16 public Canvas(String id) {
1.17 super(id);
1.18 - System.out.println("created Canvas");
1.19 }
1.20
1.21 public void setHeight(int height) {
1.22 @@ -58,7 +57,7 @@
1.23 private native static Object getContextImpl(Canvas el);
1.24
1.25 public GraphicsContext getContext() {
1.26 - System.err.println("called getContext");
1.27 +// System.err.println("called getContext");
1.28 return new GraphicsContext(new HTML5GraphicsEnvironment(getContextImpl(this), this));
1.29 }
1.30