biojs-vis-pdbviewer
Version:
A BioJS 2.0 component to view protein structures
13 lines (12 loc) • 362 B
JavaScript
Clazz.declarePackage("java.net");
c$=Clazz.declareType(java.net,"URLEncoder");
c$.encode=Clazz.defineMethod(c$,"encode",
function(s){
return encodeURIComponent(arguments[0]);
},"~S");
c$.encode=Clazz.defineMethod(c$,"encode",
function(s,enc){
return encodeURIComponent(arguments[0]);
},"~S,~S");
Clazz.defineStatics(c$,
"digits","0123456789ABCDEF");