{"action":"closed","issue":{"url":"https://api.github.com/repos/serratus/quaggaJS/issues/100","repository_url":"https://api.github.com/repos/serratus/quaggaJS","labels_url":"https://api.github.com/repos/serratus/quaggaJS/issues/100/labels{/name}","comments_url":"https://api.github.com/repos/serratus/quaggaJS/issues/100/comments","events_url":"https://api.github.com/repos/serratus/quaggaJS/issues/100/events","html_url":"https://github.com/serratus/quaggaJS/issues/100","id":143465810,"number":100,"title":"Quagga.onDetected not called on multiple==true","user":{"login":"JauernigIT","id":8806842,"avatar_url":"https://avatars.githubusercontent.com/u/8806842?v=3","gravatar_id":"","url":"https://api.github.com/users/JauernigIT","html_url":"https://github.com/JauernigIT","followers_url":"https://api.github.com/users/JauernigIT/followers","following_url":"https://api.github.com/users/JauernigIT/following{/other_user}","gists_url":"https://api.github.com/users/JauernigIT/gists{/gist_id}","starred_url":"https://api.github.com/users/JauernigIT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JauernigIT/subscriptions","organizations_url":"https://api.github.com/users/JauernigIT/orgs","repos_url":"https://api.github.com/users/JauernigIT/repos","events_url":"https://api.github.com/users/JauernigIT/events{/privacy}","received_events_url":"https://api.github.com/users/JauernigIT/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-25T09:38:35Z","updated_at":"2016-04-05T19:42:13Z","closed_at":"2016-04-05T19:42:13Z","body":"I really don't know why, but... when I set `args.decoder.multiple: true` to detect multiple barcodes at once, the `Quagga.onDetected` event is not called on successful scans. \r\n\r\nIn `function publishResult()` in quagga.js, `hasCodeResult(result)` is true on successful scans and `_commonEvents2['default'].publish(\"detected\", resultToPublish);` is executed, but my onDetected callback is not hit. It seems that `_commonEvents2['default'].publish` isn't handling the callback, but it's a strange behavior...\r\n\r\nIf I set `args.decoder.multiple: false`, everything works fine and the `onDetected` callback is executed. The `onProcessed` callback is hit in both cases correctly..."}}