Index: src/GlobalJsObject.cpp |
=================================================================== |
--- a/src/GlobalJsObject.cpp |
+++ b/src/GlobalJsObject.cpp |
@@ -66,18 +66,18 @@ |
jsEngine->TriggerEvent(eventName, converted); |
return v8::Undefined(); |
} |
} |
JsValue& GlobalJsObject::Setup(JsEngine& jsEngine, const AppInfo& appInfo, |
JsValue& obj) |
{ |
- obj.SetProperty("setTimeout", *jsEngine.NewCallback(::SetTimeoutCallback)); |
- obj.SetProperty("_triggerEvent", *jsEngine.NewCallback(::TriggerEventCallback)); |
+ obj.SetProperty("setTimeout", jsEngine.NewCallback(::SetTimeoutCallback)); |
+ obj.SetProperty("_triggerEvent", jsEngine.NewCallback(::TriggerEventCallback)); |
obj.SetProperty("_fileSystem", |
FileSystemJsObject::Setup(jsEngine, *jsEngine.NewObject())); |
obj.SetProperty("_webRequest", |
WebRequestJsObject::Setup(jsEngine, *jsEngine.NewObject())); |
obj.SetProperty("console", |
ConsoleJsObject::Setup(jsEngine, *jsEngine.NewObject())); |
obj.SetProperty("_appInfo", |
AppInfoJsObject::Setup(appInfo, *jsEngine.NewObject())); |