{"action":"closed","issue":{"url":"https://api.github.com/repos/serratus/quaggaJS/issues/50","labels_url":"https://api.github.com/repos/serratus/quaggaJS/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/serratus/quaggaJS/issues/50/comments","events_url":"https://api.github.com/repos/serratus/quaggaJS/issues/50/events","html_url":"https://github.com/serratus/quaggaJS/issues/50","id":93744514,"number":50,"title":"change of reader in decodeSingle example not working","user":{"login":"joushx","id":832178,"avatar_url":"https://avatars.githubusercontent.com/u/832178?v=3","gravatar_id":"","url":"https://api.github.com/users/joushx","html_url":"https://github.com/joushx","followers_url":"https://api.github.com/users/joushx/followers","following_url":"https://api.github.com/users/joushx/following{/other_user}","gists_url":"https://api.github.com/users/joushx/gists{/gist_id}","starred_url":"https://api.github.com/users/joushx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joushx/subscriptions","organizations_url":"https://api.github.com/users/joushx/orgs","repos_url":"https://api.github.com/users/joushx/repos","events_url":"https://api.github.com/users/joushx/events{/privacy}","received_events_url":"https://api.github.com/users/joushx/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-08T09:23:57Z","updated_at":"2015-07-10T16:15:44Z","closed_at":"2015-07-10T16:15:44Z","body":"I wasn't able to change the used reader with the code from the example in the readme file:\r\n\r\n```js\r\nQuagga.decodeSingle({\r\n  readers: ['ean_reader'],\r\n  locate: true,\r\n  src: 'ean'\r\n}, function(result){\r\n  console.log(result);\r\n});\r\n```\r\n\r\nHowever it worked with the following:\r\n\r\n```js\r\nQuagga.decodeSingle({\r\n  decoder: {\r\n     readers: [\"ean_reader\"]\r\n  },\r\n  locate: true,\r\n  src: 'ean'\r\n}, function(result){\r\n  console.log(result);\r\n});\r\n```"}}