This commit is contained in:
pypy
2020-11-01 19:47:06 +09:00
parent 8cf6418b56
commit c6e8195e01
+6 -6
View File
@@ -46,12 +46,12 @@ namespace VRCX
{ {
CamelCaseJavascriptNames = false CamelCaseJavascriptNames = false
}; };
Browser1.JavascriptObjectRepository.Register("VRCX", new VRCX(), true, options); Browser1.JavascriptObjectRepository.Register("VRCX", VRCX.Instance, true, options);
Browser1.JavascriptObjectRepository.Register("VRCXStorage", new VRCXStorage(), false, options); Browser1.JavascriptObjectRepository.Register("VRCXStorage", VRCXStorage.Instance, false, options);
Browser1.JavascriptObjectRepository.Register("SQLite", new SQLite(), true, options); Browser1.JavascriptObjectRepository.Register("SQLite", SQLite.Instance, true, options);
Browser2.JavascriptObjectRepository.Register("VRCX", new VRCX(), true, options); Browser2.JavascriptObjectRepository.Register("VRCX", VRCX.Instance, true, options);
Browser2.JavascriptObjectRepository.Register("VRCXStorage", new VRCXStorage(), false, options); Browser2.JavascriptObjectRepository.Register("VRCXStorage", VRCXStorage.Instance, false, options);
Browser2.JavascriptObjectRepository.Register("SQLite", new SQLite(), true, options); Browser2.JavascriptObjectRepository.Register("SQLite", SQLite.Instance, true, options);
Browser1.IsBrowserInitializedChanged += (A, B) => Browser1.IsBrowserInitializedChanged += (A, B) =>
{ {
// Browser1.ShowDevTools(); // Browser1.ShowDevTools();