1
0
Fork 0
mirror of https://github.com/Luzifer/qrdisplay.git synced 2024-12-22 04:11:19 +00:00

Rendering bigger QR codes for more data transmission

This commit is contained in:
Knut Ahlers 2014-05-29 14:02:21 +02:00
parent fcafcb1b66
commit e5b86103d7
3 changed files with 13 additions and 5 deletions

View file

@ -15,4 +15,8 @@ $ ->
generateQRCode = ->
text = $('textarea').val()
$('#qrarea').empty()
$('#qrarea').qrcode(text)
$('#qrarea').qrcode
text: text
width: 512
height: 512

View file

@ -24,7 +24,11 @@
var text;
text = $('textarea').val();
$('#qrarea').empty();
return $('#qrarea').qrcode(text);
return $('#qrarea').qrcode({
text: text,
width: 512,
height: 512
});
};
}).call(this);

View file

@ -52,10 +52,10 @@ input {
#qrarea {
border: 10px solid #fff;
margin-left: 322px;
height: 256px;
margin-left: 194px;
height: 512px;
overflow: hidden;
width: 256px;
width: 512px;
}
#download {