| Index: src/AppInfoJsObject.cpp |
| =================================================================== |
| --- a/src/AppInfoJsObject.cpp |
| +++ b/src/AppInfoJsObject.cpp |
| @@ -18,18 +18,17 @@ |
| #include <AdblockPlus/AppInfo.h> |
| #include <AdblockPlus/JsValue.h> |
| #include "AppInfoJsObject.h" |
| #include "Utils.h" |
| using namespace AdblockPlus; |
| -JsValuePtr AppInfoJsObject::Setup(JsEnginePtr jsEngine, const AppInfo& appInfo, |
| - JsValuePtr obj) |
| +JsValuePtr AppInfoJsObject::Setup(const AppInfo& appInfo, const JsValuePtr& obj) |
|
sergei
2017/04/12 13:34:31
Here and in other *JsObject files it seems it woul
hub
2017/04/12 13:51:35
I have that in another patch. But I can put it in
sergei
2017/04/12 13:57:24
Will it be possible to firstly commit that another
hub
2017/04/12 14:04:52
Actually this need a change to SetProperty to acce
hub
2017/04/13 08:13:45
Patch in question to apply after this is up for re
|
| { |
| obj->SetProperty("version", appInfo.version); |
| obj->SetProperty("name", appInfo.name); |
| obj->SetProperty("application", appInfo.application); |
| obj->SetProperty("applicationVersion", appInfo.applicationVersion); |
| obj->SetProperty("locale", appInfo.locale); |
| obj->SetProperty("developmentBuild", appInfo.developmentBuild); |
| return obj; |