{"action":"created","issue":{"url":"https://api.github.com/repos/Keyamoon/svgxuse/issues/1","labels_url":"https://api.github.com/repos/Keyamoon/svgxuse/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Keyamoon/svgxuse/issues/1/comments","events_url":"https://api.github.com/repos/Keyamoon/svgxuse/issues/1/events","html_url":"https://github.com/Keyamoon/svgxuse/issues/1","id":117392681,"number":1,"title":"SVG with external source not loaded for Ajax","user":{"login":"GMOUDOND","id":13137218,"avatar_url":"https://avatars.githubusercontent.com/u/13137218?v=3","gravatar_id":"","url":"https://api.github.com/users/GMOUDOND","html_url":"https://github.com/GMOUDOND","followers_url":"https://api.github.com/users/GMOUDOND/followers","following_url":"https://api.github.com/users/GMOUDOND/following{/other_user}","gists_url":"https://api.github.com/users/GMOUDOND/gists{/gist_id}","starred_url":"https://api.github.com/users/GMOUDOND/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GMOUDOND/subscriptions","organizations_url":"https://api.github.com/users/GMOUDOND/orgs","repos_url":"https://api.github.com/users/GMOUDOND/repos","events_url":"https://api.github.com/users/GMOUDOND/events{/privacy}","received_events_url":"https://api.github.com/users/GMOUDOND/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-11-17T16:30:52Z","updated_at":"2015-11-19T09:45:23Z","closed_at":null,"body":"Thanks for this polyfill :D; i just find out that svg are not visible when a partial html is loaded with Ajax. This is also true if the external svg is already in use; the external svg content is not injected in this case."},"comment":{"url":"https://api.github.com/repos/Keyamoon/svgxuse/issues/comments/158005768","html_url":"https://github.com/Keyamoon/svgxuse/issues/1#issuecomment-158005768","issue_url":"https://api.github.com/repos/Keyamoon/svgxuse/issues/1","id":158005768,"user":{"login":"GMOUDOND","id":13137218,"avatar_url":"https://avatars.githubusercontent.com/u/13137218?v=3","gravatar_id":"","url":"https://api.github.com/users/GMOUDOND","html_url":"https://github.com/GMOUDOND","followers_url":"https://api.github.com/users/GMOUDOND/followers","following_url":"https://api.github.com/users/GMOUDOND/following{/other_user}","gists_url":"https://api.github.com/users/GMOUDOND/gists{/gist_id}","starred_url":"https://api.github.com/users/GMOUDOND/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GMOUDOND/subscriptions","organizations_url":"https://api.github.com/users/GMOUDOND/orgs","repos_url":"https://api.github.com/users/GMOUDOND/repos","events_url":"https://api.github.com/users/GMOUDOND/events{/privacy}","received_events_url":"https://api.github.com/users/GMOUDOND/received_events","type":"User","site_admin":false},"created_at":"2015-11-19T09:45:23Z","updated_at":"2015-11-19T09:45:23Z","body":"I found a temporary workaround for IE9+; i changed the IIFE and instead return the function to make sure i can be called manually; i will PR this asap.\r\nHere are others improvements i will add with the PR:\r\n\r\n- Make sure the sprite is not injected twice or more\r\n- Maybe make a return for manual call only for IE?\r\n- Fix \"body.insertBefore\" which reference as null on IE (seen on IE10)"}}