Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
yyq
7 years ago
Commit
111bece6d934fa5070d9d585faa4e8bfb162c930
1 parent
5962701e
fix
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
public/js/plugins/qrcode.js
public/js/plugins/qrcode.js
View file @
111bece
...
...
@@ -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
,
...
...
Please
register
or
login
to post a comment