@SuppressWarnings("unused")
public static void getURLCommandArguments()
{
-
if (!isJS())
{
return;
public static void ensureJmol()
{
+ if (!isJS())
+ {
+ return;
+ }
jsutil.loadResourceIfClassUnknown("core/core_jvjmol.z.js",
"org.jmol.viewer.Viewer");
}
public static void ensureRegex()
{
+ if (!isJS())
+ {
+ return;
+ }
jsutil.loadResourceIfClassUnknown("core/core_stevesoft.z.js",
"com.stevesoft.pat.Regex");
}