mirror of
https://github.com/serratus/quaggaJS.git
synced 2026-08-12 21:21:42 +08:00
Added basic support for Code 39 barcodes
This commit is contained in:
@@ -33,6 +33,8 @@
|
||||
<input type="radio" name="reader" value="code_128" checked />
|
||||
<label>EAN</label>
|
||||
<input type="radio" name="reader" value="ean" />
|
||||
<label>Code39</label>
|
||||
<input type="radio" name="reader" value="code_39" />
|
||||
</fieldset>
|
||||
<br clear="all" />
|
||||
</div>
|
||||
|
||||
@@ -31,8 +31,10 @@
|
||||
<div class="controls">
|
||||
<button class="next">Next</button>
|
||||
<fieldset class="reader-group">
|
||||
<label>Code39</label>
|
||||
<input type="radio" name="reader" value="code_39" checked />
|
||||
<label>Code128</label>
|
||||
<input type="radio" name="reader" value="code_128" checked />
|
||||
<input type="radio" name="reader" value="code_128" />
|
||||
<label>EAN</label>
|
||||
<input type="radio" name="reader" value="ean" />
|
||||
</fieldset>
|
||||
|
||||
@@ -16,8 +16,8 @@ $(function() {
|
||||
});
|
||||
},
|
||||
config: {
|
||||
reader: "code_128",
|
||||
length: 10
|
||||
reader: "code_39",
|
||||
length: 4
|
||||
},
|
||||
attachListeners: function() {
|
||||
$(".controls").on("click", "button.next", function(e) {
|
||||
|
||||
Reference in New Issue
Block a user