1.1 --- a/javaquery/api/src/main/java/org/apidesign/bck2brwsr/htmlpage/PageProcessor.java Tue Jan 22 09:19:47 2013 +0100
1.2 +++ b/javaquery/api/src/main/java/org/apidesign/bck2brwsr/htmlpage/PageProcessor.java Tue Jan 22 19:27:00 2013 +0100
1.3 @@ -160,11 +160,17 @@
1.4 if (tag.equals("input")) {
1.5 return "Input";
1.6 }
1.7 + if (tag.equals("canvas")) {
1.8 + return "Canvas";
1.9 + }
1.10 + if (tag.equals("img")) {
1.11 + return "Image";
1.12 + }
1.13 return "Element";
1.14 }
1.15
1.16 private static String cnstnt(String id) {
1.17 - return id.toUpperCase(Locale.ENGLISH).replace('.', '_');
1.18 + return id.toUpperCase(Locale.ENGLISH).replace('.', '_').replace('-', '_');
1.19 }
1.20
1.21 private boolean initializeOnClick(