{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/pdf.js/issues/7790","repository_url":"https://api.github.com/repos/mozilla/pdf.js","labels_url":"https://api.github.com/repos/mozilla/pdf.js/issues/7790/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/pdf.js/issues/7790/comments","events_url":"https://api.github.com/repos/mozilla/pdf.js/issues/7790/events","html_url":"https://github.com/mozilla/pdf.js/issues/7790","id":187934457,"number":7790,"title":"taking more than 2minutes to load file of size 9mb, how can i handle this?","user":{"login":"nikhilreddy93","id":12526688,"avatar_url":"https://avatars.githubusercontent.com/u/12526688?v=3","gravatar_id":"","url":"https://api.github.com/users/nikhilreddy93","html_url":"https://github.com/nikhilreddy93","followers_url":"https://api.github.com/users/nikhilreddy93/followers","following_url":"https://api.github.com/users/nikhilreddy93/following{/other_user}","gists_url":"https://api.github.com/users/nikhilreddy93/gists{/gist_id}","starred_url":"https://api.github.com/users/nikhilreddy93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikhilreddy93/subscriptions","organizations_url":"https://api.github.com/users/nikhilreddy93/orgs","repos_url":"https://api.github.com/users/nikhilreddy93/repos","events_url":"https://api.github.com/users/nikhilreddy93/events{/privacy}","received_events_url":"https://api.github.com/users/nikhilreddy93/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-08T08:54:50Z","updated_at":"2016-11-08T12:11:27Z","closed_at":"2016-11-08T12:03:47Z","body":"Here is my code\r\nvar data = base64ToUint8Array(base64String);\r\n\t\tfunction base64ToUint8Array(base64) {\r\n\t\t    var raw = atob(base64);\r\n\t\t    var uint8Array = new Uint8Array(raw.length);\r\n\t\t    for (var i = 0; i < raw.length; i++) {\r\n\t\t      \tuint8Array[i] = raw.charCodeAt(i);\r\n\t\t    }\r\n\t\t    return uint8Array;\r\n\t\t  }\r\n\r\nPDFJS.getDocument(data)\r\n\t    .then(function(pdf) {\r\n});"},"comment":{"url":"https://api.github.com/repos/mozilla/pdf.js/issues/comments/259120925","html_url":"https://github.com/mozilla/pdf.js/issues/7790#issuecomment-259120925","issue_url":"https://api.github.com/repos/mozilla/pdf.js/issues/7790","id":259120925,"user":{"login":"nikhilreddy93","id":12526688,"avatar_url":"https://avatars.githubusercontent.com/u/12526688?v=3","gravatar_id":"","url":"https://api.github.com/users/nikhilreddy93","html_url":"https://github.com/nikhilreddy93","followers_url":"https://api.github.com/users/nikhilreddy93/followers","following_url":"https://api.github.com/users/nikhilreddy93/following{/other_user}","gists_url":"https://api.github.com/users/nikhilreddy93/gists{/gist_id}","starred_url":"https://api.github.com/users/nikhilreddy93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikhilreddy93/subscriptions","organizations_url":"https://api.github.com/users/nikhilreddy93/orgs","repos_url":"https://api.github.com/users/nikhilreddy93/repos","events_url":"https://api.github.com/users/nikhilreddy93/events{/privacy}","received_events_url":"https://api.github.com/users/nikhilreddy93/received_events","type":"User","site_admin":false},"created_at":"2016-11-08T12:11:27Z","updated_at":"2016-11-08T12:11:27Z","body":"@Snuffleupagus \r\nHere is the pdf link. https://drive.google.com/file/d/0B7zGd0ub1kvNU0xsVmpwVzF6REk/view?usp=sharing\r\nWell i'm loading the pdf from my local storage, not from the url."}}
{"actor":{"display_login":"nikhilreddy93"}}