Created
February 16, 2016 14:08
-
-
Save dattaz/c8a1452bf4517d779ff8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AddonManager.getAddonByID("adbhelper@mozilla.org", (addon) => { | |
console.debug("ADBHelper:", addon); | |
console.debug("ADBHelper version:", addon.version); | |
if (addon.version !== "0.8.6" && addon.version !== "0.8.7") { | |
console.error("ADB Helper addon has wrong version 1"); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment