Commit c7464a14 authored by Romain Courteaud's avatar Romain Courteaud

erp5_document_scanner: jslint

parent e7f5674b
...@@ -223,7 +223,7 @@ ...@@ -223,7 +223,7 @@
.push(function (evt) { .push(function (evt) {
var state_dict = {}; var state_dict = {};
state_dict['blob_state_' + blob_page] = 'OK'; state_dict['blob_state_' + blob_page] = 'OK';
state_dict['blob_uuid_' + blob_page] = state_dict['blob_uuid_' + blob_page] =
JSON.parse(evt.target.responseText).uuid; JSON.parse(evt.target.responseText).uuid;
return gadget.changeState(state_dict); return gadget.changeState(state_dict);
}, function () { }, function () {
...@@ -857,7 +857,7 @@ ...@@ -857,7 +857,7 @@
if (evt.target.className.indexOf("confirm-btn") !== -1) { if (evt.target.className.indexOf("confirm-btn") !== -1) {
return new RSVP.Queue() return new RSVP.Queue()
.push(function () { .push(function () {
var canvas = gadget.cropper.getCroppedCanvas(), var canvas = gadget.cropper.getCroppedCanvas();
state_dict = { state_dict = {
preferred_cropped_canvas_data: gadget.cropper.getData(), preferred_cropped_canvas_data: gadget.cropper.getData(),
display_step: 'display_video', display_step: 'display_video',
......
...@@ -244,7 +244,7 @@ ...@@ -244,7 +244,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>982.58327.23330.31351</string> </value> <value> <string>982.58333.43653.1348</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -262,7 +262,7 @@ ...@@ -262,7 +262,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1585648785.07</float> <float>1585649164.66</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment