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
+1 -8
View File
@@ -27,14 +27,7 @@ namespace VRCX
Size = new Size(texture.Description.Width, texture.Description.Height);
RenderHandler.Dispose();
RenderHandler = new RenderHandler(this, m_Lock);
var options = new BindingOptions()
{
CamelCaseJavascriptNames = false
};
JavascriptObjectRepository.Register("VRCX", VRCX.Instance, true, options);
JavascriptObjectRepository.Register("SharedVariable", SharedVariable.Instance, false, options);
JavascriptObjectRepository.Register("VRCXStorage", VRCXStorage.Instance, false, options);
JavascriptObjectRepository.Register("SQLite", SQLite.Instance, false, options);
Util.RegisterBindings(JavascriptObjectRepository);
}
public new void Dispose()