pull/88/merge
Ruud Steltenpool 10 years ago
commit 3422b58359

@ -34,10 +34,10 @@
<label>
<span>Barcode-Type</span>
<select name="decoder_readers">
<option value="code_128" selected="selected">Code 128</option>
<option value="code_128">Code 128</option>
<option value="code_39">Code 39</option>
<option value="code_39_vin">Code 39 VIN</option>
<option value="ean">EAN</option>
<option value="ean" selected="selected">EAN</option>
<option value="ean_8">EAN-8</option>
<option value="upc">UPC</option>
<option value="upc_e">UPC-E</option>

@ -55,6 +55,7 @@ $(function() {
$li.find("img").attr("src", result.frame);
$li.find("h4.code").html(result.codeResult.code + " (" + result.codeResult.format + ")");
$ul.prepend($li);
if(result.codeResult.code==="9789400506")location.href="https://medewerkers.saxion.nl/wps/myportal/!ut/p/b1/hY7LDoIwEEW_xS_olJZOWZpIoTyKFGKkG8PCGBIeG-P3WyNxYYLe3eSek7nEkY5CyAPJMWDkTNzcP4Zbfx-WuR9ftxOXUicxBJGgkFcS9AmVsUJQGaEHOg_ARvbw5bOCgc7aGgUqgISuvtG2bvI25XnchKAPpmD2kDCJb_9T89j6urW1LauMArDV__Hgz36TLtOVdB7DTezIyORGpaTePQFxT56z/dl4/d5/L2dBISEvZ0FBIS9nQSEh/";
});
},
_accessByPath: function(obj, path, val) {

@ -23,7 +23,7 @@ describe('shuffle', function() {
});
describe('toPointList', function() {
it('converts an Array to a List of poitns', function() {
it('converts an Array to a List of points', function() {
var input = [[1, 2], [2, 2], [3, 2]];
expect(ArrayHelper.toPointList(input)).to.equal("[[1,2],\r\n[2,2],\r\n[3,2]]");
});

Loading…
Cancel
Save