{"action":"created","issue":{"url":"https://api.github.com/repos/PeculiarVentures/PKI.js/issues/155","repository_url":"https://api.github.com/repos/PeculiarVentures/PKI.js","labels_url":"https://api.github.com/repos/PeculiarVentures/PKI.js/issues/155/labels{/name}","comments_url":"https://api.github.com/repos/PeculiarVentures/PKI.js/issues/155/comments","events_url":"https://api.github.com/repos/PeculiarVentures/PKI.js/issues/155/events","html_url":"https://github.com/PeculiarVentures/PKI.js/issues/155","id":300910866,"number":155,"title":"Not able to use CertificateComplexExample from PKIJS","user":{"login":"abhinandanpatilInd","id":36911552,"avatar_url":"https://avatars0.githubusercontent.com/u/36911552?v=4","gravatar_id":"","url":"https://api.github.com/users/abhinandanpatilInd","html_url":"https://github.com/abhinandanpatilInd","followers_url":"https://api.github.com/users/abhinandanpatilInd/followers","following_url":"https://api.github.com/users/abhinandanpatilInd/following{/other_user}","gists_url":"https://api.github.com/users/abhinandanpatilInd/gists{/gist_id}","starred_url":"https://api.github.com/users/abhinandanpatilInd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhinandanpatilInd/subscriptions","organizations_url":"https://api.github.com/users/abhinandanpatilInd/orgs","repos_url":"https://api.github.com/users/abhinandanpatilInd/repos","events_url":"https://api.github.com/users/abhinandanpatilInd/events{/privacy}","received_events_url":"https://api.github.com/users/abhinandanpatilInd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"YuryStrozhevsky","id":6128446,"avatar_url":"https://avatars0.githubusercontent.com/u/6128446?v=4","gravatar_id":"","url":"https://api.github.com/users/YuryStrozhevsky","html_url":"https://github.com/YuryStrozhevsky","followers_url":"https://api.github.com/users/YuryStrozhevsky/followers","following_url":"https://api.github.com/users/YuryStrozhevsky/following{/other_user}","gists_url":"https://api.github.com/users/YuryStrozhevsky/gists{/gist_id}","starred_url":"https://api.github.com/users/YuryStrozhevsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YuryStrozhevsky/subscriptions","organizations_url":"https://api.github.com/users/YuryStrozhevsky/orgs","repos_url":"https://api.github.com/users/YuryStrozhevsky/repos","events_url":"https://api.github.com/users/YuryStrozhevsky/events{/privacy}","received_events_url":"https://api.github.com/users/YuryStrozhevsky/received_events","type":"User","site_admin":false},"assignees":[{"login":"YuryStrozhevsky","id":6128446,"avatar_url":"https://avatars0.githubusercontent.com/u/6128446?v=4","gravatar_id":"","url":"https://api.github.com/users/YuryStrozhevsky","html_url":"https://github.com/YuryStrozhevsky","followers_url":"https://api.github.com/users/YuryStrozhevsky/followers","following_url":"https://api.github.com/users/YuryStrozhevsky/following{/other_user}","gists_url":"https://api.github.com/users/YuryStrozhevsky/gists{/gist_id}","starred_url":"https://api.github.com/users/YuryStrozhevsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YuryStrozhevsky/subscriptions","organizations_url":"https://api.github.com/users/YuryStrozhevsky/orgs","repos_url":"https://api.github.com/users/YuryStrozhevsky/repos","events_url":"https://api.github.com/users/YuryStrozhevsky/events{/privacy}","received_events_url":"https://api.github.com/users/YuryStrozhevsky/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-02-28T06:49:05Z","updated_at":"2018-03-02T11:04:30Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\nI've downloaded PKIJS library and I'm trying to use this for one of my feature development. I've to validate the X-509 certificate issued by third party CA's. For this I set up the CertificateComplexExample on my local laptop. I bundled the CertificateComplexExample  using \"npm run build:examples\" commands and able to \"bundle.js\" available in examples folder. \r\nI had also transpiled this bundle using babel and now I'm able to see the \"bundle.js\" is now compatible with ES5 standard. \r\nWhile running X509_cert_complex_example.html file, I'm getting errors like \"handleFileBrowse is not defined\" although this function is available in \"bundle.js\" and its already loaded in browser.\r\n\r\nI'm bit surprised to see this behavior, why the browser is throwing this error even though such objects are already available in \"bundle.js\".\r\n\r\nPlease share your views on this. Some had experienced this before? Is any mistake I'm doing to setup the PKIJS locally?\r\n\r\nAlso any reference documentation on setting up PKIJS (with transpiling) is much appreciated."},"comment":{"url":"https://api.github.com/repos/PeculiarVentures/PKI.js/issues/comments/369892348","html_url":"https://github.com/PeculiarVentures/PKI.js/issues/155#issuecomment-369892348","issue_url":"https://api.github.com/repos/PeculiarVentures/PKI.js/issues/155","id":369892348,"user":{"login":"YuryStrozhevsky","id":6128446,"avatar_url":"https://avatars0.githubusercontent.com/u/6128446?v=4","gravatar_id":"","url":"https://api.github.com/users/YuryStrozhevsky","html_url":"https://github.com/YuryStrozhevsky","followers_url":"https://api.github.com/users/YuryStrozhevsky/followers","following_url":"https://api.github.com/users/YuryStrozhevsky/following{/other_user}","gists_url":"https://api.github.com/users/YuryStrozhevsky/gists{/gist_id}","starred_url":"https://api.github.com/users/YuryStrozhevsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YuryStrozhevsky/subscriptions","organizations_url":"https://api.github.com/users/YuryStrozhevsky/orgs","repos_url":"https://api.github.com/users/YuryStrozhevsky/repos","events_url":"https://api.github.com/users/YuryStrozhevsky/events{/privacy}","received_events_url":"https://api.github.com/users/YuryStrozhevsky/received_events","type":"User","site_admin":false},"created_at":"2018-03-02T11:04:30Z","updated_at":"2018-03-02T11:04:30Z","author_association":"CONTRIBUTOR","body":"@abhinandanpatilInd The problem you had is because current PKIjs when \"transpired\" to ES5 requires `babel-polyfill` usage. I have updated all PKIjs example - now all examples include `babel-polyfill` script by default."}}
{"actor":{"display_login":"YuryStrozhevsky"}}