} else if(method.equals("encodeURIComponent")) {
if(checkOnly) return Boolean.TRUE;
return encodeURIComponent(args);
+ } else if(method.equals("escape")) {
+ if(checkOnly) return Boolean.TRUE;
+ return escape(args);
+ } else if(method.equals("unescape")) {
+ if(checkOnly) return Boolean.TRUE;
+ return unescape(args);
} else if(method.equals("stringFromCharCode")) {
if(checkOnly) return Boolean.TRUE;
return stringFromCharCode(args);
private Object encodeURIComponent(JS.Array args) {
throw new JS.Exn("encodeURIComponent is unimplemented");
}
+ private Object escape(JS.Array args) {
+ throw new JS.Exn("escape is unimplemented");
+ }
+ private Object unescape(JS.Array args) {
+ throw new JS.Exn("unescape is unimplemented");
+ }
}