Permalink
Browse files

Merge pull request #1 from zalun/master

Responding with version number added
  • Loading branch information...
2 parents e1d6d1d + d0b9221 commit 3410e356be11c33cc745871de2233431e5481ac5 @csuwildcat csuwildcat committed Jan 25, 2012
Showing with 4 additions and 2 deletions.
  1. +0 −1 data/addon-config.json
  2. +3 −0 lib/addons-builder-helper.js
  3. +1 −1 package.json
@@ -1,6 +1,5 @@
{
"trustedOrigins": [
- "http://flightdeck.zalewa.info/",
"https://builder-addons.allizom.org",
"https://builder-addons-dev.allizom.org",
"https://builder-addons-next.allizom.org",
@@ -58,6 +58,9 @@ function attachApiToChannel(channel, addonManager) {
return {success: true,
isInstalled: addonManager.isInstalled,
installedID: addonManager.installedID};
+ case "version":
+ return {success: true,
+ msg: require('self').version};
case "uninstall":
addonManager.uninstall();
return {success: true,
View
@@ -3,7 +3,7 @@
"license": "MPL 1.1/GPL 2.0/LGPL 2.1",
"author": "Atul Varma (http://toolness.com/) <atul@mozilla.com>",
"url": "http://github.com/mozilla/addon-builder-helper",
- "version": "1.2.1.1",
+ "version": "1.3",
"dependencies": [
"api-utils",
"development-mode"

0 comments on commit 3410e35

Please sign in to comment.