Index: messageResponder.js |
=================================================================== |
--- a/messageResponder.js |
+++ b/messageResponder.js |
@@ -165,9 +165,13 @@ |
callback({locale: Utils.appLocale, bidiDir: bidiDir}); |
} |
- else if (message.what == "addonVersion") |
Thomas Greiner
2016/02/05 14:24:36
Nice. I wanted to make this more generic in the fu
|
+ else if (message.what == "info") |
{ |
- callback(require("info").addonVersion); |
+ var info = require("info"); |
+ callback({ |
+ application: info.application, |
+ addonVersion: info.addonVersion |
+ }); |
} |
else |
callback(null); |