Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Commit

Permalink
Parses result so it's consistent with other platforms. Removes obsole…
Browse files Browse the repository at this point in the history
…te, unused file.
  • Loading branch information
timwindsor committed Sep 16, 2015
1 parent b005d77 commit 0632e34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 128 deletions.
3 changes: 2 additions & 1 deletion src/blackberry10/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ JNEXT.BarcodeScanner = function () {

if (receivedEvent == "community.barcodescanner.codefound.native") {
if (result) {
result.callbackOk(data, false);
var parsed = JSON.parse(data);
result.callbackOk(parsed, false);
}
this.stopRead(callbackId);

Expand Down
127 changes: 0 additions & 127 deletions www/blackberry10/client.js

This file was deleted.

0 comments on commit 0632e34

Please sign in to comment.