{"action":"created","issue":{"url":"https://api.github.com/repos/monospaced/angular-qrcode/issues/57","repository_url":"https://api.github.com/repos/monospaced/angular-qrcode","labels_url":"https://api.github.com/repos/monospaced/angular-qrcode/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/monospaced/angular-qrcode/issues/57/comments","events_url":"https://api.github.com/repos/monospaced/angular-qrcode/issues/57/events","html_url":"https://github.com/monospaced/angular-qrcode/issues/57","id":187700459,"number":57,"title":"qrcode is not defined","user":{"login":"brunocascio","id":2397875,"avatar_url":"https://avatars.githubusercontent.com/u/2397875?v=3","gravatar_id":"","url":"https://api.github.com/users/brunocascio","html_url":"https://github.com/brunocascio","followers_url":"https://api.github.com/users/brunocascio/followers","following_url":"https://api.github.com/users/brunocascio/following{/other_user}","gists_url":"https://api.github.com/users/brunocascio/gists{/gist_id}","starred_url":"https://api.github.com/users/brunocascio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brunocascio/subscriptions","organizations_url":"https://api.github.com/users/brunocascio/orgs","repos_url":"https://api.github.com/users/brunocascio/repos","events_url":"https://api.github.com/users/brunocascio/events{/privacy}","received_events_url":"https://api.github.com/users/brunocascio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-07T12:33:34Z","updated_at":"2016-12-23T09:49:18Z","closed_at":null,"body":"@monospaced \r\n\r\n`Uncaught ReferenceError: qrcode is not defined     qrcode_UTF8.js on line 59`\r\n\r\nMy import code:\r\n\r\n```\r\nimport 'angular-qrcode/node_modules/qrcode-generator/js/qrcode.js';\r\nimport 'angular-qrcode/node_modules/qrcode-generator/js/qrcode_UTF8.js';\r\nimport 'angular-qrcode/angular-qrcode.js';\r\n\r\nangular.module('app', ['monospaced.qrcode'])\r\n```\r\n\r\nTemplate code:\r\n\r\n```\r\n<qrcode data=\"{{vm.code}}\"></qrcode>\r\n```\r\n\r\nNOTE: I'm using webpack"},"comment":{"url":"https://api.github.com/repos/monospaced/angular-qrcode/issues/comments/268965023","html_url":"https://github.com/monospaced/angular-qrcode/issues/57#issuecomment-268965023","issue_url":"https://api.github.com/repos/monospaced/angular-qrcode/issues/57","id":268965023,"user":{"login":"burylife","id":8622319,"avatar_url":"https://avatars.githubusercontent.com/u/8622319?v=3","gravatar_id":"","url":"https://api.github.com/users/burylife","html_url":"https://github.com/burylife","followers_url":"https://api.github.com/users/burylife/followers","following_url":"https://api.github.com/users/burylife/following{/other_user}","gists_url":"https://api.github.com/users/burylife/gists{/gist_id}","starred_url":"https://api.github.com/users/burylife/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burylife/subscriptions","organizations_url":"https://api.github.com/users/burylife/orgs","repos_url":"https://api.github.com/users/burylife/repos","events_url":"https://api.github.com/users/burylife/events{/privacy}","received_events_url":"https://api.github.com/users/burylife/received_events","type":"User","site_admin":false},"created_at":"2016-12-23T09:49:18Z","updated_at":"2016-12-23T09:49:18Z","body":" add this   \r\nnew webpack.ProvidePlugin({\r\n\t  \r\n\t        , 'qrcode': 'qrcode'\r\n\t     \r\n\t    }) , may work "}}
{"actor":{"display_login":"burylife"}}