bumping version. time to publish test qrcodes

This commit is contained in:
Ryan Day 2012-06-23 20:22:37 -07:00
parent c777738ba8
commit 9329fc485b
3 changed files with 4 additions and 3 deletions

View file

@ -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");
});

View file

@ -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"

View file

@ -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) {