Skip to content

Commit ea6f3c7

Browse files
committed
Merge pull request #25 from ghigo/master
Fix to allow closure compile pass
2 parents 549838f + 3b873f6 commit ea6f3c7

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]);
@@ -319,7 +319,7 @@ var QRCode;
319319
self._bSupportDataURI = false;
320320

321321
if (self._fFail) {
322-
_fFail.call(self);
322+
self._fFail.call(self);
323323
}
324324
};
325325
var fOnSuccess = function() {

0 commit comments

Comments
 (0)