Added barcode format to result-data; minor fixes to Code128Reader; fixes #45

This commit is contained in:
Christoph Oberhofer
2015-06-14 21:55:35 +02:00
parent 8c0fcaa031
commit e142350863
16 changed files with 215 additions and 210 deletions
+1 -1
View File
@@ -162,7 +162,7 @@ define(['quagga'], function(Quagga) {
$node = $('<li><div class="thumbnail"><div class="imgWrapper"><img /></div><div class="caption"><h4 class="code"></h4></div></div></li>');
$node.find("img").attr("src", canvas.toDataURL());
$node.find("h4.code").html(code);
$node.find("h4.code").html(code + " (" + result.codeResult.format + ")");
$("#result_strip ul.thumbnails").prepend($node);
});
});