javajs.util.DebugJS Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jmol Show documentation
Show all versions of jmol Show documentation
Jmol: an open-source Java viewer for chemical structures in 3D
package javajs.util;
/**
* A class to insert a JavaScript debug statement for Firefox or Chrome debugger
*
*/
public class DebugJS {
/**
* Insert a JavaScript debug statement
* @param msg
*
*/
public static void _(String msg) {
/**
* @j2sNative
*
* if (Clazz._debugging) {
*
* debugger;
*
* }
*
*/
{}
}
}