bumping version. time to publish test qrcodes
This commit is contained in:
parent
c777738ba8
commit
9329fc485b
3 changed files with 4 additions and 3 deletions
|
@ -20,7 +20,7 @@ if (text && text.length) {
|
|||
}
|
||||
});
|
||||
} else {
|
||||
qr.drawAscii(text,function(error,text){
|
||||
qr.drawText(text,function(error,text){
|
||||
process.stdout.write(text);
|
||||
process.stdout.write("\n");
|
||||
});
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ "name": "qrcode"
|
||||
,"description": "QRCode / 2d Barcode api with both server side and client side support using canvas"
|
||||
,"version": "0.2.0"
|
||||
,"version": "0.2.1"
|
||||
,"author": "Ryan Day <soldair@gmail.com>"
|
||||
,"keywords": ["canvas", "qrcode", "barcode"]
|
||||
,"main": "./qrcode.js"
|
||||
|
|
|
@ -32,6 +32,7 @@ exports.QRCodeDraw = QRCodeDraw;
|
|||
*/
|
||||
exports.getMaxChars = function(minErrorCorrectionLevel,width,moduleScale){
|
||||
//TODO THIS NEEDS TO WORK
|
||||
console.log('this doesnt work yet. comming soon =)');
|
||||
};
|
||||
|
||||
|
||||
|
@ -134,7 +135,7 @@ exports.drawBitArray = function(text,cb){
|
|||
});
|
||||
}
|
||||
|
||||
exports.drawForConsole = exports.drawAscii = function(text,cb){
|
||||
exports.drawText = function(text,cb){
|
||||
var drawInstance = new QRCodeDraw();
|
||||
drawInstance.drawBitArray(text,function(error,bits,width){
|
||||
if (!error) {
|
||||
|
|
Loading…
Reference in a new issue