mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-25 09:43:49 +02:00
using singleton
This commit is contained in:
@@ -31,9 +31,9 @@ namespace VRCX
|
|||||||
{
|
{
|
||||||
CamelCaseJavascriptNames = false
|
CamelCaseJavascriptNames = false
|
||||||
};
|
};
|
||||||
JavascriptObjectRepository.Register("VRCX", new VRCX(), true, options);
|
JavascriptObjectRepository.Register("VRCX", VRCX.Instance, true, options);
|
||||||
JavascriptObjectRepository.Register("VRCXStorage", new VRCXStorage(), false, options);
|
JavascriptObjectRepository.Register("VRCXStorage", VRCXStorage.Instance, false, options);
|
||||||
JavascriptObjectRepository.Register("SQLite", new SQLite(), true, options);
|
JavascriptObjectRepository.Register("SQLite", SQLite.Instance, true, options);
|
||||||
}
|
}
|
||||||
|
|
||||||
public new void Dispose()
|
public new void Dispose()
|
||||||
|
|||||||
Reference in New Issue
Block a user