You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
855 B

5 years ago
package com.fr.plugin.external;
import com.fr.web.struct.AssembleComponent;
import com.fr.web.struct.Atom;
import com.fr.web.struct.browser.RequestClient;
import com.fr.web.struct.category.ScriptPath;
import com.fr.web.struct.category.StylePath;
public class DebugComponent extends AssembleComponent {
public static final DebugComponent KEY = new DebugComponent();
private DebugComponent() {
}
@Override
public Atom[] refer() {
return new Atom[0];
}
@Override
public Atom[] children() {
return new Atom[0];
}
@Override
public ScriptPath script(RequestClient client) {
// 这边是需要注入的js
return ScriptPath.build("/com/fr/nx/web/ui/show.debug.js");
}
@Override
public StylePath style(RequestClient client) {
return StylePath.EMPTY;
}
}