{"action":"opened","issue":{"url":"https://api.github.com/repos/NathanaelA/nativescript-zxing/issues/1","repository_url":"https://api.github.com/repos/NathanaelA/nativescript-zxing","labels_url":"https://api.github.com/repos/NathanaelA/nativescript-zxing/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/NathanaelA/nativescript-zxing/issues/1/comments","events_url":"https://api.github.com/repos/NathanaelA/nativescript-zxing/issues/1/events","html_url":"https://github.com/NathanaelA/nativescript-zxing/issues/1","id":180577521,"number":1,"title":"zxing undefined.","user":{"login":"Thabangtg","id":19852221,"avatar_url":"https://avatars.githubusercontent.com/u/19852221?v=3","gravatar_id":"","url":"https://api.github.com/users/Thabangtg","html_url":"https://github.com/Thabangtg","followers_url":"https://api.github.com/users/Thabangtg/followers","following_url":"https://api.github.com/users/Thabangtg/following{/other_user}","gists_url":"https://api.github.com/users/Thabangtg/gists{/gist_id}","starred_url":"https://api.github.com/users/Thabangtg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thabangtg/subscriptions","organizations_url":"https://api.github.com/users/Thabangtg/orgs","repos_url":"https://api.github.com/users/Thabangtg/repos","events_url":"https://api.github.com/users/Thabangtg/events{/privacy}","received_events_url":"https://api.github.com/users/Thabangtg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-03T07:26:03Z","updated_at":"2016-10-03T07:26:03Z","closed_at":null,"body":"Hello  NathanaelA.\r\n\r\nI saw your repo demo as a solution to what i need to implement for my practice, but then after i have followed all the instructions i got an error about _zxing undefined_ on the declaration.\r\n\r\n`function loaded(args){\r\n\tvar zx = new ZXing();\r\n\tvar data = pageData.set('voucherNumber',voucher.id);\r\n\tvar qr_code = zx.createBarcode({\r\n\t\tencode: data, \r\n\t\theight: 100,\r\n\t\twidth: 100, \r\n\t\tformat: ZXing.QR_CODE\r\n\t});\r\n\tvar page = args.object;\r\n\tvar voucher = page.navigationContext;\r\n\tpageData.set('amount',voucher.balance);\r\n\tpageData.set ('img', qr_code);\r\n\tpage.bindingContext = pageData;\r\n}`\r\n\r\nHelp if there's something im missing.\r\nThank You NathanaelA\r\n\r\n "}}
{"actor":{"display_login":"Thabangtg"}}