Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: lib/info.js

Issue 10198022: Pass application data into libadblockplus (Closed)
Patch Set: Merged upstream, addressed issues, renamed AppInfo fields Created April 17, 2013, 2:47 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: lib/info.js
===================================================================
--- a/lib/info.js
+++ b/lib/info.js
@@ -1,5 +1,5 @@
-exports.addonID = "none";
-exports.addonVersion = "2.1"; // Hardcoded for now
+exports.addonID = _appInfo.id;
+exports.addonVersion = _appInfo.version;
+exports.addonName = _appInfo.name;
exports.addonRoot = "";
-exports.addonName = "";
-exports.application = "libadblockplus";
+exports.application = _appInfo.platform;
« no previous file with comments | « include/AdblockPlus/JsEngine.h ('k') | libadblockplus.gyp » ('j') | src/AppInfoJsObject.cpp » ('J')

Powered by Google App Engine
This is Rietveld