{"action":"created","issue":{"url":"https://api.github.com/repos/Linkurious/linkurious.js/issues/117","labels_url":"https://api.github.com/repos/Linkurious/linkurious.js/issues/117/labels{/name}","comments_url":"https://api.github.com/repos/Linkurious/linkurious.js/issues/117/comments","events_url":"https://api.github.com/repos/Linkurious/linkurious.js/issues/117/events","html_url":"https://github.com/Linkurious/linkurious.js/pull/117","id":83614896,"number":117,"title":"Fix browser tab crashing on attempt to download","user":{"login":"wrick17","id":8253932,"avatar_url":"https://avatars.githubusercontent.com/u/8253932?v=3","gravatar_id":"","url":"https://api.github.com/users/wrick17","html_url":"https://github.com/wrick17","followers_url":"https://api.github.com/users/wrick17/followers","following_url":"https://api.github.com/users/wrick17/following{/other_user}","gists_url":"https://api.github.com/users/wrick17/gists{/gist_id}","starred_url":"https://api.github.com/users/wrick17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wrick17/subscriptions","organizations_url":"https://api.github.com/users/wrick17/orgs","repos_url":"https://api.github.com/users/wrick17/repos","events_url":"https://api.github.com/users/wrick17/events{/privacy}","received_events_url":"https://api.github.com/users/wrick17/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-06-01T17:31:53Z","updated_at":"2015-06-14T06:49:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Linkurious/linkurious.js/pulls/117","html_url":"https://github.com/Linkurious/linkurious.js/pull/117","diff_url":"https://github.com/Linkurious/linkurious.js/pull/117.diff","patch_url":"https://github.com/Linkurious/linkurious.js/pull/117.patch"},"body":"I was trying to save my sigma instance as a `.gexf` file by using the `sigma.exporters.gexf` plugin. But, if my created file is quite large, say around 4MB, browser tab crashes.\r\n\r\nI found the problem is in the download function, where the file is generated as a dataURI which would obviously be very big for a file of that size.\r\n\r\nSo I changed the download method to use a blob to create the file instead of dataURI, and that seems to work."},"comment":{"url":"https://api.github.com/repos/Linkurious/linkurious.js/issues/comments/111791899","html_url":"https://github.com/Linkurious/linkurious.js/pull/117#issuecomment-111791899","issue_url":"https://api.github.com/repos/Linkurious/linkurious.js/issues/117","id":111791899,"user":{"login":"wrick17","id":8253932,"avatar_url":"https://avatars.githubusercontent.com/u/8253932?v=3","gravatar_id":"","url":"https://api.github.com/users/wrick17","html_url":"https://github.com/wrick17","followers_url":"https://api.github.com/users/wrick17/followers","following_url":"https://api.github.com/users/wrick17/following{/other_user}","gists_url":"https://api.github.com/users/wrick17/gists{/gist_id}","starred_url":"https://api.github.com/users/wrick17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wrick17/subscriptions","organizations_url":"https://api.github.com/users/wrick17/orgs","repos_url":"https://api.github.com/users/wrick17/repos","events_url":"https://api.github.com/users/wrick17/events{/privacy}","received_events_url":"https://api.github.com/users/wrick17/received_events","type":"User","site_admin":false},"created_at":"2015-06-14T06:49:43Z","updated_at":"2015-06-14T06:49:43Z","body":"@sheymann I did update the code to add dataURI as a fallback. please let me know if there are any changes necessary."}}