{"action":"created","issue":{"url":"https://api.github.com/repos/kisenka/svg-sprite-loader/issues/36","repository_url":"https://api.github.com/repos/kisenka/svg-sprite-loader","labels_url":"https://api.github.com/repos/kisenka/svg-sprite-loader/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/kisenka/svg-sprite-loader/issues/36/comments","events_url":"https://api.github.com/repos/kisenka/svg-sprite-loader/issues/36/events","html_url":"https://github.com/kisenka/svg-sprite-loader/pull/36","id":158888041,"number":36,"title":"Save preserveAspectRatio attr from original svg to symbol in sprite and add an ability to remove attributes","user":{"login":"fr-ench","id":16224535,"avatar_url":"https://avatars.githubusercontent.com/u/16224535?v=3","gravatar_id":"","url":"https://api.github.com/users/fr-ench","html_url":"https://github.com/fr-ench","followers_url":"https://api.github.com/users/fr-ench/followers","following_url":"https://api.github.com/users/fr-ench/following{/other_user}","gists_url":"https://api.github.com/users/fr-ench/gists{/gist_id}","starred_url":"https://api.github.com/users/fr-ench/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fr-ench/subscriptions","organizations_url":"https://api.github.com/users/fr-ench/orgs","repos_url":"https://api.github.com/users/fr-ench/repos","events_url":"https://api.github.com/users/fr-ench/events{/privacy}","received_events_url":"https://api.github.com/users/fr-ench/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-06-07T10:18:59Z","updated_at":"2016-06-07T12:25:48Z","closed_at":"2016-06-07T12:19:49Z","pull_request":{"url":"https://api.github.com/repos/kisenka/svg-sprite-loader/pulls/36","html_url":"https://github.com/kisenka/svg-sprite-loader/pull/36","diff_url":"https://github.com/kisenka/svg-sprite-loader/pull/36.diff","patch_url":"https://github.com/kisenka/svg-sprite-loader/pull/36.patch"},"body":"It is useful to copy 'preserveAspectRatio' attribute from original svg icon to symbol in svg sprite (as well as id, class, viewbox) as it influences the way symbol is aligned when element that uses it is scaled (and it's ratio is different from the sybmol's ratio).\r\n\r\n\r\nI've also added the aibility to add params which will define which attributes to remove from original elements with this syntax: `\r\n                    removeAttrs: [ //array of object containing selector/attr properties\r\n                        {\r\n                            selector: 'path', //any selector\r\n                            attr: 'fill' //attribute to delete from matched selector\r\n                        }\r\n                    ]`\r\n"},"comment":{"url":"https://api.github.com/repos/kisenka/svg-sprite-loader/issues/comments/224264510","html_url":"https://github.com/kisenka/svg-sprite-loader/pull/36#issuecomment-224264510","issue_url":"https://api.github.com/repos/kisenka/svg-sprite-loader/issues/36","id":224264510,"user":{"login":"kisenka","id":2714771,"avatar_url":"https://avatars.githubusercontent.com/u/2714771?v=3","gravatar_id":"","url":"https://api.github.com/users/kisenka","html_url":"https://github.com/kisenka","followers_url":"https://api.github.com/users/kisenka/followers","following_url":"https://api.github.com/users/kisenka/following{/other_user}","gists_url":"https://api.github.com/users/kisenka/gists{/gist_id}","starred_url":"https://api.github.com/users/kisenka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kisenka/subscriptions","organizations_url":"https://api.github.com/users/kisenka/orgs","repos_url":"https://api.github.com/users/kisenka/repos","events_url":"https://api.github.com/users/kisenka/events{/privacy}","received_events_url":"https://api.github.com/users/kisenka/received_events","type":"User","site_admin":false},"created_at":"2016-06-07T12:25:48Z","updated_at":"2016-06-07T12:25:48Z","body":"@fr-ench I merged wrong PR, could you please open another one?"}}
{"actor":{"display_login":"kisenka"}}