thecore_dataentry_commons 1.2.31 → 1.2.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d301940507fb843ef4a6de966c8485a14f1fd6f7
|
|
4
|
+
data.tar.gz: 61f3674293d47fec18026529d23be7198de6eba9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c97ea85260a82efdc17aeaa6ec1bb94e2d99fdee637d37b8b482d9bb76eed83b7f83927020b3f28cc69a8324da6dce69fea3e46661f184d5482fe7d1458af8a2
|
|
7
|
+
data.tar.gz: 254e06259778040e1279b412a6e500edd697c780aa387da64459f12ca31897dca08854e1b135b6007a2bcdc15dd9b52965639d327cab4b7148c76b71a193c244
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
|
|
28
28
|
var barcodeScanRegExp = /Barcode \((.*)\) \[(.*)\]/;
|
|
29
29
|
|
|
30
|
-
function
|
|
30
|
+
function thecoreWsInit() {
|
|
31
31
|
ws = new WebSocket("ws://" + address + ":" + port + "/");
|
|
32
32
|
ws.onmessage = function (event) {
|
|
33
33
|
// event.data ha forma: Barcode (8273878337383) [LABEL-TYPE-EAN13]
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
function tryInit() {
|
|
69
69
|
// Solo se la socket è chiusa e siamo in ambiente android
|
|
70
70
|
if (socketClosed) {
|
|
71
|
-
|
|
71
|
+
thecoreWsInit();
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
// Creating the websocket
|