Skip to content

Commit 3b873f6

Browse files
committed
Fix to allow closure compile pass
Minor fixes to allow closure compile
1 parent 07f829d commit 3b873f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

qrcode.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ var QRCode;
162162

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

167167
if (aMat && aMat[1]) {
168168
android = parseFloat(aMat[1]);
@@ -318,7 +318,7 @@ var QRCode;
318318
self._bSupportDataURI = false;
319319

320320
if (self._fFail) {
321-
_fFail.call(self);
321+
self._fFail.call(self);
322322
}
323323
};
324324
var fOnSuccess = function() {

0 commit comments

Comments
 (0)