Index: src/AppInfoJsObject.cpp |
=================================================================== |
--- a/src/AppInfoJsObject.cpp |
+++ b/src/AppInfoJsObject.cpp |
@@ -24,13 +24,14 @@ |
using namespace AdblockPlus; |
JsValuePtr AppInfoJsObject::Setup(JsEnginePtr jsEngine, const AppInfo& appInfo, |
JsValuePtr obj) |
{ |
obj->SetProperty("id", appInfo.id); |
obj->SetProperty("version", appInfo.version); |
obj->SetProperty("name", appInfo.name); |
- obj->SetProperty("platform", appInfo.platform); |
+ obj->SetProperty("application", appInfo.application); |
+ obj->SetProperty("applicationVersion", appInfo.applicationVersion); |
obj->SetProperty("locale", appInfo.locale); |
obj->SetProperty("developmentBuild", appInfo.developmentBuild); |
return obj; |
} |