From 718dc342ada17eafcd0978364c4b0fba7ee98ddf Mon Sep 17 00:00:00 2001 From: Lars Jung Date: Sun, 28 Jul 2013 23:10:19 +0200 Subject: [PATCH 1/9] Sets version to 0.6.0-dev. --- README.md | 5 +++++ package.json | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a276c89..c8e82e5 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,11 @@ Uses [QR Code Generator](http://www.d-project.com/qrcode/index.html) (MIT). Kudo ## Changelog +### develop branch + +* ... + + ### v0.6.0 - *2013-07-28* * adds version range diff --git a/package.json b/package.json index df17a63..8764874 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { "name": "jquery.qrcode", "displayName": "jQuery.qrcode", - "version": "0.6.0" -} \ No newline at end of file + "version": "0.6.0-dev" +} From cf982e4df5604d5c2f00bfb70207a612e1eee86e Mon Sep 17 00:00:00 2001 From: Lars Jung Date: Thu, 1 Aug 2013 02:01:49 +0200 Subject: [PATCH 2/9] Adds position options. Now accepts img elements as fill and background. --- src/demo/index.html | 21 ++++++++++------- src/demo/scripts.js | 19 +++++++++------ src/jquery.qrcode.js | 56 ++++++++++++++++++++++++++------------------ 3 files changed, 57 insertions(+), 39 deletions(-) diff --git a/src/demo/index.html b/src/demo/index.html index c802520..957b90b 100644 --- a/src/demo/index.html +++ b/src/demo/index.html @@ -35,14 +35,14 @@
- - - - + + + +
- +
+ + + + + + +
- - @@ -80,8 +85,6 @@
- - diff --git a/src/demo/scripts.js b/src/demo/scripts.js index f91cb7f..a5692ef 100644 --- a/src/demo/scripts.js +++ b/src/demo/scripts.js @@ -6,8 +6,9 @@ var isOpera = Object.prototype.toString.call(window.opera) == '[object Opera]', ["minversion", ""], ["quiet", "modules"], ["radius", "%"], - ["fontsize", "%"], - ["imagesize", "%"] + ["msize", "%"], + ["mposx", "%"], + ["mposy", "%"] ], updateGui = function () { @@ -27,8 +28,10 @@ var isOpera = Object.prototype.toString.call(window.opera) == '[object Opera]', render: $("#render").val(), ecLevel: $("#eclevel").val(), minVersion: parseInt($("#minversion").val(), 10), - color: $("#color").val(), - bgColor: $("#bg-color").val(), + + fill: $("#fill").val(), + background: $("#background").val(), + text: $("#text").val(), size: parseInt($("#size").val(), 10), radius: parseInt($("#radius").val(), 10) * 0.01, @@ -36,13 +39,15 @@ var isOpera = Object.prototype.toString.call(window.opera) == '[object Opera]', mode: parseInt($("#mode").val(), 10), + mSize: parseInt($("#msize").val(), 10) * 0.01, + mPosX: parseInt($("#mposx").val(), 10) * 0.01, + mPosY: parseInt($("#mposy").val(), 10) * 0.01, + label: $("#label").val(), - labelsize: parseInt($("#fontsize").val(), 10) * 0.01, fontname: $("#font").val(), fontcolor: $("#fontcolor").val(), - image: $("#img-buffer")[0], - imagesize: parseInt($("#imagesize").val(), 10) * 0.01 + image: $("#img-buffer")[0] }; $("#container").empty().qrcode(options); diff --git a/src/jquery.qrcode.js b/src/jquery.qrcode.js index 822f413..290cee9 100644 --- a/src/jquery.qrcode.js +++ b/src/jquery.qrcode.js @@ -79,16 +79,17 @@ drawBackgroundLabel = function (qr, context, settings) { - var font = "bold " + (settings.labelsize * settings.size) + "px " + settings.fontname, + var size = settings.size, + font = "bold " + (settings.mSize * size) + "px " + settings.fontname, ctx = $('')[0].getContext("2d"); ctx.font = font; var w = ctx.measureText(settings.label).width, - sh = settings.labelsize, - sw = w / settings.size, - sl = (1 - sw)/2, - st = (1 - sh)/2, + sh = settings.mSize, + sw = w / size, + sl = (1 - sw) * settings.mPosX, + st = (1 - sh) * settings.mPosY, sr = sl + sw, sb = st + sh, pad = 0.01; @@ -102,9 +103,8 @@ } context.fillStyle = settings.fontcolor; - context.textAlign = "center"; context.font = font; - context.fillText($("#label").val(), 0.5 * settings.size, 0.5 * settings.size + 0.3 * settings.labelsize * settings.size); + context.fillText($("#label").val(), sl*size, st*size + 0.75 * settings.mSize * size); }, drawBackgroundImage = function (qr, context, settings) { @@ -112,10 +112,10 @@ var size = settings.size, w = settings.image.naturalWidth || 1, h = settings.image.naturalHeight || 1, - sh = settings.imagesize, + sh = settings.mSize, sw = sh * w / h, - sl = (1 - sw)/2, - st = (1 - sh)/2, + sl = (1 - sw) * settings.mPosX, + st = (1 - sh) * settings.mPosY, sr = sl + sw, sb = st + sh, pad = 0.01; @@ -133,8 +133,10 @@ drawBackground = function (qr, context, settings) { - if (settings.bgColor) { - context.fillStyle = settings.bgColor; + if ($(settings.background).is('img')) { + context.drawImage(settings.background, 0, 0, settings.size, settings.size); + } else if (settings.background) { + context.fillStyle = settings.background; context.fillRect(settings.left, settings.top, settings.size, settings.size); } @@ -270,8 +272,14 @@ fn(qr, context, settings, l, t, w, row, col); } } - context.fillStyle = settings.color; - context.fill(); + if ($(settings.fill).is('img')) { + context.clip(); + context.drawImage(settings.fill, 0, 0, settings.size, settings.size); + context.restore(); + } else { + context.fillStyle = settings.fill; + context.fill(); + } }, // Draws QR code to the given `canvas` and returns it. @@ -314,7 +322,7 @@ // some shortcuts to improve compression var settings_size = settings.size, - settings_bgColor = settings.bgColor, + settings_bgColor = settings.background, math_floor = Math.floor, moduleCount = qr.moduleCount, @@ -338,7 +346,7 @@ margin: 0, width: moduleSize, height: moduleSize, - 'background-color': settings.color + 'background-color': settings.fill }, $div = $('
').data('qrcode', qr).css(containerCSS); @@ -399,11 +407,11 @@ // size in pixel size: 200, - // code color - color: '#000', + // code color or image element + fill: '#000', - // background color, `null` for transparent background - bgColor: null, + // background color or image element, `null` for transparent background + background: null, // content text: 'no text', @@ -422,13 +430,15 @@ // 4: image box mode: 0, + mSize: 0.1, + mPosX: 0.5, + mPosY: 0.5, + label: 'no label', - labelsize: 0.1, fontname: 'sans', fontcolor: '#000', - image: null, - imagesize: 0.1 + image: null }; // Register the plugin From 4aa9480bd3745aa89d53181ba16cca5f8998457e Mon Sep 17 00:00:00 2001 From: Lars Jung Date: Thu, 1 Aug 2013 15:35:01 +0200 Subject: [PATCH 3/9] Stroke. --- src/demo/scripts.js | 1 + src/jquery.qrcode.js | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/src/demo/scripts.js b/src/demo/scripts.js index a5692ef..126069c 100644 --- a/src/demo/scripts.js +++ b/src/demo/scripts.js @@ -31,6 +31,7 @@ var isOpera = Object.prototype.toString.call(window.opera) == '[object Opera]', fill: $("#fill").val(), background: $("#background").val(), + // fill: $("#img-buffer")[0], text: $("#text").val(), size: parseInt($("#size").val(), 10), diff --git a/src/jquery.qrcode.js b/src/jquery.qrcode.js index 290cee9..798bcd1 100644 --- a/src/jquery.qrcode.js +++ b/src/jquery.qrcode.js @@ -273,6 +273,14 @@ } } if ($(settings.fill).is('img')) { + context.strokeStyle = 'rgba(0,0,0,0.5)'; + context.lineWidth = 2; + context.stroke(); + var prev = context.globalCompositeOperation; + context.globalCompositeOperation = "destination-out"; + context.fill(); + context.globalCompositeOperation = prev; + context.clip(); context.drawImage(settings.fill, 0, 0, settings.size, settings.size); context.restore(); From 9b2c830ed4c3493e8f57b56037fcea13e2f0795a Mon Sep 17 00:00:00 2001 From: Nigel Nguyen Date: Sat, 3 Aug 2013 17:59:50 +1200 Subject: [PATCH 4/9] Update jquery.qrcode.js fixed issue with label not rendered correctly --- src/jquery.qrcode.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jquery.qrcode.js b/src/jquery.qrcode.js index 798bcd1..15277b8 100644 --- a/src/jquery.qrcode.js +++ b/src/jquery.qrcode.js @@ -104,7 +104,7 @@ context.fillStyle = settings.fontcolor; context.font = font; - context.fillText($("#label").val(), sl*size, st*size + 0.75 * settings.mSize * size); + context.fillText(settings.label, sl*size, st*size + 0.75 * settings.mSize * size); }, drawBackgroundImage = function (qr, context, settings) { From bac97f2eba1c69b0390a440461a1cd72c0a4708a Mon Sep 17 00:00:00 2001 From: Lars Jung Date: Sat, 17 Aug 2013 20:41:51 +0200 Subject: [PATCH 5/9] Updates readme. --- LICENSE.txt => LICENSE.md | 0 README.md | 12 +++++++----- 2 files changed, 7 insertions(+), 5 deletions(-) rename LICENSE.txt => LICENSE.md (100%) diff --git a/LICENSE.txt b/LICENSE.md similarity index 100% rename from LICENSE.txt rename to LICENSE.md diff --git a/README.md b/README.md index c8e82e5..a6fa5dd 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ # jQuery.qrcode -* Website with download, docs and demo: -* Sources: +* Website with download, docs and demo: +* Sources: -jQuery.qrcode is provided under the terms of the [MIT License](http://github.com/lrsjng/jQuery.qrcode/blob/master/LICENSE.txt). +jQuery.qrcode is provided under the terms of the [MIT License](https://github.com/lrsjng/jQuery.qrcode/blob/master/LICENSE.md). -Uses [QR Code Generator](http://www.d-project.com/qrcode/index.html) (MIT). Kudos to [jquery.qrcode.js](http://github.com/jeromeetienne/jquery-qrcode) (MIT). +Uses [QR Code Generator](http://www.d-project.com/qrcode/index.html) (MIT). Kudos to [jquery.qrcode.js](https://github.com/jeromeetienne/jquery-qrcode) (MIT). ## Changelog @@ -13,7 +13,9 @@ Uses [QR Code Generator](http://www.d-project.com/qrcode/index.html) (MIT). Kudo ### develop branch -* ... +* some fixes +* adds image support for fore- and background +* updates build process ### v0.6.0 - *2013-07-28* From 974002f950ac52912c67115d28a880dfaba15153 Mon Sep 17 00:00:00 2001 From: Lars Jung Date: Sat, 17 Aug 2013 20:43:06 +0200 Subject: [PATCH 6/9] Updates readme. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a6fa5dd..6fc7aff 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ * Website with download, docs and demo: * Sources: -jQuery.qrcode is provided under the terms of the [MIT License](https://github.com/lrsjng/jQuery.qrcode/blob/master/LICENSE.md). +jQuery.qrcode is provided under the terms of the [MIT License](https://github.com/lrsjng/jQuery.qrcode/blob/develop/LICENSE.md). Uses [QR Code Generator](http://www.d-project.com/qrcode/index.html) (MIT). Kudos to [jquery.qrcode.js](https://github.com/jeromeetienne/jquery-qrcode) (MIT). From ceac699d47f59818a49a3bf1d02d2f29c1c81777 Mon Sep 17 00:00:00 2001 From: Lars Jung Date: Sat, 17 Aug 2013 21:13:59 +0200 Subject: [PATCH 7/9] Updates demo. --- README.md | 1 + makefile.js | 169 +++++++++++++++++--------------------------- package.json | 14 +++- src/demo/index.html | 2 +- src/demo/scripts.js | 146 +++++++++++++++++++------------------- src/demo/styles.css | 5 +- 6 files changed, 153 insertions(+), 184 deletions(-) diff --git a/README.md b/README.md index 6fc7aff..d365d51 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ Uses [QR Code Generator](http://www.d-project.com/qrcode/index.html) (MIT). Kudo * some fixes * adds image support for fore- and background +* adds label and image positioning * updates build process diff --git a/makefile.js b/makefile.js index e13fbe5..aafb68f 100644 --- a/makefile.js +++ b/makefile.js @@ -2,152 +2,111 @@ 'use strict'; -var path = require('path'), - child_process = require('child_process'); - - -var pkg = require('./package.json'), - - root = path.resolve(__dirname), - src = path.resolve(root, 'src'), - build = path.resolve(root, 'build'), - - jshint = { - // Enforcing Options - bitwise: true, - curly: true, - eqeqeq: true, - forin: true, - latedef: true, - newcap: true, - noempty: true, - plusplus: true, - trailing: true, - undef: true, - - // Environments - browser: true, - - // Globals - predef: [ - "jQuery", "qrcode" - ] - }, - - mapperSrc = function (blob) { - - return blob.source.replace(src, build); - }, - - mapperRoot = function (blob) { +module.exports = function (make) { - return blob.source.replace(root, build); - }; + var path = require('path'), + pkg = require('./package.json'), -module.exports = function (make) { - - var Event = make.Event, $ = make.fQuery, - moment = make.moment, - stamp, replacements; + + root = path.resolve(__dirname), + src = path.join(root, 'src'), + build = path.join(root, 'build'); - make.version('>=0.8.1'); + make.version('>=0.10.0'); make.defaults('release'); make.before(function () { - stamp = moment(); + var moment = make.moment(); - replacements = { + make.env = { pkg: pkg, - stamp: stamp.format('YYYY-MM-DD HH:mm:ss') + stamp: moment.format('YYYY-MM-DD HH:mm:ss') }; - Event.info({ method: 'before', message: pkg.version + ' ' + replacements.stamp }); + $.info({ method: 'before', message: pkg.version + ' ' + make.env.stamp }); }); make.target('check-version', [], 'add git info to dev builds').async(function (done, fail) { - if (!/-dev$/.test(pkg.version)) { + if (!/\+$/.test(pkg.version)) { done(); return; } $.git(root, function (err, result) { - pkg.version += '-' + result.revListOriginMasterHead.length + '-' + result.revParseHead.slice(0, 7); - Event.info({ - method: 'check-version', - message: 'version set to ' + pkg.version - }); + pkg.version += result.buildSuffix; + $.info({ method: 'check-version', message: 'version set to ' + pkg.version }); done(); }); }); - make.target('clean', [], 'delete build folder') - .sync(function () { - - $.rmfr($.I_AM_SURE, build); - }); + make.target('clean', [], 'delete build folder').sync(function () { + $.DELETE(build); + }); - make.target('lint', [], 'lint all JavaScript files with JSHint') - .sync(function () { - $(src + ': jquery.qrcode.js') - .jshint(jshint); - }); + make.target('lint', [], 'lint all JavaScript files with JSHint').sync(function () { + + var options = { + // Enforcing Options + bitwise: true, + curly: true, + eqeqeq: true, + forin: true, + latedef: true, + newcap: true, + noempty: true, + plusplus: true, + trailing: true, + undef: true, + + // Environments + browser: true + }, + global = { + 'jQuery': true, + 'qrcode': true + }; + + $(src + ': jquery.qrcode.js, demo/scripts.js').log(-3) + .jshint(options, global); + }); - make.target('build', ['check-version'], 'build all updated files') - .sync(function () { + make.target('build', ['check-version'], 'build all updated files').sync(function () { - var scriptName = pkg.name; + $(src + ': jquery.qrcode.js') + .includify() + .handlebars(make.env) + .WRITE($.map.p(src, build).s('.js', '-' + pkg.version + '.js')) + .uglifyjs() + .WRITE($.map.p(src, build).s('.js', '-' + pkg.version + '.min.js')); - $(src + '/demo/*') - .handlebars(replacements) - .write($.OVERWRITE, mapperSrc); + $(src + ': **, ! *.js') + .handlebars(make.env) + .WRITE($.map.p(src, build)); - $(src + ': ' + scriptName + '.js') - .includify() - .handlebars(replacements) - .write($.OVERWRITE, path.join(build, scriptName + '-' + pkg.version + '.js')) - .write($.OVERWRITE, path.join(build, 'demo', scriptName + '.js')) - .uglifyjs() - .write($.OVERWRITE, path.join(build, scriptName + '-' + pkg.version + '.min.js')); + $(root + ': README*, LICENSE*') + .handlebars(make.env) + .WRITE($.map.p(root, build)); + }); - $(root + ': README*, LICENSE*') - .write($.OVERWRITE, mapperRoot); - }); + make.target('release', ['clean', 'build'], 'create a zipball').async(function (done, fail) { - make.target('release', ['clean', 'build'], 'create a zipball') - .async(function (done, fail) { - - var target = path.join(build, pkg.name + '-' + pkg.version + '.zip'), - cmd = 'zip', - args = ['-ro', target, '.'], - options = { cwd: build }, - proc = child_process.spawn(cmd, args, options); - - Event.info({ method: 'exec', message: cmd + ' ' + args.join(' ') }); - - proc.stderr.on('data', function (data) { - process.stderr.write(data); - }); - proc.on('exit', function (code) { - if (code) { - Event.error({ method: 'exec', message: cmd + ' exit code ' + code }); - fail(); - } else { - Event.ok({ method: 'exec', message: 'created zipball ' + target }); - done(); - } - }); + $(build + ': **').shzip({ + target: path.join(build, pkg.name + '-' + pkg.version + '.zip'), + dir: build, + callback: done }); + }); }; diff --git a/package.json b/package.json index 8764874..6a96491 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,13 @@ { - "name": "jquery.qrcode", - "displayName": "jQuery.qrcode", - "version": "0.6.0-dev" + "name": "jquery.qrcode", + "displayName": "jQuery.qrcode", + "version": "0.6.0+", + "description": "generate QR codes dynamically", + "url": "http://larsjung.de/qrcode/", + "author": "Lars Jung", + "license": "MIT", + "repository": { + "type": "git", + "url": "https://github.com/lrsjng/jQuery.qrcode.git" + } } diff --git a/src/demo/index.html b/src/demo/index.html index 957b90b..27902fa 100644 --- a/src/demo/index.html +++ b/src/demo/index.html @@ -15,7 +15,7 @@ - + diff --git a/src/demo/scripts.js b/src/demo/scripts.js index 126069c..dc0ceed 100644 --- a/src/demo/scripts.js +++ b/src/demo/scripts.js @@ -1,99 +1,103 @@ -var isOpera = Object.prototype.toString.call(window.opera) == '[object Opera]', +(function ($) { + 'use strict'; - guiValuePairs = [ - ["size", "px"], - ["minversion", ""], - ["quiet", "modules"], - ["radius", "%"], - ["msize", "%"], - ["mposx", "%"], - ["mposy", "%"] - ], + var isOpera = Object.prototype.toString.call(window.opera) === '[object Opera]', - updateGui = function () { + guiValuePairs = [ + ["size", "px"], + ["minversion", ""], + ["quiet", " modules"], + ["radius", "%"], + ["msize", "%"], + ["mposx", "%"], + ["mposy", "%"] + ], - for (var idx in guiValuePairs) { + updateGui = function () { - var pair = guiValuePairs[idx], - $label = $('label[for="' + pair[0] + '"]'); + $.each(guiValuePairs, function (idx, pair) { - $label.text($label.text().replace(/:.*/, ': ' + $('#' + pair[0]).val() + pair[1])); - } - }, + var $label = $('label[for="' + pair[0] + '"]'); - updateQrCode = function () { + $label.text($label.text().replace(/:.*/, ': ' + $('#' + pair[0]).val() + pair[1])); + }); + }, - var options = { - render: $("#render").val(), - ecLevel: $("#eclevel").val(), - minVersion: parseInt($("#minversion").val(), 10), + updateQrCode = function () { - fill: $("#fill").val(), - background: $("#background").val(), - // fill: $("#img-buffer")[0], + var options = { + render: $("#render").val(), + ecLevel: $("#eclevel").val(), + minVersion: parseInt($("#minversion").val(), 10), - text: $("#text").val(), - size: parseInt($("#size").val(), 10), - radius: parseInt($("#radius").val(), 10) * 0.01, - quiet: parseInt($("#quiet").val(), 10), + fill: $("#fill").val(), + background: $("#background").val(), + // fill: $("#img-buffer")[0], - mode: parseInt($("#mode").val(), 10), + text: $("#text").val(), + size: parseInt($("#size").val(), 10), + radius: parseInt($("#radius").val(), 10) * 0.01, + quiet: parseInt($("#quiet").val(), 10), - mSize: parseInt($("#msize").val(), 10) * 0.01, - mPosX: parseInt($("#mposx").val(), 10) * 0.01, - mPosY: parseInt($("#mposy").val(), 10) * 0.01, + mode: parseInt($("#mode").val(), 10), - label: $("#label").val(), - fontname: $("#font").val(), - fontcolor: $("#fontcolor").val(), + mSize: parseInt($("#msize").val(), 10) * 0.01, + mPosX: parseInt($("#mposx").val(), 10) * 0.01, + mPosY: parseInt($("#mposy").val(), 10) * 0.01, - image: $("#img-buffer")[0] - }; + label: $("#label").val(), + fontname: $("#font").val(), + fontcolor: $("#fontcolor").val(), - $("#container").empty().qrcode(options); - }, + image: $("#img-buffer")[0] + }; - update = function () { + $("#container").empty().qrcode(options); + }, - updateGui(); - updateQrCode(); - }, + update = function () { - onImageInput = function () { + updateGui(); + updateQrCode(); + }, - var input = $("#image")[0]; + onImageInput = function () { - if (input.files && input.files[0]) { + var input = $("#image")[0]; - var reader = new FileReader(); + if (input.files && input.files[0]) { - reader.onload = function (event) { - $("#img-buffer").attr("src", event.target.result); - $("#mode").val("4"); - setTimeout(update, 250); - }; - reader.readAsDataURL(input.files[0]); - } - }, + var reader = new FileReader(); + + reader.onload = function (event) { + $("#img-buffer").attr("src", event.target.result); + $("#mode").val("4"); + setTimeout(update, 250); + }; + reader.readAsDataURL(input.files[0]); + } + }, - download = function (event) { + download = function (event) { - var data = $("#container canvas")[0].toDataURL('image/png'); - $("#download").attr("href", data); - }; + var data = $("#container canvas")[0].toDataURL('image/png'); + $("#download").attr("href", data); + }; -$(function () { + $(function () { + + if (isOpera) { + $('html').addClass('opera'); + $('#radius').prop('disabled', true); + } - if (isOpera) { - $('html').addClass('opera'); - $('#radius').prop('disabled', true); - } + $("#download").on("click", download); + $("#image").on('change', onImageInput); + $("input, textarea, select").on("input change", update); + $(window).load(update); + update(); + }); - $("#download").on("click", download); - $("#image").on('change', onImageInput); - $("input, textarea, select").on("input change", update); - $(window).load(update); - update(); -}); +}(jQuery)); diff --git a/src/demo/styles.css b/src/demo/styles.css index b75470b..e36876c 100644 --- a/src/demo/styles.css +++ b/src/demo/styles.css @@ -101,10 +101,7 @@ input, textarea, select { input[type="range"] { -webkit-appearance: none; -/* height: 8px; - margin-top: 4px; - margin-bottom: 4px; -*/ cursor: pointer; + cursor: pointer; } input::-webkit-slider-thumb { -webkit-appearance: none; From 1023ef459ce11da62920eae0c3d25719564e657d Mon Sep 17 00:00:00 2001 From: Lars Jung Date: Sat, 17 Aug 2013 21:18:59 +0200 Subject: [PATCH 8/9] Prepares release. --- README.md | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d365d51..c10992f 100644 --- a/README.md +++ b/README.md @@ -5,13 +5,13 @@ jQuery.qrcode is provided under the terms of the [MIT License](https://github.com/lrsjng/jQuery.qrcode/blob/develop/LICENSE.md). -Uses [QR Code Generator](http://www.d-project.com/qrcode/index.html) (MIT). Kudos to [jquery.qrcode.js](https://github.com/jeromeetienne/jquery-qrcode) (MIT). +Uses [QR Code Generator](http://www.d-project.com/qrcode/index.html) (MIT). Kudos to [jquery.qrcode.js](https://github.com/jeromeetienne/jquery-qrcode). ## Changelog -### develop branch +### v0.7.0 - *2013-08-17* * some fixes * adds image support for fore- and background diff --git a/package.json b/package.json index 6a96491..89d0b9c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "jquery.qrcode", "displayName": "jQuery.qrcode", - "version": "0.6.0+", + "version": "0.7.0", "description": "generate QR codes dynamically", "url": "http://larsjung.de/qrcode/", "author": "Lars Jung", From ef30c4da9abcc0ea71f0674eb03a154b24122a72 Mon Sep 17 00:00:00 2001 From: Lars Jung Date: Sat, 17 Aug 2013 21:20:11 +0200 Subject: [PATCH 9/9] Prepares release. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c10992f..901afa5 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,8 @@ * Sources: jQuery.qrcode is provided under the terms of the [MIT License](https://github.com/lrsjng/jQuery.qrcode/blob/develop/LICENSE.md). - -Uses [QR Code Generator](http://www.d-project.com/qrcode/index.html) (MIT). Kudos to [jquery.qrcode.js](https://github.com/jeromeetienne/jquery-qrcode). +It makes use of [QR Code Generator](http://www.d-project.com/qrcode/index.html) (MIT). +Kudos to [jquery.qrcode.js](https://github.com/jeromeetienne/jquery-qrcode). ## Changelog