Cleaning up

This commit is contained in:
Kenneth Geisshirt 2017-09-27 16:00:45 +02:00
parent f4248f5d30
commit e669a221a1
2 changed files with 1 additions and 5 deletions

View File

@ -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;
}

View File

@ -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",