@resconet/jsbridge 19.1.2 → 19.2.0-beta.1
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.
- package/package.json +1 -1
- package/src/JSBridge.js +2 -1
package/package.json
CHANGED
package/src/JSBridge.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-this-alias */
|
|
2
|
+
/* eslint-disable no-var */
|
|
2
3
|
/* globals MobileCRM:writable, MobileCrmException:writable, CrmBridge, webkit, chrome */
|
|
3
4
|
(function () {
|
|
4
5
|
var _scriptVersion = 19.1;
|
|
@@ -1200,7 +1201,7 @@
|
|
|
1200
1201
|
/// <param name="handler" type="function(data)">The handler function that is called when the scan event is raised.</param>
|
|
1201
1202
|
/// <param name="bind" type="Boolean">Indicates whether to bind the handler to the event.</param>
|
|
1202
1203
|
/// <param name="scope" type="Object">The scope in which the handler function is called.</param>
|
|
1203
|
-
|
|
1204
|
+
const handlerName = "onScan";
|
|
1204
1205
|
let handlers = MobileCRM.Services.ZebraScanner._handlers[handlerName];
|
|
1205
1206
|
|
|
1206
1207
|
if (!handlers) {
|