mirror of
https://github.com/status-im/realm-js.git
synced 2025-01-10 22:36:01 +00:00
Cleaning up
This commit is contained in:
parent
f4248f5d30
commit
e669a221a1
@ -42,8 +42,6 @@ namespace js {
|
||||
using SharedUser = std::shared_ptr<realm::SyncUser>;
|
||||
using WeakSession = std::weak_ptr<realm::SyncSession>;
|
||||
|
||||
static bool config_fs_done;
|
||||
|
||||
template<typename T>
|
||||
class UserClass : public ClassDefinition<T, SharedUser> {
|
||||
using GlobalContextType = typename T::GlobalContext;
|
||||
@ -541,7 +539,6 @@ inline typename T::Function SyncClass<T>::create_constructor(ContextType ctx) {
|
||||
Object::set_property(ctx, sync_constructor, "User", ObjectWrap<T, UserClass<T>>::create_constructor(ctx), attributes);
|
||||
Object::set_property(ctx, sync_constructor, "Session", ObjectWrap<T, SessionClass<T>>::create_constructor(ctx), attributes);
|
||||
|
||||
config_fs_done = false;
|
||||
return sync_constructor;
|
||||
}
|
||||
|
||||
|
@ -11,8 +11,7 @@
|
||||
"terminate": "^1.0.8",
|
||||
"tmp": "^0.0.30",
|
||||
"url-parse": "^1.1.7",
|
||||
"typescript": "^2.5.2",
|
||||
"fs-extra": "^4.0.2"
|
||||
"typescript": "^2.5.2"
|
||||
},
|
||||
"scripts": {
|
||||
"check-typescript" : "tsc --noEmit --alwaysStrict ./../lib/index.d.ts",
|
||||
|
Loading…
x
Reference in New Issue
Block a user