{"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":1,"created_at":"2015-11-17T16:30:52Z","updated_at":"2015-11-17T17:26:05Z","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/157443692","html_url":"https://github.com/Keyamoon/svgxuse/issues/1#issuecomment-157443692","issue_url":"https://api.github.com/repos/Keyamoon/svgxuse/issues/1","id":157443692,"user":{"login":"Keyamoon","id":953700,"avatar_url":"https://avatars.githubusercontent.com/u/953700?v=3","gravatar_id":"","url":"https://api.github.com/users/Keyamoon","html_url":"https://github.com/Keyamoon","followers_url":"https://api.github.com/users/Keyamoon/followers","following_url":"https://api.github.com/users/Keyamoon/following{/other_user}","gists_url":"https://api.github.com/users/Keyamoon/gists{/gist_id}","starred_url":"https://api.github.com/users/Keyamoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Keyamoon/subscriptions","organizations_url":"https://api.github.com/users/Keyamoon/orgs","repos_url":"https://api.github.com/users/Keyamoon/repos","events_url":"https://api.github.com/users/Keyamoon/events{/privacy}","received_events_url":"https://api.github.com/users/Keyamoon/received_events","type":"User","site_admin":false},"created_at":"2015-11-17T17:26:05Z","updated_at":"2015-11-17T17:26:05Z","body":"That's true. DOM changes were not a major concern of mine because I wanted to keep the polyfill simple and without performance issues. But I'm thinking about a solution now. A workaround for now would be to add an invisible use element to your HTML, with a link to the external SVG that you want to load.\r\n\r\nWhat do you mean by an external SVG that's already in use? Could you provide an example please?"}}