cleanup code

This commit is contained in:
pypy
2020-11-01 22:23:03 +09:00
parent 5938f877f8
commit 2cc00465ad
5 changed files with 26 additions and 34 deletions
+21
View File
@@ -0,0 +1,21 @@
using CefSharp;
namespace VRCX
{
public static class Util
{
public static void RegisterBindings(IJavascriptObjectRepository repository)
{
var options = new BindingOptions()
{
CamelCaseJavascriptNames = false
};
repository.Register("VRCX", VRCX.Instance, true, options);
repository.Register("SharedVariable", SharedVariable.Instance, false, options);
repository.Register("VRCXStorage", VRCXStorage.Instance, false, options);
repository.Register("SQLite", SQLite.Instance, false, options);
repository.Register("LogWatcher", LogWatcher.Instance, true, options);
repository.Register("Discord", Discord.Instance, true, options);
}
}
}