From de48b46383715030b1c03ef5c849066c190e93e1 Mon Sep 17 00:00:00 2001 From: Sophie Hamilton Date: Thu, 12 Jun 2014 22:15:20 +0100 Subject: [PATCH] Rename getBarcode to showBarcode Like showBarcodeFromLink/showBarcodeFromSelection, getBarcode replaces the source of an image tag, so rename getBarcode to showBarcode to make this clearer. --- chrome/content/mobilebarcode.js | 2 +- chrome/content/mobilebarcode.xul | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/content/mobilebarcode.js b/chrome/content/mobilebarcode.js index 7c2fd36..394e24f 100755 --- a/chrome/content/mobilebarcode.js +++ b/chrome/content/mobilebarcode.js @@ -148,7 +148,7 @@ mobilebarcode.getBarcodeURL = function() return mobilebarcode.prefixURL("","LINK") + mobilebarcode.URLEncode(theurl); } -mobilebarcode.getBarcode = function() +mobilebarcode.showBarcode = function() { var url = mobilebarcode.getBarcodeURL(); var barcode = document.getElementById ( 'mobilebarcode-status-image' ); diff --git a/chrome/content/mobilebarcode.xul b/chrome/content/mobilebarcode.xul index 9bba834..f448045 100755 --- a/chrome/content/mobilebarcode.xul +++ b/chrome/content/mobilebarcode.xul @@ -7,7 +7,7 @@