{"action":"created","issue":{"url":"https://api.github.com/repos/bitpay/cordova-plugin-qrscanner/issues/138","repository_url":"https://api.github.com/repos/bitpay/cordova-plugin-qrscanner","labels_url":"https://api.github.com/repos/bitpay/cordova-plugin-qrscanner/issues/138/labels{/name}","comments_url":"https://api.github.com/repos/bitpay/cordova-plugin-qrscanner/issues/138/comments","events_url":"https://api.github.com/repos/bitpay/cordova-plugin-qrscanner/issues/138/events","html_url":"https://github.com/bitpay/cordova-plugin-qrscanner/issues/138","id":285969222,"node_id":"MDU6SXNzdWUyODU5NjkyMjI=","number":138,"title":"Browser javascript installation","user":{"login":"chph63","id":13220193,"node_id":"MDQ6VXNlcjEzMjIwMTkz","avatar_url":"https://avatars1.githubusercontent.com/u/13220193?v=4","gravatar_id":"","url":"https://api.github.com/users/chph63","html_url":"https://github.com/chph63","followers_url":"https://api.github.com/users/chph63/followers","following_url":"https://api.github.com/users/chph63/following{/other_user}","gists_url":"https://api.github.com/users/chph63/gists{/gist_id}","starred_url":"https://api.github.com/users/chph63/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chph63/subscriptions","organizations_url":"https://api.github.com/users/chph63/orgs","repos_url":"https://api.github.com/users/chph63/repos","events_url":"https://api.github.com/users/chph63/events{/privacy}","received_events_url":"https://api.github.com/users/chph63/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-01-04T12:18:37Z","updated_at":"2018-08-21T06:53:11Z","closed_at":"2018-05-17T19:13:00Z","author_association":"NONE","body":"Hello I am trying to use it without cordova, as a simple javascript library with no success.\r\nFollowing the readme intructions:\r\n_\"Or  alternatively, the library can be included in a page as-is, and the QRScanner will be made available at window.QRScanner.\r\n<script src=\"path/to/qrscanner/library.bundle.min.js\"></script>\"_\r\nI cannot get it to work.\r\nIt may be a dumb question but, is \"library.bundle.min.js\" this file \"src/browser/src/library.js\" ? \r\nShould I include some other javasript library?\r\nI appreciate your cooperation.\r\nBest regards"},"comment":{"url":"https://api.github.com/repos/bitpay/cordova-plugin-qrscanner/issues/comments/414568951","html_url":"https://github.com/bitpay/cordova-plugin-qrscanner/issues/138#issuecomment-414568951","issue_url":"https://api.github.com/repos/bitpay/cordova-plugin-qrscanner/issues/138","id":414568951,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDU2ODk1MQ==","user":{"login":"mikeymckay","id":12015,"node_id":"MDQ6VXNlcjEyMDE1","avatar_url":"https://avatars1.githubusercontent.com/u/12015?v=4","gravatar_id":"","url":"https://api.github.com/users/mikeymckay","html_url":"https://github.com/mikeymckay","followers_url":"https://api.github.com/users/mikeymckay/followers","following_url":"https://api.github.com/users/mikeymckay/following{/other_user}","gists_url":"https://api.github.com/users/mikeymckay/gists{/gist_id}","starred_url":"https://api.github.com/users/mikeymckay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikeymckay/subscriptions","organizations_url":"https://api.github.com/users/mikeymckay/orgs","repos_url":"https://api.github.com/users/mikeymckay/repos","events_url":"https://api.github.com/users/mikeymckay/events{/privacy}","received_events_url":"https://api.github.com/users/mikeymckay/received_events","type":"User","site_admin":false},"created_at":"2018-08-21T06:53:11Z","updated_at":"2018-08-21T06:53:11Z","author_association":"NONE","body":"If using browserify, you need to do:\r\n`npm install cordova-plugin-qrscanner`\r\nAnd then in your code, you require it like this:\r\n`QRScanner = require 'cordova-plugin-qrscanner'`\r\n\r\nnote: the docs says `require 'QRScanner'` - which doesn't work"}}
{"actor":{"display_login":"mikeymckay"}}