blob: 6d785c0817fca93887ddf8ba4b7f0c6b1dad9fdc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
package su.tvl.gerrit;
import com.google.gerrit.extensions.registration.DynamicSet;
import com.google.gerrit.extensions.webui.JavaScriptPlugin;
import com.google.gerrit.extensions.webui.WebUiPlugin;
import com.google.inject.servlet.ServletModule;
public final class HttpModule extends ServletModule {
@Override
protected void configureServlets() {
DynamicSet.bind(binder(), WebUiPlugin.class).toInstance(new JavaScriptPlugin("tvl.js"));
}
}
|