{"action":"created","issue":{"url":"https://api.github.com/repos/maxwellito/vivus/issues/53","labels_url":"https://api.github.com/repos/maxwellito/vivus/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/maxwellito/vivus/issues/53/comments","events_url":"https://api.github.com/repos/maxwellito/vivus/issues/53/events","html_url":"https://github.com/maxwellito/vivus/issues/53","id":79509119,"number":53,"title":"SVG sprite issue?","user":{"login":"selfagency","id":2541728,"avatar_url":"https://avatars.githubusercontent.com/u/2541728?v=3","gravatar_id":"","url":"https://api.github.com/users/selfagency","html_url":"https://github.com/selfagency","followers_url":"https://api.github.com/users/selfagency/followers","following_url":"https://api.github.com/users/selfagency/following{/other_user}","gists_url":"https://api.github.com/users/selfagency/gists{/gist_id}","starred_url":"https://api.github.com/users/selfagency/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/selfagency/subscriptions","organizations_url":"https://api.github.com/users/selfagency/orgs","repos_url":"https://api.github.com/users/selfagency/repos","events_url":"https://api.github.com/users/selfagency/events{/privacy}","received_events_url":"https://api.github.com/users/selfagency/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-05-22T16:02:40Z","updated_at":"2015-05-28T23:51:12Z","closed_at":null,"body":"Hi, \r\n\r\nI'm using an SVG sprite (using this method https://css-tricks.com/svg-sprites-use-better-icon-fonts/), which I'm embedding inline. I've included the JS in my header and added this code in my footer:\r\n\r\n    new Vivus('heading-also-like', {type: 'delayed', duration: 200, start: 'inViewport'});\r\n    new Vivus('heading-trending', {type: 'delayed', duration: 200, start: 'inViewport'});\r\n    new Vivus('heading-latest', {type: 'delayed', duration: 200, start: 'inViewport'});\r\n\r\nUnfortunately, it's not working, and I'm getting the following error:\r\n\r\n    Error: Vivus [constructor]: \"element\" parameter is not valid (or miss the \"file\" attribute)\r\n\r\nAm I doing something wrong or does Vivus not support SVG sprites? If not, could you add support?\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/maxwellito/vivus/issues/comments/106631020","html_url":"https://github.com/maxwellito/vivus/issues/53#issuecomment-106631020","issue_url":"https://api.github.com/repos/maxwellito/vivus/issues/53","id":106631020,"user":{"login":"maxwellito","id":1097232,"avatar_url":"https://avatars.githubusercontent.com/u/1097232?v=3","gravatar_id":"","url":"https://api.github.com/users/maxwellito","html_url":"https://github.com/maxwellito","followers_url":"https://api.github.com/users/maxwellito/followers","following_url":"https://api.github.com/users/maxwellito/following{/other_user}","gists_url":"https://api.github.com/users/maxwellito/gists{/gist_id}","starred_url":"https://api.github.com/users/maxwellito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxwellito/subscriptions","organizations_url":"https://api.github.com/users/maxwellito/orgs","repos_url":"https://api.github.com/users/maxwellito/repos","events_url":"https://api.github.com/users/maxwellito/events{/privacy}","received_events_url":"https://api.github.com/users/maxwellito/received_events","type":"User","site_admin":false},"created_at":"2015-05-28T23:51:12Z","updated_at":"2015-05-28T23:51:12Z","body":"Yes, but not only. The goal of using a sprite is to reuse the same graphics at many different places on your page. Unfortunately it's not possible to control every instance but only the original one. Making the animation sync between instances. That's really uncool."}}