...
|
...
|
@@ -808,7 +808,7 @@ module.exports = (function() { |
|
|
|
|
|
// Android 2.1 bug workaround
|
|
|
// http://code.google.com/p/android/issues/detail?id=5141
|
|
|
if (this._android && this._android <= 2.1) {
|
|
|
if (this && this._android && this._android <= 2.1) {
|
|
|
var factor = 1 / window.devicePixelRatio;
|
|
|
var drawImage = CanvasRenderingContext2D.prototype.drawImage;
|
|
|
CanvasRenderingContext2D.prototype.drawImage = function(image, sx, sy, sw, sh, dx, dy, dw, dh) {
|
...
|
...
|
@@ -1059,7 +1059,7 @@ module.exports = (function() { |
|
|
* @param {String} [vOption.colorLight="#ffffff"]
|
|
|
* @param {QRCode.CorrectLevel} [vOption.correctLevel=QRCode.CorrectLevel.H] [L|M|Q|H]
|
|
|
*/
|
|
|
QRCode = function(el, vOption) {
|
|
|
var QRCode = function(el, vOption) {
|
|
|
this._htOption = {
|
|
|
width: 256,
|
|
|
height: 256,
|
...
|
...
|
|