Skip to content

Commit

Permalink
Fix to allow closure compile pass
Browse files Browse the repository at this point in the history
Minor fixes to allow closure compile
  • Loading branch information
ghigo committed Mar 27, 2014
1 parent 07f829d commit 3b873f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qrcode.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ var QRCode;

if (/android/i.test(sAgent)) { // android
android = true;
aMat = sAgent.toString().match(/android ([0-9]\.[0-9])/i);
var aMat = sAgent.toString().match(/android ([0-9]\.[0-9])/i);

if (aMat && aMat[1]) {
android = parseFloat(aMat[1]);
Expand Down Expand Up @@ -318,7 +318,7 @@ var QRCode;
self._bSupportDataURI = false;

if (self._fFail) {
_fFail.call(self);
self._fFail.call(self);
}
};
var fOnSuccess = function() {
Expand Down

0 comments on commit 3b873f6

Please sign in to comment.