mirror of
https://github.com/serratus/quaggaJS.git
synced 2026-08-12 21:21:42 +08:00
Added UPC-A examples
This commit is contained in:
@@ -32,9 +32,9 @@
|
|||||||
<button class="next">Next</button>
|
<button class="next">Next</button>
|
||||||
<fieldset class="reader-group">
|
<fieldset class="reader-group">
|
||||||
<label>EAN-8</label>
|
<label>EAN-8</label>
|
||||||
<input type="radio" name="reader" value="ean_8" checked="checked" />
|
<input type="radio" name="reader" value="ean_8" />
|
||||||
<label>UPC</label>
|
<label>UPC</label>
|
||||||
<input type="radio" name="reader" value="upc" />
|
<input type="radio" name="reader" value="upc" checked="checked" />
|
||||||
<label>Codabar</label>
|
<label>Codabar</label>
|
||||||
<input type="radio" name="reader" value="codabar" />
|
<input type="radio" name="reader" value="codabar" />
|
||||||
<label>Code39</label>
|
<label>Code39</label>
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ $(function() {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
config: {
|
config: {
|
||||||
reader: "ean_8",
|
reader: "upc",
|
||||||
length: 10
|
length: 10
|
||||||
},
|
},
|
||||||
attachListeners: function() {
|
attachListeners: function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user