Index: src/FileSystemJsObject.cpp |
=================================================================== |
--- a/src/FileSystemJsObject.cpp |
+++ b/src/FileSystemJsObject.cpp |
@@ -346,16 +346,16 @@ |
return Utils::ToV8String(isolate, resolved); |
} |
} |
JsValue& FileSystemJsObject::Setup(JsEngine& jsEngine, JsValue& obj) |
{ |
- obj.SetProperty("read", *jsEngine.NewCallback(::ReadCallback)); |
- obj.SetProperty("write", *jsEngine.NewCallback(::WriteCallback)); |
- obj.SetProperty("move", *jsEngine.NewCallback(::MoveCallback)); |
- obj.SetProperty("remove", *jsEngine.NewCallback(::RemoveCallback)); |
- obj.SetProperty("stat", *jsEngine.NewCallback(::StatCallback)); |
- obj.SetProperty("resolve", *jsEngine.NewCallback(::ResolveCallback)); |
+ obj.SetProperty("read", jsEngine.NewCallback(::ReadCallback)); |
+ obj.SetProperty("write", jsEngine.NewCallback(::WriteCallback)); |
+ obj.SetProperty("move", jsEngine.NewCallback(::MoveCallback)); |
+ obj.SetProperty("remove", jsEngine.NewCallback(::RemoveCallback)); |
+ obj.SetProperty("stat", jsEngine.NewCallback(::StatCallback)); |
+ obj.SetProperty("resolve", jsEngine.NewCallback(::ResolveCallback)); |
return obj; |
} |