pluginfutronic
Advanced tools
Comparing version 0.0.48 to 0.0.49
{ | ||
"name": "pluginfutronic", | ||
"version": "0.0.48", | ||
"version": "0.0.49", | ||
"description": "Plugin For Fingerprint", | ||
@@ -5,0 +5,0 @@ "cordova": { |
@@ -5,11 +5,9 @@ /*global cordova, module*/ | ||
opendevice: function (args, successCallback, errorCallback) { | ||
cordova.exec(successCallback, errorCallback, "FutronicScanner", "geterrormessage", [args()]); | ||
cordova.exec(successCallback, errorCallback, "FutronicScanner", "geterrormessage", []); | ||
} | ||
}; | ||
module.exports = { | ||
imagewidth: function (args, successCallback, errorCallback) { | ||
cordova.exec(successCallback, errorCallback, "FutronicScanner", "imagewidth", [args()]); | ||
cordova.exec(successCallback, errorCallback, "FutronicScanner", "imagewidth", []); | ||
} | ||
@@ -20,3 +18,3 @@ }; | ||
imageheight: function (args, successCallback, errorCallback) { | ||
cordova.exec(successCallback, errorCallback, "FutronicScanner", "imageheight", [args()]); | ||
cordova.exec(successCallback, errorCallback, "FutronicScanner", "imageheight", []); | ||
} | ||
@@ -27,3 +25,3 @@ }; | ||
erorcode: function (args, successCallback, errorCallback) { | ||
cordova.exec(successCallback, errorCallback, "FutronicScanner", "erorcode", [args()]); | ||
cordova.exec(successCallback, errorCallback, "FutronicScanner", "erorcode", []); | ||
} | ||
@@ -34,3 +32,3 @@ }; | ||
closedevice: function (args, successCallback, errorCallback) { | ||
cordova.exec(successCallback, errorCallback, "FutronicScanner", "closedevice", [args()]); | ||
cordova.exec(successCallback, errorCallback, "FutronicScanner", "closedevice", []); | ||
} | ||
@@ -41,3 +39,3 @@ }; | ||
getdevicehandle: function (args, successCallback, errorCallback) { | ||
cordova.exec(successCallback, errorCallback, "FutronicScanner", "getdevicehandle", [args()]); | ||
cordova.exec(successCallback, errorCallback, "FutronicScanner", "getdevicehandle", []); | ||
} | ||
@@ -48,5 +46,5 @@ }; | ||
opendevice: function (args, successCallback, errorCallback) { | ||
cordova.exec(successCallback, errorCallback, "FutronicScanner", "opendevice", [args()]); | ||
cordova.exec(successCallback, errorCallback, "FutronicScanner", "opendevice", [args.usb_host_ctx]); | ||
} | ||
}; | ||
Sorry, the diff of this file is not supported yet
1640488